Skip to content

PHP version check at start of file doesn't work #62

Closed
@jrfnl

Description

@jrfnl

... as the parallel-lint file in which it is contained contains PHP 5.3 syntax (namespace separators), which means that the code will never run as PHP will exit on a parse error before that time:

Warning: Unexpected character in input:  '\' (ASCII=92) state=1 in path/to/PHP-Parallel-Lint/parallel-lint on line 84
Parse error: syntax error, unexpected T_STRING in path/to/PHP-Parallel-Lint/parallel-lint on line 84

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions