Skip to content

Implement the percentage of progression on upgrade and restore workflows #2484

Implement the percentage of progression on upgrade and restore workflows

Implement the percentage of progression on upgrade and restore workflows #2484

Triggered via pull request July 18, 2024 17:05
Status Failure
Total duration 1m 15s
Artifacts

php.yml

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

Annotations

90 errors
PHP-CS-Fixer
Process completed with exit code 8.
PHPStan (1.7.8): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.8): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.8): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.8): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.8): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.8): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.8): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.8): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.8)
Process completed with exit code 1.
PHPStan (1.7.3.4)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.3.4): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.3.4): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.3.4): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.3.4): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.3.4): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.3.4): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.3.4): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.3.4): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.3.4)
The operation was canceled.
PHPStan (1.7.5.1)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.5.1): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.5.1): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.5.1): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.5.1): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.5.1): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.5.1): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.5.1): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.5.1): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.5.1)
The operation was canceled.
PHPStan (1.7.6)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.6): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.6): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.6): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.6): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.6): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.6): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.6): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.6): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.6)
The operation was canceled.
PHPStan (1.7.2.5)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.2.5): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.2.5): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.2.5): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.2.5): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.2.5): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.2.5): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.2.5): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.2.5): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.2.5)
The operation was canceled.
PHPStan (1.7.7)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.7): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.7): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.7): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.7): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.7): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.7): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.7): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.7): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.7)
The operation was canceled.
PHPStan (latest)
The job was canceled because "_1_7_8" failed.
PHPStan (latest): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (latest): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (latest): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (latest): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (latest): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (latest): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (latest): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (latest): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (latest)
The operation was canceled.
PHPStan (8.0.0)
The job was canceled because "_1_7_8" failed.
PHPStan (8.0.0): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (8.0.0): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (8.0.0): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (8.0.0): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (8.0.0): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (8.0.0): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (8.0.0): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (8.0.0): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (8.0.0)
The operation was canceled.
PHPStan (1.7.4.4)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.4.4): classes/Task/AbstractTask.php#L157
Parameter $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() has invalid type PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.4.4): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.4.4): classes/Task/AbstractTask.php#L164
Call to method getInitialTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.4.4): classes/Task/AbstractTask.php#L164
Call to method getRemainingTotal() on an unknown class PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog.
PHPStan (1.7.4.4): classes/Task/Upgrade/BackupDb.php#L269
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.4.4): classes/Task/Upgrade/BackupFiles.php#L103
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.4.4): classes/Task/Upgrade/UpgradeFiles.php#L89
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.4.4): classes/Task/Upgrade/UpgradeModules.php#L88
Parameter #1 $backlog of method PrestaShop\Module\AutoUpgrade\Task\AbstractTask::computeProgressionPercentage() expects PrestaShop\Module\AutoUpgrade\UpgradeTools\Progress\Backlog, PrestaShop\Module\AutoUpgrade\UpgradeTools\Backlog given.
PHPStan (1.7.4.4)
The operation was canceled.