Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Whilst working on #3264918: Update symfony/console to Symfony 6 I've discovered that the argument $root
in $data = $this->provideTemplateCreateProject($root);
is unneeded, since that method doesn't require any parameters.
Proposed resolution
- Remove argument $root
in MR
- Review
- Commit
- Move along, nothing to see here.
Issue fork drupal-3267900
Show commands
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:
- 3267900-unneeded-argument-root changes, plain diff MR !1929
Comments
Comment #3
SpokjeComment #4
longwavePHPStan level 1 will find all these for us - this was added to the baseline in #3190406: Update PHPStan to level 1
Comment #6
catchCommitted/pushed to 10.1.x, cherry-picked to 10.0.x and 9.5.x, thanks!