-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
checked on php73&74, phpstan .23&.25
/tmp/my-proj> php7.3 -v;phpstan -V;pwd
PHP 7.3.18-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: May 14 2020 10:34:44) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.18, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.18-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
PHPStan - PHP Static Analysis Tool 0.12.25
/tmp/my-proj
php7.3 ./vendor/bin/phpstan analyze Service/Search/Category.php --debug 1
Note: Using configuration file /tmp/my-proj/phpstan.neon.
/tmp/my-proj/Service/Search/Category.php
PHP Fatal error: Uncaught _HumbugBox01d8f9a04075\Roave\BetterReflection\SourceLocator\Exception\InvalidFileLocation: "/tmp/my-proj" is not a file in phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/vendor/ondrejmirtes/better-reflection/src/SourceLocator/FileChecker.php:28
Stack trace:
#0 phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/vendor/ondrejmirtes/better-reflection/src/SourceLocator/Located/LocatedSource.php(28): _HumbugBox01d8f9a04075\Roave\BetterReflection\SourceLocator\FileChecker::assertReadableFile('/tmp/my-proj')
#1 phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php(72): _HumbugBox01d8f9a04075\Roave\BetterReflection\SourceLocator\Located\LocatedSource->__construct('', '/tmp/my-proj')
#2 phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/vendor/ondrejmirtes/better-reflection/src/SourceLocator/Type/AggregateSourceLocator.php(31): PHPStan\Reflection\BetterReflection\SourceLocator\AutoloadSourceLocator->locateIdentifier(Object(PHPStan\Reflec in phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/vendor/ondrejmirtes/better-reflection/src/SourceLocator/FileChecker.php on line 28
Fatal error: Uncaught _HumbugBox01d8f9a04075\Roave\BetterReflection\SourceLocator\Exception\InvalidFileLocation: "/tmp/my-proj" is not a file in phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/vendor/ondrejmirtes/better-reflection/src/SourceLocator/FileChecker.php:28
Stack trace:
#0 phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/vendor/ondrejmirtes/better-reflection/src/SourceLocator/Located/LocatedSource.php(28): _HumbugBox01d8f9a04075\Roave\BetterReflection\SourceLocator\FileChecker::assertReadableFile('/tmp/my-proj')
#1 phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php(72): _HumbugBox01d8f9a04075\Roave\BetterReflection\SourceLocator\Located\LocatedSource->__construct('', '/tmp/my-proj')
#2 phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/vendor/ondrejmirtes/better-reflection/src/SourceLocator/Type/AggregateSourceLocator.php(31): PHPStan\Reflection\BetterReflection\SourceLocator\AutoloadSourceLocator->locateIdentifier(Object(PHPStan\Reflec in phar:///tmp/my-proj/vendor/phpstan/phpstan/phpstan/vendor/ondrejmirtes/better-reflection/src/SourceLocator/FileChecker.php on line 28Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels