- Issue created by @piotr pakulski
- Status changed to Fixed
about 1 year ago 8:15pm 13 September 2023 - π§π¬Bulgaria pfrenssen Sofia
This has been fixed in phpspec/prophecy-phpunit 2.0.2 (ref #52 Add @not-deprecated annotation to avoid PHPStan errors).
For more information see #76 PHPStan reports wrongly a method as deprecated, because the overwriting method from a trait is not detected.
As a quick fix, run this command to update the affected packages:
$ composer update phpspec/prophecy-phpunit phpstan/phpstan-deprecation-rules -W
- ππΊHungary GΓ‘bor Hojtsy Hungary
Yay! As a general rule, unless its in one of Upgrade Status' own deprecation checking implementations (CSS, libraries, info files, etc), the problem is in an underlying dependency :) Glad its been solved.
Automatically closed - issue fixed for 2 weeks with no activity.