I'm trying to set up the php-console server portion to use on a Drupal 8 web site. composer require php-console/php-console call (in the root of my Drupal installation with a composer.json file) fails with the following output:
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Exception.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/File.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Fixer.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Report.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Reporting.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Sniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokens.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/DocGenerators/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractPatternSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractScopeSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractVariableSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/IncorrectPatternException.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Zend/Sniffs/" which does not appear to be a file nor a folder
Using version ^3.1 for php-console/php-console
./composer.json has been updated
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Exception.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/File.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Fixer.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Report.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Reporting.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Sniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokens.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/DocGenerators/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractPatternSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractScopeSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractVariableSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/IncorrectPatternException.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Zend/Sniffs/" which does not appear to be a file nor a folder
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Exception.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/File.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Fixer.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Report.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Reporting.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Sniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokens.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Reports/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/DocGenerators/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractPatternSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractScopeSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractVariableSniff.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/IncorrectPatternException.php" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/" which does not appear to be a file nor a folder
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Zend/Sniffs/" which does not appear to be a file nor a folder
> Drupal\Core\Composer\Composer::preAutoloadDump
Installation failed, reverting ./composer.json to its original content.
[RuntimeException]
Could not scan for classes inside "/srv/http/mysite.com/vendor/squizlabs/php_codesniffer/CodeSni
ffer.php" which does not appear to be a file nor a folder
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
Haven't had the time to muck around with any other attempts to get things working. Hoping someone else has had this issue and been able to resolve it fairly simply.
I'm trying to set up the php-console server portion to use on a Drupal 8 web site.
composer require php-console/php-console
call (in the root of my Drupal installation with a composer.json file) fails with the following output:Haven't had the time to muck around with any other attempts to get things working. Hoping someone else has had this issue and been able to resolve it fairly simply.