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
The #[AllowDynamicProperties]
been merged into 1.8.1 release via https://github.com/phpstan/phpstan-src/pull/1478, but it was not enough to cover it properly. 1.8.2 should fix that and we should update to it when its available
Steps to reproduce
Proposed resolution
Upgrade to https://github.com/phpstan/phpstan/releases/tag/1.8.2 when it becomes available to allow testing PHP 8.2.
Remaining tasks
Await 1.8.2, update to it.
User interface changes
no
API changes
no
Data model changes
no
Release notes snippet
no
Comment | File | Size | Author |
---|---|---|---|
#3 | 3298199-3.patch | 2.34 KB | andypost |
Comments
Comment #2
andypostThere will be much more changes related to PHP 8.2 https://github.com/phpstan/phpstan-src/commit/22561e7f12e29bbcaec1b4c3fb... so it will need to re-check #3274474: Fix 'Access to an undefined property' PHPStan L0 errors
Comment #3
andypostHere it is https://github.com/phpstan/phpstan/releases/tag/1.8.2
Comment #4
SpokjeLGTM
Comment #5
andypostClearer title
Comment #6
alexpottCommitted and pushed 94c7446e4c to 10.1.x and 9dc3928ba4 to 10.0.x. Thanks!
Comment #9
andypostThank you!next blocker is upgrade of
mglaman/phpstan-drupal
to 1.1.25 https://github.com/mglaman/phpstan-drupal/commit/8acaa1e4a15b266cfbd404c... it will unblock testing
Comment #10
andypostNot clear why https://www.drupal.org/pift-ci-job/2420734 fails after this commit but locally it passes, hope next one will be #3298396: Upgrade composer requirement to 2.3.6 to prevent warnings on PHP 8.2
Comment #11
xjm