Skip to content

fix CS & drop support for old pocketmine versions #276

fix CS & drop support for old pocketmine versions

fix CS & drop support for old pocketmine versions #276

Triggered via push June 5, 2024 09:41
Status Failure
Total duration 2m 26s
Artifacts

ci.yaml

on: push
Code Style checks
14s
Code Style checks
Matrix: PHPStan analysis
Matrix: Unit tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
PHPStan analysis (ubuntu-20.04, 8.1)
Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - symfony/process is locked to version v7.1.1 and an update of this package was not requested. - symfony/process v7.1.1 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement. Problem 2 - symfony/process v7.1.1 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement. - friendsofphp/php-cs-fixer v3.41.1 requires symfony/process ^5.4 || ^6.0 || ^7.0 -> satisfiable by symfony/process[v7.1.1]. - friendsofphp/php-cs-fixer is locked to version v3.41.1 and an update of this package was not requested.
PHPStan analysis (ubuntu-20.04, 8.1)
Process completed with exit code 2.
PHPStan analysis (ubuntu-20.04, 8.3): src/players/network/TestPlayerNetworkSession.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, pocketmine\\network\\mcpe\\raklib\\RakLibInterface\|null given\.$# in path /home/runner/work/PmmpUnit/PmmpUnit/src/players/network/TestPlayerNetworkSession.php was not matched in reported errors.
PHPStan analysis (ubuntu-20.04, 8.3)
Process completed with exit code 2.
PHPStan analysis (ubuntu-20.04, 8.2): src/players/network/TestPlayerNetworkSession.php#L1
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, pocketmine\\network\\mcpe\\raklib\\RakLibInterface\|null given\.$# in path /home/runner/work/PmmpUnit/PmmpUnit/src/players/network/TestPlayerNetworkSession.php was not matched in reported errors.
PHPStan analysis (ubuntu-20.04, 8.2)
Process completed with exit code 2.
Code Style checks
Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - symfony/process is locked to version v7.1.1 and an update of this package was not requested. - symfony/process v7.1.1 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement. Problem 2 - symfony/process v7.1.1 requires php >=8.2 -> your php version (8.1.27) does not satisfy that requirement. - friendsofphp/php-cs-fixer v3.41.1 requires symfony/process ^5.4 || ^6.0 || ^7.0 -> satisfiable by symfony/process[v7.1.1]. - friendsofphp/php-cs-fixer is locked to version v3.41.1 and an update of this package was not requested.
Code Style checks
Process completed with exit code 2.
PHPStan analysis (ubuntu-20.04, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pmmp/[email protected], actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan analysis (ubuntu-20.04, 8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pmmp/[email protected], actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan analysis (ubuntu-20.04, 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pmmp/[email protected], actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.