Comments (3)
Please provide the output of the command. Do you see any errors when executing the command without the -o json
option?
from php7cc.
Hi! When I execute "php7cc index.php " I get the result "Checked 1 file in 0.074 second".
When I execute "php7cc -o json index.php" I get the result "[Symfony\Component\Console\Exception\RuntimeException]
The "-o" option does not exist.
php7cc [-e|--extensions [EXTENSIONS]] [-x|--except [EXCEPT]] [-l|--level LEVEL] [-r|--relative-paths] [--integer-size INTEGER-SIZE] [--] ()..."
I would like to have the output you show in the ReadMe if possible. Thank you
from php7cc.
It looks like you are using one of the stable releases, but json output option is only available in the latest dev version.
If you have installed php7cc
via composer
, you can try executing
composer require sstalle/php7cc:dev-master
to update to the latest dev version.
If you have downloaded one of the prebuilt phar
packages, then I'm afraid there is no available package for the version that you need. You can build one yourself if you really want to. You can look up the necessary commands under before_deploy
section in .travis.yml
from php7cc.
Related Issues (20)
- False positive: Cannot redeclare global function
- False positive: Namespace declaration statement has to be the very first statement
- False Positive: call static method on FQCN string
- PHP Fatal error: Cannot access private property HOT 1
- False Positive: Function argument(s) returned by "func_get_args" might have been modified HOT 6
- False Positive: [Error] Syntax error, unexpected T_SWITCH, expecting T_STRING on line 55. Processing aborted.
- Command "php7cc" is not defined. HOT 1
- Failed to catch: Fatal error: Cannot use $this as parameter in ... HOT 1
- Global composer config HOT 3
- Globbing patterns in Exclude HOT 1
- Is possible to turn specifics checks? HOT 1
- Backward incompatible changes for PHP7 too few function arguments are not detected HOT 3
- Unhelpful "Closing delimiter foo not found" message HOT 3
- Output result into a txt file HOT 2
- space between = and & fools the checker where =& would be caught
- Unquoted string as index or general not detected
- PHP nullable typehinting not supported now
- [Warning] "yield" usage in expression context HOT 1
- Error without a file: [Error] file_get_contents(): Filename cannot be empty. Processing aborted.
- Should "does not cause an error in PHP 7" be an warning? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php7cc.