New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to open Stream #8
Comments
Seems like your /path/to/configuration/file/scanner_config.php is wrong |
I follow the step and please correct me in which area i'm wrong Step by Step
Please guide me @Insolita |
Just to copy - is not enough. You must modify it for setup valid path to composer.json of your project, vendor directory of your project and list of directories for scanning.
|
Php version: 7.1.14
Os: MacOS High Sierra
Composer packages with detection troubles:
Which type of autoload it uses?
Code example of package classes usage that not detected:
unused_scanner /path/to/configuration/file/scanner_config.php --silent
PHP Warning: require_once(/path/to/configuration/file/scanner_config.php): failed to open stream: No such file or directory in /Users/enz/.composer/vendor/insolita/unused-scanner/Lib/Runner.php on line 86
PHP Fatal error: require_once(): Failed opening required '/path/to/configuration/file/scanner_config.php' (include_path='.:') in /Users/enz/.composer/vendor/insolita/unused-scanner/Lib/Runner.php on line 86
The text was updated successfully, but these errors were encountered: