-
Notifications
You must be signed in to change notification settings - Fork 8
Commit 03d4a69
authored
chore(deps): update dependency vimeo/psalm to ~5.24.0 (#113)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vimeo/psalm](https://github.com/vimeo/psalm) | `~5.17.0` ->
`~5.24.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vimeo/psalm (vimeo/psalm)</summary>
### [`v5.24.0`](https://github.com/vimeo/psalm/releases/tag/5.24.0)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.23.1...5.24.0)
<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->
#### What's Changed
##### Features
- Allow specifying flags to Codebase::isTypeContainedByType by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10829](https://github.com/vimeo/psalm/pull/10829)
- Allow more callable types as subtypes of `callable` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10805](https://github.com/vimeo/psalm/pull/10805)
- Report `parent` being used in callable context when the class does not
extend anything by [@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10838](https://github.com/vimeo/psalm/pull/10838)
- Report error for additional deprecated arg types in PHP 8.1/8.3 by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10824](https://github.com/vimeo/psalm/pull/10824)
- Add MissingClassConstType Issue by
[@​jack-worman](https://github.com/jack-worman) in
[https://github.com/vimeo/psalm/pull/10828](https://github.com/vimeo/psalm/pull/10828)
- Enforce parameter names for consistent constructors by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10821](https://github.com/vimeo/psalm/pull/10821)
- Add misc missing errors for invalid callable methods by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10839](https://github.com/vimeo/psalm/pull/10839)
##### Fixes
- Forbid named arguments for ArrayAcccess methods by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10804](https://github.com/vimeo/psalm/pull/10804)
- Don't crash on invalid templates by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10806](https://github.com/vimeo/psalm/pull/10806)
- report error for single param name mismatch too since named args can
even be used then by [@​kkmuffme](https://github.com/kkmuffme)
in
[https://github.com/vimeo/psalm/pull/10822](https://github.com/vimeo/psalm/pull/10822)
- add support for named arguments for filter_var and filter_input by
[@​pilif](https://github.com/pilif) in
[https://github.com/vimeo/psalm/pull/10815](https://github.com/vimeo/psalm/pull/10815)
- When inside isset, make array fetch result nullable by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10756](https://github.com/vimeo/psalm/pull/10756)
- Promoted properties missing in extended \__construct should report
PropertyNotSetInConstructor by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10817](https://github.com/vimeo/psalm/pull/10817)
- Updating signature of `getmxrr()` by
[@​ThomasLandauer](https://github.com/ThomasLandauer) in
[https://github.com/vimeo/psalm/pull/10847](https://github.com/vimeo/psalm/pull/10847)
- Improve string-int juggle consistency in array keys and display for
int-like strings in type by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10814](https://github.com/vimeo/psalm/pull/10814)
- Fix storage not available in thread for intersection doc types by
[@​simonberger](https://github.com/simonberger) in
[https://github.com/vimeo/psalm/pull/10856](https://github.com/vimeo/psalm/pull/10856)
- Don't emit MissingOverrideAttribute for implicit Stringable
implementations by [@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10858](https://github.com/vimeo/psalm/pull/10858)
- Specify array return type of session_get_cookie_params by
[@​jorgsowa](https://github.com/jorgsowa) in
[https://github.com/vimeo/psalm/pull/10859](https://github.com/vimeo/psalm/pull/10859)
- Unknown [@​psalm](https://github.com/psalm) annotation should
not make whole docblock invalid by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10885](https://github.com/vimeo/psalm/pull/10885)
- Add `mail` to impure functions list by
[@​smaddock](https://github.com/smaddock) in
[https://github.com/vimeo/psalm/pull/10923](https://github.com/vimeo/psalm/pull/10923)
- Update PHP 8.2 Call map delta with refined types for string comparison
functions by [@​gsteel](https://github.com/gsteel) in
[https://github.com/vimeo/psalm/pull/10883](https://github.com/vimeo/psalm/pull/10883)
##### Docs
- document that
[@​psalm-internal](https://github.com/psalm-internal) works for
namespace + class too by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10866](https://github.com/vimeo/psalm/pull/10866)
##### Internal changes
- fix tests running with other than called PHP binary if called with a
non-default PHP binary by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10842](https://github.com/vimeo/psalm/pull/10842)
- Explicitly set value in config to fix warning in tests by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10843](https://github.com/vimeo/psalm/pull/10843)
- \[PHP 8.4] Fixes for implicit nullability deprecation by
[@​Ayesh](https://github.com/Ayesh) in
[https://github.com/vimeo/psalm/pull/10832](https://github.com/vimeo/psalm/pull/10832)
- Throw exception instead of silently logging issues occurred during
scan by [@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10902](https://github.com/vimeo/psalm/pull/10902)
##### Other changes
- Fix conditional on non empty literal string by
[@​VincentLanglet](https://github.com/VincentLanglet) in
[https://github.com/vimeo/psalm/pull/10912](https://github.com/vimeo/psalm/pull/10912)
- Ignore jsonSerialize for implementors of JsonSerializable by
[@​josephwynn-sc](https://github.com/josephwynn-sc) in
[https://github.com/vimeo/psalm/pull/10891](https://github.com/vimeo/psalm/pull/10891)
- Add XML functions to ImpureFunctionsList
[#​10882](https://github.com/vimeo/psalm/issues/10882) by
[@​DKhalil](https://github.com/DKhalil) in
[https://github.com/vimeo/psalm/pull/10887](https://github.com/vimeo/psalm/pull/10887)
#### New Contributors
- [@​Ayesh](https://github.com/Ayesh) made their first
contribution in
[https://github.com/vimeo/psalm/pull/10832](https://github.com/vimeo/psalm/pull/10832)
- [@​smaddock](https://github.com/smaddock) made their first
contribution in
[https://github.com/vimeo/psalm/pull/10923](https://github.com/vimeo/psalm/pull/10923)
- [@​josephwynn-sc](https://github.com/josephwynn-sc) made their
first contribution in
[https://github.com/vimeo/psalm/pull/10891](https://github.com/vimeo/psalm/pull/10891)
- [@​DKhalil](https://github.com/DKhalil) made their first
contribution in
[https://github.com/vimeo/psalm/pull/10887](https://github.com/vimeo/psalm/pull/10887)
**Full Changelog**:
vimeo/psalm@5.23.1...5.24.0
### [`v5.23.1`](https://github.com/vimeo/psalm/releases/tag/5.23.1)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.23.0...5.23.1)
<!-- Release notes generated using configuration in .github/release.yml
at 5.23.x -->
#### What's Changed
##### Fixes
- Fixed analysis of existing static methods if the `__callStatic()`
method exists by [@​issidorov](https://github.com/issidorov) in
[https://github.com/vimeo/psalm/pull/10812](https://github.com/vimeo/psalm/pull/10812)
**Full Changelog**:
vimeo/psalm@5.23.0...5.23.1
### [`v5.23.0`](https://github.com/vimeo/psalm/releases/tag/5.23.0)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.22.2...5.23.0)
<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->
#### What's Changed
##### Features
- Update PHP 8.2 stubs to include `SensitiveParameterValue` by
[@​gsteel](https://github.com/gsteel) in
[https://github.com/vimeo/psalm/pull/10726](https://github.com/vimeo/psalm/pull/10726)
- Add list of statements to BeforeFileAnalysisEvent by
[@​ohader](https://github.com/ohader) in
[https://github.com/vimeo/psalm/pull/10728](https://github.com/vimeo/psalm/pull/10728)
- Forbid iterating over generators with non-nullable `send()` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10697](https://github.com/vimeo/psalm/pull/10697)
- Initial support for named parameters for callables by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10772](https://github.com/vimeo/psalm/pull/10772)
##### Fixes
- Improve randomizer stubs by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10709](https://github.com/vimeo/psalm/pull/10709)
- Fix detecting magic static methods by
[@​issidorov](https://github.com/issidorov) in
[https://github.com/vimeo/psalm/pull/10704](https://github.com/vimeo/psalm/pull/10704)
- Fix non-empty-lowercase-string handling with literal non-lowercase
strings by [@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10722](https://github.com/vimeo/psalm/pull/10722)
- Fix RiskyTruthyFalsyComparison irrelevant errors when there is no
explicit truthy/falsy type by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10733](https://github.com/vimeo/psalm/pull/10733)
- Allow `Override` attribute to be used in pure contexts by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10734](https://github.com/vimeo/psalm/pull/10734)
- Revert "Allow tainted numerics except for 'html' and 'has_quotes'" by
[@​ohader](https://github.com/ohader) in
[https://github.com/vimeo/psalm/pull/10729](https://github.com/vimeo/psalm/pull/10729)
- Fix loading stubs from phar file on Windows by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10748](https://github.com/vimeo/psalm/pull/10748)
- Fix a false flag issue with InvalidConstantAssignmentValue by
[@​MelechMizrachi](https://github.com/MelechMizrachi) in
[https://github.com/vimeo/psalm/pull/10738](https://github.com/vimeo/psalm/pull/10738)
- Set inside_isset false when analyzing ArrayDimFetch index by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10752](https://github.com/vimeo/psalm/pull/10752)
- Set inside_isset = false when analyzing arguments by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10753](https://github.com/vimeo/psalm/pull/10753)
- Fix PHP notice - crash on invalid taint-escape by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10760](https://github.com/vimeo/psalm/pull/10760)
- Fix version comparison for `@since` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10764](https://github.com/vimeo/psalm/pull/10764)
- Since annotations outside phpstub should not infer php version by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10769](https://github.com/vimeo/psalm/pull/10769)
- Backport `WeakMap` iterator fix from `master` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10778](https://github.com/vimeo/psalm/pull/10778)
- Namespace anonymous classes by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10779](https://github.com/vimeo/psalm/pull/10779)
- Update CallMap for sqlsrv_connect and sqlsrv_errors to match
reflection by [@​theodorejb](https://github.com/theodorejb) in
[https://github.com/vimeo/psalm/pull/10781](https://github.com/vimeo/psalm/pull/10781)
- `$resource` parameter of `mkdir()` is nullable since PHP 7.3 by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10802](https://github.com/vimeo/psalm/pull/10802)
- Use wider class-string when combining class strings with intersections
by [@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10800](https://github.com/vimeo/psalm/pull/10800)
##### Internal changes
- Use TaintKind/TaintKindGroup constants instead of string values by
[@​ohader](https://github.com/ohader) in
[https://github.com/vimeo/psalm/pull/10746](https://github.com/vimeo/psalm/pull/10746)
- Skip symlink test on Windows by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10749](https://github.com/vimeo/psalm/pull/10749)
- Avoid duplicating code for RiskyTruthyFalsyComparison by
[@​theodorejb](https://github.com/theodorejb) in
[https://github.com/vimeo/psalm/pull/10765](https://github.com/vimeo/psalm/pull/10765)
- fix PHP 8 tests running with wrong --php-version=/phpVersion= if not
explicitly specified by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10776](https://github.com/vimeo/psalm/pull/10776)
- CS fix by [@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10801](https://github.com/vimeo/psalm/pull/10801)
#### New Contributors
- [@​MelechMizrachi](https://github.com/MelechMizrachi) made
their first contribution in
[https://github.com/vimeo/psalm/pull/10738](https://github.com/vimeo/psalm/pull/10738)
**Full Changelog**:
vimeo/psalm@5.22.2...5.23.0
### [`v5.22.2`](https://github.com/vimeo/psalm/releases/tag/5.22.2)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.22.1...5.22.2)
<!-- Release notes generated using configuration in .github/release.yml
at 5.22.x -->
#### What's Changed
##### Fixes
- Catch missing classlike exceptions during scanning by
[@​weirdan](https://github.com/weirdan) and
[@​ohader](https://github.com/ohader) in
[https://github.com/vimeo/psalm/pull/10720](https://github.com/vimeo/psalm/pull/10720)
**Full Changelog**:
vimeo/psalm@5.22.1...5.22.2
### [`v5.22.1`](https://github.com/vimeo/psalm/releases/tag/5.22.1)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.22.0...5.22.1)
<!-- Release notes generated using configuration in .github/release.yml
at 5.22.x -->
#### What's Changed
##### Fixes
- Improve parsing of `@psalm-type` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10713](https://github.com/vimeo/psalm/pull/10713)
**Full Changelog**:
vimeo/psalm@5.22.0...5.22.1
### [`v5.22.0`](https://github.com/vimeo/psalm/releases/tag/5.22.0)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.21.1...5.22.0)
<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->
#### What's Changed
##### Features
- Allow inline comments in typedef shapes by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10623](https://github.com/vimeo/psalm/pull/10623)
- allow typedef imports from any kind of classlike by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10625](https://github.com/vimeo/psalm/pull/10625)
- Allow enum cases to be global constants by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10634](https://github.com/vimeo/psalm/pull/10634)
- New InvalidOverride issue for Override attribute by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10644](https://github.com/vimeo/psalm/pull/10644)
- Analyze dynamic names for static property and const fetches by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10629](https://github.com/vimeo/psalm/pull/10629)
- New MissingOverrideAttribute issue by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10651](https://github.com/vimeo/psalm/pull/10651)
- Flag `stdClass::__construct()` calls that have arguments by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10661](https://github.com/vimeo/psalm/pull/10661)
- Improve Reflection stubs by
[@​vudaltsov](https://github.com/vudaltsov) in
[https://github.com/vimeo/psalm/pull/10091](https://github.com/vimeo/psalm/pull/10091)
- Forbid constructors from returning any values by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10686](https://github.com/vimeo/psalm/pull/10686)
- Report first class callables generated for unknown static methods by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10691](https://github.com/vimeo/psalm/pull/10691)
- Process `@psalm-this-out` on `__construct()` as well by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10690](https://github.com/vimeo/psalm/pull/10690)
- Report invalid number of arguments for psalm-taint-\* by
[@​staabm](https://github.com/staabm) in
[https://github.com/vimeo/psalm/pull/10699](https://github.com/vimeo/psalm/pull/10699)
##### Fixes
- Fix ownerDocument type in dom-ext classes by
[@​fluffycondor](https://github.com/fluffycondor) in
[https://github.com/vimeo/psalm/pull/10619](https://github.com/vimeo/psalm/pull/10619)
- Fix numeric scalar validate filter var input return type wrong by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10621](https://github.com/vimeo/psalm/pull/10621)
- Stable baseline by [@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10633](https://github.com/vimeo/psalm/pull/10633)
- Allow sebastian/diff v6 by
[@​simPod](https://github.com/simPod) in
[https://github.com/vimeo/psalm/pull/10639](https://github.com/vimeo/psalm/pull/10639)
- CallMap: Adjust return type for `inotify_add_watch()` to `int|false`
by [@​UlrichEckhardt](https://github.com/UlrichEckhardt) in
[https://github.com/vimeo/psalm/pull/10637](https://github.com/vimeo/psalm/pull/10637)
- Fix check-type when using builtin types from within a namespace by
[@​robchett](https://github.com/robchett) in
[https://github.com/vimeo/psalm/pull/10648](https://github.com/vimeo/psalm/pull/10648)
- Do not add `callable` as a native property type by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10654](https://github.com/vimeo/psalm/pull/10654)
- Fix additional places where base_dir was broken due to missing
separator by [@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10630](https://github.com/vimeo/psalm/pull/10630)
- Late binding of enum cases by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10655](https://github.com/vimeo/psalm/pull/10655)
- Suppress `UndefinedClass` in `whatever_exists()` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10659](https://github.com/vimeo/psalm/pull/10659)
- Fix parsing magic method annotations by
[@​issidorov](https://github.com/issidorov) in
[https://github.com/vimeo/psalm/pull/10665](https://github.com/vimeo/psalm/pull/10665)
- Strip callmap prefixes from parameter names by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10666](https://github.com/vimeo/psalm/pull/10666)
- Narrow `ord()` return type to `int<0,255>` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10676](https://github.com/vimeo/psalm/pull/10676)
- Template union object incorrect assertions by
[@​robchett](https://github.com/robchett) in
[https://github.com/vimeo/psalm/pull/10677](https://github.com/vimeo/psalm/pull/10677)
- Don't show backtrace in `InvalidDocblock` issue message by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10679](https://github.com/vimeo/psalm/pull/10679)
- Class consts in array shapes by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10678](https://github.com/vimeo/psalm/pull/10678)
- Prevent mixed|null by
[@​robchett](https://github.com/robchett) in
[https://github.com/vimeo/psalm/pull/10675](https://github.com/vimeo/psalm/pull/10675)
##### Internal changes
- Drop unused local composer repo by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10647](https://github.com/vimeo/psalm/pull/10647)
- Clarify that Pull request labels failure is to be resolved by
maintainers by [@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10649](https://github.com/vimeo/psalm/pull/10649)
- Fix unstable `hasFullyQualified(Interface|Enum)()` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10603](https://github.com/vimeo/psalm/pull/10603)
- Revert partial mistakenly pushed fix by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10671](https://github.com/vimeo/psalm/pull/10671)
**Full Changelog**:
vimeo/psalm@5.21.1...5.22.0
### [`v5.21.1`](https://github.com/vimeo/psalm/releases/tag/5.21.1)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.21.0...5.21.1)
<!-- Release notes generated using configuration in .github/release.yml
at 5.21.x -->
#### What's Changed
##### Fixes
- Fix baseline loading for path specified on the command line by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10628](https://github.com/vimeo/psalm/pull/10628)
**Full Changelog**:
vimeo/psalm@5.21.0...5.21.1
### [`v5.21.0`](https://github.com/vimeo/psalm/releases/tag/5.21.0)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.20.0...5.21.0)
<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->
#### What's Changed
##### Features
- Allow importing typedefs from enums by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10617](https://github.com/vimeo/psalm/pull/10617)
##### Fixes
- Fix [#​10552](https://github.com/vimeo/psalm/issues/10552) by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10572](https://github.com/vimeo/psalm/pull/10572)
- Unit test improvements for php-parser 5 by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10574](https://github.com/vimeo/psalm/pull/10574)
- Fix template replacement edge case by
[@​klimick](https://github.com/klimick) in
[https://github.com/vimeo/psalm/pull/10586](https://github.com/vimeo/psalm/pull/10586)
- Switch condition order by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10594](https://github.com/vimeo/psalm/pull/10594)
- Partial revert "Fix auto completion by partial property or method" by
[@​issidorov](https://github.com/issidorov) in
[https://github.com/vimeo/psalm/pull/10588](https://github.com/vimeo/psalm/pull/10588)
- \[LSP] Add issue type in description by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10607](https://github.com/vimeo/psalm/pull/10607)
- Do not validate callable arguments in lenient contexts by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10601](https://github.com/vimeo/psalm/pull/10601)
- `readgzfile()` is impure by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10600](https://github.com/vimeo/psalm/pull/10600)
- Allow properties on intersections with enum interfaces by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10599](https://github.com/vimeo/psalm/pull/10599)
- `key_exists()` is an alias for `array_key_exists()` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10598](https://github.com/vimeo/psalm/pull/10598)
- Fix language server running with `opcache.save_comments=0` by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10614](https://github.com/vimeo/psalm/pull/10614)
- Report `MissingConstructor` for natively typed mixed properties by
[@​weirdan](https://github.com/weirdan) in
[https://github.com/vimeo/psalm/pull/10615](https://github.com/vimeo/psalm/pull/10615)
##### Internal changes
- Bump actions/cache from 3 to 4 by
[@​dependabot](https://github.com/dependabot) in
[https://github.com/vimeo/psalm/pull/10584](https://github.com/vimeo/psalm/pull/10584)
- Baseline update by [@​jorgsowa](https://github.com/jorgsowa)
in
[https://github.com/vimeo/psalm/pull/10593](https://github.com/vimeo/psalm/pull/10593)
- Re-work CheckTrivialExprVisitor by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10612](https://github.com/vimeo/psalm/pull/10612)
- Minor php-parser tweaks by
[@​edsrzf](https://github.com/edsrzf) in
[https://github.com/vimeo/psalm/pull/10605](https://github.com/vimeo/psalm/pull/10605)
#### New Contributors
- [@​jorgsowa](https://github.com/jorgsowa) made their first
contribution in
[https://github.com/vimeo/psalm/pull/10593](https://github.com/vimeo/psalm/pull/10593)
**Full Changelog**:
vimeo/psalm@5.20.0...5.21.0
### [`v5.20.0`](https://github.com/vimeo/psalm/releases/tag/5.20.0)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.19.1...5.20.0)
<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->
#### What's Changed
##### Features
- report error for non-strict or empty comparison on truthy+falsy union
by [@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10502](https://github.com/vimeo/psalm/pull/10502)
##### Fixes
- Fix template, conditional array keys by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10568](https://github.com/vimeo/psalm/pull/10568)
**Full Changelog**:
vimeo/psalm@5.19.1...5.20.0
### [`v5.19.1`](https://github.com/vimeo/psalm/releases/tag/5.19.1)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.19.0...5.19.1)
<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->
#### What's Changed
##### Fixes
- Deprecated Template Classes are not ignored by
[@​psalm-suppress](https://github.com/psalm-suppress)
DeprecatedClass by
[@​samlitowitz](https://github.com/samlitowitz) in
[https://github.com/vimeo/psalm/pull/10518](https://github.com/vimeo/psalm/pull/10518)
- Implement \__set method in SimpleXMLElement stub by
[@​kthaler](https://github.com/kthaler) in
[https://github.com/vimeo/psalm/pull/10536](https://github.com/vimeo/psalm/pull/10536)
- Make getrandmax type more specific and unserialize to require
class-string by [@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10540](https://github.com/vimeo/psalm/pull/10540)
- Fix mb_get_info can return null - CI failing bc of reflection by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10543](https://github.com/vimeo/psalm/pull/10543)
- make basename & dirname return types more specific by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10545](https://github.com/vimeo/psalm/pull/10545)
- add support for extract to set variables for keyed arrays and respect
EXTR_SKIP by [@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10544](https://github.com/vimeo/psalm/pull/10544)
- remove redundat directory separator which caused "//" in path not
found errors by [@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10542](https://github.com/vimeo/psalm/pull/10542)
- Fix empty literal string becomes non-empty-string by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10499](https://github.com/vimeo/psalm/pull/10499)
#### New Contributors
- [@​samlitowitz](https://github.com/samlitowitz) made their
first contribution in
[https://github.com/vimeo/psalm/pull/10518](https://github.com/vimeo/psalm/pull/10518)
- [@​kthaler](https://github.com/kthaler) made their first
contribution in
[https://github.com/vimeo/psalm/pull/10536](https://github.com/vimeo/psalm/pull/10536)
**Full Changelog**:
vimeo/psalm@5.19.0...5.20.0
### [`v5.19.0`](https://github.com/vimeo/psalm/releases/tag/5.19.0)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.18.0...5.19.0)
<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->
#### What's Changed
##### Features
- Reduce memory consumption of caching and parallel processing without
igbinary by [@​sj-i](https://github.com/sj-i) in
[https://github.com/vimeo/psalm/pull/10532](https://github.com/vimeo/psalm/pull/10532)
- filter_input & filter_var return type more specific by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10498](https://github.com/vimeo/psalm/pull/10498)
##### Fixes
- strtok always returns a non-empty-string when it does not return false
by [@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10497](https://github.com/vimeo/psalm/pull/10497)
- Fix [#​10512](https://github.com/vimeo/psalm/issues/10512):
Fixed SessionUpdateTimestampHandlerInterface parameter names by
[@​zerkms](https://github.com/zerkms) in
[https://github.com/vimeo/psalm/pull/10524](https://github.com/vimeo/psalm/pull/10524)
- Fix [GH-10465](https://github.com/vimeo/psalm/issues/10465) by
[@​florisluiten](https://github.com/florisluiten) in
[https://github.com/vimeo/psalm/pull/10483](https://github.com/vimeo/psalm/pull/10483)
- Fix callable without args not handled correctly by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10500](https://github.com/vimeo/psalm/pull/10500)
- Add error when using readonly property in by-ref arg by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10505](https://github.com/vimeo/psalm/pull/10505)
- fix: [#​10496](https://github.com/vimeo/psalm/issues/10496)
[#​10503](https://github.com/vimeo/psalm/issues/10503) by
[@​ging-dev](https://github.com/ging-dev) in
[https://github.com/vimeo/psalm/pull/10508](https://github.com/vimeo/psalm/pull/10508)
#### New Contributors
- [@​florisluiten](https://github.com/florisluiten) made their
first contribution in
[https://github.com/vimeo/psalm/pull/10483](https://github.com/vimeo/psalm/pull/10483)
**Full Changelog**:
vimeo/psalm@5.18.0...5.19.0
### [`v5.18.0`](https://github.com/vimeo/psalm/releases/tag/5.18.0)
[Compare
Source](https://github.com/vimeo/psalm/compare/5.17.0...5.18.0)
<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->
##### What's Changed
##### Features
- Add support for Override attribute by
[@​delolmo](https://github.com/delolmo) in
[https://github.com/vimeo/psalm/pull/10493](https://github.com/vimeo/psalm/pull/10493)
##### Fixes
- Fix [#​10460](https://github.com/vimeo/psalm/issues/10460) by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10464](https://github.com/vimeo/psalm/pull/10464)
- Emit AfterCodebasePopulatedEvent even on partial scans by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10457](https://github.com/vimeo/psalm/pull/10457)
- Small assertion fix by [@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10455](https://github.com/vimeo/psalm/pull/10455)
- Fix shaped array class string key combination by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10450](https://github.com/vimeo/psalm/pull/10450)
- Fix remaining POSIX-only absolute path detection by
[@​theodorejb](https://github.com/theodorejb) in
[https://github.com/vimeo/psalm/pull/10452](https://github.com/vimeo/psalm/pull/10452)
- dont combine empty string with numeric-string by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10459](https://github.com/vimeo/psalm/pull/10459)
- Fix type not equal when parent by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10477](https://github.com/vimeo/psalm/pull/10477)
- Use same parameter names in stubs by
[@​danog](https://github.com/danog) in
[https://github.com/vimeo/psalm/pull/10480](https://github.com/vimeo/psalm/pull/10480)
- fix false positive ArgumentTypeCoercion for callback param by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10454](https://github.com/vimeo/psalm/pull/10454)
- report error for invalid array key type by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10481](https://github.com/vimeo/psalm/pull/10481)
- fix literal int/string comparisons only using one literal by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10484](https://github.com/vimeo/psalm/pull/10484)
- add InvalidArgument error when passing false to true param by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10488](https://github.com/vimeo/psalm/pull/10488)
- Fix Uncaught RuntimeException: PHP Error: Uninitialized string offset
0 when $pattern is empty by
[@​iMu3ic](https://github.com/iMu3ic) in
[https://github.com/vimeo/psalm/pull/10489](https://github.com/vimeo/psalm/pull/10489)
##### Internal changes
- fix composer scripts running with inconsistent php versions by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10463](https://github.com/vimeo/psalm/pull/10463)
- update fidry/cpu-core-counter dependency by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10456](https://github.com/vimeo/psalm/pull/10456)
- fix psalm v4 hardcoded in tests by
[@​kkmuffme](https://github.com/kkmuffme) in
[https://github.com/vimeo/psalm/pull/10475](https://github.com/vimeo/psalm/pull/10475)
##### New Contributors
- [@​iMu3ic](https://github.com/iMu3ic) made their first
contribution in
[https://github.com/vimeo/psalm/pull/10489](https://github.com/vimeo/psalm/pull/10489)
- [@​delolmo](https://github.com/delolmo) made their first
contribution in
[https://github.com/vimeo/psalm/pull/10493](https://github.com/vimeo/psalm/pull/10493)
**Full Changelog**:
vimeo/psalm@5.17.0...5.18.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-feature/php-sdk).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuMzMxLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent b3f6d6f commit 03d4a69Copy full SHA for 03d4a69
1 file changed
+1
-1
lines changed+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
|
0 commit comments