-
v2 is deprecated: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5824
-
In the following lines: https://github.com/bruli/php-git-hooks/blob/master/src/PhpGitHooks/Module/PhpCsFixer/Service/PhpCsFixerTool.php#L45-L59
The php-cs-fixer levels are defined in uppercase, bu…
-
php-cs-fixer is still trying to apply new, breaking changes to the source - in this case it's removing parts of the documentation comments - despite #537 which was explicitly intended to prevent this.…
erayd updated
4 years ago
-
# Description
The results of beautification are not what I expect.
# Input Before Beautification
This is what the code looked like before:
```
-
#### The PHP version you are using (`$ php -v`):
=> 7.2.7
#### PHP CS Fixer version you are using (`$ php-cs-fixer -V`):
=> 2.12.1
#### The command you use to run PHP CS Fixer:
=> `php-cs-fix…
stof updated
3 months ago
-
### Feature request
The idea would be to support syntax like
```
['sort_algorithm' => 'custom', 'order' => ['A\\B\\Qux', 'A\\B\\Bar', 'A\\B\\*', '*', 'A\\C\\Foo']]
```
which would say
- `A\B\Q…
-
Hello,
Using `->notName('*.html.php')` works fine if PHP CS Fixer is run on a directory.
But if a file is passed `php php-cs-fixer.phar fix myfile.html.php` it get formated.
**It should not as th…
Yivan updated
2 months ago
-
### Machine
OS Ubuntu 20.04.2
`php -v` -> php5.6
has php7.2 installed, binary on `php7.2`
### Project
`friendsofphp/php-cs-fixer` on composer.json v3.0.0
### Editor
extension v0.2.5
`php-c…
-
## Bug report
### Description
With a PHP file that has manually separated import groupings, `ordered_imports` seems to act a little weird, effectively maintaining the count of each element in th…
msbit updated
2 months ago
-
Сейчас в проекте нет никаних проверок автоматических проверок кода, что не есть хорошо. Без таких проверок проект быстро скатывается в помойку. Они помогают держать определенную планку качества и дела…