- Issue created by @paulrad
- Merge request !5#3419820 - added notice about the Some pager effect on tokens in the description β (Open) created by paulrad
- Issue was unassigned.
- Status changed to Needs review
9 months ago 4:37pm 7 February 2024 - Status changed to Needs work
4 months ago 7:11am 2 August 2024 - πΊπ¦Ukraine _shy Ukraine, Lutsk πΊπ¦
_paulrad,
Please, fix the coding standards that we get after pipelines.
phpcs:
FILE: ...ustom/views_extras-3419820/src/Plugin/views/argument_default/TempStore.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 12 | ERROR | [x] Use statements should be sorted alphabetically. The first | | wrong one is Drupal\Core\TempStore\PrivateTempStoreFactory. | | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses) -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- Time: 200ms; Memory: 6MB PHP CODE SNIFFER REPORT SUMMARY -------------------------------------------------------------------------------- FILE ERRORS WARNINGS -------------------------------------------------------------------------------- ...ras-3419820/src/Plugin/views/argument_default/TempStore.php 1 0 -------------------------------------------------------------------------------- A TOTAL OF 1 ERROR AND 0 WARNINGS WERE FOUND IN 5 FILES -------------------------------------------------------------------------------- PHPCBF CAN FIX 1 OF THESE SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- PHP CODE SNIFFER VIOLATION SOURCE SUMMARY -------------------------------------------------------------------------------- SOURCE COUNT -------------------------------------------------------------------------------- [x] SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.Incorrectl 1 -------------------------------------------------------------------------------- A TOTAL OF 1 SNIFF VIOLATION WERE FOUND IN 1 SOURCE -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SOURCES AUTOMATICALLY (1 VIOLATIONS IN TOTAL) --------------------------------------------------------------------------------
phpstan:
------ ---------------------------------------------------------------------- Line src/Plugin/views/area/ExtraResult.php ------ ---------------------------------------------------------------------- 52 \Drupal calls should be avoided in classes, use dependency injection instead ------ ---------------------------------------------------------------------- ------ ------------------------------------------------------------------------------ Line src/Plugin/views/argument_default/Cookie.php ------ ------------------------------------------------------------------------------ 75 Unsafe usage of new static(). π‘ See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static ------ ------------------------------------------------------------------------------ ------ ------------------------------------------------------------------------------ Line src/Plugin/views/argument_default/Session.php ------ ------------------------------------------------------------------------------ 74 Unsafe usage of new static(). π‘ See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static ------ ------------------------------------------------------------------------------ ------ ------------------------------------------------------------------------------ Line src/Plugin/views/argument_default/TempStore.php ------ ------------------------------------------------------------------------------ 84 Unsafe usage of new static(). π‘ See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static ------ ------------------------------------------------------------------------------ [ERROR] Found 4 errors