Use a modern directory structure #1320
static-analysis.yml
on: pull_request
Static Analysis with Psalm
19s
Annotations
6 errors and 1 warning
InvalidPropertyAssignmentValue:
src/Middleware/BacktraceDebugDataHolder.php#L45
src/Middleware/BacktraceDebugDataHolder.php:45:9: InvalidPropertyAssignmentValue: $this->backtraces with declared type 'array<string, array<array-key, array<string, mixed>>>' cannot be assigned type 'non-empty-array<string, non-empty-array<array-key, array<int<0, max>|string, mixed>>>' (see https://psalm.dev/145)
|
UndefinedClass:
src/Middleware/DebugMiddleware.php#L14
src/Middleware/DebugMiddleware.php:14:13: UndefinedClass: Class, interface or enum named Symfony\Component\Stopwatch\Stopwatch does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Middleware/DebugMiddleware.php#L17
src/Middleware/DebugMiddleware.php:17:67: UndefinedClass: Class, interface or enum named Symfony\Component\Stopwatch\Stopwatch does not exist (see https://psalm.dev/019)
|
InternalClass:
src/Middleware/DebugMiddleware.php#L30
src/Middleware/DebugMiddleware.php:30:16: InternalClass: Symfony\Bridge\Doctrine\Middleware\Debug\Driver is internal to Symfony but called from Doctrine\Bundle\DoctrineBundle\Middleware\DebugMiddleware (see https://psalm.dev/174)
|
InternalMethod:
src/Middleware/DebugMiddleware.php#L30
src/Middleware/DebugMiddleware.php:30:16: InternalMethod: Constructor Symfony\Bridge\Doctrine\Middleware\Debug\Driver::__construct is internal to Symfony but called from Doctrine\Bundle\DoctrineBundle\Middleware\DebugMiddleware::wrap (see https://psalm.dev/175)
|
Static Analysis with Psalm
Process completed with exit code 2.
|
Static Analysis with Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|