PHP lint problems
(87 errors, 0 warnings)
This section shows php lint problems in the code detected by php -l [More info]
- local/codechecker/PHPCompatibility/Tests/sniff-examples/argument_functions_usage.php
- (#8) PHP Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/argument_functions_usage.php on line 8
- local/codechecker/PHPCompatibility/Tests/sniff-examples/call_time_pass_by_reference.php
- (#10) PHP Parse error: syntax error, unexpected '&' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/call_time_pass_by_reference.php on line 10
- local/codechecker/PHPCompatibility/Tests/sniff-examples/constant_arrays_using_const.php
- (#33) PHP Parse error: syntax error, unexpected ';', expecting '=' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/constant_arrays_using_const.php on line 33
- local/codechecker/PHPCompatibility/Tests/sniff-examples/deprecated_new_reference.php
- (#9) PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/deprecated_new_reference.php on line 9
- local/codechecker/PHPCompatibility/Tests/sniff-examples/deprecated_php4style_constructors.php
- (#23) PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /local/codechecker/PHPCompatibility/Tests/sniff-examples/deprecated_php4style_constructors.php on line 23
- local/codechecker/PHPCompatibility/Tests/sniff-examples/empty_non_variable.php
- (#42) PHP Parse error: syntax error, unexpected ')' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/empty_non_variable.php on line 42
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/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/sniff-examples/forbidden-names/class-extends.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-final-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-final-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-private-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-private-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-protected-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-protected-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-public-method.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait-alias-public-method.php on line 2
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/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/sniff-examples/forbidden-names/class-use-trait-const.php on line 2
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/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/sniff-examples/forbidden-names/class-use-trait-function.php on line 2
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait.php
- (#2) PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' or '{' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class-use-trait.php on line 2
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/class.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/const.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/const.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/function-declare-reference.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting '(' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/function-declare-reference.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/function-declare.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting '(' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/function-declare.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/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/sniff-examples/forbidden-names/interface-extends.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/interface.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/interface.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/namespace.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting '{' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/namespace.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/nested-namespace.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/nested-namespace.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/trait.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/trait.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/use-as.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/use-as.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/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/sniff-examples/forbidden-names/use.php on line 3
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_break_continue_outside_loop.php
- (#116) PHP Fatal error: 'continue' not in the 'loop' or 'switch' context in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_break_continue_outside_loop.php on line 116
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_break_continue_variable_argument.php
- (#26) PHP Fatal error: 'break' operator with non-constant operand is no longer supported in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_break_continue_variable_argument.php on line 26
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_closure_use_variable_names.2.php
- (#12) PHP Parse error: syntax error, unexpected '$f' (T_VARIABLE), expecting '(' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_closure_use_variable_names.2.php on line 12
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_closure_use_variable_names.php
- (#18) PHP Parse error: syntax error, unexpected ')', expecting '&' or variable (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_closure_use_variable_names.php on line 18
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_empty_list_assignment.php
- (#7) PHP Parse error: syntax error, unexpected ')' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_empty_list_assignment.php on line 7
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_function_parameters_with_same_name.php
- (#10) PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_function_parameters_with_same_name.php on line 10
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_global_variable_variable.php
- (#15) PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_global_variable_variable.php on line 15
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_as_declared.php
- (#22) PHP Fatal error: Cannot use 'null' as class name as it is reserved in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_as_declared.php on line 22
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_correct_usage.php
- (#162) PHP Parse error: syntax error, unexpected 'namespace' (T_NAMESPACE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_correct_usage.php on line 162
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_function_invocation.php
- (#6) PHP Parse error: syntax error, unexpected '(', expecting abstract (T_ABSTRACT) or final (T_FINAL) or class (T_CLASS) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_function_invocation.php on line 6
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_negative_bitshift.php
- (#20) PHP Parse error: syntax error, unexpected end of file in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_negative_bitshift.php on line 20
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_switch_with_multiple_default_blocks.php
- (#68) PHP Parse error: syntax error, unexpected end of file, expecting case (T_CASE) or default (T_DEFAULT) or '}' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_switch_with_multiple_default_blocks.php on line 68
- local/codechecker/PHPCompatibility/Tests/sniff-examples/internal_interfaces.php
- (#18) PHP Parse error: syntax error, unexpected '$b' (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/internal_interfaces.php on line 18
- local/codechecker/PHPCompatibility/Tests/sniff-examples/late_static_binding.php
- (#15) PHP Parse error: syntax error, unexpected 'testing' (T_STRING), expecting '(' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/late_static_binding.php on line 15
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_array_string_dereferencing.php
- (#14) PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_array_string_dereferencing.php on line 14
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_class_member_access.php
- (#11) PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_class_member_access.php on line 11
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_classes.php
- (#152) PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_classes.php on line 152
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_closure.php
- (#52) PHP Parse error: syntax error, unexpected '$closure' (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_closure.php on line 52
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_const_visibility.php
- (#10) PHP Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_const_visibility.php on line 10
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_constant_scalar_expressions.php
- (#238) PHP Parse error: syntax error, unexpected 'ABC' (T_STRING), expecting \\ (T_NS_SEPARATOR) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_constant_scalar_expressions.php on line 238
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_execution_directives.php
- (#8) PHP Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_execution_directives.php on line 8 PHP Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/new_execution_directives.php on line 17 PHP Parse error: syntax error, unexpected end of file, expecting identifier (T_STRING) in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/new_execution_directives.php on line 26
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_function_array_dereferencing.php
- (#20) PHP Parse error: syntax error, unexpected end of file in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_function_array_dereferencing.php on line 20
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_function_parameter.php
- (#103) PHP Parse error: syntax error, unexpected '&' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_function_parameter.php on line 103
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_generator_return.php
- (#18) PHP Parse error: syntax error, unexpected '{', expecting '(' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_generator_return.php on line 18
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_group_use_declarations.php
- (#5) PHP Parse error: syntax error, unexpected 'namespace' (T_NAMESPACE), expecting identifier (T_STRING) or '{' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_group_use_declarations.php on line 5
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_heredoc_initialize.php
- (#37) PHP Parse error: syntax error, unexpected 'interface' (T_INTERFACE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_heredoc_initialize.php on line 37
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_interfaces.php
- (#29) PHP Parse error: syntax error, unexpected '$b' (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_interfaces.php on line 29
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_keywords.php
- (#44) PHP Parse error: syntax error, unexpected 'const' (T_CONST) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_keywords.php on line 44
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_language_constructs.php
- (#10) PHP Parse error: syntax error, unexpected '=' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_language_constructs.php on line 10
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_magic_class_constant.php
- (#12) PHP Parse error: syntax error, unexpected 'namespace' (T_NAMESPACE), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_magic_class_constant.php on line 12
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_magic_methods.php
- (#70) PHP Parse error: syntax error, unexpected end of file in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_magic_methods.php on line 70
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_multi_catch.php
- (#21) PHP Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_multi_catch.php on line 21
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_nullable_types.php
- (#21) PHP Parse error: syntax error, unexpected '?' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_nullable_types.php on line 21
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_return_type_declarations.php
- (#25) PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_return_type_declarations.php on line 25
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_scalar_type_declarations.php
- (#25) PHP Parse error: syntax error, unexpected 'static' (T_STATIC), expecting variable (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_scalar_type_declarations.php on line 25
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_trailing_comma.php
- (#15) PHP Parse error: syntax error, unexpected ')' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_trailing_comma.php on line 15
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_use_const_function.php
- (#18) PHP Parse error: syntax error, unexpected '}', expecting ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_use_const_function.php on line 18
- local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php
- (#133) PHP Parse error: syntax error, unexpected '$normal' (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 133
- local/codechecker/PHPCompatibility/Tests/sniff-examples/parameter_shadow_superglobals.php
- (#21) PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/parameter_shadow_superglobals.php on line 21
- local/codechecker/PHPCompatibility/Tests/sniff-examples/removed_extensions.php
- (#80) PHP Parse error: syntax error, unexpected end of file, expecting ',' or ')' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/removed_extensions.php on line 80
- local/codechecker/PHPCompatibility/Tests/sniff-examples/removed_global_variables.php
- (#51) PHP Parse error: syntax error, unexpected ';', expecting '(' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/removed_global_variables.php on line 51
- local/codechecker/PHPCompatibility/Tests/sniff-examples/reserved_function_names.php
- (#98) PHP Parse error: syntax error, unexpected '$b' (T_VARIABLE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/reserved_function_names.php on line 98
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqclassname_from_double_colon_token.php
- (#32) PHP Parse error: syntax error, unexpected '{', expecting '(' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqclassname_from_double_colon_token.php on line 32
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqclassname_from_new_token.php
- (#51) PHP Parse error: syntax error, unexpected end of file in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqclassname_from_new_token.php on line 51
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqextended_classname.php
- (#9) PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqextended_classname.php on line 9
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_function_parameter_count.php
- (#74) PHP Parse error: syntax error, unexpected ')' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_function_parameter_count.php on line 74
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_function_parameters.php
- (#19) PHP Parse error: syntax error, unexpected ')' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_function_parameters.php on line 19
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_class_constant.php
- (#9) PHP Parse error: syntax error, unexpected 'const' (T_CONST) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_class_constant.php on line 9
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_class_property.php
- (#49) PHP Parse error: syntax error, unexpected 'interface' (T_INTERFACE) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_class_property.php on line 49
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_number.php
- (#16) PHP Parse error: syntax error, unexpected ';' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_number.php on line 16
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_short_list.php
- (#4) PHP Parse error: syntax error, unexpected '=' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_short_list.php on line 4
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_use_of_global_constant.php
- (#16) PHP Warning: The use statement with non-compound name 'PHP_VERSION_ID' has no effect in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_use_of_global_constant.php on line 16 PHP Fatal error: No code may exist outside of namespace {} in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_use_of_global_constant.php on line 16
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/token_has_scope.php
- (#69) PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' or '{' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/token_has_scope.php on line 69
- local/codechecker/PHPCompatibility/Tests/sniff-examples/valid_integers.php
- (#4) PHP Parse error: syntax error, unexpected '23456' (T_LNUMBER) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/valid_integers.php on line 4
- local/codechecker/PHPCompatibility/Tests/sniff-examples/variable_variables.php
- (#43) PHP Parse error: syntax error, unexpected end of file, expecting ']' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/variable_variables.php on line 43
- 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