Skip to content

Phpstan level 6

Phpstan level 6 #74

Triggered via pull request May 5, 2025 07:41
Status Failure
Total duration 29s
Artifacts

test.yaml

on: pull_request
Matrix: Rector
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

81 errors
Tests (8.4): src/Scanner/ParsedFunction.php#L11
Property Gettext\Scanner\ParsedFunction::$name has no type specified.
Tests (8.4): src/Scanner/CodeScanner.php#L73
Method Gettext\Scanner\CodeScanner::handleFunction() has no return type specified.
Tests (8.4): src/Scanner/CodeScanner.php#L47
Method Gettext\Scanner\CodeScanner::addReferences() has parameter $enabled with no type specified.
Tests (8.4): src/Scanner/CodeScanner.php#L40
Method Gettext\Scanner\CodeScanner::ignoreInvalidFunctions() has parameter $ignore with no type specified.
Tests (8.4): src/Scanner/CodeScanner.php#L35
Method Gettext\Scanner\CodeScanner::getFunctions() return type has no value type specified in iterable type array.
Tests (8.4): src/Scanner/CodeScanner.php#L25
Method Gettext\Scanner\CodeScanner::setFunctions() has parameter $functions with no value type specified in iterable type array.
Tests (8.4): src/Scanner/CodeScanner.php#L20
Property Gettext\Scanner\CodeScanner::$functions has no type specified.
Tests (8.4): src/Scanner/CodeScanner.php#L18
Property Gettext\Scanner\CodeScanner::$commentsPrefixes has no type specified.
Tests (8.4): src/Scanner/CodeScanner.php#L16
Property Gettext\Scanner\CodeScanner::$addReferences has no type specified.
Tests (8.4): src/Scanner/CodeScanner.php#L14
Property Gettext\Scanner\CodeScanner::$ignoreInvalidFunctions has no type specified.
Rector (8.4)
Process completed with exit code 2.
Tests (7.3): src/Scanner/ParsedFunction.php#L11
Property Gettext\Scanner\ParsedFunction::$name has no type specified.
Tests (7.3): src/Scanner/CodeScanner.php#L73
Method Gettext\Scanner\CodeScanner::handleFunction() has no return type specified.
Tests (7.3): src/Scanner/CodeScanner.php#L47
Method Gettext\Scanner\CodeScanner::addReferences() has parameter $enabled with no type specified.
Tests (7.3): src/Scanner/CodeScanner.php#L40
Method Gettext\Scanner\CodeScanner::ignoreInvalidFunctions() has parameter $ignore with no type specified.
Tests (7.3): src/Scanner/CodeScanner.php#L35
Method Gettext\Scanner\CodeScanner::getFunctions() return type has no value type specified in iterable type array.
Tests (7.3): src/Scanner/CodeScanner.php#L25
Method Gettext\Scanner\CodeScanner::setFunctions() has parameter $functions with no value type specified in iterable type array.
Tests (7.3): src/Scanner/CodeScanner.php#L20
Property Gettext\Scanner\CodeScanner::$functions has no type specified.
Tests (7.3): src/Scanner/CodeScanner.php#L18
Property Gettext\Scanner\CodeScanner::$commentsPrefixes has no type specified.
Tests (7.3): src/Scanner/CodeScanner.php#L16
Property Gettext\Scanner\CodeScanner::$addReferences has no type specified.
Tests (7.3): src/Scanner/CodeScanner.php#L14
Property Gettext\Scanner\CodeScanner::$ignoreInvalidFunctions has no type specified.
Tests (8.2): src/Scanner/ParsedFunction.php#L11
Property Gettext\Scanner\ParsedFunction::$name has no type specified.
Tests (8.2): src/Scanner/CodeScanner.php#L73
Method Gettext\Scanner\CodeScanner::handleFunction() has no return type specified.
Tests (8.2): src/Scanner/CodeScanner.php#L47
Method Gettext\Scanner\CodeScanner::addReferences() has parameter $enabled with no type specified.
Tests (8.2): src/Scanner/CodeScanner.php#L40
Method Gettext\Scanner\CodeScanner::ignoreInvalidFunctions() has parameter $ignore with no type specified.
Tests (8.2): src/Scanner/CodeScanner.php#L35
Method Gettext\Scanner\CodeScanner::getFunctions() return type has no value type specified in iterable type array.
Tests (8.2): src/Scanner/CodeScanner.php#L25
Method Gettext\Scanner\CodeScanner::setFunctions() has parameter $functions with no value type specified in iterable type array.
Tests (8.2): src/Scanner/CodeScanner.php#L20
Property Gettext\Scanner\CodeScanner::$functions has no type specified.
Tests (8.2): src/Scanner/CodeScanner.php#L18
Property Gettext\Scanner\CodeScanner::$commentsPrefixes has no type specified.
Tests (8.2): src/Scanner/CodeScanner.php#L16
Property Gettext\Scanner\CodeScanner::$addReferences has no type specified.
Tests (8.2): src/Scanner/CodeScanner.php#L14
Property Gettext\Scanner\CodeScanner::$ignoreInvalidFunctions has no type specified.
Tests (7.2): src/Scanner/ParsedFunction.php#L11
Property Gettext\Scanner\ParsedFunction::$name has no type specified.
Tests (7.2): src/Scanner/CodeScanner.php#L73
Method Gettext\Scanner\CodeScanner::handleFunction() has no return type specified.
Tests (7.2): src/Scanner/CodeScanner.php#L47
Method Gettext\Scanner\CodeScanner::addReferences() has parameter $enabled with no type specified.
Tests (7.2): src/Scanner/CodeScanner.php#L40
Method Gettext\Scanner\CodeScanner::ignoreInvalidFunctions() has parameter $ignore with no type specified.
Tests (7.2): src/Scanner/CodeScanner.php#L35
Method Gettext\Scanner\CodeScanner::getFunctions() return type has no value type specified in iterable type array.
Tests (7.2): src/Scanner/CodeScanner.php#L25
Method Gettext\Scanner\CodeScanner::setFunctions() has parameter $functions with no value type specified in iterable type array.
Tests (7.2): src/Scanner/CodeScanner.php#L20
Property Gettext\Scanner\CodeScanner::$functions has no type specified.
Tests (7.2): src/Scanner/CodeScanner.php#L18
Property Gettext\Scanner\CodeScanner::$commentsPrefixes has no type specified.
Tests (7.2): src/Scanner/CodeScanner.php#L16
Property Gettext\Scanner\CodeScanner::$addReferences has no type specified.
Tests (7.2): src/Scanner/CodeScanner.php#L14
Property Gettext\Scanner\CodeScanner::$ignoreInvalidFunctions has no type specified.
Tests (8.3): src/Scanner/ParsedFunction.php#L11
Property Gettext\Scanner\ParsedFunction::$name has no type specified.
Tests (8.3): src/Scanner/CodeScanner.php#L73
Method Gettext\Scanner\CodeScanner::handleFunction() has no return type specified.
Tests (8.3): src/Scanner/CodeScanner.php#L47
Method Gettext\Scanner\CodeScanner::addReferences() has parameter $enabled with no type specified.
Tests (8.3): src/Scanner/CodeScanner.php#L40
Method Gettext\Scanner\CodeScanner::ignoreInvalidFunctions() has parameter $ignore with no type specified.
Tests (8.3): src/Scanner/CodeScanner.php#L35
Method Gettext\Scanner\CodeScanner::getFunctions() return type has no value type specified in iterable type array.
Tests (8.3): src/Scanner/CodeScanner.php#L25
Method Gettext\Scanner\CodeScanner::setFunctions() has parameter $functions with no value type specified in iterable type array.
Tests (8.3): src/Scanner/CodeScanner.php#L20
Property Gettext\Scanner\CodeScanner::$functions has no type specified.
Tests (8.3): src/Scanner/CodeScanner.php#L18
Property Gettext\Scanner\CodeScanner::$commentsPrefixes has no type specified.
Tests (8.3): src/Scanner/CodeScanner.php#L16
Property Gettext\Scanner\CodeScanner::$addReferences has no type specified.
Tests (8.3): src/Scanner/CodeScanner.php#L14
Property Gettext\Scanner\CodeScanner::$ignoreInvalidFunctions has no type specified.
Tests (8): src/Scanner/ParsedFunction.php#L11
Property Gettext\Scanner\ParsedFunction::$name has no type specified.
Tests (8): src/Scanner/CodeScanner.php#L73
Method Gettext\Scanner\CodeScanner::handleFunction() has no return type specified.
Tests (8): src/Scanner/CodeScanner.php#L47
Method Gettext\Scanner\CodeScanner::addReferences() has parameter $enabled with no type specified.
Tests (8): src/Scanner/CodeScanner.php#L40
Method Gettext\Scanner\CodeScanner::ignoreInvalidFunctions() has parameter $ignore with no type specified.
Tests (8): src/Scanner/CodeScanner.php#L35
Method Gettext\Scanner\CodeScanner::getFunctions() return type has no value type specified in iterable type array.
Tests (8): src/Scanner/CodeScanner.php#L25
Method Gettext\Scanner\CodeScanner::setFunctions() has parameter $functions with no value type specified in iterable type array.
Tests (8): src/Scanner/CodeScanner.php#L20
Property Gettext\Scanner\CodeScanner::$functions has no type specified.
Tests (8): src/Scanner/CodeScanner.php#L18
Property Gettext\Scanner\CodeScanner::$commentsPrefixes has no type specified.
Tests (8): src/Scanner/CodeScanner.php#L16
Property Gettext\Scanner\CodeScanner::$addReferences has no type specified.
Tests (8): src/Scanner/CodeScanner.php#L14
Property Gettext\Scanner\CodeScanner::$ignoreInvalidFunctions has no type specified.
Tests (8.1): src/Scanner/ParsedFunction.php#L11
Property Gettext\Scanner\ParsedFunction::$name has no type specified.
Tests (8.1): src/Scanner/CodeScanner.php#L73
Method Gettext\Scanner\CodeScanner::handleFunction() has no return type specified.
Tests (8.1): src/Scanner/CodeScanner.php#L47
Method Gettext\Scanner\CodeScanner::addReferences() has parameter $enabled with no type specified.
Tests (8.1): src/Scanner/CodeScanner.php#L40
Method Gettext\Scanner\CodeScanner::ignoreInvalidFunctions() has parameter $ignore with no type specified.
Tests (8.1): src/Scanner/CodeScanner.php#L35
Method Gettext\Scanner\CodeScanner::getFunctions() return type has no value type specified in iterable type array.
Tests (8.1): src/Scanner/CodeScanner.php#L25
Method Gettext\Scanner\CodeScanner::setFunctions() has parameter $functions with no value type specified in iterable type array.
Tests (8.1): src/Scanner/CodeScanner.php#L20
Property Gettext\Scanner\CodeScanner::$functions has no type specified.
Tests (8.1): src/Scanner/CodeScanner.php#L18
Property Gettext\Scanner\CodeScanner::$commentsPrefixes has no type specified.
Tests (8.1): src/Scanner/CodeScanner.php#L16
Property Gettext\Scanner\CodeScanner::$addReferences has no type specified.
Tests (8.1): src/Scanner/CodeScanner.php#L14
Property Gettext\Scanner\CodeScanner::$ignoreInvalidFunctions has no type specified.
Tests (7.4): src/Scanner/ParsedFunction.php#L11
Property Gettext\Scanner\ParsedFunction::$name has no type specified.
Tests (7.4): src/Scanner/CodeScanner.php#L73
Method Gettext\Scanner\CodeScanner::handleFunction() has no return type specified.
Tests (7.4): src/Scanner/CodeScanner.php#L47
Method Gettext\Scanner\CodeScanner::addReferences() has parameter $enabled with no type specified.
Tests (7.4): src/Scanner/CodeScanner.php#L40
Method Gettext\Scanner\CodeScanner::ignoreInvalidFunctions() has parameter $ignore with no type specified.
Tests (7.4): src/Scanner/CodeScanner.php#L35
Method Gettext\Scanner\CodeScanner::getFunctions() return type has no value type specified in iterable type array.
Tests (7.4): src/Scanner/CodeScanner.php#L25
Method Gettext\Scanner\CodeScanner::setFunctions() has parameter $functions with no value type specified in iterable type array.
Tests (7.4): src/Scanner/CodeScanner.php#L20
Property Gettext\Scanner\CodeScanner::$functions has no type specified.
Tests (7.4): src/Scanner/CodeScanner.php#L18
Property Gettext\Scanner\CodeScanner::$commentsPrefixes has no type specified.
Tests (7.4): src/Scanner/CodeScanner.php#L16
Property Gettext\Scanner\CodeScanner::$addReferences has no type specified.
Tests (7.4): src/Scanner/CodeScanner.php#L14
Property Gettext\Scanner\CodeScanner::$ignoreInvalidFunctions has no type specified.