FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\qrcode.install
----------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
----------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\qrcode.module
----------------------------------------------------------------------------------
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
----------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\README.md
----------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
----------------------------------------------------------------------
14 | WARNING | Line exceeds 80 characters; contains 156 characters
26 | WARNING | Line exceeds 80 characters; contains 99 characters
----------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\Controller\QRCodeController.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
---------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\Entity\QRCode.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
----------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\EventSubscriber\QRCodeRequestSubscriber.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
---------------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\Form\QRCodeDeleteForm.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
---------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\Form\QRCodeForm.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
----------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\Form\QRCodeSettingsForm.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
-----------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\Plugin\views\field\QRCodeThumbnailField.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
---------------------------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\QRCodeInterface.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
----------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\QRCodeRepository.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
----------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\QRCodeStorageSchema.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
-------------------------------------------------------------------------------------
FILE: C:\xampp\htdocs\drupal95\web\modules\contrib\qrcode\src\QRCodeViewsData.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
----------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | drupal-standard-coding-issue-3311815-5.patch | 4.67 KB | Arturo-q |
| #2 | drupal-standard-coding-issue-3311815-2.patch | 1.08 KB | akshay.kelotra |
Issue fork qrcode-3311815
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
akshay.kelotra commentedI have fixed this issue and providing a patch.
Comment #3
Arturo-q commentedHello, I will review it!.
Comment #4
Arturo-q commentedThe Patch #2 solve some CS, but I found more on QRCodeViewsData.php, QRCodeForm.php and QRCodeSettingsForm.php
Changing status to needs work, and I will be working on it.
Comment #5
Arturo-q commentedI've solved all the CS errors, but I'm not sure if
$this->configFactory->get('qrcode.settings')->get('enable_direct_urls')on QRCodeForm.phpIs the dependency injection way there
Please review.
Comment #6
urvashi_vora commentedHi,
I will review this
Comment #7
urvashi_vora commentedHi,
I applied your patch. It applied clenly.
Thanks for the patch.
Comment #8
urvashi_vora commentedNo errors found later. Moving it to RTBC.
Comment #10
eakroko commentedComment #11
eakroko commented