If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Bugfixes 🐛
fix handling of JSON_THROW_ON_ERROR with optional bitwise flags (#1025), #6654, thanks @staabm!
Keep non nullability if right expr is NeverType (#1063), #5351, thanks @rajyan!
Support more dynamic $flags arg in preg_split() (#1081), thanks @staabm!
Fix array_keys and array_values with accessory types (#1084), #6859, thanks @staabm!
Fix memory error when trying to represent big literal string types (#1088), #6866, thanks @mathroc!
Add throw point for UnhandledMatchError (#1056), #6115, thanks @rajyan!
Do not report unhandled match expression value if @throws tag is present with UnhandledMatchError (#1103), thanks @rajyan!
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on phpstan/phpstan to permit the latest version.
Release notes
Sourced from phpstan/phpstan's releases.
... (truncated)
Commits
2be8dd6
PHPStan 1.5.06aa6b41
Update PMMP baseline0156796
Updated PHPStan to commit a355aaa147429b6ba07ab1c8ebc418b8b647127e176af8b
Updated PHPStan to commit 707f57a595ac791564e20c006abe44dfd34de35da74dd8b
Updated PHPStan to commit ee4e92984536e72023fbc0a7e06fe82cef4cd0a279584b4
Updated PHPStan to commit 8e4ef885b22f1d252c35d01b3aa77ce34bac80bda1028a7
Update Composer baselineb3424a7
Updated PHPStan to commit ddbae3e2d65d65067ae78288880c22baae5c8eb79f6cec4
Updated PHPStan to commit 9cde41375bc3dde9516ce3af2fed0143f3bfbf943a2aa04
Updated PHPStan to commit 796f712ac198654360c22b6f9608ad496231a6d3Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)