- Issue created by @Anybody
- Issue was unassigned.
- Status changed to Needs review
2 months ago 8:10am 8 September 2024 - Status changed to Needs work
2 months ago 8:31am 8 September 2024
Fix PHPCS, phpstan & cspell
phpcs:
------ -----------------------------------------------------------------------
Line src/Twig/DevelDebugLogExtension.php
------ -----------------------------------------------------------------------
43 Parameter $env of method
Drupal\devel_debug_log\Twig\DevelDebugLogExtension::ddl() has invalid
type Twig_Environment.
53 Class Twig_Template not found.
š” Learn more at https://phpstan.org/user-guide/discovering-symbols
------ -----------------------------------------------------------------------
ESLint:
*****************************************************************************************************************************
These are the current ESLINT errors and warnings
*****************************************************************************************************************************
$ $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/eslint --no-error-on-unmatched-pattern --ignore-pattern="*.es6.js" --resolve-plugins-relative-to=$CI_PROJECT_DIR/$_WEB_ROOT/core --ext=.js,.yml $_ESLINT_EXTRA . || true
/builds/project/devel_debug_log/web/modules/custom/devel_debug_log/drupalci.yml
7:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
9:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
12:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
13:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
14:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
15:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
16:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
17:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
18:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
19:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
20:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
23:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
24:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
25:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
26:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
27:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
37:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
ā 17 problems (17 errors, 0 warnings)
$ printf "$DIVIDER\nNow running ESLINT using the --fix option. Any errors shown below are not fixable automatically.$DIVIDER\n"
*****************************************************************************************************************************
Now running ESLINT using the --fix option. Any errors shown below are not fixable automatically.
*****************************************************************************************************************************
$ $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/eslint --no-error-on-unmatched-pattern --ignore-pattern="*.es6.js" --resolve-plugins-relative-to=$CI_PROJECT_DIR/$_WEB_ROOT/core --ext=.js,.yml $_ESLINT_EXTRA --fix . || EXIT_CODE_FIX=$?
/builds/project/devel_debug_log/web/modules/custom/devel_debug_log/drupalci.yml
7:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
9:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
12:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
13:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
14:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
15:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
16:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
17:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
18:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
19:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
20:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
23:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
24:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
25:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
26:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
27:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
37:7 error Empty mapping values are forbidden yml/no-empty-mapping-value
ā 17 problems (17 errors, 0 warnings)
cspell:
csslint
dbcreate
Kint
kint
phplint
runcontainers
startcontainers
Needs work
2.0
Code