Comments (4)
Yes, this was already addressed long time ago: 2bafec2.
But I am not sure if your phpcs setup is correct, since as you can see, due to the version constraints you should have never been able to install Slevomat CS 4.0 alongside an incompatible version of Consistence CS.
from coding-standard.
I have the following in my composer.json
"slevomat/coding-standard": "~4.6",
"consistence/coding-standard": "~3.4",
from coding-standard.
That is pretty weird, are you sure, there is no other CS ruleset, where an old version of Yoda sniff might be included? Can you verify that the Consistence's ruleset contains the changed rule on your disk? (should be at vendor/consistence/coding-standard/Consistence/ruleset.xml
).
And how do you run your phpcs
(which cmd args)?
from coding-standard.
Looks like the issue was within some other repos within my IDE project. So, after composer updating each repo, the ruleset disappeared. Sorry for the false alarm.
from coding-standard.
Related Issues (13)
- SlevomatCodingStandard.Exceptions.DeadCatch hangs for weird catch definition HOT 1
- Consider dropping HHVM support/build HOT 1
- Update to phpcs 3.3.0 HOT 5
- Problem with Consistence.Exceptions.ExceptionDeclaration HOT 3
- Coding standard does not specify negation formatting HOT 3
- Support for PHPCS 2.6 HOT 1
- Support slevomat/coding-standard ^6.0 HOT 1
- Closure variables from use are handled same way as its parameters
- Support slevomat/coding-standard 6.1.* HOT 2
- PHP 8 Support HOT 1
- FunctionSpacing sniff misconfigured HOT 4
- Rules for PHP 7 features HOT 11
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 coding-standard.