Skip to content
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

Uncaught exception 'ReflectionException' in master #107

Closed
BenTyger opened this issue May 11, 2016 · 1 comment
Closed

Uncaught exception 'ReflectionException' in master #107

BenTyger opened this issue May 11, 2016 · 1 comment
Milestone

Comments

@BenTyger
Copy link

Getting this error when I executed the the follwing command. This from the master branch (96d38e6) ;

vendor/bin/phpcs --standard=PHPCompatibility --extensions=php --ignore='testers' --runtime-set testVersion 5.3-5.5 ~/workspaces/ggva/5.4/GGVA_API-5.4/lib/
PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class php-compatibility_Sniffs_PHP_ForbiddenBreakContinueVariableArgumentsSniff does not exist' in /home/likewise-open/GRIDDATA/btyger/workspaces/ggva/5.4/GGVA_API-5.4/testers/vendor/squizlabs/php_codesniffer/CodeSniffer.php:1335

Environment:
composer 1.0.0
phpunit/php-code-coverage 1.2.18 Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator 1.4.1 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template 1.2.1 Simple template engine.
phpunit/php-timer 1.0.7 Utility class for timing
phpunit/php-token-stream 1.2.2 Wrapper around PHP's tokenizer extension.
phpunit/phpunit 3.7.38 The PHP Unit Testing framework.
phpunit/phpunit-mock-objects 1.2.3 Mock Object library for PHPUnit
simplyadmire/composer-plugins 2.0.1 Composer plugin for installing PHP_CodeSniffer standards
squizlabs/php_codesniffer 2.3.4 PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
symfony/yaml v2.8.6 Symfony Yaml Component
wimg/php-compatibility dev-master 96d38e6 This is a set of sniffs for PHP_CodeSniffer that checks for PHP version compatibility.

@wimg
Copy link
Member

wimg commented Jun 24, 2016

Are you certain the CodeSniffer.php file is actually the 2.3.4 that you install through Composer ? Sometimes PHP plays a trick and loads a different version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants