Make reporting of client-safe errors configurable #2807
Annotations
10 errors and 1 warning
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L36
Call to method PHPUnit\Framework\Assert::assertSame() with array{'No error to report'} and array<string, mixed>|null will always evaluate to false.
|
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L56
Call to method PHPUnit\Framework\Assert::assertSame() with array{GraphQL\Error\Error} and array<string, mixed>|null will always evaluate to false.
|
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L57
Cannot access constant class on Exception|null.
|
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L57
Parameter #1 $exception of method Illuminate\Support\Testing\Fakes\ExceptionHandlerFake::assertReported() expects Closure|string, (class-string<Exception>&literal-string)|null given.
|
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L71
Call to method PHPUnit\Framework\Assert::assertSame() with array{GraphQL\Error\Error} and array<string, mixed>|null will always evaluate to false.
|
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L72
Cannot access constant class on Exception|null.
|
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L72
Parameter #1 $exception of method Illuminate\Support\Testing\Fakes\ExceptionHandlerFake::assertReported() expects Closure|string, (class-string<Exception>&literal-string)|null given.
|
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L91
Call to method PHPUnit\Framework\Assert::assertSame() with array{GraphQL\Error\Error} and array<string, mixed>|null will always evaluate to false.
|
Run vendor/bin/phpstan:
tests/Integration/Execution/ReportingErrorHandlerTest.php#L106
Call to method PHPUnit\Framework\Assert::assertSame() with array{GraphQL\Error\Error} and array<string, mixed>|null will always evaluate to false.
|
Run vendor/bin/phpstan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading