Closed bartoszkubicki closed 4 years ago
@bartoszkubicki I had the same problem, what I did was: right click on phpunit4.php in PHPstorm and click 'mark as plain text'. This will fix the autocomplete without any code modifications.
Tip from @Tjitse-E solves problem. For me it is enough. I would suggest adding this tip to README.md
or sth.
Subject touches file
vendor/tddwizard/magento2-fixtures/src/phpunit4.php
. Is there any chance to drop support for Magento 2.1 (We have 2.3 right now, and I bet if there is still 2.1 installation I don't think they have unit tests)? Or any composer trick or sth to exclude this file from installation? Composer patch can't be used, as it gets complicated for modifyingcomposer.json
file by composer itself. For now, it is enough to comment out wholeif
statement inside this file, but of course it is not the way.