Add skipUpdateIfUnchanged flag in ObjectModel to prevent update perfo… #1197
Annotations
10 errors
Run phpstan:
classes/ObjectModel.php#L703
Parameter #2 $newObject of class PrestaShop\PrestaShop\Adapter\ObjectModelComparator constructor expects ObjectModel, $this(ObjectModelCore) given.
|
Run phpstan:
src/Adapter/ObjectModelComparator.php#L75
Right side of && is always true.
|
Run phpstan:
tests/Integration/Adapter/ObjectModelComparatorTest.php#L93
Method Tests\Integration\Adapter\ObjectModelComparatorTest::getModuleToTest() has invalid return type Ps_objectmodel_comparator_test.
|
Run phpstan:
tests/Integration/Adapter/ObjectModelComparatorTest.php#L93
Method Tests\Integration\Adapter\ObjectModelComparatorTest::getModuleToTest() has invalid return type Ps_objectmodel_comparator_test.
|
Run phpstan:
tests/Integration/Adapter/ObjectModelComparatorTest.php#L100
Class Ps_objectmodel_comparator_test not found.
|
Run phpstan:
tests/Integration/Adapter/ObjectModelComparatorTest.php#L130
Access to constant PS_OBJECTMODEL_COMPARATOR_LAST_CALL_STATUS on an unknown class Ps_objectmodel_comparator_test.
|
Run phpstan:
tests/Integration/Adapter/ObjectModelComparatorTest.php#L130
Cannot access constant PS_OBJECTMODEL_COMPARATOR_LAST_CALL_STATUS on Ps_objectmodel_comparator_test
|
Run phpstan:
tests/Integration/Adapter/ObjectModelComparatorTest.php#L135
Access to constant PS_OBJECTMODEL_COMPARATOR_STATUS on an unknown class Ps_objectmodel_comparator_test.
|
Run phpstan:
tests/Integration/Adapter/ObjectModelComparatorTest.php#L135
Cannot access constant PS_OBJECTMODEL_COMPARATOR_STATUS on Ps_objectmodel_comparator_test
|
Run phpstan:
tests/Integration/Adapter/ObjectModelComparatorTest.php#L157
Access to property $name on an unknown class Ps_objectmodel_comparator_test.
|
Loading