-
When using Coud9 through AWS, I can add php-cs-fixer to format PHP. However, when I use an identical setup on self-hosted Cloud9, I can't get it to work.
My project.settings file looks like this,
…
-
As per documentation
``` sh
$ ./vendor/bin/phpcs -i
The installed coding standards are MySource, PEAR, PHPCS, PSR1, PSR2, Squiz and Zend
```
When running
``` sh
$ ./vendor/bin/phpcs --help
```
the…
-
You're all over the place with the coding standard.
Install and configure PHPCS in your project and IDE.
Use this phpcs.xml:
```
The PSR-2 coding standard.
app
…
-
Подключите PHP Mess detector и PHP Code Sniffer и проверьте свой код на наличие нарушений стандартов кодирования PSR2
https://github.com/squizlabs/PHP_CodeSniffer
https://phpmd.org/download/index.…
-
Hi,
I've noticed the formatting with PSR2 removes the eventual spaces between the brackets and the values, inside array definitions.
We usually type them as `[ 1, 2, 3 ]` and `[ 1, 2, 3, ]`; is th…
-
**With the following configuration for php formatter:**
```json
"php": {
"@completion": true,
"@formatOnSave": true,
"@formatter": "/usr/local/bin/php-cs-fixer fix \"$…
ghost updated
5 years ago
-
>phpcs: The phpcs report contains invalid json. Please review "Diagnosing Common Errors" in the plugin README
Same problem as #100 but none of the suggestions fix it.
My config:
```json
{
…
-
run PHP_CodeSniffer and fixed de erros
-
Good day guys, i decided create this again, with the next
all of the project Resque will be working in POO, with namespaces
new Standard
requirements:
* php 5.6.x
* PSR4 in the autoload, an…
-
Some passes seem to be used no-matter-what, one of them is `NormalizeIsNotEquals`.
Is there any way to have some control over these default passes? `NormalizeIsNotEquals` is not even documented. I'…