These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | use uuf6429\ElderBrother\Action; |
||
4 | use uuf6429\ElderBrother\Change\GitChangeSet; |
||
5 | |||
6 | return [ |
||
7 | 10 => new Action\PhpLinter( |
||
8 | GitChangeSet::getAddedCopiedModified() |
||
0 ignored issues
–
show
|
|||
9 | ->name('/.php$/') |
||
10 | ), |
||
11 | 20 => new Action\PhpCsFixer( |
||
12 | GitChangeSet::getAddedCopiedModified() |
||
0 ignored issues
–
show
The method
name() does not seem to exist on object<uuf6429\ElderBrother\Change\FileList> .
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces. This is most likely a typographical error or the method has been renamed. ![]() |
|||
13 | ->name('/.php$/') |
||
14 | ), |
||
15 | 30 => new Action\ForbiddenFiles( |
||
16 | GitChangeSet::getAdded() |
||
0 ignored issues
–
show
The method
name() does not seem to exist on object<uuf6429\ElderBrother\Change\FileList> .
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces. This is most likely a typographical error or the method has been renamed. ![]() |
|||
17 | ->name('/^tools\\(migrations|rollbacks)\\/') |
||
18 | ->notName('/GPC-\d+-\d{2}-\d{2}-\d{4}[a-z]?\.(sql|php)$/'), |
||
19 | 'Migration/rollback files must match this format: GPC-NNNN-DD-MM-YYYY[a-z].[sql|php]' |
||
20 | ), |
||
21 | ]; |
||
22 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.