[FEATURE] Add a automated "bootstrap" pagetree setup#1979
4 new security issues (0 max.).
Here is an overview of what got changed by this pull request:
Issues
======
- Added 12
Complexity increasing per file
==============================
- Classes/Controller/Backend/NewTenantController.php 5
- Classes/Command/BootstrapSetupCommand.php 4
- Classes/Service/BootstrapRootSetupService.php 83
- Resources/Public/JavaScript/Backend/new-tenant-root.js 6
See the complete overview on Codacy
Annotations
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 notice on line 250 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L250
Whitespace found at end of line
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 329 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L329
Missing @throws tag in function comment
Check failure on line 393 in Classes/Service/BootstrapRootSetupService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/BootstrapRootSetupService.php#L393
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
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
Check notice on line 2 in Resources/Public/JavaScript/Backend/new-tenant-root.js
codacy-production / Codacy Static Code Analysis
Resources/Public/JavaScript/Backend/new-tenant-root.js#L2
Missing JSDoc comment.
Check notice on line 11 in Resources/Public/JavaScript/Backend/new-tenant-root.js
codacy-production / Codacy Static Code Analysis
Resources/Public/JavaScript/Backend/new-tenant-root.js#L11
.delete is a syntax error.
Check notice on line 410 in Resources/Public/Stylesheets/default-viewer.css
codacy-production / Codacy Static Code Analysis
Resources/Public/Stylesheets/default-viewer.css#L410
Expected empty line before rule (rule-empty-line-before)