0m 26s
Jan 13, 2025, 12:17 AM

string

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/Inflector.php:64 MissingImport Missing class import via use statement (line '64', column '14'). 1s
3/drone/src/src/Inflector.php:68 MissingImport Missing class import via use statement (line '68', column '14'). 1s
4/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. 1s
5/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. 1s
6/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. 1s
7/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. 1s
8/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. 1s
9/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. 1s
10/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. 1s
11/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. 1s
12/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. 1s
13/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. 1s
14/drone/src/src/StringHelper.php:345 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '355', column '8'). 1s
15/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. 1s
16/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. 1s
17/drone/src/src/StringHelper.php:402 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '409', column '9'). 1s
18/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. 1s
19/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. 1s
20/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. 1s
21/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. 1s
22/drone/src/src/StringHelper.php:710 ErrorControlOperator Remove error control operator '@' on line 715. 1s
23/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. 1s
24/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. 1s
25/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. 1s
26/drone/src/src/phputf8/mbstring/core.php:58 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '73', column '26'). 1s
27/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. 1s
28/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. 1s
29/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. 1s
30/drone/src/src/phputf8/native/core.php:50 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '69', column '26'). 1s
31/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. 1s
32/drone/src/src/phputf8/native/core.php:93 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '116', column '26'). 1s
33/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. 1s
34/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. 1s
35/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. 1s
36/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00DE, first declared at line 309. 1s
37/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00D0, first declared at line 309. 1s
38/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00DE, first declared at line 321. 1s
39/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x039B, first declared at line 324. 1s
40/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00D0, first declared at line 325. 1s
41/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x0407, first declared at line 325. 1s
42/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00FE, first declared at line 396. 1s
43/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00F0, first declared at line 396. 1s
44/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00FE, first declared at line 408. 1s
45/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x03BB, first declared at line 411. 1s
46/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00F0, first declared at line 412. 1s
47/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x0457, first declared at line 412. 1s
48/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. 1s
49/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. 1s
50/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. 1s
51/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. 1s
52/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. 1s
53/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. 1s
54/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. 1s
55/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. 1s
56/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. 1s
57/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. 1s
58/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. 1s
59/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. 1s
60/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. 1s
61/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. 1s
62/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. 1s
63/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. 1s
64/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. 1s
65/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. 1s
66/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
Exit Code 2