Introduction of phpstan #197
Annotations
5 errors and 1 warning
Run PHPStan:
tests/unit/PackageTest.php#L505
Method class@anonymous/tests/unit/PackageTest.php:490::works() has invalid return type Inpsyde\Modularity\Tests\Unit\null.
|
Run PHPStan:
tests/unit/PackageTest.php#L505
Method class@anonymous/tests/unit/PackageTest.php:490::works() never returns Inpsyde\Modularity\Tests\Unit\null so it can be removed from the return type.
|
Run PHPStan:
tests/unit/PackageTest.php#L505
Method class@anonymous/tests/unit/PackageTest.php:490::works() uses native union types but they're supported only on PHP 8.0 and later.
|
Run PHPStan:
tests/unit/PackageTest.php#L507
Method class@anonymous/tests/unit/PackageTest.php:490::works() should return Inpsyde\Modularity\Tests\Unit\null|string but returns string|null.
|
Run PHPStan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading