Problem/Motivation
All pipelines (both MR and scheduled) are failing again with PHPStan complaining about new deprecations. Both 2.1.x and 2.0.x branches of address.
#3623506: Port to upstream addressing v2.3 API tried to fix it, but was changing way too much, and doing so in potentially disruptive ways.
I think we need to keep tweaking our .gitlab-ci.yml and phpstan config so that we ignore deprecations on the 2.0.x branch, and most pipelines in the 2.1.x branch. We already have a separate, manual "with-deprecations" job we can run if we want to see what's coming. But we don't want to "fix" pipelines that fail anywhere else due to new deprecations.
Steps to reproduce
Proposed resolution
- Ensure we only see new deprecations on the
phpunit-d11_next-all_deprecationsjob. Suppress them on other phpunit jobs. - Keep tweaking phpstan config if needed to ignore new deprecations on stable branches.
- ...
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3634183-4.pipeline.jpg | 194.37 KB | dww |
Issue fork address-3634183
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:
Comments
Comment #2
dww(this isn't just about phpstan)
Comment #4
dwwhttps://git.drupalcode.org/project/address/-/pipelines/1023291 looks exactly how we want.
This commit cherry-picks cleanly to 2.0.x, so no need for a 2nd branch and MR (yet).
With other recent commits, phpstan is actually passing everywhere again.
So maybe this is all we need to be happy (for now)?
Comment #7
dwwPushed to 2.1.x, cherry-picked and pushed to 2.0.x.
Comment #9
dwwIt's working, but I didn't notice the big scary warning:
https://git.drupalcode.org/project/address/-/jobs/13229735#L488
I'm going to fix this up.
Comment #13
dww