Comments (3)
It also includes a lot of conflicting sniffs.
Lucky me, I never witnessed any conflict so far.
I suggest changing the ruleset.xml file to only include the sniffs from the Generic standard that you want.
Agreed. Will look into it.
Keep an eye on the PHPCS release notes and you'll see when new sniffs are added to standards.
And where I can see these release notes? Right now I occasionally see some posts on Twitter to know that PHPCS new version was released.
from codingstandard.
I post all releases to the PEAR site, Github and on my Twitter account. Here are the links:
PEAR: http://pear.php.net/package/PHP_CodeSniffer/download/All
Github: https://github.com/squizlabs/PHP_CodeSniffer/releases
Twitter: https://twitter.com/gregsherwood
I post major version information, like BC breaks, on the Squiz Labs blog as well: https://www.squizlabs.com/php-codesniffer
from codingstandard.
Closed via 96c6979
from codingstandard.
Related Issues (20)
- Remove "_" prefixing requirement for private class members
- Create standard for Symfony-based projects
- Unable to use the standard HOT 3
- Create function parameter assignment sniff
- IF sniff false-positive inside a "switch"
- Fatal Error on PHP 7.4 HOT 1
- Disallow multi-line operator usage HOT 1
- Investigate why InlineCommentSniff fails with PHP_CodeSniffer 2.3.4 HOT 1
- Enforce "self" usage
- Unique errors in PHP 5.3 build HOT 1
- Update "InlineComment" sniff to allow include/require to have DocBlocks
- Disallow usage of superglobals
- Usage of "\\" in single quoted strings
- Disallow operators at the beginning/end of the lines
- Abstract class name must start with "Abstract"
- Sequential "catch" statements are reported as error
- Report In-Portal tags starting with "Get" as an error
- Port some interesting fixes from PHP-CS-Fixer
- Logical not operator without following space
- Exclude "Generic.WhiteSpace.ScopeIndent.IncorrectExact" error for InPortal standard
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 codingstandard.