Bump phpstan/phpstan from 1.1.2 to 1.2.0
Created by: dependabot[bot]
Bumps phpstan/phpstan from 1.1.2 to 1.2.0.
Release notes
Sourced from phpstan/phpstan's releases.
1.2.0
Improvements
🔧
- Support for some features from PHP 8.1
- Support for
new
in initializers - RFC (https://github.com/phpstan/phpstan-src/commit/1a102fec28a2901927ce703a540fb82e47d17143)- Support for first-class callables - RFC
- Support for
array_is_list()
- RFC (#770), thanks@canvural
!- Support
literal-string
with encapsed strings (#768), thanks@craigfrancis
!- Tips for always used properties and constants extensions (https://github.com/phpstan/phpstan-src/commit/2db3c268e26d44125aa728c917ba51ec400b46b3)
- Autowire rules from the
rules
config section by their class name (https://github.com/phpstan/phpstan-src/commit/50cb90ddc6e6f6bdd248b7ea4bb5002193e808d6)Bugfixes
🐛
- Type system: ConstantStringType created from
::class
is always considered a classname (https://github.com/phpstan/phpstan-src/commit/da34d3f1d642d71d5a5130d371bb243c65b0b195), #5979- Do not run PHP bug workaround on PHP 8+ where it's fixed (https://github.com/phpstan/phpstan-src/commit/6573959829e3d07e1fa2a93845c973d47a12fdfd), #5954
- Promoted properties do not have a default value (https://github.com/phpstan/phpstan-src/commit/7c8e81dcf88378039ac57da459b4288b7e620a59), #5906
- CleaningParser - do not remove inline
@var
tags (https://github.com/phpstan/phpstan-src/commit/2652f2dc6c713ba2200df922a62fe651f2e4445e), #5921- AttributesCheck - do not report named arguments in attributes (https://github.com/phpstan/phpstan-src/commit/6366066f3b28a5bdef0c6a3d533c291a8490e1f8), #5898
Function signature fixes
🤖
- functionMap - removed functions that are reserved keywords and separate AST nodes (https://github.com/phpstan/phpstan-src/commit/08f3e2d02329fa39561356c630d8d561631419d9), #6014
Commits
-
cbe085f
PHPStan 1.2.0 -
8170c41
Levels start at 0, so there are 10 levels -
4d6fefa
Updated PHPStan to commit c862bb97482bced730988217685a8ae019436ad6 -
e33400f
Updated PHPStan to commit 5a0d0314ea20b905e952670820554c541db8029c -
39d0d4e
Update text to note that level 9 is the strictest -
898dca3
Updated PHPStan to commit b42ceb618accbe20651165b0a049da299013e273 -
b79d8d0
Updated PHPStan to commit 480c516ce2795d7af27142ac7c370e0d1f6bbb38 -
362e194
Updated PHPStan to commit 7ed316d5983eb5a2601a5c3eb7781f8c06a50503 -
bc99be7
Updated PHPStan to commit db456dd6fd79405bbbdac00fddb8ca0acb90ed49 -
a0a82d2
Open 1.2-dev - Additional commits viewable in compare view
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)