Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking of code style changes all files #138

Open
PavelFil opened this issue Aug 11, 2020 · 0 comments
Open

Checking of code style changes all files #138

PavelFil opened this issue Aug 11, 2020 · 0 comments

Comments

@PavelFil
Copy link

When I run composer cs-fix literary all files change.

See examples of changes:

 namespace lajax\translatemanager\controllers\actions;
 
+use lajax\translatemanager\models\LanguageTranslate;
+use lajax\translatemanager\services\Generator;
 use Yii;
 use yii\web\Response;
-use lajax\translatemanager\services\Generator;
-use lajax\translatemanager\models\LanguageTranslate;
@@ @@
 
-        if (trim($translation) == '') {
+        if ('' == trim($translation)) {

Maybe file .php_cs has incorrect settings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant