-
Notifications
You must be signed in to change notification settings - Fork 77
Some issues were closed and merged to master but i still can encounter those issues #356
Comments
And something is strange that my phpsa is 0.6.2,but the requirement for php is >=5.5(in composer.lock) while The README.MD is PHP>=7.0,it's very strange; |
@armoour version 0.6.2 is from december 2016 since then there was no new release, you have to use the master branch to fix this bug. |
The solution to that problem should be to copy the .phpsa.yml file from us into your projects root directory for now. |
@ddmler I copied file .phpsa.yml from phpsa directory to my test project root path and then i ran phpsa check E:\*** command, i got an error as below : |
It seems that we have a bug in our file handling for windows. (your warning message) It uses any directory starting with p as the \p unicode category regex matcher. Try Linux or the unix subsystem for windows to fix this. |
Such as #286 , it was closed on 2016,but now i still can reproduce:
Notice: Undefined property: PhpParser\Node\Expr\ArrayDimFetch::$name in C:\ProgramData\ComposerSetup\bin\vendor\ovr\phpsa\src\Analyzer\Pass\Statement\UnexpectedUseOfThis.php on line 186
Notice: It's not possible to fetch an array element on a non array in E:********* on 168 [language_error]
unset($seatNewArr[$key]);**
The text was updated successfully, but these errors were encountered: