Problem/Motivation

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
----------------------------------------------------------------------------------------------------

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

liber_t created an issue. See original summary.

  • liber_t committed 7072d06 on 1.0.x
    Issue #3197695 by liber_t: Fix phpcs error and fix Missing function's...
liber_t’s picture

Assigned: liber_t » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.