Add PHPStan configuration for Symfony4 tests

- Created a new phpstan.neon file in the Symfony4 tests directory.
- Configured paths and excluded Symfony3 directory.
- Added bootstrap files for autoloading.
- Set dynamic constant names and adjusted reporting settings.
- Established PHPStan level to 6 for stricter analysis.
This commit is contained in:
2026-02-09 23:14:09 +01:00
parent 58947ad589
commit 3bd8164d3d
169 changed files with 4964 additions and 3877 deletions

View File

@@ -39,11 +39,11 @@ class EmpikAction extends ObjectModel
],
'id_import' => [
'type' => self::TYPE_INT,
'validate' => 'isCleanHtml',
'validate' => 'isUnsignedInt',
],
'import_count' => [
'type' => self::TYPE_INT,
'validate' => 'isCleanHtml',
'validate' => 'isUnsignedInt',
],
'date_start' => [
'type' => self::TYPE_DATE,
@@ -57,4 +57,4 @@ class EmpikAction extends ObjectModel
],
],
];
}
}