Skip to content

Refactor Codebase to Use Symfony Filesystem Instead of Native PHP Functions #4814

Refactor Codebase to Use Symfony Filesystem Instead of Native PHP Functions

Refactor Codebase to Use Symfony Filesystem Instead of Native PHP Functions #4814

Triggered via pull request January 23, 2025 16:02
Status Failure
Total duration 1m 21s
Artifacts

php.yml

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

Annotations

59 errors and 9 warnings
PHP-CS-Fixer
Process completed with exit code 8.
PHPStan (1.7.8): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (1.7.8): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (1.7.8): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (1.7.8): classes/UpgradeContainer.php#L219
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translator is unused.
PHPStan (1.7.8): classes/UpgradeContainer.php#L222
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translation is unused.
PHPStan (1.7.8)
Process completed with exit code 1.
PHPStan (1.7.5.1)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.5.1): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (1.7.5.1): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (1.7.5.1): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (1.7.5.1): classes/UpgradeContainer.php#L219
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translator is unused.
PHPStan (1.7.5.1): classes/UpgradeContainer.php#L222
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translation is unused.
PHPStan (1.7.5.1)
The operation was canceled.
PHPStan (1.7.3.4)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.3.4): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (1.7.3.4): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (1.7.3.4): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (1.7.3.4): classes/UpgradeContainer.php#L219
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translator is unused.
PHPStan (1.7.3.4): classes/UpgradeContainer.php#L222
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translation is unused.
PHPStan (1.7.3.4)
The operation was canceled.
PHPStan (1.7.2.5)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.2.5): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (1.7.2.5): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (1.7.2.5): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (1.7.2.5): classes/UpgradeContainer.php#L219
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translator is unused.
PHPStan (1.7.2.5): classes/UpgradeContainer.php#L222
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translation is unused.
PHPStan (1.7.2.5)
The operation was canceled.
PHPStan (1.7.4.4)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.4.4): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (1.7.4.4): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (1.7.4.4): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (1.7.4.4): classes/UpgradeContainer.php#L219
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translator is unused.
PHPStan (1.7.4.4): classes/UpgradeContainer.php#L222
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translation is unused.
PHPStan (1.7.4.4)
The operation was canceled.
PHPStan (1.7.7)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.7): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (1.7.7): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (1.7.7): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (1.7.7): classes/UpgradeContainer.php#L219
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translator is unused.
PHPStan (1.7.7): classes/UpgradeContainer.php#L222
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translation is unused.
PHPStan (1.7.7)
The operation was canceled.
PHPStan (1.7.6)
The job was canceled because "_1_7_8" failed.
PHPStan (1.7.6): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (1.7.6): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (1.7.6): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (1.7.6): classes/UpgradeContainer.php#L219
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translator is unused.
PHPStan (1.7.6): classes/UpgradeContainer.php#L222
Property PrestaShop\Module\AutoUpgrade\UpgradeContainer::$translation is unused.
PHPStan (1.7.6)
The operation was canceled.
PHPStan (latest)
The job was canceled because "_1_7_8" failed.
PHPStan (latest): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (latest): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (latest): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (latest)
The operation was canceled.
PHPStan (8.0.0)
The job was canceled because "_1_7_8" failed.
PHPStan (8.0.0): classes/Parameters/FileStorage.php#L50
Constructor of class PrestaShop\Module\AutoUpgrade\Parameters\FileStorage has an unused parameter $filesystem.
PHPStan (8.0.0): classes/Services/ComposerService.php#L39
Property PrestaShop\Module\AutoUpgrade\Services\ComposerService::$filesystem is never read, only written.
PHPStan (8.0.0): classes/Services/PrestashopVersionService.php#L22
Property PrestaShop\Module\AutoUpgrade\Services\PrestashopVersionService::$filesystem is never read, only written.
PHPStan (8.0.0)
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 (7.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
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 Unit (7.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Unit (7.2)
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