This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Description
$ parallel-lint --blame --exclude vendor/ .
PHP Warning: Unsupported declare 'strict_types' in phar:///home/php/.composer/vendor/phpstan/phpstan-shim/phpstan.phar/vendor/nette/di/src/compatibility.php on line 7
PHP Warning: Unsupported declare 'strict_types' in phar:///home/php/.composer/vendor/phpstan/phpstan-shim/phpstan.phar/vendor/nette/di/src/DI/Config/Adapter.php on line 7
PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in phar:///home/php/.composer/vendor/phpstan/phpstan-shim/phpstan.phar/vendor/nette/di/src/DI/Config/Adapter.php on line 18
We have 2 PHP versions: 5.6 is the default and 7.2.
parallel-lint is installed globally in the user's home with PHP 5.6
phpstan is installed globally in the user's home with PHP 7.2
How come that phpstan's phar file is loaded while running parallel-lint on PHP 5.6?
ps. parallel-lint --help works okay