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
phpstan 0.11.8 and phpstan-deprecation-rules 0.11.2 were released recently with support for @deprecation rule printing. We should use them now. phpstan-drupal keeps being incompatible with nette 3 though, so we need to exclude those.
Proposed resolution
Do it.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#15 | Screenshot 2019-07-10 at 17.13.21.png | 151.89 KB | Gábor Hojtsy |
#10 | Bildschirmfoto 2019-06-12 um 14.00.26.png | 304.62 KB | kfritsche |
#6 | 3057853-6.patch | 734 bytes | Gábor Hojtsy |
#2 | 3057853.patch | 613 bytes | Gábor Hojtsy |
Comments
Comment #2
Gábor HojtsyComment #5
Gábor HojtsyI rolled this back due to incompatibilties between phpstan-drupal and phpstan requirements. Conflicts documented on https://github.com/phpstan/phpstan/issues/2150#issuecomment-496930998 in the phpstan realm at least. phpstan-drupal rules out nette/di 3 so it cannot take a phpstan needing nette/schema 1 so I rolled back to two phpstan versions back for now.
Comment #6
Gábor Hojtsyphpstan-drupal update was released, taking the new versions then.
Comment #9
Gábor HojtsyI put this on a separate branch for now given the issues that turned out to be more complicated then anticipated. In the meantime people have more pressing issues with alpha3 that we should resolve so we should not keep this on the main 1.x branch until it works cleanly.
Comment #10
kfritscheWith my comment in https://github.com/mglaman/phpstan-drupal/pull/71 the upgrade to newest version of phpstan would work.
Comment #11
mglamanRemove @dev?
Could this be committed and I will work on a fix in phpstan-drupal, as HEAD isn't working anyways, correct?
Comment #13
Gábor HojtsyCommitted this again so @mglaman has an easier time to work out a fix on the phpstan-drupal side where the bug looks like is.
Comment #15
Gábor HojtsyThis allowed to further categorize results, so now we have this UI:
Comment #16
oknateExcellent! Thanks!