-
Notifications
You must be signed in to change notification settings - Fork 696
Closed
Labels
Description
With version 5.6 I get this:
dev@php-fpm /app (chore(deps)/dependency-update)> ./vendor/bin/psalm --version
Psalm 5.6.0@e784128902dfe01d489c4123d69918a9f3c1eac5
dev@php-fpm /app (chore(deps)/dependency-update)> ./vendor/bin/psalm src/Controller/IndexController.php
Target PHP version: 8.2 (inferred from current PHP version) Enabled extensions: pdo.
Scanning files...
Deprecation: Psalm stubs for ext-apcu loaded using legacy way. Instead, please declare ext-apcu as dependency in composer.json or use <enableExtensions> and/or <disableExtensions> directives in Psalm config.
Analyzing files...
░
To whom it may concern: Psalm cannot detect unused classes, methods and properties
when analyzing individual files and folders. Run on the full project to enable
complete unused code detection.
------------------------------
No errors found!
------------------------------
Checks took 1.59 seconds and used 316.663MB of memory
Psalm was able to infer types for 100% of the codebase
dev@php-fpm /app (chore(deps)/dependency-update)>And with version 5.7 I get this:
dev@php-fpm /app (chore(deps)/dependency-update)> ./vendor/bin/psalm --version
Psalm 5.7.0@d934875532c7eb344d6b2914c3525f116a6b0cf2
dev@php-fpm /app (chore(deps)/dependency-update)> ./vendor/bin/psalm src/Controller/IndexController.php
dev@php-fpm /app (chore(deps)/dependency-update) [139]> And in the version 5.7 the exit code is 139, so there is something fishy going on.
Also tried to run with --threads=1 option and the end results is the same.
Reactions are currently unavailable