We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b69380d commit a73e7feCopy full SHA for a73e7fe
config/database.php
@@ -85,7 +85,8 @@
85
'strict' => true,
86
'engine' => null,
87
'options' => extension_loaded('pdo_mysql') ? array_filter([
88
- PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
+ // @phpstan-ignore class.notFound, greaterOrEqual.alwaysFalse
89
+ (PHP_VERSION_ID >= 80500 ? Pdo\Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
90
]) : [],
91
],
92
0 commit comments