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

@@ -8,6 +8,7 @@ class EmpikOrder extends ObjectModel
public $empik_order_carrier;
public $empik_payment;
public $empik_carrier;
public $empik_tracking_number;
public $empik_pickup_point;
public $empik_vat_number;
public $date_add;
@@ -39,6 +40,10 @@ class EmpikOrder extends ObjectModel
'validate' => 'isCleanHtml',
'required' => true,
],
'empik_tracking_number' => [
'type' => self::TYPE_STRING,
'validate' => 'isTrackingNumber',
],
'empik_pickup_point' => [
'type' => self::TYPE_STRING,
'validate' => 'isCleanHtml',