Changes proposed in this pull request:
This is one of two PRs to upgrade phpstan (and larastan in the process) to be compatible with the recent php and dependency upgrades.
Now that we have PHP 8.1 as a minimum, a subsequent PR will upgrade the level of analysis to 6+
Necessity
[x] Has the problem that is being solved here been clearly explained?
[x] If applicable, have various options for solving this problem been considered?
[x] For core PRs, does this need to be in core, or could it be in an extension?
[x] Are we willing to maintain this for years / potentially forever?
Confirmed
[ ] Frontend changes: tested on a local Flarum installation.
[ ] Backend changes: tests are green (run composer test).
[ ] Core developer confirmed locally this works as intended.
[ ] Tests have been added, or are not appropriate here.
Changes proposed in this pull request: This is one of two PRs to upgrade phpstan (and larastan in the process) to be compatible with the recent php and dependency upgrades.
Now that we have PHP 8.1 as a minimum, a subsequent PR will upgrade the level of analysis to 6+
Necessity
Confirmed
composer test
).