File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
# Tools
9
9
super-linter.log
10
- .php_cs.cache
10
+ .php-cs-fixer.cache
11
+ .php-cs-fixer.php
11
12
12
13
# App
13
14
/var /
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
if (!file_exists (__DIR__ .'/src ' )) {
4
- exit (0 );
4
+ exit (1 );
5
5
}
6
6
7
- $ config = new PhpCsFixer \Config ;
7
+ $ config = new PhpCsFixer \Config ( " crowdsec-php-lib " ) ;
8
8
return $ config
9
9
->setRules ([
10
10
'@Symfony ' => true ,
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ ddev composer update --working-dir=./my-own-modules/crowdsec-php-lib/tools/php-c
233
233
And then:
234
234
235
235
```
236
- ddev exec PHP_CS_FIXER_IGNORE_ENV=1 ./ my-own-modules/crowdsec-php-lib/ tools/php-cs-fixer/vendor/bin/php-cs-fixer fix ./my-own-modules/crowdsec-php-lib
236
+ ddev phpcsfixer my-own-modules/crowdsec-php-lib tools/php-cs-fixer
237
237
238
238
```
239
239
You can’t perform that action at this time.
0 commit comments