-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix template, conditional array keys #10568
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oguzhand95
pushed a commit
to cerbos/cerbos-sdk-php
that referenced
this pull request
Jan 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [phpstan/phpstan](https://togithub.com/phpstan/phpstan) | `1.10.55` -> `1.10.57` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.10.57?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.10.57?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.10.55/1.10.57?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.10.55/1.10.57?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [phpunit/phpunit](https://phpunit.de/) ([source](https://togithub.com/sebastianbergmann/phpunit)) | `10.5.7` -> `10.5.9` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/10.5.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpunit%2fphpunit/10.5.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpunit%2fphpunit/10.5.7/10.5.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpunit%2fphpunit/10.5.7/10.5.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vimeo/psalm](https://togithub.com/vimeo/psalm) | `5.19.0` -> `5.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/vimeo%2fpsalm/5.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/vimeo%2fpsalm/5.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/vimeo%2fpsalm/5.19.0/5.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/vimeo%2fpsalm/5.19.0/5.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>phpstan/phpstan (phpstan/phpstan)</summary> ### [`v1.10.57`](https://togithub.com/phpstan/phpstan/compare/1.10.56...1.10.57) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.56...1.10.57) ### [`v1.10.56`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.56) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.55...1.10.56) # Major new feature 🚀 - New PHPDoc tags: `@phpstan-require-extends`, `@phpstan-require-implements`, [#​10302](https://togithub.com/phpstan/phpstan/issues/10302), [#​9899](https://togithub.com/phpstan/phpstan/issues/9899), [#​8550](https://togithub.com/phpstan/phpstan/issues/8550), thanks [@​staabm](https://togithub.com/staabm)! - Learn more: [Making `@property` PHPDoc above interfaces work on PHP 8.2+](https://phpstan.org/blog/solving-phpstan-access-to-undefined-property#making-%40property-phpdoc-above-interfaces-work-on-php-8.2%2B) - [Enforcing class inheritance for interfaces and traits](https://phpstan.org/writing-php-code/phpdocs-basics#enforcing-class-inheritance-for-interfaces-and-traits) - [Enforcing implementing an interface for traits](https://phpstan.org/writing-php-code/phpdocs-basics#enforcing-implementing-an-interface-for-traits) - Development of this feature was kindly sponsored by [Pixel & Tonic](https://pixelandtonic.com/), the team behind [Craft CMS](https://craftcms.com/) # Improvements 🔧 - Scope - function call stack includes parameters too (phpstan/phpstan-src@b87e5c4), [phpstan/phpstan-deprecation-rules#107 # Bugfixes 🐛 - Process `match` arm condition before analysing the body (phpstan/phpstan-src@2b74aa8), [#​10418](https://togithub.com/phpstan/phpstan/issues/10418) # Function signature fixes 🤖 - Fix transliterator function maps ([#​2862](https://togithub.com/phpstan/phpstan-src/pull/2862)), thanks [@​PrinsFrank](https://togithub.com/PrinsFrank)! - Fix duplicate array key `Yaf_Response_Http::__clone` ([#​2863](https://togithub.com/phpstan/phpstan-src/pull/2863)), thanks [@​PrinsFrank](https://togithub.com/PrinsFrank)! - Add array shape for `transliterator::listIDs` return type ([#​2865](https://togithub.com/phpstan/phpstan-src/pull/2865)), thanks [@​PrinsFrank](https://togithub.com/PrinsFrank)! - `strtok()` always returns a `non-empty-string` when it does not return false ([#​2869](https://togithub.com/phpstan/phpstan-src/pull/2869)), thanks [@​staabm](https://togithub.com/staabm)! # Internals 🔍 - Prevent repetative calls to `Type::getConstantArrays()` ([#​2864](https://togithub.com/phpstan/phpstan-src/pull/2864)), thanks [@​staabm](https://togithub.com/staabm)! - Remove redundant condition in ParametersAcceptorSelector ([#​2867](https://togithub.com/phpstan/phpstan-src/pull/2867)), thanks [@​mad-briller](https://togithub.com/mad-briller)! - Simplify default return path in extensions ([#​2868](https://togithub.com/phpstan/phpstan-src/pull/2868)), thanks [@​staabm](https://togithub.com/staabm)! - Reduce unnecessary calls to `Scope::getFunctionType()` ([#​2872](https://togithub.com/phpstan/phpstan-src/pull/2872)), thanks [@​staabm](https://togithub.com/staabm)! </details> <details> <summary>sebastianbergmann/phpunit (phpunit/phpunit)</summary> ### [`v10.5.9`](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.8...10.5.9) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.8...10.5.9) ### [`v10.5.8`](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.7...10.5.8) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.7...10.5.8) </details> <details> <summary>vimeo/psalm (vimeo/psalm)</summary> ### [`v5.20.0`](https://togithub.com/vimeo/psalm/releases/tag/5.20.0) [Compare Source](https://togithub.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://togithub.com/kkmuffme) in [vimeo/psalm#10502 ##### Fixes - Fix template, conditional array keys by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10568 **Full Changelog**: vimeo/psalm@5.19.1...5.20.0 ### [`v5.19.1`](https://togithub.com/vimeo/psalm/releases/tag/5.19.1) [Compare Source](https://togithub.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://togithub.com/psalm-suppress) DeprecatedClass by [@​samlitowitz](https://togithub.com/samlitowitz) in [vimeo/psalm#10518 - Implement \__set method in SimpleXMLElement stub by [@​kthaler](https://togithub.com/kthaler) in [vimeo/psalm#10536 - Make getrandmax type more specific and unserialize to require class-string by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10540 - Fix mb_get_info can return null - CI failing bc of reflection by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10543 - make basename & dirname return types more specific by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10545 - add support for extract to set variables for keyed arrays and respect EXTR_SKIP by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10544 - remove redundat directory separator which caused "//" in path not found errors by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10542 - Fix empty literal string becomes non-empty-string by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10499 #### New Contributors - [@​samlitowitz](https://togithub.com/samlitowitz) made their first contribution in [vimeo/psalm#10518 - [@​kthaler](https://togithub.com/kthaler) made their first contribution in [vimeo/psalm#10536 **Full Changelog**: vimeo/psalm@5.19.0...5.20.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/cerbos/cerbos-sdk-php). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
tcarrio
pushed a commit
to open-feature/php-sdk
that referenced
this pull request
May 7, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vimeo/psalm](https://togithub.com/vimeo/psalm) | `~5.17.0` -> `~5.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/vimeo%2fpsalm/5.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/vimeo%2fpsalm/5.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/vimeo%2fpsalm/5.17.0/5.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/vimeo%2fpsalm/5.17.0/5.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vimeo/psalm (vimeo/psalm)</summary> ### [`v5.24.0`](https://togithub.com/vimeo/psalm/releases/tag/5.24.0) [Compare Source](https://togithub.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://togithub.com/danog) in [vimeo/psalm#10829 - Allow more callable types as subtypes of `callable` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10805 - Report `parent` being used in callable context when the class does not extend anything by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10838 - Report error for additional deprecated arg types in PHP 8.1/8.3 by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10824 - Add MissingClassConstType Issue by [@​jack-worman](https://togithub.com/jack-worman) in [vimeo/psalm#10828 - Enforce parameter names for consistent constructors by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10821 - Add misc missing errors for invalid callable methods by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10839 ##### Fixes - Forbid named arguments for ArrayAcccess methods by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10804 - Don't crash on invalid templates by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10806 - report error for single param name mismatch too since named args can even be used then by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10822 - add support for named arguments for filter_var and filter_input by [@​pilif](https://togithub.com/pilif) in [vimeo/psalm#10815 - When inside isset, make array fetch result nullable by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10756 - Promoted properties missing in extended \__construct should report PropertyNotSetInConstructor by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10817 - Updating signature of `getmxrr()` by [@​ThomasLandauer](https://togithub.com/ThomasLandauer) in [vimeo/psalm#10847 - Improve string-int juggle consistency in array keys and display for int-like strings in type by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10814 - Fix storage not available in thread for intersection doc types by [@​simonberger](https://togithub.com/simonberger) in [vimeo/psalm#10856 - Don't emit MissingOverrideAttribute for implicit Stringable implementations by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10858 - Specify array return type of session_get_cookie_params by [@​jorgsowa](https://togithub.com/jorgsowa) in [vimeo/psalm#10859 - Unknown [@​psalm](https://togithub.com/psalm) annotation should not make whole docblock invalid by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10885 - Add `mail` to impure functions list by [@​smaddock](https://togithub.com/smaddock) in [vimeo/psalm#10923 - Update PHP 8.2 Call map delta with refined types for string comparison functions by [@​gsteel](https://togithub.com/gsteel) in [vimeo/psalm#10883 ##### Docs - document that [@​psalm-internal](https://togithub.com/psalm-internal) works for namespace + class too by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10866 ##### Internal changes - fix tests running with other than called PHP binary if called with a non-default PHP binary by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10842 - Explicitly set value in config to fix warning in tests by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10843 - \[PHP 8.4] Fixes for implicit nullability deprecation by [@​Ayesh](https://togithub.com/Ayesh) in [vimeo/psalm#10832 - Throw exception instead of silently logging issues occurred during scan by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10902 ##### Other changes - Fix conditional on non empty literal string by [@​VincentLanglet](https://togithub.com/VincentLanglet) in [vimeo/psalm#10912 - Ignore jsonSerialize for implementors of JsonSerializable by [@​josephwynn-sc](https://togithub.com/josephwynn-sc) in [vimeo/psalm#10891 - Add XML functions to ImpureFunctionsList [#​10882](https://togithub.com/vimeo/psalm/issues/10882) by [@​DKhalil](https://togithub.com/DKhalil) in [vimeo/psalm#10887 #### New Contributors - [@​Ayesh](https://togithub.com/Ayesh) made their first contribution in [vimeo/psalm#10832 - [@​smaddock](https://togithub.com/smaddock) made their first contribution in [vimeo/psalm#10923 - [@​josephwynn-sc](https://togithub.com/josephwynn-sc) made their first contribution in [vimeo/psalm#10891 - [@​DKhalil](https://togithub.com/DKhalil) made their first contribution in [vimeo/psalm#10887 **Full Changelog**: vimeo/psalm@5.23.1...5.24.0 ### [`v5.23.1`](https://togithub.com/vimeo/psalm/releases/tag/5.23.1) [Compare Source](https://togithub.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://togithub.com/issidorov) in [vimeo/psalm#10812 **Full Changelog**: vimeo/psalm@5.23.0...5.23.1 ### [`v5.23.0`](https://togithub.com/vimeo/psalm/releases/tag/5.23.0) [Compare Source](https://togithub.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://togithub.com/gsteel) in [vimeo/psalm#10726 - Add list of statements to BeforeFileAnalysisEvent by [@​ohader](https://togithub.com/ohader) in [vimeo/psalm#10728 - Forbid iterating over generators with non-nullable `send()` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10697 - Initial support for named parameters for callables by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10772 ##### Fixes - Improve randomizer stubs by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10709 - Fix detecting magic static methods by [@​issidorov](https://togithub.com/issidorov) in [vimeo/psalm#10704 - Fix non-empty-lowercase-string handling with literal non-lowercase strings by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10722 - Fix RiskyTruthyFalsyComparison irrelevant errors when there is no explicit truthy/falsy type by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10733 - Allow `Override` attribute to be used in pure contexts by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10734 - Revert "Allow tainted numerics except for 'html' and 'has_quotes'" by [@​ohader](https://togithub.com/ohader) in [vimeo/psalm#10729 - Fix loading stubs from phar file on Windows by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10748 - Fix a false flag issue with InvalidConstantAssignmentValue by [@​MelechMizrachi](https://togithub.com/MelechMizrachi) in [vimeo/psalm#10738 - Set inside_isset false when analyzing ArrayDimFetch index by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10752 - Set inside_isset = false when analyzing arguments by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10753 - Fix PHP notice - crash on invalid taint-escape by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10760 - Fix version comparison for `@since` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10764 - Since annotations outside phpstub should not infer php version by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10769 - Backport `WeakMap` iterator fix from `master` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10778 - Namespace anonymous classes by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10779 - Update CallMap for sqlsrv_connect and sqlsrv_errors to match reflection by [@​theodorejb](https://togithub.com/theodorejb) in [vimeo/psalm#10781 - `$resource` parameter of `mkdir()` is nullable since PHP 7.3 by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10802 - Use wider class-string when combining class strings with intersections by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10800 ##### Internal changes - Use TaintKind/TaintKindGroup constants instead of string values by [@​ohader](https://togithub.com/ohader) in [vimeo/psalm#10746 - Skip symlink test on Windows by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10749 - Avoid duplicating code for RiskyTruthyFalsyComparison by [@​theodorejb](https://togithub.com/theodorejb) in [vimeo/psalm#10765 - fix PHP 8 tests running with wrong --php-version=/phpVersion= if not explicitly specified by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10776 - CS fix by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10801 #### New Contributors - [@​MelechMizrachi](https://togithub.com/MelechMizrachi) made their first contribution in [vimeo/psalm#10738 **Full Changelog**: vimeo/psalm@5.22.2...5.23.0 ### [`v5.22.2`](https://togithub.com/vimeo/psalm/releases/tag/5.22.2) [Compare Source](https://togithub.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://togithub.com/weirdan) and [@​ohader](https://togithub.com/ohader) in [vimeo/psalm#10720 **Full Changelog**: vimeo/psalm@5.22.1...5.22.2 ### [`v5.22.1`](https://togithub.com/vimeo/psalm/releases/tag/5.22.1) [Compare Source](https://togithub.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://togithub.com/weirdan) in [vimeo/psalm#10713 **Full Changelog**: vimeo/psalm@5.22.0...5.22.1 ### [`v5.22.0`](https://togithub.com/vimeo/psalm/releases/tag/5.22.0) [Compare Source](https://togithub.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://togithub.com/weirdan) in [vimeo/psalm#10623 - allow typedef imports from any kind of classlike by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10625 - Allow enum cases to be global constants by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10634 - New InvalidOverride issue for Override attribute by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10644 - Analyze dynamic names for static property and const fetches by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10629 - New MissingOverrideAttribute issue by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10651 - Flag `stdClass::__construct()` calls that have arguments by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10661 - Improve Reflection stubs by [@​vudaltsov](https://togithub.com/vudaltsov) in [vimeo/psalm#10091 - Forbid constructors from returning any values by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10686 - Report first class callables generated for unknown static methods by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10691 - Process `@psalm-this-out` on `__construct()` as well by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10690 - Report invalid number of arguments for psalm-taint-\* by [@​staabm](https://togithub.com/staabm) in [vimeo/psalm#10699 ##### Fixes - Fix ownerDocument type in dom-ext classes by [@​fluffycondor](https://togithub.com/fluffycondor) in [vimeo/psalm#10619 - Fix numeric scalar validate filter var input return type wrong by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10621 - Stable baseline by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10633 - Allow sebastian/diff v6 by [@​simPod](https://togithub.com/simPod) in [vimeo/psalm#10639 - CallMap: Adjust return type for `inotify_add_watch()` to `int|false` by [@​UlrichEckhardt](https://togithub.com/UlrichEckhardt) in [vimeo/psalm#10637 - Fix check-type when using builtin types from within a namespace by [@​robchett](https://togithub.com/robchett) in [vimeo/psalm#10648 - Do not add `callable` as a native property type by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10654 - Fix additional places where base_dir was broken due to missing separator by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10630 - Late binding of enum cases by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10655 - Suppress `UndefinedClass` in `whatever_exists()` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10659 - Fix parsing magic method annotations by [@​issidorov](https://togithub.com/issidorov) in [vimeo/psalm#10665 - Strip callmap prefixes from parameter names by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10666 - Narrow `ord()` return type to `int<0,255>` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10676 - Template union object incorrect assertions by [@​robchett](https://togithub.com/robchett) in [vimeo/psalm#10677 - Don't show backtrace in `InvalidDocblock` issue message by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10679 - Class consts in array shapes by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10678 - Prevent mixed|null by [@​robchett](https://togithub.com/robchett) in [vimeo/psalm#10675 ##### Internal changes - Drop unused local composer repo by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10647 - Clarify that Pull request labels failure is to be resolved by maintainers by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10649 - Fix unstable `hasFullyQualified(Interface|Enum)()` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10603 - Revert partial mistakenly pushed fix by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10671 **Full Changelog**: vimeo/psalm@5.21.1...5.22.0 ### [`v5.21.1`](https://togithub.com/vimeo/psalm/releases/tag/5.21.1) [Compare Source](https://togithub.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://togithub.com/weirdan) in [vimeo/psalm#10628 **Full Changelog**: vimeo/psalm@5.21.0...5.21.1 ### [`v5.21.0`](https://togithub.com/vimeo/psalm/releases/tag/5.21.0) [Compare Source](https://togithub.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://togithub.com/weirdan) in [vimeo/psalm#10617 ##### Fixes - Fix [#​10552](https://togithub.com/vimeo/psalm/issues/10552) by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10572 - Unit test improvements for php-parser 5 by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10574 - Fix template replacement edge case by [@​klimick](https://togithub.com/klimick) in [vimeo/psalm#10586 - Switch condition order by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10594 - Partial revert "Fix auto completion by partial property or method" by [@​issidorov](https://togithub.com/issidorov) in [vimeo/psalm#10588 - \[LSP] Add issue type in description by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10607 - Do not validate callable arguments in lenient contexts by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10601 - `readgzfile()` is impure by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10600 - Allow properties on intersections with enum interfaces by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10599 - `key_exists()` is an alias for `array_key_exists()` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10598 - Fix language server running with `opcache.save_comments=0` by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10614 - Report `MissingConstructor` for natively typed mixed properties by [@​weirdan](https://togithub.com/weirdan) in [vimeo/psalm#10615 ##### Internal changes - Bump actions/cache from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [vimeo/psalm#10584 - Baseline update by [@​jorgsowa](https://togithub.com/jorgsowa) in [vimeo/psalm#10593 - Re-work CheckTrivialExprVisitor by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10612 - Minor php-parser tweaks by [@​edsrzf](https://togithub.com/edsrzf) in [vimeo/psalm#10605 #### New Contributors - [@​jorgsowa](https://togithub.com/jorgsowa) made their first contribution in [vimeo/psalm#10593 **Full Changelog**: vimeo/psalm@5.20.0...5.21.0 ### [`v5.20.0`](https://togithub.com/vimeo/psalm/releases/tag/5.20.0) [Compare Source](https://togithub.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://togithub.com/kkmuffme) in [vimeo/psalm#10502 ##### Fixes - Fix template, conditional array keys by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10568 **Full Changelog**: vimeo/psalm@5.19.1...5.20.0 ### [`v5.19.1`](https://togithub.com/vimeo/psalm/releases/tag/5.19.1) [Compare Source](https://togithub.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://togithub.com/psalm-suppress) DeprecatedClass by [@​samlitowitz](https://togithub.com/samlitowitz) in [vimeo/psalm#10518 - Implement \__set method in SimpleXMLElement stub by [@​kthaler](https://togithub.com/kthaler) in [vimeo/psalm#10536 - Make getrandmax type more specific and unserialize to require class-string by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10540 - Fix mb_get_info can return null - CI failing bc of reflection by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10543 - make basename & dirname return types more specific by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10545 - add support for extract to set variables for keyed arrays and respect EXTR_SKIP by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10544 - remove redundat directory separator which caused "//" in path not found errors by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10542 - Fix empty literal string becomes non-empty-string by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10499 #### New Contributors - [@​samlitowitz](https://togithub.com/samlitowitz) made their first contribution in [vimeo/psalm#10518 - [@​kthaler](https://togithub.com/kthaler) made their first contribution in [vimeo/psalm#10536 **Full Changelog**: vimeo/psalm@5.19.0...5.20.0 ### [`v5.19.0`](https://togithub.com/vimeo/psalm/releases/tag/5.19.0) [Compare Source](https://togithub.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://togithub.com/sj-i) in [vimeo/psalm#10532 - filter_input & filter_var return type more specific by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10498 ##### Fixes - strtok always returns a non-empty-string when it does not return false by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10497 - Fix [#​10512](https://togithub.com/vimeo/psalm/issues/10512): Fixed SessionUpdateTimestampHandlerInterface parameter names by [@​zerkms](https://togithub.com/zerkms) in [vimeo/psalm#10524 - Fix [GH-10465](https://togithub.com/vimeo/psalm/issues/10465) by [@​florisluiten](https://togithub.com/florisluiten) in [vimeo/psalm#10483 - Fix callable without args not handled correctly by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10500 - Add error when using readonly property in by-ref arg by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10505 - fix: [#​10496](https://togithub.com/vimeo/psalm/issues/10496) [#​10503](https://togithub.com/vimeo/psalm/issues/10503) by [@​ging-dev](https://togithub.com/ging-dev) in [vimeo/psalm#10508 #### New Contributors - [@​florisluiten](https://togithub.com/florisluiten) made their first contribution in [vimeo/psalm#10483 **Full Changelog**: vimeo/psalm@5.18.0...5.19.0 ### [`v5.18.0`](https://togithub.com/vimeo/psalm/releases/tag/5.18.0) [Compare Source](https://togithub.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://togithub.com/delolmo) in [vimeo/psalm#10493 ##### Fixes - Fix [#​10460](https://togithub.com/vimeo/psalm/issues/10460) by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10464 - Emit AfterCodebasePopulatedEvent even on partial scans by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10457 - Small assertion fix by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10455 - Fix shaped array class string key combination by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10450 - Fix remaining POSIX-only absolute path detection by [@​theodorejb](https://togithub.com/theodorejb) in [vimeo/psalm#10452 - dont combine empty string with numeric-string by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10459 - Fix type not equal when parent by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10477 - Use same parameter names in stubs by [@​danog](https://togithub.com/danog) in [vimeo/psalm#10480 - fix false positive ArgumentTypeCoercion for callback param by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10454 - report error for invalid array key type by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10481 - fix literal int/string comparisons only using one literal by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10484 - add InvalidArgument error when passing false to true param by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10488 - Fix Uncaught RuntimeException: PHP Error: Uninitialized string offset 0 when $pattern is empty by [@​iMu3ic](https://togithub.com/iMu3ic) in [vimeo/psalm#10489 ##### Internal changes - fix composer scripts running with inconsistent php versions by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10463 - update fidry/cpu-core-counter dependency by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10456 - fix psalm v4 hardcoded in tests by [@​kkmuffme](https://togithub.com/kkmuffme) in [vimeo/psalm#10475 ##### New Contributors - [@​iMu3ic](https://togithub.com/iMu3ic) made their first contribution in [vimeo/psalm#10489 - [@​delolmo](https://togithub.com/delolmo) made their first contribution in [vimeo/psalm#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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.