Skip to content

Fix PHPStan on PHP 8.3 #229

Fix PHPStan on PHP 8.3

Fix PHPStan on PHP 8.3 #229

Triggered via push May 10, 2024 09:52
Status Failure
Total duration 2m 54s
Artifacts

build.yml

on: push
Matrix: static-checks
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
PropertyNotSetInConstructor: src/Constraints/CountryVatNumber.php#L9
src/Constraints/CountryVatNumber.php:9:7: PropertyNotSetInConstructor: Property FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber::$groups is not defined in constructor of FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber or in any methods called in the constructor (see https://psalm.dev/074)
MissingClassConstType: src/Constraints/CountryVatNumber.php#L12
src/Constraints/CountryVatNumber.php:12:18: MissingClassConstType: Class constant "FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber::CORRESPONDENCE_ERROR" should have a declared type. (see https://psalm.dev/359)
Static checks (PHP 8.3, Symfony ^5.4)
Process completed with exit code 2.
PropertyNotSetInConstructor: src/Constraints/CountryVatNumber.php#L9
src/Constraints/CountryVatNumber.php:9:7: PropertyNotSetInConstructor: Property FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber::$groups is not defined in constructor of FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber or in any methods called in the constructor (see https://psalm.dev/074)
MissingClassConstType: src/Constraints/CountryVatNumber.php#L12
src/Constraints/CountryVatNumber.php:12:18: MissingClassConstType: Class constant "FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber::CORRESPONDENCE_ERROR" should have a declared type. (see https://psalm.dev/359)
Static checks (PHP 8.3, Symfony ^6.4)
Process completed with exit code 2.
PropertyNotSetInConstructor: src/Constraints/CountryVatNumber.php#L9
src/Constraints/CountryVatNumber.php:9:7: PropertyNotSetInConstructor: Property FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber::$groups is not defined in constructor of FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber or in any methods called in the constructor (see https://psalm.dev/074)
Static checks (PHP 8.1, Symfony ^6.4)
Process completed with exit code 2.
PropertyNotSetInConstructor: src/Constraints/CountryVatNumber.php#L9
src/Constraints/CountryVatNumber.php:9:7: PropertyNotSetInConstructor: Property FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber::$groups is not defined in constructor of FluxSE\SyliusEUVatPlugin\Constraints\CountryVatNumber or in any methods called in the constructor (see https://psalm.dev/074)
Static checks (PHP 8.1, Symfony ^5.4)
Process completed with exit code 2.
Static checks (PHP 8.3, Symfony ^5.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static checks (PHP 8.3, Symfony ^6.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static checks (PHP 8.1, Symfony ^6.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static checks (PHP 8.1, Symfony ^5.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sylius ~1.12.0, PHP 8.3, Symfony ^5.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sylius ~1.13.0, PHP 8.1, Symfony ^6.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sylius ~1.13.0, PHP 8.3, Symfony ^6.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sylius ~1.12.0, PHP 8.1, Symfony ^6.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sylius ~1.12.0, PHP 8.3, Symfony ^6.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sylius ~1.13.0, PHP 8.1, Symfony ^5.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sylius ~1.13.0, PHP 8.3, Symfony ^5.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sylius ~1.12.0, PHP 8.1, Symfony ^5.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.