PHP lint problems
(27 errors, 0 warnings)
This section shows php lint problems in the code detected by php -l [More info]
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-extends.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) or namespace (T_NAMESPACE) or \\ (T_NS_SEPARATOR) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-extends.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-final-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-final-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-private-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-private-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-protected-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-protected-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-public-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-alias-public-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-const.php
- (#2) PHP Parse error: syntax error, unexpected 'const' (T_CONST), expecting identifier (T_STRING) or namespace (T_NAMESPACE) or \\ (T_NS_SEPARATOR) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-const.php on line 2
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-function.php
- (#2) PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or namespace (T_NAMESPACE) or \\ (T_NS_SEPARATOR) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait-function.php on line 2
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' or '{' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class-use-trait.php on line 2
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/class.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/const.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/const.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/function-declare-reference.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting '(' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/function-declare-reference.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/function-declare.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting '(' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/function-declare.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/interface-extends.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) or namespace (T_NAMESPACE) or \\ (T_NS_SEPARATOR) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/interface-extends.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/interface.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/interface.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/namespace.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting '{' in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/namespace.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/nested-namespace.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/nested-namespace.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/trait.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/trait.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/use-as.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/use-as.php on line 3
- local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/use.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) or function (T_FUNCTION) or const (T_CONST) or \\ (T_NS_SEPARATOR) in /local/codechecker/PHPCompatibility/Tests/Keywords/ForbiddenNames/use.php on line 3
- local/codechecker/moodle/tests/fixtures/generic_functions_openingfunctionbracekerninghanritchie.php
- (#9) PHP Parse error: syntax error, unexpected '?' in /local/codechecker/moodle/tests/fixtures/generic_functions_openingfunctionbracekerninghanritchie.php on line 9
- local/codechecker/moodle/tests/fixtures/generic_whitespace_scopeindent.php
- (#160) PHP Fatal error: Cannot use "self" when no class scope is active in /local/codechecker/moodle/tests/fixtures/generic_whitespace_scopeindent.php on line 160
- local/codechecker/moodle/tests/fixtures/moodle_comenting_inlinecomment.php
- (#41) PHP Parse error: syntax error, unexpected 'define' (T_STRING), expecting function (T_FUNCTION) in /local/codechecker/moodle/tests/fixtures/moodle_comenting_inlinecomment.php on line 41
- local/codechecker/moodle/tests/fixtures/moodle_php_forbiddenfunctions.php
- (#17) PHP Parse error: syntax error, unexpected 'b' (T_STRING), expecting ',' or ';' in /local/codechecker/moodle/tests/fixtures/moodle_php_forbiddenfunctions.php on line 17
- local/codechecker/moodle/tests/fixtures/moodle_php_forbiddennamesasinvokedfunctions.php
- (#19) PHP Parse error: syntax error, unexpected '(', expecting abstract (T_ABSTRACT) or final (T_FINAL) or class (T_CLASS) in /local/codechecker/moodle/tests/fixtures/moodle_php_forbiddennamesasinvokedfunctions.php on line 19
- local/codechecker/moodle/tests/fixtures/moodle_php_forbiddentokens.php
- (#6) PHP Fatal error: 'goto' to undefined label 'label' in /local/codechecker/moodle/tests/fixtures/moodle_php_forbiddentokens.php on line 6
- local/codechecker/moodle/tests/fixtures/phpcompatibility_php_forbiddencalltimepassbyreference.php
- (#6) PHP Parse error: syntax error, unexpected '&' in /local/codechecker/moodle/tests/fixtures/phpcompatibility_php_forbiddencalltimepassbyreference.php on line 6