overtrue / phplint

:bug: A tool that can speed up linting of php files by running several lint processes at once.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax Error in 7.4

quickbutik-ronflorax opened this issue · comments

There seems to be a syntax error on the 7.4-branch:

PHP Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /root/.composer/vendor/overtrue/phplint/src/Linter.php on line 21

composer installed ? or github action?

Fixed.

So, the linter project doesn't lint it's own code? :-)

If it's fixed, can you publish it? It's not working on my CI yet

https://github.com/phpList/phplist3/actions/runs/909520804

image

@michield Sorry, this is a legacy issue, I fixed an issue in 2.4.0 where the previous version of composer require did not specify a version, causing the latest version to be installed during action installation, resulting in 3.x being installed. We recommend updating your dependencies to 2.4 or higher, sorry for the inconvenience.

ok, thanks