Initial version #3
checks.yml
on: push
Static analysis
19s
Code style
10s
Matrix: tests
Annotations
7 errors
|
Static analysis
Process completed with exit code 1.
|
|
Static analysis:
tests/data/TypeInferenceTest/IsRecord.php#L22
Expected type Vojtechdobes\Conformance\Constraints\IsRecord<array{a: Vojtechdobes\Conformance\Constraints\IsNonEmptyString, b: Vojtechdobes\Conformance\Constraints\IsNonEmptyString}, array{c: Vojtechdobes\Conformance\Constraints\IsNonEmptyString, d: Vojtechdobes\Conformance\Constraints\IsNonEmptyString}, array{a: non-empty-string, b: non-empty-string, c?: non-empty-string, d?: non-empty-string}>, actual: Vojtechdobes\Conformance\Constraints\IsRecord<array{a: Vojtechdobes\Conformance\Constraints\IsNonEmptyString, b: Vojtechdobes\Conformance\Constraints\IsNonEmptyString}, array{c: Vojtechdobes\Conformance\Constraints\IsNonEmptyString, d: Vojtechdobes\Conformance\Constraints\IsNonEmptyString}, array<string, mixed>>
|
|
Static analysis:
tests/data/TypeInferenceTest/IsRecord.php#L17
Expected type Vojtechdobes\Conformance\Constraints\IsRecord<array{a: Vojtechdobes\Conformance\Constraints\IsNonEmptyString, b: Vojtechdobes\Conformance\Constraints\IsNonEmptyString}, array{}, array{a: non-empty-string, b: non-empty-string}>, actual: Vojtechdobes\Conformance\Constraints\IsRecord
|
|
Static analysis:
tests/data/TypeInferenceTest/ForEachItem.php#L8
Expected type Vojtechdobes\Conformance\Constraints\ForEachItem<mixed, 'a'|'b'|'c'>, actual: Vojtechdobes\Conformance\Constraints\ForEachItem<mixed, string>
|
|
Static analysis:
tests/data/TypeInferenceTest/BooleanAll.php#L16
Expected type Vojtechdobes\Conformance\Constraints\BooleanAll<mixed, *NEVER*>, actual: Vojtechdobes\Conformance\Constraints\BooleanAll<mixed, non-empty-string|null>
|
|
Static analysis:
tests/data/TypeInferenceTest/BooleanAll.php#L8
Expected type Vojtechdobes\Conformance\Constraints\BooleanAll<mixed, 'a'>, actual: Vojtechdobes\Conformance\Constraints\BooleanAll<mixed, non-empty-string>
|
|
Static analysis:
src/Conformance/ExpressionTypeResolverExtension.php#L243
Parameter #2 $args of static method PHPStan\Reflection\ParametersAcceptorSelector::selectFromArgs() expects array<PhpParser\Node\Arg>, array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder> given.
|