- Issue created by @kinyein
FILE: ...exclusiv_access/src/EventSubscriber/AccessCheck.php
--------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------------------------------------------------------
44 | ERROR | [x] The first parameter of a multi-line function declaration must be on the line after the opening bracket
45 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 30
46 | ERROR | [x] Multi-line function declaration not indented correctly; expected 4 spaces but found 30
46 | ERROR | [x] Multi-line function declarations must have a trailing comma after the last parameter
46 | ERROR | [x] The closing parenthesis of a multi-line function declaration must be on a new line
--------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------
FILE: ...exclusiv_access/src/Plugin/Field/FieldWidget/ExclusivAccessFieldWidget.php
--------------------------------------------------------------------------------------------------------------------------------------FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------- 36 | ERROR | [x] Use null coalesce operator instead of ternary operator.
--------------------------------------------------------------------------------------------------------------------------------------PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------
Time: 78ms; Memory: 10MB
Active
3.0
Code