php-parallel-lint / PHP-Parallel-Lint

This tool check syntax of PHP files faster than serial check with fancier output.
Other
282 stars 21 forks source link

Tests: add dedicated test for the `SyntaxError::getLine()` method #115

Closed jrfnl closed 2 years ago

jrfnl commented 2 years ago

This safeguards and documents the current behaviour of the method.

Includes removing redundant conditional in the original method.

jrfnl commented 2 years ago

Build failure is unrelated to this PR. See #116

I will rebase this PR to show a passing build once PR #116 has been merged and cherrypicked to the develop branch.

grogy commented 2 years ago

Can you please rebase this PR? After I can merge it :-)

jrfnl commented 2 years ago

Rebased without changes.