Update method parameters to allow nullable types #439
static-analysis.yml
on: push
sa
/
PHPStan
23s
sa
/
Psalm
20s
sa
/
PHPMD
14s
sa
/
ComposerRequireChecker
18s
Annotations
8 errors and 7 warnings
sa / PHPStan:
src/EmbedInterceptor.php#L108
Method BEAR\Resource\EmbedInterceptor::getArgsByInvocation() has parameter $invocation with generic interface Ray\Aop\MethodInvocation but does not specify its types: T
|
sa / PHPStan:
src/JsonSchema/Interceptor/JsonSchemaInterceptor.php#L189
Method BEAR\Resource\Interceptor\JsonSchemaInterceptor::getNamedArguments() has parameter $invocation with generic interface Ray\Aop\MethodInvocation but does not specify its types: T
|
sa / PHPStan:
src/OptionsMethods.php#L132
Method BEAR\Resource\OptionsMethods::getJsonSchema() should return array<string, mixed> but returns array.
|
sa / PHPStan:
tests/OptionsTest.php#L102
Parameter #2 $actualJson of method PHPUnit\Framework\Assert::assertJsonStringEqualsJsonString() expects string, string|null given.
|
sa / PHPStan:
tests/OptionsTest.php#L200
Parameter #2 $actualJson of method PHPUnit\Framework\Assert::assertJsonStringEqualsJsonString() expects string, string|null given.
|
sa / PHPStan:
tests/OptionsTest.php#L247
Parameter #2 $actualJson of method PHPUnit\Framework\Assert::assertJsonStringEqualsJsonString() expects string, string|null given.
|
sa / PHPStan:
tests/OptionsTest.php#L270
Parameter #2 $actualJson of method PHPUnit\Framework\Assert::assertJsonStringEqualsJsonString() expects string, string|null given.
|
sa / PHPStan
Process completed with exit code 1.
|
sa / PHPMD
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
sa / PHPMD
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
sa / ComposerRequireChecker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
sa / ComposerRequireChecker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
sa / Psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
sa / Psalm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
sa / PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|