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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user