Closed (fixed)
Project:
Datetime testing
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2024 at 07:52 UTC
Updated:
8 Oct 2024 at 10:14 UTC
Jump to comment: Most recent
FILE: .../web/modules/custom/datetime_testing/tests/src/Kernel/UnpinnedTimeTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first
| | wrong one is Drupal\KernelTests\KernelTestBase.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...ng/web/modules/custom/datetime_testing/tests/src/Kernel/PinnedTimeTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first
| | wrong one is Drupal\KernelTests\KernelTestBase.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...stom/datetime_testing/tests/src/Functional/TestDatetimeTestingCommands.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first
| | wrong one is Drupal\Tests\BrowserTestBase.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 271ms; Memory: 6MB
PHP CODE SNIFFER REPORT SUMMARY
--------------------------------------------------------------------------------
FILE ERRORS WARNINGS
--------------------------------------------------------------------------------
...esting/tests/src/Functional/TestDatetimeTestingCommands.php 1 0
...custom/datetime_testing/tests/src/Kernel/PinnedTimeTest.php 1 0
...stom/datetime_testing/tests/src/Kernel/UnpinnedTimeTest.php 1 0
--------------------------------------------------------------------------------
A TOTAL OF 3 ERRORS AND 0 WARNINGS WERE FOUND IN 10 FILES
--------------------------------------------------------------------------------
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
sarwan_verma commentedComment #4
ptmkenny commentedComment #6
ptmkenny commentedComment #7
ptmkenny commented@sarwan_verma: I'm sorry, I had already created the MR when I made this issue, so I overrode your assignment. I'll try to remember to assign such issues to myself in the future.