Problem/Motivation
The variable been added in #3129534: Automatically enable the module that is providing the current database driver but now it's blocker to make any changes in system.install file
For example patch from #2552061-25: system_requirements() PDO warning overwrites other PHP messages fails https://www.drupal.org/pift-ci-job/2518122
Checking core/modules/system/system.install
FILE: /var/www/html/core/modules/system/system.install
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
1269 | WARNING | Unused variable $pos.
----------------------------------------------------------------------
Proposed resolution
Clean it up
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3320483-2.patch | 899 bytes | andypost |
Comments
Comment #2
andypostComment #3
andypostComment #4
mondrakeYes I also noticed the same in another issue and fixed the same way.
Weird that it skipped to PHPCS checks.
Comment #5
andypostLooks phpcs checking only changed files(
Comment #7
catchCommitted/pushed to 10.1.x, cherry-picked to 10.0x. and 9.5,x, thanks!