chore(deps): update all non-major dependencies (minor) - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | minor |
1.0.2 -> 1.1.1
|
vimeo/psalm | require-dev | minor |
4.11.2 -> 4.12.0
|
Release Notes
phpstan/phpstan
v1.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), #1849
v1.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
- 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
- Support for native
🐛
Bugfixes - Fix chaining nullsafe operator (#752), #5868, thanks @olsavmic!
🤖
Function signature fixes
vimeo/psalm
v4.12.0
What's Changed
Deprecations
- deprecate TEmpty by @orklah in https://github.com/vimeo/psalm/pull/6763
- deprecate exitFunctions in XML by @orklah in https://github.com/vimeo/psalm/pull/6807
Features
- allow documenting promoted properties with @var by @orklah in https://github.com/vimeo/psalm/pull/6764
- Support PHP_VERSION_ID in conditional types by @sad-spirit in https://github.com/vimeo/psalm/pull/6783
- Ability to forbid
exit()
anddie()
by @weirdan in https://github.com/vimeo/psalm/pull/6784 - emit UnevaluatedCode after exit or never returning functionlike by @orklah in https://github.com/vimeo/psalm/pull/6793
- Template support for @psalm-self-out by @danog in https://github.com/vimeo/psalm/pull/6768
Fixes
- throwable Instanceof throwable negated by @orklah in https://github.com/vimeo/psalm/pull/6746
- Updated openssl_pkey_get_private function signature by @pls78 in https://github.com/vimeo/psalm/pull/6758
- Fix template parameter collection for child classes with fewer parameters (fixes #6734) by @danog in https://github.com/vimeo/psalm/pull/6742
- fix local variable defined too early by @orklah in https://github.com/vimeo/psalm/pull/6774
- fix is_a when used with Stringable classes by @orklah in https://github.com/vimeo/psalm/pull/6775
- remove second autoloader call by @orklah in https://github.com/vimeo/psalm/pull/6776
- Correct pgsql stubs by @sad-spirit in https://github.com/vimeo/psalm/pull/6777
- detect Yield in new by @orklah in https://github.com/vimeo/psalm/pull/6790
- accept ::class constant strings for literal argument by @sasezaki in https://github.com/vimeo/psalm/pull/6801
- Add pcntl_alarm to the list of impure functions by @l-x in https://github.com/vimeo/psalm/pull/6802
- added mysqli::connect() to callmap by @SMAtaurRahman in https://github.com/vimeo/psalm/pull/6805
- add "error" from php-parser to baseline by @orklah in https://github.com/vimeo/psalm/pull/6815
- Improved Github Actions output by @weirdan in https://github.com/vimeo/psalm/pull/6818
- backticks shell_exec taint by @orklah in https://github.com/vimeo/psalm/pull/6812
- Array cast pass taints by @orklah in https://github.com/vimeo/psalm/pull/6810
- don't taint the result of most binary operations by @orklah in https://github.com/vimeo/psalm/pull/6809
- don't register taints for numeric variables by @orklah in https://github.com/vimeo/psalm/pull/6813
- allow assertion to work on $var::class by @orklah in https://github.com/vimeo/psalm/pull/6823
- Fix parameter names in CoreGenericFunctions.phpstub for PHP 8 named p… by @tminich in https://github.com/vimeo/psalm/pull/6820
- Allow Symfony 6 by @loic425 in https://github.com/vimeo/psalm/pull/6663
- allow declaring functions and classLikes after a never-returning call by @orklah in https://github.com/vimeo/psalm/pull/6828
- Makes $_SESSION possibly undefined at the source by @orklah in https://github.com/vimeo/psalm/pull/6824
- create a tmp fake var for ternaries inside coalesce by @orklah in https://github.com/vimeo/psalm/pull/6825
- only return true in Union::isType if there is a single type by @orklah in https://github.com/vimeo/psalm/pull/6829
- Mixed contain every types and Never is contained in every type by @orklah in https://github.com/vimeo/psalm/pull/6830
Docs
- Removed PHPUnit coverage badge by @sasezaki in https://github.com/vimeo/psalm/pull/6816
Internal changes
- Require one of
release:*
labels on MRs by @weirdan in https://github.com/vimeo/psalm/pull/6785 - Added 'Removed' section to release notes by @weirdan in https://github.com/vimeo/psalm/pull/6811
- chore(ci): update psl version used in e2e tests by @azjezz in https://github.com/vimeo/psalm/pull/6766
- add PSL back to CI by @orklah in https://github.com/vimeo/psalm/pull/6833
New Contributors
- @pls78 made their first contribution in https://github.com/vimeo/psalm/pull/6758
- @sad-spirit made their first contribution in https://github.com/vimeo/psalm/pull/6777
- @tminich made their first contribution in https://github.com/vimeo/psalm/pull/6820
- @loic425 made their first contribution in https://github.com/vimeo/psalm/pull/6663
Full Changelog: https://github.com/vimeo/psalm/compare/4.11.2...4.12.0
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Reiter, Christoph