- Issue created by @BenStallings
- πΊπΈUnited States BenStallings
not sure why the test pipeline is failing
- First commit to issue fork.
- π§πͺBelgium dieterholvoet Brussels
Pipeline is passing now, but still some phpstan & cspell warnings.
Phpcs reports,
FILE: ...env/web/modules/custom/dotenv/tests/src/Unit/DotenvServiceProviderTest.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
28 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
| | (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
35 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 8
| | (Drupal.WhiteSpace.ScopeIndent.IncorrectExact)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
FILE: ...roject/dotenv/web/modules/custom/dotenv/src/Commands/DotenvInitCommand.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
76 | ERROR | [x] The first parameter of a multi-line function declaration must
| | be on the line after the opening bracket
| | (Drupal.Functions.MultiLineFunctionDeclaration.FirstParamSpacing)
80 | ERROR | [x] Multi-line function declarations must have a trailing comma
| | after the last parameter
| | (Drupal.Functions.MultiLineFunctionDeclaration.MissingTrailingComma)
80 | ERROR | [x] The closing parenthesis of a multi-line function declaration
| | must be on a new line
| | (Drupal.Functions.MultiLineFunctionDeclaration.CloseBracketLine)
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 125ms; Memory: 6MB
PHP CODE SNIFFER REPORT SUMMARY
--------------------------------------------------------------------------------
FILE ERRORS WARNINGS
--------------------------------------------------------------------------------
...eb/modules/custom/dotenv/src/Commands/DotenvInitCommand.php 3 0
.../custom/dotenv/tests/src/Unit/DotenvServiceProviderTest.php 2 0
--------------------------------------------------------------------------------
A TOTAL OF 5 ERRORS AND 0 WARNINGS WERE FOUND IN 4 FILES
--------------------------------------------------------------------------------
PHPCBF CAN FIX 5 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
PHP CODE SNIFFER VIOLATION SOURCE SUMMARY
-----------------------------------------------------------------------------
SOURCE COUNT
-----------------------------------------------------------------------------
[x] Drupal.WhiteSpace.ScopeIndent.IncorrectExact 2
[x] Drupal.Functions.MultiLineFunctionDeclaration.CloseBracketLine 1
[x] Drupal.Functions.MultiLineFunctionDeclaration.FirstParamSpacing 1
[x] Drupal.Functions.MultiLineFunctionDeclaration.MissingTrailingComma 1
-----------------------------------------------------------------------------
see https://git.drupalcode.org/project/dotenv/-/jobs/2392325
make a MR
Active
1.2
Code
not sure why the test pipeline is failing
Pipeline is passing now, but still some phpstan & cspell warnings.