Breaking change: VarSetType/VarSetTypeNull classes have been renamed to SetVarType/SetVarTypeNull Added phan/phpstan static checkes and settings Add phpunit tests (in test/phpunit) that are an exact copy from the trunk folder unit tests The phan/phpstan tests have been updated to work with the composer layout config files with static defines needed for certain classes are stored in test/configs (config.php, config.other.php, config.master.php)
22 lines
444 B
PHP
22 lines
444 B
PHP
<?php
|
|
|
|
// conditional formats for PHP versions
|
|
|
|
declare(strict_types=1);
|
|
|
|
$config = [];
|
|
|
|
if (PHP_VERSION_ID >= 8_00_00) {
|
|
// Change of signature in PHP 8.1
|
|
/* $config['parameters']['ignoreErrors'][] = [
|
|
'message' => '~Parameter #1 \$(result|connection) of function pg_\w+ '
|
|
. 'expects resource(\|null)?, object\|resource given\.~',
|
|
'path' => 'www/lib/CoreLibs/DB/SQL/PgSQL.php',
|
|
// 'count' => 1,
|
|
]; */
|
|
}
|
|
|
|
return $config;
|
|
|
|
// __END_
|