FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\pigeon_paywall\CHANGELOG.txt
-------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------
3 | ERROR | [x] Expected 1 newline at end of file; 0 found
-------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\pigeon_paywall\README.md
---------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------
58 | WARNING | Line exceeds 80 characters; contains 81 characters
---------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\pigeon_paywall\src\Form\ConfigForm.php
---------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
10 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
---------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\pigeon_paywall\src\Plugin\Field\FieldFormatter\CheckboxPaywall.php
-----------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
124 | ERROR | [x] Parameter comment must end with a full stop
146 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
-----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------

FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\pigeon_paywall\tests\src\Functional\Form\ConfigFormTest.php
--------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
--------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------

CommentFileSizeAuthor
#2 coding-issue-3311203-2.patch3.05 KBakshay.kelotra

Comments

akshay.kelotra created an issue. See original summary.

akshay.kelotra’s picture

Assigned: akshay.kelotra » Unassigned
Category: Task » Bug report
Status: Active » Needs review
StatusFileSize
new3.05 KB

I have fixed this issue and providing a patch.

damienmckenna’s picture

Status: Needs review » Closed (duplicate)
Parent issue: » #3311212: phpcs --standard=Drupalpractice

This is a duplicate of #3311212.