fix(security): implement strict authorization for store settings update #5721
phpcs.yml
on: pull_request
Run PHPCS inspection
17s
Annotations
6 errors and 5 warnings
|
Run PHPCS inspection
Process completed with exit code 1.
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L263
Line indented incorrectly; expected at least 2 tabs, found 1 tabs and 3 spaces
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L190
Closing parenthesis of a multi-line function call must be on a line by itself
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L171
Opening parenthesis of a multi-line function call must be the last content on the line
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L85
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L72
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L394
Found precision alignment of 1 spaces.
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L263
Found precision alignment of 3 spaces.
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L81
Detected usage of meta_query, possible slow query.
|
|
Run PHPCS inspection:
includes/Vendor/Manager.php#L55
Detected usage of meta_query, possible slow query.
|
|
Run PHPCS inspection:
includes/REST/StoreSettingController.php#L160
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
|