1 | <?php |
||
2 | class FixPSR2 extends RunCommandLineMethodOnModule |
||
3 | { |
||
4 | public function __construct($rootDirForModule = '') |
||
5 | { |
||
6 | parent::__construct($rootDirForModule); |
||
7 | $this->commands = [ |
||
0 ignored issues
–
show
|
|||
8 | 'cp '.Director::baseFolder(). '/modulechecks/ecs.yml ./', |
||
9 | 'composer require --dev symplify/easy-coding-standard', |
||
10 | 'vendor/bin/ecs check app/src --fix > errorsToFix.txt', |
||
11 | ]; |
||
12 | } |
||
13 | } |
||
14 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..