junstyle / vscode-php-cs-fixer

PHP CS Fixer extension for VS Code
https://marketplace.visualstudio.com/items?itemName=junstyle.php-cs-fixer
MIT License
357 stars 45 forks source link

Format of inline if doesn't work #156

Closed tlueder closed 3 years ago

tlueder commented 3 years ago

This $this->id = (isset($data['id']) ? $this->base->parse->parseInt($data['id']) : null);

becomes $this->id = (isset($data['id']) ? $this->base->parse->parseInt($data['id']) : null);

But it should be this $this->id = (isset($data['id']) ? $this->base->parse->parseInt($data['id']) : null);

junstyle commented 3 years ago

what?

junstyle commented 3 years ago

it's ok, i tested, the rules go to https://github.com/FriendsOfPHP/PHP-CS-Fixer