executed scheduled task
nightly-build-2-x
Pipeline stages
8 stagesConsole Logs
1+ vendor/bin/phpmd src text cleancode
1s2/drone/src/src/Inflector.php:64 MissingImport Missing class import via use statement (line '64', column '14').
1s3/drone/src/src/Inflector.php:68 MissingImport Missing class import via use statement (line '68', column '14').
1s4/drone/src/src/Inflector.php:80 ElseExpression The method addRule uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s5/drone/src/src/Inflector.php:139 ElseExpression The method addWord uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s6/drone/src/src/Inflector.php:218 BooleanArgumentFlag The method getInstance has a boolean flag argument $new, which is a certain sign of a Single Responsibility Principle violation.
1s7/drone/src/src/Normalise.php:40 BooleanArgumentFlag The method fromCamelCase has a boolean flag argument $grouped, which is a certain sign of a Single Responsibility Principle violation.
1s8/drone/src/src/StringHelper.php:65 ElseExpression The method increment uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s9/drone/src/src/StringHelper.php:76 ElseExpression The method increment uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s10/drone/src/src/StringHelper.php:87 ElseExpression The method increment uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s11/drone/src/src/StringHelper.php:155 BooleanArgumentFlag The method strpos has a boolean flag argument $offset, which is a certain sign of a Single Responsibility Principle violation.
1s12/drone/src/src/StringHelper.php:198 BooleanArgumentFlag The method substr has a boolean flag argument $length, which is a certain sign of a Single Responsibility Principle violation.
1s13/drone/src/src/StringHelper.php:345 BooleanArgumentFlag The method strcasecmp has a boolean flag argument $locale, which is a certain sign of a Single Responsibility Principle violation.
1s14/drone/src/src/StringHelper.php:345 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '355', column '8').
1s15/drone/src/src/StringHelper.php:370 ElseExpression The method strcasecmp uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s16/drone/src/src/StringHelper.php:402 BooleanArgumentFlag The method strcmp has a boolean flag argument $locale, which is a certain sign of a Single Responsibility Principle violation.
1s17/drone/src/src/StringHelper.php:402 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '409', column '9').
1s18/drone/src/src/StringHelper.php:424 ElseExpression The method strcmp uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s19/drone/src/src/StringHelper.php:576 BooleanArgumentFlag The method ltrim has a boolean flag argument $charlist, which is a certain sign of a Single Responsibility Principle violation.
1s20/drone/src/src/StringHelper.php:605 BooleanArgumentFlag The method rtrim has a boolean flag argument $charlist, which is a certain sign of a Single Responsibility Principle violation.
1s21/drone/src/src/StringHelper.php:634 BooleanArgumentFlag The method trim has a boolean flag argument $charlist, which is a certain sign of a Single Responsibility Principle violation.
1s22/drone/src/src/StringHelper.php:710 ErrorControlOperator Remove error control operator '@' on line 715.
1s23/drone/src/src/phputf8/mbstring/core.php:39 BooleanArgumentFlag The method utf8_strpos has a boolean flag argument $offset, which is a certain sign of a Single Responsibility Principle violation.
1s24/drone/src/src/phputf8/mbstring/core.php:42 ElseExpression The method utf8_strpos uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s25/drone/src/src/phputf8/mbstring/core.php:58 BooleanArgumentFlag The method utf8_strrpos has a boolean flag argument $offset, which is a certain sign of a Single Responsibility Principle violation.
1s26/drone/src/src/phputf8/mbstring/core.php:58 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '73', column '26').
1s27/drone/src/src/phputf8/mbstring/core.php:65 ElseExpression The method utf8_strrpos uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s28/drone/src/src/phputf8/mbstring/core.php:92 BooleanArgumentFlag The method utf8_substr has a boolean flag argument $length, which is a certain sign of a Single Responsibility Principle violation.
1s29/drone/src/src/phputf8/mbstring/core.php:95 ElseExpression The method utf8_substr uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s30/drone/src/src/phputf8/native/core.php:50 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '69', column '26').
1s31/drone/src/src/phputf8/native/core.php:60 ElseExpression The method utf8_strpos uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s32/drone/src/src/phputf8/native/core.php:93 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '116', column '26').
1s33/drone/src/src/phputf8/native/core.php:107 ElseExpression The method utf8_strrpos uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s34/drone/src/src/phputf8/native/core.php:194 ElseExpression The method utf8_substr uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s35/drone/src/src/phputf8/native/core.php:207 ElseExpression The method utf8_substr uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s36/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00DE, first declared at line 309.
1s37/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00D0, first declared at line 309.
1s38/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00DE, first declared at line 321.
1s39/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x039B, first declared at line 324.
1s40/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00D0, first declared at line 325.
1s41/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x0407, first declared at line 325.
1s42/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00FE, first declared at line 396.
1s43/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00F0, first declared at line 396.
1s44/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00FE, first declared at line 408.
1s45/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x03BB, first declared at line 411.
1s46/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00F0, first declared at line 412.
1s47/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x0457, first declared at line 412.
1s48/drone/src/src/phputf8/str_ireplace.php:49 ElseExpression The method utf8_ireplace uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s49/drone/src/src/phputf8/str_ireplace.php:59 ElseExpression The method utf8_ireplace uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s50/drone/src/src/phputf8/str_ireplace.php:65 ElseExpression The method utf8_ireplace uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s51/drone/src/src/phputf8/trim.php:18 BooleanArgumentFlag The method utf8_ltrim has a boolean flag argument $charlist, which is a certain sign of a Single Responsibility Principle violation.
1s52/drone/src/src/phputf8/trim.php:39 BooleanArgumentFlag The method utf8_rtrim has a boolean flag argument $charlist, which is a certain sign of a Single Responsibility Principle violation.
1s53/drone/src/src/phputf8/trim.php:60 BooleanArgumentFlag The method utf8_trim has a boolean flag argument $charlist, which is a certain sign of a Single Responsibility Principle violation.
1s54/drone/src/src/phputf8/utils/bad.php:155 ElseExpression The method utf8_bad_replace uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s55/drone/src/src/phputf8/utils/bad.php:300 ElseExpression The method utf8_bad_identify uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s56/drone/src/src/phputf8/utils/bad.php:307 ElseExpression The method utf8_bad_identify uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s57/drone/src/src/phputf8/utils/bad.php:346 ElseExpression The method utf8_bad_identify uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s58/drone/src/src/phputf8/utils/position.php:77 ElseExpression The method utf8_byte_position uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s59/drone/src/src/phputf8/utils/position.php:95 ElseExpression The method utf8_byte_position uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s60/drone/src/src/phputf8/utils/unicode.php:105 ElseExpression The method utf8_to_unicode uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s61/drone/src/src/phputf8/utils/unicode.php:118 ElseExpression The method utf8_to_unicode uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s62/drone/src/src/phputf8/utils/unicode.php:170 ElseExpression The method utf8_to_unicode uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s63/drone/src/src/phputf8/utils/unicode.php:255 ElseExpression The method utf8_from_unicode uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s64/drone/src/src/phputf8/utils/validation.php:98 ElseExpression The method utf8_is_valid uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s65/drone/src/src/phputf8/utils/validation.php:106 ElseExpression The method utf8_is_valid uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s66/drone/src/src/phputf8/utils/validation.php:147 ElseExpression The method utf8_is_valid uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
1s