Closed (fixed)
Project:
Paragraphs Usage
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2021 at 11:50 UTC
Updated:
24 Feb 2021 at 12:19 UTC
Jump to comment: Most recent
FILE: project/web/modules/custom/paragraphs_usage/src/Plugin/Derivative/ParagraphsUsageMenuLinks.php
----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
1 | ERROR | Missing required strict_types declaration
----------------------------------------------------------------------------------------------------
FILE: project/web/modules/custom/paragraphs_usage/src/EntityTypeInfo.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [ ] Missing required strict_types declaration
7 | WARNING | [x] Unused use statement
86 | WARNING | [ ] t() calls should be avoided in classes, use \Drupal\Core\StringTranslation\StringTranslationTrait and $this->t() instead
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------
FILE: project/web/modules/custom/paragraphs_usage/src/Routing/RouteSubscriber.php
---------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------
1 | ERROR | Missing required strict_types declaration
---------------------------------------------------------------------------------
FILE: project/web/modules/custom/paragraphs_usage/src/Plugin/Derivative/ParagraphsUsageLocalTask.php
----------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
1 | ERROR | Missing required strict_types declaration
----------------------------------------------------------------------------------------------------
Comments
Comment #3
liber_t