-
These WordPress themes cannot be processes by PHPCS as the memory is exhausted. The cause of this is large JS files. These JS files are larger than 20000 lines. My memory limit was set to 250Mb.
- …
-
Hi!
If I get it right you split the repo into many, many components with separate repos, and PR should go there.
Also, we are using PHP CS Fixer here.
For now - we picking which fixers should be used.…
-
Good Monday Morning,
I just using the phpcs & squzlabs fot the past 2 days, so far it help me a lot with my ugly writen codes.
I have problem with large files with the last log shown below;
***…
-
Using Zend rules.
Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php
Incorrectly ignores T_OBJECT_OPERATOR,
example,
`$Index->short_name = $Data;`
`135 | ERROR | Variable "short_name" is not…
-
Hi,
PHPCS is working great for me, very handy to update code as I work on it or making sure new code is formatted correctly.
It appears that the indenting check for the case may be off. If I have …
-
I'm thinking of developing a sniff to verify that all global functions, classes, global variables and global constants are prefixed.
_[Edit]: and hook names ;-)_
Obviously this sniff would be irre…
jrfnl updated
7 years ago
-
I am working on some sniffs for testing WordPress themes.
I would like to build some sniffs that check all the files and returns a notice if a function does not exist across the code. It does not mak…
-
The file `composer.json` from https://github.com/InterNations/http-mock:
```json
{
"name": "internations/http-mock",
"description": "Mock HTTP requests on the server side in your PHP uni…
dmelo updated
6 years ago
-
Short open tag is detected in the PSR-2. However, short open tag in html was not detected.
``` bash
$ phpcs --standard=PSR2 hoge.php
FILE: /Users/shoyan/app/hoge.php
--------------------------------…
-
Indentation is a mess all over the place.
Maybe we could start defining some policy regarding this issue and others, so that every one can stick to it.
Concerning indentation, I'm on spaces side rath…