Skip to content

wip

wip #19

Triggered via push September 3, 2024 16:18
Status Failure
Total duration 9m 49s
Artifacts

php.yml

on: push
Matrix: PHP Static Analysis
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

28 errors
PHPUnit (8.3)
Process completed with exit code 2.
PHPUnit (8.2)
Process completed with exit code 2.
PHPUnit (8.1)
Process completed with exit code 2.
PHP Static Analysis (8.2): src/Adapter/Carrier/CommandHandler/AddCarrierHandler.php#L118
Strict comparison using === between null and array will always evaluate to false.
PHP Static Analysis (8.2): src/Adapter/Carrier/CommandHandler/EditCarrierHandler.php#L168
Parameter #2 $zoneIds of method PrestaShop\PrestaShop\Adapter\Carrier\Repository\CarrierRepository::updateAssociatedZones() expects array<int>, null given.
PHP Static Analysis (8.2): src/Core/Domain/Carrier/Command/EditCarrierCommand.php#L314
PHPDoc tag @return with type array<int> is incompatible with native type PrestaShop\PrestaShop\Core\Domain\Carrier\Command\EditCarrierCommand.
PHP Static Analysis (8.2): src/PrestaShopBundle/Form/Admin/Improve/Shipping/Carrier/ShippingLocationsAndCostsType.php#L65
Array has 2 duplicate keys with value 'attr' ('attr', 'attr').
PHP Static Analysis (8.2): tests/Unit/Core/Form/IdentifiableObject/DataProvider/CarrierFormDataProviderTest.php#L77
Parameter #19 $zones of class PrestaShop\PrestaShop\Core\Domain\Carrier\QueryResult\EditableCarrier constructor expects array, string given.
PHP Static Analysis (8.2)
Process completed with exit code 1.
PHP CS Fixer
Process completed with exit code 8.
PHP Static Analysis (8.1): src/Adapter/Carrier/CommandHandler/AddCarrierHandler.php#L118
Strict comparison using === between null and array will always evaluate to false.
PHP Static Analysis (8.1): src/Adapter/Carrier/CommandHandler/EditCarrierHandler.php#L168
Parameter #2 $zoneIds of method PrestaShop\PrestaShop\Adapter\Carrier\Repository\CarrierRepository::updateAssociatedZones() expects array<int>, null given.
PHP Static Analysis (8.1): src/Core/Domain/Carrier/Command/EditCarrierCommand.php#L314
PHPDoc tag @return with type array<int> is incompatible with native type PrestaShop\PrestaShop\Core\Domain\Carrier\Command\EditCarrierCommand.
PHP Static Analysis (8.1): src/PrestaShopBundle/Form/Admin/Improve/Shipping/Carrier/ShippingLocationsAndCostsType.php#L65
Array has 2 duplicate keys with value 'attr' ('attr', 'attr').
PHP Static Analysis (8.1): tests/Unit/Core/Form/IdentifiableObject/DataProvider/CarrierFormDataProviderTest.php#L77
Parameter #19 $zones of class PrestaShop\PrestaShop\Core\Domain\Carrier\QueryResult\EditableCarrier constructor expects array, string given.
PHP Static Analysis (8.1)
Process completed with exit code 1.
PHP Static Analysis (8.3): src/Adapter/Carrier/CommandHandler/AddCarrierHandler.php#L118
Strict comparison using === between null and array will always evaluate to false.
PHP Static Analysis (8.3): src/Adapter/Carrier/CommandHandler/EditCarrierHandler.php#L168
Parameter #2 $zoneIds of method PrestaShop\PrestaShop\Adapter\Carrier\Repository\CarrierRepository::updateAssociatedZones() expects array<int>, null given.
PHP Static Analysis (8.3): src/Core/Domain/Carrier/Command/EditCarrierCommand.php#L314
PHPDoc tag @return with type array<int> is incompatible with native type PrestaShop\PrestaShop\Core\Domain\Carrier\Command\EditCarrierCommand.
PHP Static Analysis (8.3): src/PrestaShopBundle/Form/Admin/Improve/Shipping/Carrier/ShippingLocationsAndCostsType.php#L65
Array has 2 duplicate keys with value 'attr' ('attr', 'attr').
PHP Static Analysis (8.3): tests/Unit/Core/Form/IdentifiableObject/DataProvider/CarrierFormDataProviderTest.php#L77
Parameter #19 $zones of class PrestaShop\PrestaShop\Core\Domain\Carrier\QueryResult\EditableCarrier constructor expects array, string given.
PHP Static Analysis (8.3)
Process completed with exit code 1.