Comments (7)
Happens with other class attributes also. This is "squizlabs/php_codesniffer": "1.5.5",
david@ukwm157 ~/Sites/Cricketeer $ bin/phpcs --standard=CakePHP plugins/Proffer/
FILE: ...ers/david/Sites/Cricketeer/plugins/Proffer/src/Event/ImageTransform.php
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
27 | ERROR | Member variable "imagine" is not in valid camel caps format
--------------------------------------------------------------------------------
FILE: ...r/plugins/Proffer/tests/TestCase/Model/Behavior/ProfferBehaviorTest.php
--------------------------------------------------------------------------------
FOUND 2 ERROR(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
59 | ERROR | Member variable "behavior" is not in valid camel caps format
61 | ERROR | Member variable "config" is not in valid camel caps format
--------------------------------------------------------------------------------
david@ukwm157 ~/Sites/Cricketeer $
from cakephp-codesniffer.
After some investigation this was caused by your modified version. The removal for underscored rule for protected/private was flawed.
from cakephp-codesniffer.
Was it, did I miss something? Are you sure you're not @ADmad?
from cakephp-codesniffer.
What?
from cakephp-codesniffer.
I explained on irc what you had forgotten to fix when removing the
underscored rules. cakephp-codesniffer does not have the issue you
described, it only happened in your modified version.
Op 25 nov. 2014 17:59 schreef "ADmad" [email protected]:
What?
—
Reply to this email directly or view it on GitHub
#108 (comment)
.
from cakephp-codesniffer.
@ceeram Okay, that took care of his first question. Now care to answer the second one?
from cakephp-codesniffer.
Yeah I fixed the issue you mentioned and still have the issue.
I thought that @ADmad had patched the code sniffer rules? I guess not.
I'm curious how removing an else statement to do with function underscoring
affects class attributes.
On 25 Nov 2014 17:40, "ceeram" [email protected] wrote:
I explained on irc what you had forgotten to fix when removing the
underscored rules. cakephp-codesniffer does not have the issue you
described, it only happened in your modified version.
Op 25 nov. 2014 17:59 schreef "ADmad" [email protected]:What?
Reply to this email directly or view it on GitHub
<
https://github.com/cakephp/cakephp-codesniffer/issues/108#issuecomment-64433186>.
Reply to this email directly or view it on GitHub
#108 (comment)
.
from cakephp-codesniffer.
Related Issues (20)
- Do not allow to use underscore prefixes HOT 1
- Error SlevoodingStandard.Arrays.TrailingAmatCrrayComma HOT 10
- Add an empty line between opening tag and declare HOT 2
- Allow for new major Slevomat v7
- PhpStorm HOT 1
- 5.0: Require static return type hint for chaining methods HOT 1
- Collection generics HOT 2
- Union type render fails in some cases
- Union type require spaces ? HOT 3
- Constructor property promotion HOT 3
- Cake 5 CS HOT 1
- Files are not queued by phpcs when using this standard HOT 3
- update links
- can support for slevomat/coding-standard v6 be removed? HOT 5
- Version 4.7 shows this warning HOT 1
- Compare PHP native param types and phpdoc param types
- ECS Support HOT 4
- Cake5: Dynamic property error with PHP 8.2 due to our ruleset HOT 1
- Enum case casing HOT 1
- Fatal error: Uncaught PHP_CodeSniffer\Exceptions\RuntimeException: Undefined property HOT 2
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 cakephp-codesniffer.