doctrine / lexer

Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
https://www.doctrine-project.org/projects/lexer.html
MIT License
11.07k stars 60 forks source link

Fix PSR-2 errors. #10

Closed Aliance closed 6 years ago

Aliance commented 7 years ago
phpcs --standard=PSR2 ./vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php

FILE: <...>/vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php
------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------
 135 | ERROR | [x] Whitespace found at end of line
 249 | ERROR | [x] Expected 0 spaces after opening bracket; 1 found
------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------

Time: 148ms; Memory: 6Mb