Introduce modularized feature #22
static-analysis.yml
on: pull_request
Static Analysis
35s
Annotations
10 errors and 1 warning
MixedAssignment:
src/ProvidersCollection.php#L52
src/ProvidersCollection.php:52:58: MixedAssignment: Unable to determine the type that $subArray is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/ProvidersCollection.php#L53
src/ProvidersCollection.php:53:35: MixedAssignment: Unable to determine the type that $key is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/ProvidersCollection.php#L53
src/ProvidersCollection.php:53:43: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/ProvidersCollection.php#L54
src/ProvidersCollection.php:54:39: MixedArgument: Argument 1 of array_key_exists cannot be mixed, expecting array-key (see https://psalm.dev/030)
|
MixedArrayOffset:
src/ProvidersCollection.php#L55
src/ProvidersCollection.php:55:21: MixedArrayOffset: Cannot access value on variable $result[$key] using mixed offset (see https://psalm.dev/031)
|
MixedAssignment:
src/ProvidersCollection.php#L59
src/ProvidersCollection.php:59:21: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
|
MixedArrayOffset:
src/ProvidersCollection.php#L59
src/ProvidersCollection.php:59:21: MixedArrayOffset: Cannot access value on variable $result[$key] using mixed offset (see https://psalm.dev/031)
|
MixedArrayOffset:
src/ProvidersCollection.php#L63
src/ProvidersCollection.php:63:17: MixedArrayOffset: Cannot access value on variable $result[$key] using mixed offset (see https://psalm.dev/031)
|
MixedArrayOffset:
src/ProvidersCollection.php#L63
src/ProvidersCollection.php:63:46: MixedArrayOffset: Cannot access value on variable $result using mixed offset (see https://psalm.dev/031)
|
MixedArgument:
src/ProvidersCollection.php#L63
src/ProvidersCollection.php:63:46: MixedArgument: Argument 1 of array_merge cannot be array<array-key, mixed>|mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
Static Analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|