11 new security issues (0 max.).
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 6
- Added 28
Complexity increasing per file
==============================
- Classes/Common/Helper.php 19
- Classes/Command/BootstrapSetupCommand.php 4
- Classes/Service/BootstrapRootSetupService.php 83
- Resources/Public/JavaScript/Backend/new-tenant-root.js 6
- Classes/Command/TenantSetupCommand.php 14
- Classes/Service/TenantDefaultsSetupService.php 54
- Classes/Service/TenantModuleSetupService.php 12
Complexity decreasing per file
==============================
+ Classes/Controller/Backend/NewTenantController.php -21
See the complete overview on Codacy
Annotations
Check notice on line 21 in Classes/Command/TenantSetupCommand.php
codacy-production / Codacy Static Code Analysis
Classes/Command/TenantSetupCommand.php#L21
Opening brace should be on a new line
Check warning on line 555 in Classes/Common/Helper.php
codacy-production / Codacy Static Code Analysis
Classes/Common/Helper.php#L555
Direct use of $GLOBALS Superglobal detected.
Check warning on line 555 in Classes/Common/Helper.php
codacy-production / Codacy Static Code Analysis
Classes/Common/Helper.php#L555
Direct use of $GLOBALS Superglobal detected.
Check warning on line 560 in Classes/Common/Helper.php
codacy-production / Codacy Static Code Analysis
Classes/Common/Helper.php#L560
Direct use of $GLOBALS Superglobal detected.
Check warning on line 560 in Classes/Common/Helper.php
codacy-production / Codacy Static Code Analysis
Classes/Common/Helper.php#L560
Direct use of $GLOBALS Superglobal detected.
Check notice on line 138 in Classes/Controller/Backend/NewTenantController.php
codacy-production / Codacy Static Code Analysis
Classes/Controller/Backend/NewTenantController.php#L138
Opening parenthesis of a multi-line function call must be the last content on the line
Check notice on line 143 in Classes/Controller/Backend/NewTenantController.php
codacy-production / Codacy Static Code Analysis
Classes/Controller/Backend/NewTenantController.php#L143
Closing parenthesis of a multi-line function call must be on a line by itself
Check notice on line 35 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L35
Closing brace must be on a line by itself
Check notice on line 35 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L35
Opening brace should be on a new line
Check failure on line 98 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L98
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$siteBase'.
Check failure on line 258 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L258
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$siteIdentifier'.
Check failure on line 318 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L318
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$rootPageTitle'.
Check notice on line 346 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L346
Missing @throws tag in function comment
Check failure on line 394 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L394
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$optionName'.
Check notice on line 478 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L478
Opening brace should be on a new line
Check notice on line 28 in Classes/Service/TenantDefaultsSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantDefaultsSetupService.php#L28
Opening brace should be on a new line
Check notice on line 20 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L20
Closing brace must be on a line by itself
Check notice on line 20 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L20
Opening brace should be on a new line
Check notice on line 27 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L27
Missing @throws tag in function comment
Check failure on line 32 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L32
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$configurationPageId'.
Check notice on line 32 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L32
Missing class import via use statement (line '32', column '23').
Check failure on line 35 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L35
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$configurationPageId'.
Check notice on line 35 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L35
Missing class import via use statement (line '35', column '23').
Check failure on line 40 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L40
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$configurationPageId'.
Check notice on line 40 in Classes/Service/TenantModuleSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/TenantModuleSetupService.php#L40
Missing class import via use statement (line '40', column '23').