-
It seems that variadics -- available in php since 5.6 -- are not recognized by the tokenizer. For example for the line of code:
```
public function enum($value, ...$items)
```
i get the following _w…
-
php 5 first looks for `__construct()` and then `className()`
if `__construct()` exists, then `className()` is not a constructor
Squiz\Sniffs\Commenting\FunctionCommentSniff.php
In this example "@&#…
-
The `Generic_Sniffs_WhiteSpace_ScopeIndentSniff` sniff indents the code (during auto-fixing process) using spaces and there is now way to configure it to use TABs instead.
When we're talking about fi…
-
I ran build from local path.
Executing: cp -Rf "/data/lingualeo/infrastructure/deploy/data/base_repo" "/data/www/phpci/web/build/project2-build11/"
Working copy created: /data/www/phpci/web/build/p…
-
Hi, I use a Magento CodeSniffer extending your.
=> xxxxx
Here are the error I have in PHPStorm when using it.
Can you fix your document to check if the key exist in the array?
Cordially.
-
Tried latest version - installed via composer "theseer/phpdox": "*"
```
[exec] [26.08.2014 - 18:37:10] Saving results to directory '/vagrant/xxx/yyy/build/phpdox/xml'
[exec]
[exec]
[exec] Oups.…
-
Hi! Firstly, we very appreciate the work you do! PHPCS is a very helpful tool!
We use PHPCS + WordPress coding standard in our project.
We want to use new --report=diff param ( this param should be a…
-
I use PSR2 and alternative syntax for php in templates.
For example this code:
``` php
```
After running phpsniffer, i'm see error like this: "Line indented incorrectly; expected 103 spaces, …
-
Using this package, the names of your sniff classes need to match the mangled version of your composer.json's `name`. So if your composer.json specifies `"name": "vendor/acme_codesniff"` then
- `phpcs…
-
Working on my own project I got a lot of errors using the phpunit enricher.
I cloned phpdox and tried it with your project, same result.
My steps:
1. call phpunit
2. call phpdox
Which resulted in hu…
temp updated
10 years ago