Skip to content

PHP Fatal error: Uncaught _PHPStan_5c71ab23c\Nette\FileNotFoundException: File 'phar://phpstan.phar/conf/bleedingEdge.neon' #7696

@underground20

Description

@underground20

Bug Report

Subject Details
Rector version v0.14.6
PHP version v7.4
Phpstan version v1.9.4

Current issue duplicate #2431

Current behavior

After run process: (rector process --dry-run)

PHP Fatal error:  Uncaught _PHPStan_5c71ab23c\Nette\FileNotFoundException: File 'phar://phpstan.phar/conf/bleedingEdge.neon' is missing or is not readable. in phar:///var/www/billing/vendor/rector/rector/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Config/Loader.php:29
Stack trace:
#0 phar:///var/www/billing/vendor/rector/rector/vendor/phpstan/phpstan/phpstan.phar/src/DependencyInjection/NeonLoader.php(29): _PHPStan_5c71ab23c\Nette\DI\Config\Loader->load('phar://phpstan....', false)
#1 phar:///var/www/billing/vendor/rector/rector/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Config/Loader.php(43): PHPStan\DependencyInjection\NeonLoader->load('phar://phpstan....', false)
#2 phar:///var/www/billing/vendor/rector/rector/vendor/phpstan/phpstan/phpstan.phar/src/DependencyInjection/NeonLoader.php(29): _PHPStan_5c71ab23c\Nette\DI\Config\Loader->load('/var/www/billin...', false)
#3 phar:///var/www/billing/vendor/rector/rector/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Config/Loader.php(43): P in phar:///var/www/billing/vendor/rector/rector/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Config/Loader.php on line 29

Minimal PHP Code Causing Issue

My phpstan config includes bleedingEdge.neon

includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Expected Behaviour

No fatal, bleedingEdge included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions