Skip to content

Phpstan level 6

Phpstan level 6 #72

Triggered via pull request May 3, 2025 17:11
Status Failure
Total duration 28s
Artifacts

test.yaml

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

Annotations

80 errors
Tests (8.3): src/References.php#L70
Method Gettext\References::toArray() return type has no value type specified in iterable type array.
Tests (8.3): src/References.php#L21
Method Gettext\References::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8.3): src/References.php#L19
Property Gettext\References::$references has no type specified.
Tests (8.3): src/References.php#L17
Class Gettext\References implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8.3): src/Headers.php#L133
Method Gettext\Headers::toArray() return type has no value type specified in iterable type array.
Tests (8.3): src/Headers.php#L120
Method Gettext\Headers::getPluralForm() return type has no value type specified in iterable type array.
Tests (8.3): src/Headers.php#L31
Method Gettext\Headers::__construct() has parameter $headers with no value type specified in iterable type array.
Tests (8.3): src/Headers.php#L26
Method Gettext\Headers::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8.3): src/Headers.php#L24
Property Gettext\Headers::$headers has no type specified.
Tests (8.3): src/Headers.php#L18
Class Gettext\Headers implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8): src/References.php#L70
Method Gettext\References::toArray() return type has no value type specified in iterable type array.
Tests (8): src/References.php#L21
Method Gettext\References::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8): src/References.php#L19
Property Gettext\References::$references has no type specified.
Tests (8): src/References.php#L17
Class Gettext\References implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8): src/Headers.php#L133
Method Gettext\Headers::toArray() return type has no value type specified in iterable type array.
Tests (8): src/Headers.php#L120
Method Gettext\Headers::getPluralForm() return type has no value type specified in iterable type array.
Tests (8): src/Headers.php#L31
Method Gettext\Headers::__construct() has parameter $headers with no value type specified in iterable type array.
Tests (8): src/Headers.php#L26
Method Gettext\Headers::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8): src/Headers.php#L24
Property Gettext\Headers::$headers has no type specified.
Tests (8): src/Headers.php#L18
Class Gettext\Headers implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8.1): src/References.php#L70
Method Gettext\References::toArray() return type has no value type specified in iterable type array.
Tests (8.1): src/References.php#L21
Method Gettext\References::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8.1): src/References.php#L19
Property Gettext\References::$references has no type specified.
Tests (8.1): src/References.php#L17
Class Gettext\References implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8.1): src/Headers.php#L133
Method Gettext\Headers::toArray() return type has no value type specified in iterable type array.
Tests (8.1): src/Headers.php#L120
Method Gettext\Headers::getPluralForm() return type has no value type specified in iterable type array.
Tests (8.1): src/Headers.php#L31
Method Gettext\Headers::__construct() has parameter $headers with no value type specified in iterable type array.
Tests (8.1): src/Headers.php#L26
Method Gettext\Headers::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8.1): src/Headers.php#L24
Property Gettext\Headers::$headers has no type specified.
Tests (8.1): src/Headers.php#L18
Class Gettext\Headers implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (7.3): src/References.php#L70
Method Gettext\References::toArray() return type has no value type specified in iterable type array.
Tests (7.3): src/References.php#L21
Method Gettext\References::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (7.3): src/References.php#L19
Property Gettext\References::$references has no type specified.
Tests (7.3): src/References.php#L17
Class Gettext\References implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (7.3): src/Headers.php#L133
Method Gettext\Headers::toArray() return type has no value type specified in iterable type array.
Tests (7.3): src/Headers.php#L120
Method Gettext\Headers::getPluralForm() return type has no value type specified in iterable type array.
Tests (7.3): src/Headers.php#L31
Method Gettext\Headers::__construct() has parameter $headers with no value type specified in iterable type array.
Tests (7.3): src/Headers.php#L26
Method Gettext\Headers::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (7.3): src/Headers.php#L24
Property Gettext\Headers::$headers has no type specified.
Tests (7.3): src/Headers.php#L18
Class Gettext\Headers implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (7.4): src/References.php#L70
Method Gettext\References::toArray() return type has no value type specified in iterable type array.
Tests (7.4): src/References.php#L21
Method Gettext\References::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (7.4): src/References.php#L19
Property Gettext\References::$references has no type specified.
Tests (7.4): src/References.php#L17
Class Gettext\References implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (7.4): src/Headers.php#L133
Method Gettext\Headers::toArray() return type has no value type specified in iterable type array.
Tests (7.4): src/Headers.php#L120
Method Gettext\Headers::getPluralForm() return type has no value type specified in iterable type array.
Tests (7.4): src/Headers.php#L31
Method Gettext\Headers::__construct() has parameter $headers with no value type specified in iterable type array.
Tests (7.4): src/Headers.php#L26
Method Gettext\Headers::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (7.4): src/Headers.php#L24
Property Gettext\Headers::$headers has no type specified.
Tests (7.4): src/Headers.php#L18
Class Gettext\Headers implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (7.2): src/References.php#L70
Method Gettext\References::toArray() return type has no value type specified in iterable type array.
Tests (7.2): src/References.php#L21
Method Gettext\References::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (7.2): src/References.php#L19
Property Gettext\References::$references has no type specified.
Tests (7.2): src/References.php#L17
Class Gettext\References implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (7.2): src/Headers.php#L133
Method Gettext\Headers::toArray() return type has no value type specified in iterable type array.
Tests (7.2): src/Headers.php#L120
Method Gettext\Headers::getPluralForm() return type has no value type specified in iterable type array.
Tests (7.2): src/Headers.php#L31
Method Gettext\Headers::__construct() has parameter $headers with no value type specified in iterable type array.
Tests (7.2): src/Headers.php#L26
Method Gettext\Headers::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (7.2): src/Headers.php#L24
Property Gettext\Headers::$headers has no type specified.
Tests (7.2): src/Headers.php#L18
Class Gettext\Headers implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8.4): src/References.php#L70
Method Gettext\References::toArray() return type has no value type specified in iterable type array.
Tests (8.4): src/References.php#L21
Method Gettext\References::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8.4): src/References.php#L19
Property Gettext\References::$references has no type specified.
Tests (8.4): src/References.php#L17
Class Gettext\References implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8.4): src/Headers.php#L133
Method Gettext\Headers::toArray() return type has no value type specified in iterable type array.
Tests (8.4): src/Headers.php#L120
Method Gettext\Headers::getPluralForm() return type has no value type specified in iterable type array.
Tests (8.4): src/Headers.php#L31
Method Gettext\Headers::__construct() has parameter $headers with no value type specified in iterable type array.
Tests (8.4): src/Headers.php#L26
Method Gettext\Headers::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8.4): src/Headers.php#L24
Property Gettext\Headers::$headers has no type specified.
Tests (8.4): src/Headers.php#L18
Class Gettext\Headers implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8.2): src/References.php#L70
Method Gettext\References::toArray() return type has no value type specified in iterable type array.
Tests (8.2): src/References.php#L21
Method Gettext\References::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8.2): src/References.php#L19
Property Gettext\References::$references has no type specified.
Tests (8.2): src/References.php#L17
Class Gettext\References implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
Tests (8.2): src/Headers.php#L133
Method Gettext\Headers::toArray() return type has no value type specified in iterable type array.
Tests (8.2): src/Headers.php#L120
Method Gettext\Headers::getPluralForm() return type has no value type specified in iterable type array.
Tests (8.2): src/Headers.php#L31
Method Gettext\Headers::__construct() has parameter $headers with no value type specified in iterable type array.
Tests (8.2): src/Headers.php#L26
Method Gettext\Headers::__set_state() has parameter $state with no value type specified in iterable type array.
Tests (8.2): src/Headers.php#L24
Property Gettext\Headers::$headers has no type specified.
Tests (8.2): src/Headers.php#L18
Class Gettext\Headers implements generic interface IteratorAggregate but does not specify its types: TKey, TValue