Skip to content

Update lifecycle of state and configuration files #4717

Update lifecycle of state and configuration files

Update lifecycle of state and configuration files #4717

Triggered via pull request January 14, 2025 15:57
Status Failure
Total duration 1m 26s
Artifacts

php.yml

on: pull_request
PHP Syntax check 7.1 => 8.1
1m 15s
PHP Syntax check 7.1 => 8.1
PHP-CS-Fixer
28s
PHP-CS-Fixer
PHP 5.6 Syntax Check
13s
PHP 5.6 Syntax Check
Matrix: PHP Unit
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

59 errors and 7 warnings
PHP Unit (8.1)
Process completed with exit code 2.
PHP-CS-Fixer
Process completed with exit code 8.
PHP Unit (7.4)
The job was canceled because "_8_1" failed.
PHP Unit (7.4)
The operation was canceled.
PHP Unit (7.1)
The job was canceled because "_8_1" failed.
PHP Unit (7.1)
The operation was canceled.
PHP Unit (7.2)
The job was canceled because "_8_1" failed.
PHP Unit (7.2)
The operation was canceled.
PHPStan (1.7.2.5): classes/Parameters/UpgradeConfiguration.php#L171
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::getInstalledLanguagesIsoCode() return type has no value type specified in iterable type array.
PHPStan (1.7.2.5): classes/Parameters/UpgradeConfiguration.php#L299
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::hasAllTheShopConfiguration() should return bool but returns int<0, max>.
PHPStan (1.7.2.5): classes/Task/Backup/BackupComplete.php#L54
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::setBackupCompleted().
PHPStan (1.7.2.5): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L71
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.2.5): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L127
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.2.5)
Process completed with exit code 1.
PHPStan (1.7.8): classes/Parameters/UpgradeConfiguration.php#L171
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::getInstalledLanguagesIsoCode() return type has no value type specified in iterable type array.
PHPStan (1.7.8): classes/Parameters/UpgradeConfiguration.php#L299
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::hasAllTheShopConfiguration() should return bool but returns int<0, max>.
PHPStan (1.7.8): classes/Task/Backup/BackupComplete.php#L54
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::setBackupCompleted().
PHPStan (1.7.8): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L71
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.8): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L127
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.8)
Process completed with exit code 1.
PHPStan (1.7.3.4)
The job was canceled because "_1_7_2_5" failed.
PHPStan (1.7.3.4): classes/Parameters/UpgradeConfiguration.php#L171
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::getInstalledLanguagesIsoCode() return type has no value type specified in iterable type array.
PHPStan (1.7.3.4): classes/Parameters/UpgradeConfiguration.php#L299
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::hasAllTheShopConfiguration() should return bool but returns int<0, max>.
PHPStan (1.7.3.4): classes/Task/Backup/BackupComplete.php#L54
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::setBackupCompleted().
PHPStan (1.7.3.4): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L71
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.3.4): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L127
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.3.4)
The operation was canceled.
PHPStan (1.7.6)
The job was canceled because "_1_7_2_5" failed.
PHPStan (1.7.4.4)
The job was canceled because "_1_7_2_5" failed.
PHPStan (1.7.5.1)
The job was canceled because "_1_7_2_5" failed.
PHPStan (1.7.6): classes/Parameters/UpgradeConfiguration.php#L171
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::getInstalledLanguagesIsoCode() return type has no value type specified in iterable type array.
PHPStan (1.7.4.4): classes/Parameters/UpgradeConfiguration.php#L171
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::getInstalledLanguagesIsoCode() return type has no value type specified in iterable type array.
PHPStan (1.7.5.1): classes/Parameters/UpgradeConfiguration.php#L171
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::getInstalledLanguagesIsoCode() return type has no value type specified in iterable type array.
PHPStan (1.7.6): classes/Parameters/UpgradeConfiguration.php#L299
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::hasAllTheShopConfiguration() should return bool but returns int<0, max>.
PHPStan (1.7.4.4): classes/Parameters/UpgradeConfiguration.php#L299
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::hasAllTheShopConfiguration() should return bool but returns int<0, max>.
PHPStan (1.7.5.1): classes/Parameters/UpgradeConfiguration.php#L299
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::hasAllTheShopConfiguration() should return bool but returns int<0, max>.
PHPStan (1.7.4.4): classes/Task/Backup/BackupComplete.php#L54
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::setBackupCompleted().
PHPStan (1.7.6): classes/Task/Backup/BackupComplete.php#L54
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::setBackupCompleted().
PHPStan (1.7.5.1): classes/Task/Backup/BackupComplete.php#L54
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::setBackupCompleted().
PHPStan (1.7.4.4): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L71
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.6): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L71
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.5.1): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L71
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.6): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L127
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.4.4): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L127
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.6)
The operation was canceled.
PHPStan (1.7.5.1): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L127
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.4.4)
The operation was canceled.
PHPStan (1.7.5.1)
The operation was canceled.
PHPStan (1.7.7)
The job was canceled because "_1_7_2_5" failed.
PHPStan (1.7.7): classes/Parameters/UpgradeConfiguration.php#L171
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::getInstalledLanguagesIsoCode() return type has no value type specified in iterable type array.
PHPStan (1.7.7): classes/Parameters/UpgradeConfiguration.php#L299
Method PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration::hasAllTheShopConfiguration() should return bool but returns int<0, max>.
PHPStan (1.7.7): classes/Task/Backup/BackupComplete.php#L54
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::setBackupCompleted().
PHPStan (1.7.7): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L71
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.7): controllers/admin/self-managed/UpdatePageBackupOptionsController.php#L127
Call to an undefined method PrestaShop\Module\AutoUpgrade\State\UpdateState::isBackupCompleted().
PHPStan (1.7.7)
The operation was canceled.
PHPStan (8.0.0)
The job was canceled because "_1_7_2_5" failed.
PHPStan (8.0.0)
The operation was canceled.
PHPStan (latest)
The job was canceled because "_1_7_2_5" failed.
PHPStan (latest)
The operation was canceled.
PHP-CS-Fixer
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
PHP 5.6 Syntax Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Unit (8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP-CS-Fixer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (1.7.2.5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (1.7.8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Syntax check 7.1 => 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636