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
Improvements 🔧
Allow setting error format in configuration file (#841), thanks @ruudk!
Deprecated PHPStan\Type\ConstantTypeHelper::getTypeFromValue(). Instead of going from runtime value -> PHPStan type, use PHPStan\Reflection\InitializerExprTypeResolver::getType() to go from Expr -> PHPStan type. In case you have Scope available, use Scope::getType().
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)
Bumps phpstan/phpstan from 1.6.8 to 1.7.0.
Release notes
Sourced from phpstan/phpstan's releases.
... (truncated)
Commits
509b3d6
PHPStan 1.7.06912043
Mention@phpstan-consistent-constructor
as a way to solve unsafe statica7b7e46
Updated PHPStan to commit 0a43b48284cab7429acef929a7b02a527cc4b24e30b89f1
Updated PHPStan to commit 754ee1cdf91de082cca10e057a27254b0cd0cbd0ce8fa93
Updated PHPStan to commit 609cd9c3c4dc2b7aa23cff44443325c3596f83ef1de622a
Updated PHPStan to commit 73d3d94607b25a0f27b1dcf602a54d7612d515ca72fdbea
Updated PHPStan to commit ccbb60306cd33da7bfe3835d47e75d5acb276761c84e0d4
Updated PHPStan to commit f49d0ec9d175c1451e375b76f546bee7c313baefbe5a513
Updated PHPStan to commit 5f5b96d432207395dc7371f62a9d52081f56a405824b5c8
Updated PHPStan to commit 94ec4516c3f8f54498149fb76ed499a2d52cc25eDependabot 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)