0m 28s
Jan 20, 2025, 12:17 AM

router

Remove broken codestyle rule

Hackwar
executed scheduled task
nightly-build-2-x

Pipeline stages

8 stages

Console Logs

1+ vendor/bin/phpmd src text cleancode 0s
2/drone/src/src/Command/DebugRouterCommand.php:130 ElseExpression The method doExecute uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
3/drone/src/src/Command/DebugRouterCommand.php:167 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '193', column '8'). 0s
4/drone/src/src/Command/DebugRouterCommand.php:186 MissingImport Missing class import via use statement (line '186', column '13'). 0s
5/drone/src/src/Command/DebugRouterCommand.php:206 MissingImport Missing class import via use statement (line '206', column '13'). 0s
6/drone/src/src/Route.php:153 ElseExpression The method buildRegexAndVarList uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
7/drone/src/src/Route.php:399 MissingImport Missing class import via use statement (line '399', column '15'). 0s
8/drone/src/src/Router.php:76 ElseExpression The method addRoutes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
9/drone/src/src/Router.php:80 MissingImport Missing class import via use statement (line '80', column '16'). 0s
10/drone/src/src/Router.php:86 MissingImport Missing class import via use statement (line '86', column '16'). 0s
Exit Code 2