Created
February 18, 2019 05:36
-
-
Save l0gicgate/18c1c706cc71d3f1ddeb8c5c904b0a5f to your computer and use it in GitHub Desktop.
Doctrine Coding Standards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/App.php | |
------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 4 ERRORS AFFECTING 4 LINES | |
------------------------------------------------------------------------------------------------------------------------------------------------- | |
65 | ERROR | @var annotation of property \Slim\App::$settings does not specify type hint for its items. | |
78 | ERROR | @param annotation of method \Slim\App::__construct() does not specify type hint for items of its traversable parameter $settings. | |
140 | ERROR | @return annotation of method \Slim\App::getSettings() does not specify type hint for items of its traversable return value. | |
162 | ERROR | @param annotation of method \Slim\App::addSettings() does not specify type hint for items of its traversable parameter $settings. | |
------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/CallableResolver.php | |
----------------------------------------------------------------------------------- | |
FOUND 4 ERRORS AFFECTING 2 LINES | |
----------------------------------------------------------------------------------- | |
48 | ERROR | @throws tag comment must start with a capital letter | |
48 | ERROR | @throws tag comment must end with a full stop | |
49 | ERROR | @throws tag comment must start with a capital letter | |
49 | ERROR | @throws tag comment must end with a full stop | |
----------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/DeferredCallable.php | |
----------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 2 ERRORS AFFECTING 1 LINE | |
----------------------------------------------------------------------------------------------------------------------------------------- | |
31 | ERROR | Method \Slim\DeferredCallable::__invoke() does not have parameter type hint nor @param annotation for its parameter $args. | |
31 | ERROR | Method \Slim\DeferredCallable::__invoke() does not have return type hint nor @return annotation for its return value. | |
----------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Dispatcher.php | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 4 ERRORS AFFECTING 4 LINES | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
23 | ERROR | @var annotation of property \Slim\Dispatcher::$allowedMethods does not specify type hint for its items. | |
72 | ERROR | @param annotation of method \Slim\Dispatcher::routingResults() does not specify type hint for items of its traversable parameter $arguments. | |
80 | ERROR | @param annotation of method \Slim\Dispatcher::routingResultsFromVariableRouteResults() does not specify type hint for items of its traversable parameter $result. | |
91 | ERROR | @return annotation of method \Slim\Dispatcher::getAllowedMethods() does not specify type hint for items of its traversable return value. | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Error/AbstractErrorRenderer.php | |
---------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------------------------------- | |
20 | ERROR | Superfluous prefix "Abstract". | |
---------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Error/Renderers/JsonErrorRenderer.php | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
FOUND 2 ERRORS AFFECTING 2 LINES | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
32 | ERROR | Assignment in do-while condition is not allowed. | |
39 | ERROR | @return annotation of method \Slim\Error\Renderers\JsonErrorRenderer::formatExceptionFragment() does not specify type hint for items of its traversable return value. | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Error/Renderers/PlainTextErrorRenderer.php | |
--------------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
--------------------------------------------------------------------------------------------------------- | |
31 | ERROR | Assignment in do-while condition is not allowed. | |
--------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Error/Renderers/XmlErrorRenderer.php | |
---------------------------------------------------------------------------------------------------------------- | |
FOUND 3 ERRORS AFFECTING 3 LINES | |
---------------------------------------------------------------------------------------------------------------- | |
25 | ERROR | Variable "$exception" not allowed in double quoted string; use sprintf() or concatenation instead | |
36 | ERROR | Assignment in do-while condition is not allowed. | |
39 | ERROR | Useless variable $xml. | |
---------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Exception/HttpBadRequestException.php | |
------------------------------------------------------------------------------------------------------------ | |
FOUND 5 ERRORS AFFECTING 5 LINES | |
------------------------------------------------------------------------------------------------------------ | |
12 | ERROR | Superfluous suffix "Exception". | |
14 | ERROR | Property \Slim\Exception\HttpBadRequestException::$code does not have @var annotation. | |
15 | ERROR | Property \Slim\Exception\HttpBadRequestException::$message does not have @var annotation. | |
16 | ERROR | Property \Slim\Exception\HttpBadRequestException::$title does not have @var annotation. | |
17 | ERROR | Property \Slim\Exception\HttpBadRequestException::$description does not have @var annotation. | |
------------------------------------------------------------------------------------------------------------ | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Exception/HttpException.php | |
------------------------------------------------------------------------------------------ | |
FOUND 1 ERROR AFFECTING 1 LINE | |
------------------------------------------------------------------------------------------ | |
16 | ERROR | Superfluous suffix "Exception". | |
------------------------------------------------------------------------------------------ | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Exception/HttpForbiddenException.php | |
----------------------------------------------------------------------------------------------------------- | |
FOUND 5 ERRORS AFFECTING 5 LINES | |
----------------------------------------------------------------------------------------------------------- | |
12 | ERROR | Superfluous suffix "Exception". | |
14 | ERROR | Property \Slim\Exception\HttpForbiddenException::$code does not have @var annotation. | |
15 | ERROR | Property \Slim\Exception\HttpForbiddenException::$message does not have @var annotation. | |
16 | ERROR | Property \Slim\Exception\HttpForbiddenException::$title does not have @var annotation. | |
17 | ERROR | Property \Slim\Exception\HttpForbiddenException::$description does not have @var annotation. | |
----------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Exception/HttpInternalServerErrorException.php | |
--------------------------------------------------------------------------------------------------------------------- | |
FOUND 5 ERRORS AFFECTING 5 LINES | |
--------------------------------------------------------------------------------------------------------------------- | |
12 | ERROR | Superfluous suffix "Exception". | |
14 | ERROR | Property \Slim\Exception\HttpInternalServerErrorException::$code does not have @var annotation. | |
15 | ERROR | Property \Slim\Exception\HttpInternalServerErrorException::$message does not have @var annotation. | |
16 | ERROR | Property \Slim\Exception\HttpInternalServerErrorException::$title does not have @var annotation. | |
17 | ERROR | Property \Slim\Exception\HttpInternalServerErrorException::$description does not have @var annotation. | |
--------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Exception/HttpMethodNotAllowedException.php | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 8 ERRORS AFFECTING 8 LINES | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
12 | ERROR | Superfluous suffix "Exception". | |
14 | ERROR | @var annotation of property \Slim\Exception\HttpMethodNotAllowedException::$allowedMethods does not specify type hint for its items. | |
17 | ERROR | Property \Slim\Exception\HttpMethodNotAllowedException::$code does not have @var annotation. | |
18 | ERROR | Property \Slim\Exception\HttpMethodNotAllowedException::$message does not have @var annotation. | |
19 | ERROR | Property \Slim\Exception\HttpMethodNotAllowedException::$title does not have @var annotation. | |
20 | ERROR | Property \Slim\Exception\HttpMethodNotAllowedException::$description does not have @var annotation. | |
23 | ERROR | @return annotation of method \Slim\Exception\HttpMethodNotAllowedException::getAllowedMethods() does not specify type hint for items of its traversable return value. | |
31 | ERROR | @param annotation of method \Slim\Exception\HttpMethodNotAllowedException::setAllowedMethods() does not specify type hint for items of its traversable parameter $methods. | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Exception/HttpNotFoundException.php | |
---------------------------------------------------------------------------------------------------------- | |
FOUND 5 ERRORS AFFECTING 5 LINES | |
---------------------------------------------------------------------------------------------------------- | |
12 | ERROR | Superfluous suffix "Exception". | |
14 | ERROR | Property \Slim\Exception\HttpNotFoundException::$code does not have @var annotation. | |
15 | ERROR | Property \Slim\Exception\HttpNotFoundException::$message does not have @var annotation. | |
16 | ERROR | Property \Slim\Exception\HttpNotFoundException::$title does not have @var annotation. | |
17 | ERROR | Property \Slim\Exception\HttpNotFoundException::$description does not have @var annotation. | |
---------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Exception/HttpNotImplementedException.php | |
---------------------------------------------------------------------------------------------------------------- | |
FOUND 5 ERRORS AFFECTING 5 LINES | |
---------------------------------------------------------------------------------------------------------------- | |
12 | ERROR | Superfluous suffix "Exception". | |
14 | ERROR | Property \Slim\Exception\HttpNotImplementedException::$code does not have @var annotation. | |
15 | ERROR | Property \Slim\Exception\HttpNotImplementedException::$message does not have @var annotation. | |
16 | ERROR | Property \Slim\Exception\HttpNotImplementedException::$title does not have @var annotation. | |
17 | ERROR | Property \Slim\Exception\HttpNotImplementedException::$description does not have @var annotation. | |
---------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Exception/HttpUnauthorizedException.php | |
-------------------------------------------------------------------------------------------------------------- | |
FOUND 5 ERRORS AFFECTING 5 LINES | |
-------------------------------------------------------------------------------------------------------------- | |
12 | ERROR | Superfluous suffix "Exception". | |
14 | ERROR | Property \Slim\Exception\HttpUnauthorizedException::$code does not have @var annotation. | |
15 | ERROR | Property \Slim\Exception\HttpUnauthorizedException::$message does not have @var annotation. | |
16 | ERROR | Property \Slim\Exception\HttpUnauthorizedException::$title does not have @var annotation. | |
17 | ERROR | Property \Slim\Exception\HttpUnauthorizedException::$description does not have @var annotation. | |
-------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Handlers/ErrorHandler.php | |
------------------------------------------------------------------------------------------------------------------------------------ | |
FOUND 1 ERROR AFFECTING 1 LINE | |
------------------------------------------------------------------------------------------------------------------------------------ | |
49 | ERROR | @var annotation of property \Slim\Handlers\ErrorHandler::$knownContentTypes does not specify type hint for its items. | |
------------------------------------------------------------------------------------------------------------------------------------ | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Handlers/Strategies/RequestHandler.php | |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
24 | ERROR | @param annotation of method \Slim\Handlers\Strategies\RequestHandler::__invoke() does not specify type hint for items of its traversable parameter $routeArguments. | |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Handlers/Strategies/RequestResponse.php | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
25 | ERROR | @param annotation of method \Slim\Handlers\Strategies\RequestResponse::__invoke() does not specify type hint for items of its traversable parameter $routeArguments. | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Handlers/Strategies/RequestResponseArgs.php | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
26 | ERROR | @param annotation of method \Slim\Handlers\Strategies\RequestResponseArgs::__invoke() does not specify type hint for items of its traversable parameter $routeArguments. | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Interfaces/CallableResolverInterface.php | |
------------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
------------------------------------------------------------------------------------------------------- | |
17 | ERROR | Superfluous suffix "Interface". | |
------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Interfaces/ErrorHandlerInterface.php | |
--------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
--------------------------------------------------------------------------------------------------- | |
19 | ERROR | Superfluous suffix "Interface". | |
--------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Interfaces/ErrorRendererInterface.php | |
---------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
---------------------------------------------------------------------------------------------------- | |
17 | ERROR | Superfluous suffix "Interface". | |
---------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Interfaces/InvocationStrategyInterface.php | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 2 ERRORS AFFECTING 2 LINES | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
18 | ERROR | Superfluous suffix "Interface". | |
26 | ERROR | @param annotation of method \Slim\Interfaces\InvocationStrategyInterface::__invoke() does not specify type hint for items of its traversable parameter $routeArguments. | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Interfaces/RouteGroupInterface.php | |
------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
------------------------------------------------------------------------------------------------- | |
18 | ERROR | Superfluous suffix "Interface". | |
------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Interfaces/RouteInterface.php | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 2 ERRORS AFFECTING 2 LINES | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
19 | ERROR | Superfluous suffix "Interface". | |
72 | ERROR | @param annotation of method \Slim\Interfaces\RouteInterface::prepare() does not specify type hint for items of its traversable parameter $arguments. | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Interfaces/RouterInterface.php | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
FOUND 10 ERRORS AFFECTING 10 LINES | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
20 | ERROR | Superfluous suffix "Interface". | |
58 | ERROR | @throws tag comment must end with a full stop | |
68 | ERROR | @param annotation of method \Slim\Interfaces\RouterInterface::relativePathFor() does not specify type hint for items of its traversable parameter $data. | |
69 | ERROR | @param annotation of method \Slim\Interfaces\RouterInterface::relativePathFor() does not specify type hint for items of its traversable parameter $queryParams. | |
71 | ERROR | @throws tag comment must end with a full stop | |
72 | ERROR | @throws tag comment must end with a full stop | |
80 | ERROR | @param annotation of method \Slim\Interfaces\RouterInterface::pathFor() does not specify type hint for items of its traversable parameter $data. | |
81 | ERROR | @param annotation of method \Slim\Interfaces\RouterInterface::pathFor() does not specify type hint for items of its traversable parameter $queryParams. | |
83 | ERROR | @throws tag comment must end with a full stop | |
84 | ERROR | @throws tag comment must end with a full stop | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Middleware/ErrorMiddleware.php | |
-------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 1 ERROR AFFECTING 1 LINE | |
-------------------------------------------------------------------------------------------------------------------------------- | |
44 | ERROR | @var annotation of property \Slim\Middleware\ErrorMiddleware::$handlers does not specify type hint for its items. | |
-------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Middleware/OutputBufferingMiddleware.php | |
------------------------------------------------------------------------------------------------------------ | |
FOUND 1 ERROR AFFECTING 1 LINE | |
------------------------------------------------------------------------------------------------------------ | |
49 | ERROR | Variable "$style" not allowed in double quoted string; use sprintf() or concatenation instead | |
------------------------------------------------------------------------------------------------------------ | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/MiddlewareRunner.php | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 2 ERRORS AFFECTING 2 LINES | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
32 | ERROR | @param annotation of method \Slim\MiddlewareRunner::__construct() does not specify type hint for items of its traversable parameter $middleware. | |
88 | ERROR | @return annotation of method \Slim\MiddlewareRunner::getMiddleware() does not specify type hint for items of its traversable return value. | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Routable.php | |
------------------------------------------------------------------------------------------------------------------ | |
FOUND 1 ERROR AFFECTING 1 LINE | |
------------------------------------------------------------------------------------------------------------------ | |
61 | ERROR | Variable "$calledClass" not allowed in double quoted string; use sprintf() or concatenation instead | |
------------------------------------------------------------------------------------------------------------------ | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Route.php | |
----------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 7 ERRORS AFFECTING 6 LINES | |
----------------------------------------------------------------------------------------------------------------------------------------------------- | |
72 | ERROR | @var annotation of property \Slim\Route::$arguments does not specify type hint for its items. | |
79 | ERROR | @var annotation of property \Slim\Route::$savedArguments does not specify type hint for its items. | |
205 | ERROR | @param annotation of method \Slim\Route::setArguments() does not specify type hint for items of its traversable parameter $arguments. | |
222 | ERROR | @return annotation of method \Slim\Route::getArguments() does not specify type hint for items of its traversable return value. | |
264 | ERROR | @param annotation of method \Slim\Route::prepare() does not specify type hint for items of its traversable parameter $arguments. | |
326 | ERROR | @throws tag comment must start with a capital letter | |
326 | ERROR | @throws tag comment must end with a full stop | |
----------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/Router.php | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FOUND 17 ERRORS AFFECTING 16 LINES | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
78 | ERROR | [ ] @var annotation of property \Slim\Router::$routes does not specify type hint for its items. | |
270 | ERROR | [ ] @throws tag comment must end with a full stop | |
287 | ERROR | [ ] @throws tag comment must end with a full stop | |
342 | ERROR | [ ] @param annotation of method \Slim\Router::relativePathFor() does not specify type hint for items of its traversable parameter $data. | |
343 | ERROR | [ ] @param annotation of method \Slim\Router::relativePathFor() does not specify type hint for items of its traversable parameter $queryParams. | |
345 | ERROR | [ ] @throws tag comment must end with a full stop | |
346 | ERROR | [ ] @throws tag comment must end with a full stop | |
405 | ERROR | [ ] @param annotation of method \Slim\Router::pathFor() does not specify type hint for items of its traversable parameter $data. | |
406 | ERROR | [ ] @param annotation of method \Slim\Router::pathFor() does not specify type hint for items of its traversable parameter $queryParams. | |
408 | ERROR | [ ] @throws tag comment must end with a full stop | |
409 | ERROR | [ ] @throws tag comment must end with a full stop | |
428 | ERROR | [ ] @param annotation of method \Slim\Router::urlFor() does not specify type hint for items of its traversable parameter $data. | |
429 | ERROR | [ ] @param annotation of method \Slim\Router::urlFor() does not specify type hint for items of its traversable parameter $queryParams. | |
431 | ERROR | [ ] @throws tag comment must end with a full stop | |
432 | ERROR | [ ] @throws tag comment must end with a full stop | |
436 | ERROR | [x] Function trigger_error() should not be referenced via a fallback global name, but via a use statement. | |
436 | ERROR | [x] Constant E_USER_DEPRECATED should not be referenced via a fallback global name, but via a use statement. | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
FILE: /mnt/c/Users/l0gicgate/Dropbox/Software/github/Slim/Slim/RoutingResults.php | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
FOUND 4 ERRORS AFFECTING 4 LINES | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
39 | ERROR | @var annotation of property \Slim\RoutingResults::$routeArguments does not specify type hint for its items. | |
43 | ERROR | @param annotation of method \Slim\RoutingResults::__construct() does not specify type hint for items of its traversable parameter $routeArguments. | |
87 | ERROR | @return annotation of method \Slim\RoutingResults::getRouteArguments() does not specify type hint for items of its traversable return value. | |
104 | ERROR | @return annotation of method \Slim\RoutingResults::getAllowedMethods() does not specify type hint for items of its traversable return value. | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment