$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml vbo_export/
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9000 (through xdebug.client_host/xdebug.client_port) :-(
FILE: C:\Users\SI-001\Downloads\vbo_export\src\Plugin\Action\VboExportBase.php
------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------
114 | ERROR | [x] Use null coalesce operator instead of ternary operator.
120 | ERROR | [x] Use null coalesce operator instead of ternary operator.
150 | ERROR | [x] Use null coalesce operator instead of ternary operator.
156 | ERROR | [x] Use null coalesce operator instead of ternary operator.
------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------
FILE: C:\Users\SI-001\Downloads\vbo_export\src\Plugin\Action\VboExportCsv.php
-----------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------
35 | ERROR | [x] Use null coalesce operator instead of ternary operator.
-----------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------
FILE: C:\Users\SI-001\Downloads\vbo_export\src\Plugin\Action\VboExportPdf.php
--------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------
15 | ERROR | [x] There must be one blank line after the last USE statement; 0 found;
31 | ERROR | [ ] Missing @var tag in member variable comment
81 | ERROR | [x] Use null coalesce operator instead of ternary operator.
90 | ERROR | [x] Use null coalesce operator instead of ternary operator.
--------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------
Time: 513ms; Memory: 10MB
Closed: duplicate
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.