PHP lint problems
(80 errors, 0 warnings)
This section shows php lint problems in the code detected by php -l [More info]
- local/codechecker/PHPCompatibility/Tests/sniff-examples/call_time_pass_by_reference.php
- (#10) PHP Fatal error: Call-time pass-by-reference has been removed in /local/codechecker/PHPCompatibility/Tests/sniff-examples/call_time_pass_by_reference.php on line 10
- local/codechecker/PHPCompatibility/Tests/sniff-examples/case_sensitive_keywords.php
- (#6) PHP Parse error: syntax error, unexpected '$prop' (T_VARIABLE), expecting function (T_FUNCTION) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/case_sensitive_keywords.php on line 6
- 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_functions.php
- (#138) PHP Parse error: syntax error, unexpected ';', expecting '=' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/deprecated_functions.php on line 138
- local/codechecker/PHPCompatibility/Tests/sniff-examples/deprecated_php4style_constructors.php
- (#12) PHP Strict Standards: Redefining already defined constructor for class bar in /local/codechecker/PHPCompatibility/Tests/sniff-examples/deprecated_php4style_constructors.php on line 12 PHP Fatal error: Namespace declaration statement has to be the very first statement in the script in /var/lib/jenkins/git_repositories/prechecker/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-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/class-const.php on line 3
- 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 Fatal error: Cannot use 'final' as method modifier 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/method-declare.php
- (#3) PHP Parse error: syntax error, unexpected 'abstract' (T_ABSTRACT), expecting identifier (T_STRING) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/method-declare.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 identifier (T_STRING) or \\ (T_NS_SEPARATOR) or '{' 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
- (#2) PHP Warning: The use statement with non-compound name 'Baz' has no effect in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/use.php on line 2 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 /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden-names/use.php on line 3
- 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
- (#7) PHP Fatal error: Cannot use $this as lexical variable in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_closure_use_variable_names.php on line 7
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_empty_list_assignment.php
- (#7) PHP Parse error: syntax error, unexpected '(', expecting ',' or ')' 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
- (#29) PHP Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or '$' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_global_variable_variable.php on line 29
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_as_declared.php
- (#50) PHP Fatal error: Namespace declaration statement has to be the very first statement in the script in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_as_declared.php on line 50
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_correct_usage.php
- (#148) PHP Fatal error: Cannot use 'final' as method modifier in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_correct_usage.php on line 148
- local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_names_function_invocation.php
- (#6) PHP Parse error: syntax error, unexpected '(', expecting 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
- (#13) PHP Parse error: syntax error, unexpected end of file in /local/codechecker/PHPCompatibility/Tests/sniff-examples/forbidden_negative_bitshift.php on line 13
- 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
- (#17) PHP Parse error: syntax error, unexpected 'class' (T_CLASS) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/internal_interfaces.php on line 17
- 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/long_arrays.php
- (#42) PHP Parse error: syntax error, unexpected ';', expecting '(' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/long_arrays.php on line 42
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_anonymous_classes.php
- (#4) PHP Parse error: syntax error, unexpected 'class' (T_CLASS) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_anonymous_classes.php on line 4
- 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_classes.php
- (#151) PHP Parse error: syntax error, unexpected 'class' (T_CLASS) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_classes.php on line 151
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_closure.php
- (#52) PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION) 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_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: Unsupported declare 'strict_types' in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/new_execution_directives.php on line 9 PHP Warning: Cannot convert to ordinal value in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/new_execution_directives.php on line 16 PHP Fatal error: Encoding declaration pragma must be the very first statement in the script in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/new_execution_directives.php on line 17
- 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_group_use_declarations.php
- (#4) PHP Warning: The use statement with non-compound name 'ArrayObject' has no effect in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_group_use_declarations.php on line 4 PHP Parse error: syntax error, unexpected 'namespace' (T_NAMESPACE), expecting identifier (T_STRING) in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/new_group_use_declarations.php on line 5
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_heredoc_initialize.php
- (#25) PHP Parse error: syntax error, unexpected 'class' (T_CLASS) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_heredoc_initialize.php on line 25
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_interfaces.php
- (#28) PHP Parse error: syntax error, unexpected 'class' (T_CLASS) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_interfaces.php on line 28
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_keywords.php
- (#20) PHP Fatal error: Namespace declaration statement has to be the very first statement in the script in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_keywords.php on line 20
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_language_constructs.php
- (#8) PHP Parse error: syntax error, unexpected '?' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_language_constructs.php on line 8
- 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
- (#59) PHP Parse error: syntax error, unexpected 'class' (T_CLASS) in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_magic_methods.php on line 59
- 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
- (#8) PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_nullable_types.php on line 8
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_return_type_declarations.php
- (#4) PHP Parse error: syntax error, unexpected ':', expecting '{' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_return_type_declarations.php on line 4
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_scalar_type_declarations.php
- (#5) PHP Fatal error: Cannot redeclare foo() (previously declared in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_scalar_type_declarations.php:4) in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/new_scalar_type_declarations.php on line 5
- local/codechecker/PHPCompatibility/Tests/sniff-examples/new_use_const_function.php
- (#9) PHP Fatal error: Cannot use Foobar as Baz because the name is already in use in /local/codechecker/PHPCompatibility/Tests/sniff-examples/new_use_const_function.php on line 9
- local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php
- (#32) PHP Warning: The magic method __get() must have public visibility and cannot be static in /local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 32 PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 33 PHP Warning: The magic method __isset() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 34 PHP Warning: The magic method __unset() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 35 PHP Warning: The magic method __call() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 36 PHP Warning: The magic method __callStatic() must have public visibility and be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 37 PHP Warning: The magic method __toString() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 39 PHP Warning: The magic method __get() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 44 PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 45 PHP Warning: The magic method __isset() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 46 PHP Warning: The magic method __unset() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 47 PHP Warning: The magic method __call() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 48 PHP Warning: The magic method __callStatic() must have public visibility and be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 49 PHP Warning: The magic method __get() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 55 PHP Warning: The magic method __set() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 56 PHP Warning: The magic method __isset() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 57 PHP Warning: The magic method __get() must have public visibility and cannot be static in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 66 PHP Fatal error: Access type for interface method WrongVisibilityInterface::__get() must be omitted in /var/lib/jenkins/git_repositories/prechecker/local/codechecker/PHPCompatibility/Tests/sniff-examples/nonstatic_magic_methods.php on line 98
- local/codechecker/PHPCompatibility/Tests/sniff-examples/parameter_shadow_superglobals.php
- (#4) PHP Fatal error: Cannot re-assign auto-global variable GLOBALS in /local/codechecker/PHPCompatibility/Tests/sniff-examples/parameter_shadow_superglobals.php on line 4
- local/codechecker/PHPCompatibility/Tests/sniff-examples/removed_extensions.php
- (#80) PHP Parse error: syntax error, unexpected end of file 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/utility-functions/get_fqclassname_from_double_colon_token.php
- (#23) PHP Fatal error: Namespace declaration statement has to be the very first statement in the script in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqclassname_from_double_colon_token.php on line 23
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqclassname_from_new_token.php
- (#7) PHP Fatal error: Namespace declaration statement has to be the very first statement in the script in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/get_fqclassname_from_new_token.php on line 7
- 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 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
- (#17) PHP Fatal error: Cannot redeclare MyClass::$var in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/is_class_property.php on line 17
- local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/token_has_scope.php
- (#54) PHP Fatal error: Namespace declaration statement has to be the very first statement in the script in /local/codechecker/PHPCompatibility/Tests/sniff-examples/utility-functions/token_has_scope.php on line 54
- 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
- (#38) PHP Parse error: syntax error, unexpected end of file, expecting ']' in /local/codechecker/PHPCompatibility/Tests/sniff-examples/variable_variables.php on line 38
- local/codechecker/moodle/tests/fixtures/moodle_comenting_inlinecomment.php
- (#35) PHP Fatal error: Cannot redeclare commented_class::afunction() in /local/codechecker/moodle/tests/fixtures/moodle_comenting_inlinecomment.php on line 35
- 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 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 Fatal error: Call-time pass-by-reference has been removed in /local/codechecker/moodle/tests/fixtures/phpcompatibility_php_forbiddencalltimepassbyreference.php on line 6