Skip to content

Commit b69380d

Browse files
committed
tell PHPstan to be quiet
1 parent b7bbdae commit b69380d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/database.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,14 @@
3131
'engine' => null,
3232
'sslmode' => env('DB_SSLMODE', 'disabled'),
3333
'options' => extension_loaded('pdo_mysql') ? [
34+
// @phpstan-ignore class.notFound, greaterOrEqual.alwaysFalse
3435
(PHP_VERSION_ID >= 80500 ? Pdo\Mysql::ATTR_SSL_VERIFY_SERVER_CERT : PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT) => env('MYSQL_ATTR_SSL_VERIFY_SERVER_CERT', false),
3536
] + array_filter([
37+
// @phpstan-ignore class.notFound, greaterOrEqual.alwaysFalse
3638
(PHP_VERSION_ID >= 80500 ? Pdo\Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
39+
// @phpstan-ignore class.notFound, greaterOrEqual.alwaysFalse
3740
(PHP_VERSION_ID >= 80500 ? Pdo\Mysql::ATTR_SSL_CERT : PDO::MYSQL_ATTR_SSL_CERT) => env('MYSQL_ATTR_SSL_CERT'),
41+
// @phpstan-ignore class.notFound, greaterOrEqual.alwaysFalse
3842
(PHP_VERSION_ID >= 80500 ? Pdo\Mysql::ATTR_SSL_KEY : PDO::MYSQL_ATTR_SSL_KEY) => env('MYSQL_ATTR_SSL_KEY'),
3943
]) : [],
4044
],

0 commit comments

Comments
 (0)