0m 29s
Feb 5, 2025, 12:02 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'). 0s
3/drone/src/src/Inflector.php:68 MissingImport Missing class import via use statement (line '68', column '14'). 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
14/drone/src/src/StringHelper.php:345 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '355', column '8'). 0s
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. 0s
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. 0s
17/drone/src/src/StringHelper.php:402 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '409', column '9'). 0s
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. 0s
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. 0s
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. 0s
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. 0s
22/drone/src/src/StringHelper.php:710 ErrorControlOperator Remove error control operator '@' on line 715. 0s
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. 0s
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. 0s
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. 0s
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'). 0s
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. 0s
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. 0s
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. 0s
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'). 0s
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. 0s
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'). 0s
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. 0s
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. 0s
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. 0s
36/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00DE, first declared at line 309. 0s
37/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00D0, first declared at line 309. 0s
38/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00DE, first declared at line 321. 0s
39/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x039B, first declared at line 324. 0s
40/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x00D0, first declared at line 325. 0s
41/drone/src/src/phputf8/native/core.php:282 DuplicatedArrayKey Duplicated array key 0x0407, first declared at line 325. 0s
42/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00FE, first declared at line 396. 0s
43/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00F0, first declared at line 396. 0s
44/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00FE, first declared at line 408. 0s
45/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x03BB, first declared at line 411. 0s
46/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x00F0, first declared at line 412. 0s
47/drone/src/src/phputf8/native/core.php:369 DuplicatedArrayKey Duplicated array key 0x0457, first declared at line 412. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
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. 0s
Exit Code 2