Bump phpstan/phpstan from 0.12.99 to 1.1.1
Created by: dependabot[bot]
Bumps phpstan/phpstan from 0.12.99 to 1.1.1.
Release notes
Sourced from phpstan/phpstan's releases.
1.1.1
Bugfixes
🐛
- Fixed
/** @phpstan-ignore-line */
and/** @phpstan-ignore-next-line */
annotations sometimes not working because of AST (https://github.com/phpstan/phpstan-src/commit/9474696dff040ba6d5a9adadc8c87551074cbf94), #4750, #4759, #3834, #3563, #4250, #4798- Do not report non-existent function after
function_exists()
check (https://github.com/phpstan/phpstan-src/commit/28e8c11a2bdf11eede53a152825fd3bd7733d95d), #3576- Make
function_exists()
similar tois_callable()
(https://github.com/phpstan/phpstan-src/commit/4a988637e67b6ff6854192c57adbbe3c32d62629), #18491.1.0
Improvements
🔧
- Update
nikic/php-parser
to 4.13.1 (https://github.com/phpstan/phpstan-src/commit/6a64c8aa95ebdd15832cf482d10e543cbe18ae35), #5458- Update
jetbrains/phpstorm-stubs
(https://github.com/phpstan/phpstan-src/commit/546e87c61ff1b8591c7300d16484093870410a8c), #5833
- Support for
PhpStormStubsElementAvailable
attribute injetbrains/phpstorm-stubs
(https://github.com/phpstan/phpstan-src/commit/e41e66a1ecab998ed6e49376e6a5d0894c8ccc98)- Support for some features from PHP 8.1
- Support for native
never
return type - RFC (https://github.com/phpstan/phpstan-src/commit/59be92fd7e736217185b075c99d2fca21a6393b1)- Support for native pure intersection types - RFC (https://github.com/phpstan/phpstan-src/commit/be0555743559a43c183089417a390299a11b7a3b, https://github.com/phpstan/phpstan-src/commit/021e25ed2b6da96401ef754455ac5589db8eeda1), #5870
- Support for tentative return types - RFC (https://github.com/phpstan/phpstan-src/commit/0e98150eff1d71de28c683a8de115c4efef83b8a, https://github.com/phpstan/phpstan-src/commit/762fc470a2b5308d4d0469457bac809e6ddc2196)
- ReflectionEnum runtime stubs (PHP 8.0+) (https://github.com/phpstan/phpstan-src/commit/e3a0e0d1b968c4338d2a50d76562c49e49521565)
- Full Enums support is coming in a later release
Bugfixes
🐛
- Fix chaining nullsafe operator (#752), #5868, thanks
@olsavmic
!Function signature fixes
🤖
- Fix return type of
get_loaded_extensions()
(#754), thanks@dktapps
!call_user_func_array()
support named arguments (#727), thanks@mglaman
!phpversion()
does not return false when no arguments are given (#753), thanks@dktapps
!1.0.2
Bugfixes
🐛
- Analyze
Composer
namespace only with static reflection, some classes in PHAR are unprefixed (https://github.com/phpstan/phpstan-src/commit/95754d1c52c99a9cfebfb595d58413955bbe61d4), composer/composer#10253- ArrayType - use BenevolentUnionType even if it contains StrictMixedType (https://github.com/phpstan/phpstan-src/commit/c59330c539a5cabba7a1c06a7f468d0c3a7dcfa7), #5834, #5881, #5872, #5861
- This fixes "expects array, array given" errors
Function signature fixes
🤖
- Unified the name of the second
array_map
parameter (https://github.com/phpstan/phpstan-src/commit/94333459e3fc2cfdd2800437e2bb336bb46d304f)- More precise
connection_aborted()
signature (#715), thanks@staabm
!- More precise
str_split()
signature (#718), thanks@staabm
!DateFunctionReturnTypeExtension
: support more precise single-char date-formats (#721), thanks@staabm
!
... (truncated)
Commits
-
cb31702
PHPStan 1.1.1 -
cc030e9
Updated PHPStan to commit 9b5387833e1d95c4294edaa03141f7ad427c76aa -
f418552
Updated PHPStan to commit 9474696dff040ba6d5a9adadc8c87551074cbf94 -
ed9478a
Updated PHPStan to commit 4a988637e67b6ff6854192c57adbbe3c32d62629 -
7cb62ff
Updated PHPStan to commit 28e8c11a2bdf11eede53a152825fd3bd7733d95d -
997eb8e
PHPStan 1.1.0 -
bd81179
Updated PHPStan to commit 6bb0fd66ce3344934549c38366906a5d20d6a3db -
dc27acb
Updated PHPStan to commit e3a0e0d1b968c4338d2a50d76562c49e49521565 -
4ace177
Updated PHPStan to commit 5a907319eda0dcd86b4e130867f820fa30185095 -
91e2a3c
Updated PHPStan to commit 625cb846a14e7a401534c04442e1f08cfd90251b - 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)