Skip to content
GitHub Actions / Qodana for PHP completed May 29, 2024 in 0s

373 new problems found by Qodana for PHP

Qodana for PHP

373 new problems were found

Inspection name Severity Problems
Undefined class 🔶 Warning 184
Undefined method 🔶 Warning 119
Undefined namespace 🔶 Warning 65
Type mismatch in property assignment 🔶 Warning 3
Incompatible return type 🔶 Warning 2

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 34 in test/Unit/App/Middleware/AuthenticationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Type mismatch in property assignment

Incompatible types: Expected property of type '\\Psr\\Http\\Message\\ServerRequestInterface', '\\Laminas\\Diactoros\\ServerRequest' provided

Check warning on line 49 in test/Unit/App/Middleware/AuthorizationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Type mismatch in property assignment

Incompatible types: Expected property of type '\\Psr\\Http\\Message\\ServerRequestInterface', '\\Laminas\\Diactoros\\ServerRequest' provided

Check warning on line 56 in test/Unit/App/Middleware/ContentNegotiationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Type mismatch in property assignment

Incompatible types: Expected property of type '\\Psr\\Http\\Message\\ServerRequestInterface', '\\Laminas\\Diactoros\\ServerRequest' provided

Check warning on line 105 in src/App/src/Middleware/AuthorizationMiddleware.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Incompatible return type

Return value type is not compatible with declared

Check warning on line 90 in src/App/src/Handler/ResponseTrait.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Incompatible return type

Return value type is not compatible with declared

Check warning on line 16 in test/Unit/App/Middleware/AuthorizationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'ServerRequest'

Check warning on line 22 in src/App/src/Handler/ResponseTrait.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'ResourceGenerator'

Check warning on line 97 in test/Unit/App/Middleware/ContentNegotiationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'Response'

Check warning on line 12 in src/App/src/Service/ErrorReportService.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'IOException'

Check warning on line 111 in src/App/src/Middleware/AuthorizationMiddleware.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'StatusCodeInterface'

Check warning on line 47 in test/Unit/App/Middleware/AuthorizationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'RequestHandlerInterface'

Check warning on line 10 in test/Unit/App/Middleware/ContentNegotiationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'Route'

Check warning on line 22 in test/Unit/App/Middleware/AuthorizationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'ResponseInterface'

Check warning on line 21 in test/Unit/User/Service/UserServiceTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'TestCase'

Check warning on line 122 in src/App/src/Handler/ResponseTrait.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'StatusCodeInterface'

Check warning on line 56 in test/Unit/App/Middleware/ContentNegotiationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'ServerRequest'

Check warning on line 99 in test/Unit/App/Middleware/AuthorizationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'Response'

Check warning on line 69 in src/App/src/Handler/ResponseTrait.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'StatusCodeInterface'

Check warning on line 13 in test/Unit/User/Service/UserAvatarServiceTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'TestCase'

Check warning on line 21 in test/Unit/User/Service/UserAvatarServiceTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'Exception'

Check warning on line 33 in src/App/src/Middleware/ErrorResponseMiddleware.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'StatusCodeInterface'

Check warning on line 24 in test/Unit/App/Middleware/AuthorizationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'RequestHandlerInterface'

Check warning on line 59 in src/App/src/Handler/ResponseTrait.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'StatusCodeInterface'

Check warning on line 91 in test/Unit/App/Middleware/ContentNegotiationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'RouteResult'

Check warning on line 161 in test/Unit/App/Middleware/AuthorizationMiddlewareTest.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'UserInterface'