Problem/Motivation

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

JoshaHubbers created an issue. See original summary.

joshahubbers’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.