Coding standards issue

Created on 6 December 2024, 3 months ago

Problem/Motivation

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

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇨🇴Colombia kinyein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024