-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Description
Steps to reproduce
run the most simplest analyse command
vendor\phpstan\phpstan\phpstan analyse src tests
which currently shows
Warning: is_file(): open_basedir restriction in effect. File(/proc/cpuinfo) is not within the allowed path(s): (...basic;C:\data\temp) in phar://...basic/vendor/phpstan/phpstan/phpstan/src/Process/CpuCoreCounter.php on line 17
Fatal error: Uncaught TypeError: fgets() expects parameter 1 to be resource, null given in phar://...basic/vendor/phpstan/phpstan/phpstan/src/Process/CpuCoreCounter.php:29
Expected output
analyser runs successfully
PS: what is the reason to not distribute src directly? One very strong reason do to so is very easy modification/debug like this. Please consider or link issue if already discussed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels