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

registry

deprecated version Update Registry.php (#73)

brianteeman
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/Factory.php:45 MissingImport Missing class import via use statement (line '45', column '27'). 0s
3/drone/src/src/Factory.php:51 MissingImport Missing class import via use statement (line '51', column '27'). 0s
4/drone/src/src/Format/Ini.php:85 StaticAccess Avoid using static access to class '\Joomla\Utilities\ArrayHelper' in method 'objectToString'. 0s
5/drone/src/src/Format/Ini.php:91 ElseExpression The method objectToString 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/Format/Ini.php:101 StaticAccess Avoid using static access to class '\Joomla\Utilities\ArrayHelper' in method 'objectToString'. 0s
7/drone/src/src/Format/Ini.php:107 ElseExpression The method objectToString uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
8/drone/src/src/Format/Ini.php:127 IfStatementAssignment Avoid assigning values to variables in if clauses and the like (line '182', column '47'). 0s
9/drone/src/src/Format/Ini.php:140 MissingImport Missing class import via use statement (line '140', column '24'). 0s
10/drone/src/src/Format/Ini.php:143 MissingImport Missing class import via use statement (line '143', column '24'). 0s
11/drone/src/src/Format/Ini.php:164 MissingImport Missing class import via use statement (line '164', column '42'). 0s
12/drone/src/src/Format/Ini.php:194 ElseExpression The method stringToObject uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
13/drone/src/src/Format/Ini.php:212 ElseExpression The method stringToObject uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
14/drone/src/src/Format/Ini.php:229 ElseExpression The method stringToObject uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
15/drone/src/src/Format/Ini.php:244 ElseExpression The method stringToObject 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/Format/Ini.php:247 ElseExpression The method stringToObject uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
17/drone/src/src/Format/Ini.php:250 ElseExpression The method stringToObject uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
18/drone/src/src/Format/Ini.php:258 ElseExpression The method stringToObject 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/Format/Ini.php:261 ElseExpression The method stringToObject uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
20/drone/src/src/Format/Json.php:59 MissingImport Missing class import via use statement (line '59', column '24'). 0s
21/drone/src/src/Format/Json.php:71 MissingImport Missing class import via use statement (line '71', column '23'). 0s
22/drone/src/src/Format/Php.php:77 MissingImport Missing class import via use statement (line '77', column '20'). 0s
23/drone/src/src/Format/Xml.php:59 MissingImport Missing class import via use statement (line '59', column '20'). 0s
24/drone/src/src/Format/Xml.php:111 MissingImport Missing class import via use statement (line '111', column '30'). 0s
25/drone/src/src/Format/Xml.php:142 ElseExpression The method getXmlChildren uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
26/drone/src/src/Format/Yaml.php:50 MissingImport Missing class import via use statement (line '50', column '23'). 0s
27/drone/src/src/Registry.php:59 MissingImport Missing class import via use statement (line '59', column '27'). 0s
28/drone/src/src/Registry.php:161 ElseExpression The method exists uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
29/drone/src/src/Registry.php:256 MissingImport Missing class import via use statement (line '256', column '20'). 0s
30/drone/src/src/Registry.php:271 BooleanArgumentFlag The method loadArray has a boolean flag argument $flattened, which is a certain sign of a Single Responsibility Principle violation. 0s
31/drone/src/src/Registry.php:363 BooleanArgumentFlag The method merge has a boolean flag argument $recursive, which is a certain sign of a Single Responsibility Principle violation. 0s
32/drone/src/src/Registry.php:466 ElseExpression The method set uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
33/drone/src/src/Registry.php:483 ElseExpression The method set 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/Registry.php:498 MissingImport Missing class import via use statement (line '498', column '47'). 0s
35/drone/src/src/Registry.php:509 MissingImport Missing class import via use statement (line '509', column '45'). 0s
36/drone/src/src/Registry.php:558 ElseExpression The method append uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. 0s
37/drone/src/src/Registry.php:571 MissingImport Missing class import via use statement (line '571', column '51'). 0s
38/drone/src/src/Registry.php:578 MissingImport Missing class import via use statement (line '578', column '49'). 0s
39/drone/src/src/Registry.php:731 BooleanArgumentFlag The method bindData has a boolean flag argument $recursive, which is a certain sign of a Single Responsibility Principle violation. 0s
40/drone/src/src/Registry.php:731 BooleanArgumentFlag The method bindData has a boolean flag argument $allowNull, which is a certain sign of a Single Responsibility Principle violation. 0s
41/drone/src/src/Registry.php:744 StaticAccess Avoid using static access to class '\Joomla\Utilities\ArrayHelper' in method 'bindData'. 0s
42/drone/src/src/Registry.php:746 MissingImport Missing class import via use statement (line '746', column '39'). 0s
43/drone/src/src/Registry.php:870 MissingImport Missing class import via use statement (line '870', column '31'). 0s
44/drone/src/src/Registry.php:922 MissingImport Missing class import via use statement (line '922', column '31'). 0s
Exit Code 2