fix CS & drop support for old pocketmine versions #276
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/.
|