Closed (fixed)
Project:
Prevent page deletion
Version:
2.0.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2023 at 14:08 UTC
Updated:
28 Apr 2023 at 14:24 UTC
Jump to comment: Most recent
phpcs report for /Users/joshahubbers/Sites/modules/prevent_homepage_deletion/.
FILE: /Users/joshahubbers/Sites/modules/prevent_homepage_deletion/tests/src/Functional/DeleteHomepageTest.php
-------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 5 LINES
-------------------------------------------------------------------------------------------------------------
12 | ERROR | [x] Additional blank lines found at end of doc comment
34 | ERROR | [x] There must be exactly one blank line before the tags in a doc comment
36 | ERROR | [ ] Class property $page_home should use lowerCamel naming without underscores
37 | ERROR | [ ] Class property $page_not_home should use lowerCamel naming without underscores
37 | ERROR | [ ] Missing member variable doc comment
51 | ERROR | [x] Concat operator must be surrounded by a single space
-------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------
FILE: /Users/joshahubbers/Sites/modules/prevent_homepage_deletion/README.md
---------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------
41 | ERROR | [x] Expected 1 newline at end of file; 2 found
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------
FILE: /Users/joshahubbers/Sites/modules/prevent_homepage_deletion/prevent_homepage_deletion.module
--------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------
53 | ERROR | Missing parameter comment
54 | ERROR | Missing parameter comment
56 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------------------------
Time: 298ms; Memory: 10MB
Comments
Comment #3
joshahubbers commented