RoboJackets / jedi

Identity event bus
Apache License 2.0
0 stars 0 forks source link

Update PHPStan packages #516

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
larastan/larastan 2.9.1 -> 2.9.2 age adoption passing confidence
phpstan/phpstan 1.10.59 -> 1.10.66 age adoption passing confidence
phpstan/phpstan-strict-rules 1.5.2 -> 1.5.3 age adoption passing confidence

Release Notes

larastan/larastan (larastan/larastan) ### [`v2.9.2`](https://togithub.com/larastan/larastan/releases/tag/v2.9.2): 2.9.2 [Compare Source](https://togithub.com/larastan/larastan/compare/v2.9.1...v2.9.2) ### What's Changed #### Added - feat: return all auth models when no guard is specified by [@​calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1848](https://togithub.com/larastan/larastan/pull/1848) #### Fixed - Fix UnusedViewsRule not providing an existing file path to RuleErrorBuilder by [@​mad-briller](https://togithub.com/mad-briller) in [https://github.com/larastan/larastan/pull/1862](https://togithub.com/larastan/larastan/pull/1862) #### Internal - chore: setup codestyle checks by [@​canvural](https://togithub.com/canvural) in [https://github.com/larastan/larastan/pull/1867](https://togithub.com/larastan/larastan/pull/1867) **Full Changelog**: https://github.com/larastan/larastan/compare/v2.9.1...v2.9.2
phpstan/phpstan (phpstan/phpstan) ### [`v1.10.66`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.66) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.65...1.10.66) # Improvements πŸ”§ - Detect mismatch between readonly/non-readonly class parent (https://github.com/phpstan/phpstan-src/commit/986cbdfb2fd0c3de71b31ac3f212bd499d2131e1), [#​10789](https://togithub.com/phpstan/phpstan/issues/10789) - TypeInferenceTestCase - fix for performance problem with PHPUnit 11 (https://github.com/phpstan/phpstan-src/commit/da87a6541f97b01e35d309524f05c0d3d0bc0a00), [#​10757](https://togithub.com/phpstan/phpstan/issues/10757) # Bugfixes πŸ› - `array_push` preserves list (https://github.com/phpstan/phpstan-src/commit/5473b6701c1a9dd3ca1eb676b3b2c0dec43f2535) # Function signature fixes πŸ€– - Fix `redis::get` signature ([#​2990](https://togithub.com/phpstan/phpstan-src/pull/2990)), thanks [@​VincentLanglet](https://togithub.com/VincentLanglet)! # Internals πŸ” - Prevent unnecessary calls into reflection from JSON extensions ([#​2994](https://togithub.com/phpstan/phpstan-src/pull/2994)), thanks [@​staabm](https://togithub.com/staabm)! ### [`v1.10.65`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.65) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.64...1.10.65) # Improvements πŸ”§ - Fix slow enum cases union with lots of cases ([#​2985](https://togithub.com/phpstan/phpstan-src/pull/2985)), [#​10772](https://togithub.com/phpstan/phpstan/issues/10772), thanks [@​staabm](https://togithub.com/staabm)! # Bugfixes πŸ› - Update BetterReflection ([#​2988](https://togithub.com/phpstan/phpstan-src/pull/2988)) - Fix ReflectionSourceStubber compatibility before PHP 8.1 (https://github.com/ondrejmirtes/BetterReflection/commit/94ca1336c58332604a74012d20286a240db376ea), [https://github.com/larastan/larastan/pull/1882](https://togithub.com/larastan/larastan/pull/1882) - Fix trait method visibility (https://github.com/ondrejmirtes/BetterReflection/commit/d6153d513eb9111f01740394c61ff72142030089?w=1) # Function signature fixes πŸ€– - Add benevolent union return types ([#​2986](https://togithub.com/phpstan/phpstan-src/pull/2986)), thanks [@​zonuexe](https://togithub.com/zonuexe)! # Internals πŸ” - Add more tests for issue [#​10622](https://togithub.com/phpstan/phpstan/issues/10622) ([#​2961](https://togithub.com/phpstan/phpstan-src/pull/2961)), thanks [@​mvorisek](https://togithub.com/mvorisek)! - Remove unnecessary method calls in ClassReflection ([#​2984](https://togithub.com/phpstan/phpstan-src/pull/2984)), thanks [@​staabm](https://togithub.com/staabm)! - Use `TrinaryLogic::describe()` in test (https://github.com/phpstan/phpstan-src/commit/222a66cdbf67f2ae367b251ed56acda53a3d8286) ### [`v1.10.64`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.64) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.63...1.10.64) # Bleeding edge πŸ”ͺ - Fail build when project config uses custom extensions outside of analysed paths - This will only occur after a run that uses already present and valid result cache *If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's `phpstan.neon`:* includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neon *Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. [Learn more](https://phpstan.org/blog/what-is-bleeding-edge)* # Improvements πŸ”§ - Introduce `ForbiddenClassNameExtension` for append additional forbidden class prefixes ([#​2979](https://togithub.com/phpstan/phpstan-src/pull/2979)), thanks [@​kamil-zacek](https://togithub.com/kamil-zacek)! - Add `AlwaysUsedMethodExtension` ([#​2927](https://togithub.com/phpstan/phpstan-src/pull/2927)), thanks [@​axlon](https://togithub.com/axlon)! - Warn about possibly stale result cache with custom extensions (https://github.com/phpstan/phpstan-src/commit/9338fdfe1611f742c65c61e5035315e1d64c4972) - This is how it looks: https://twitter.com/OndrejMirtes/status/1770024563113390437 # Bugfixes πŸ› - Fix deprecated parameter order ([#​2971](https://togithub.com/phpstan/phpstan-src/pull/2971)), thanks [@​sayuprc](https://togithub.com/sayuprc)! # Function signature fixes πŸ€– - Fix `DOMDocument::load` return type ([#​2975](https://togithub.com/phpstan/phpstan-src/pull/2975)), thanks [@​VincentLanglet](https://togithub.com/VincentLanglet)! - Fix `SplObjectStorage::removeAll/Except` ([#​2892](https://togithub.com/phpstan/phpstan-src/pull/2892)), thanks [@​schlndh](https://togithub.com/schlndh)! ### [`v1.10.63`](https://togithub.com/phpstan/phpstan/compare/1.10.62...1.10.63) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.62...1.10.63) ### [`v1.10.62`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.62) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.61...1.10.62) # Improvements πŸ”§ - Too wide return type - report for conditional return types (https://github.com/phpstan/phpstan-src/commit/de1c07ea68c36854b46c43ee575145ad4ae2386a) # Bugfixes πŸ› - Constants deprecation depends on PHP version in comment ([#​2967](https://togithub.com/phpstan/phpstan-src/pull/2967)), [#​10700](https://togithub.com/phpstan/phpstan/issues/10700), thanks [@​staabm](https://togithub.com/staabm)! - Make `@param-out` work even if it is the only conditional type in a function signature (https://github.com/phpstan/phpstan-src/commit/787c1e2b46a40ccac9bb254fd45204a310f6ff2f) - ParameterOutAssignedTypeRule - fix for conditional types (https://github.com/phpstan/phpstan-src/commit/19497ba0317be7e37f2c969118c93ce3be1e6fd2) - ParameterOutExecutionEndTypeRule - fix for conditional types (https://github.com/phpstan/phpstan-src/commit/27c73f7f67ba74688d4ed0b3b0f5c0c3a9c60012) - Too wide `@param-out` - fix for conditional types (https://github.com/phpstan/phpstan-src/commit/5a4789339e5768628bf9bb2abdf38eff135553cd) ### [`v1.10.61`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.61) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.60...1.10.61) # Improvements πŸ”§ - Update BetterReflection to 6.25.0 - Implement PHP Version dependent deprecations for constants ([https://github.com/Roave/BetterReflection/pull/1396](https://togithub.com/Roave/BetterReflection/pull/1396)), thanks [@​staabm](https://togithub.com/staabm)! - Support for `final` modifier in traits ([https://github.com/Roave/BetterReflection/pull/1383](https://togithub.com/Roave/BetterReflection/pull/1383)), thanks [@​kukulich](https://togithub.com/kukulich)! - Support for conditional types in `@param-out` (https://github.com/phpstan/phpstan-src/commit/effad95da555c2b6c7b305178a221e84c831df61), [#​10699](https://togithub.com/phpstan/phpstan/issues/10699) - Check conditional types in `@param-out` (https://github.com/phpstan/phpstan-src/commit/67f9420cba9fa45501cdca87770d50c5c22bd508) # Bugfixes πŸ› - Too wide `@param-out` type - consider all execution ends at once (https://github.com/phpstan/phpstan-src/commit/d1bcf786eedbce9fee74f43f080678fa7788e4e3), [#​10687](https://togithub.com/phpstan/phpstan/issues/10687), [#​10684](https://togithub.com/phpstan/phpstan/issues/10684) # Internals πŸ” - MethodReturnStatementsNode - use ExtendedMethodReflection (https://github.com/phpstan/phpstan-src/commit/3cc1a545641b172b2cb1e89030cde9baa6b0c527) ### [`v1.10.60`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.60) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.59...1.10.60) [**Learn more about this release**](https://phpstan.org/blog/enhancements-in-handling-parameters-passed-by-reference) in an article on phpstan.org! # Major new features πŸš€ - Generic `@method` tags: `@method T doFoo(T $p)`, [#​6371](https://togithub.com/phpstan/phpstan/issues/6371) - [Learn more](https://twitter.com/OndrejMirtes/status/1760994823073370509) - [#​2931](https://togithub.com/phpstan/phpstan-src/pull/2931), [#​2935](https://togithub.com/phpstan/phpstan-src/pull/2935), thanks [@​mad-briller](https://togithub.com/mad-briller)! - Generic callable types: `callable(T): T`, [#​8964](https://togithub.com/phpstan/phpstan/issues/8964) - [#​2938](https://togithub.com/phpstan/phpstan-src/pull/2938), [#​2945](https://togithub.com/phpstan/phpstan-src/pull/2945), [#​2946](https://togithub.com/phpstan/phpstan-src/pull/2946), thanks [@​mad-briller](https://togithub.com/mad-briller)! - Error on references of prefixed internal class names from PHAR files ([#​2932](https://togithub.com/phpstan/phpstan-src/pull/2932)), thanks [@​staabm](https://togithub.com/staabm)! # Bleeding edge πŸ”ͺ - **Enhancements in Handling Parameters Passed by Reference** - [Learn more on phpstan.org](https://phpstan.org/blog/enhancements-in-handling-parameters-passed-by-reference) - [#​2941](https://togithub.com/phpstan/phpstan-src/pull/2941), thanks [@​ljmaskey](https://togithub.com/ljmaskey)! - Add option `reportAnyTypeWideningInVarTag` ([#​2840](https://togithub.com/phpstan/phpstan-src/pull/2840)), thanks [@​janedbal](https://togithub.com/janedbal)! *If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's `phpstan.neon`:* includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neon *Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. [Learn more](https://phpstan.org/blog/what-is-bleeding-edge)* # Improvements πŸ”§ - Add support for constructor assertions ([#​2950](https://togithub.com/phpstan/phpstan-src/pull/2950)), [#​10645](https://togithub.com/phpstan/phpstan/issues/10645), thanks [@​axlon](https://togithub.com/axlon)! - Report uses of deprecated constants ([#​2953](https://togithub.com/phpstan/phpstan-src/pull/2953)), thanks [@​staabm](https://togithub.com/staabm)! # Bugfixes πŸ› - Fix how union of callables is understood ([#​2902](https://togithub.com/phpstan/phpstan-src/pull/2902)), [#​10442](https://togithub.com/phpstan/phpstan/issues/10442), thanks [@​mad-briller](https://togithub.com/mad-briller)! - Fix for inferring closure parameter type from callable union (https://github.com/phpstan/phpstan-src/commit/c10476d268bedc5e7bc66b44d160a453edb1cacb) - ArrayType - string offset might exist as integer offset ([#​2928](https://togithub.com/phpstan/phpstan-src/pull/2928)), [#​10610](https://togithub.com/phpstan/phpstan/issues/10610), thanks [@​michalbundyra](https://togithub.com/michalbundyra)! - Truncate description of huge UnionType (https://github.com/phpstan/phpstan-src/commit/039a3dc135bf9f23971437ebd4718291a1404d2d), [#​10614](https://togithub.com/phpstan/phpstan/issues/10614) - fix type of `$a?->b::c()` and `$a?->b::$c` ([#​2933](https://togithub.com/phpstan/phpstan-src/pull/2933)), thanks [@​schlndh](https://togithub.com/schlndh)! - fix `fn() => __FUNCTION__` and `__METHOD__` ([#​2934](https://togithub.com/phpstan/phpstan-src/pull/2934)), thanks [@​schlndh](https://togithub.com/schlndh)! - Some sort functions do not preserve a list (https://github.com/phpstan/phpstan-src/commit/034f7313064b207883a13f1e25a76975560215b9, https://github.com/phpstan/phpstan-src/commit/0977a7b0259cbe4055c6fb0200708b2ec137d770), [#​10627](https://togithub.com/phpstan/phpstan/issues/10627) - ArgumentsNormalizer - keep named arguments for unknown parameters (https://github.com/phpstan/phpstan-src/commit/ad34452cb12cdebd19c80a3f34ef2819c2e37bbb), [#​10628](https://togithub.com/phpstan/phpstan/issues/10628) - Check `T of mixed&Foo` and `T of mixed|Foo` ([#​2940](https://togithub.com/phpstan/phpstan-src/pull/2940)), thanks [@​schlndh](https://togithub.com/schlndh)! - Use narrowed conditional type if/else types for subtype checks ([#​2948](https://togithub.com/phpstan/phpstan-src/pull/2948)), [#​10622](https://togithub.com/phpstan/phpstan/issues/10622), thanks [@​rvanvelzen](https://togithub.com/rvanvelzen)! - Fix `isSuperTypeOf` of callable/Closure when parameter count differ ([#​2949](https://togithub.com/phpstan/phpstan-src/pull/2949)), [#​10594](https://togithub.com/phpstan/phpstan/issues/10594), thanks [@​takaram](https://togithub.com/takaram)! # Function signature fixes πŸ€– - Fix `ReflectionFunctionAbstract::getExtension` return type (https://github.com/phpstan/phpstan-src/commit/2ece1f82b0e95541908f052d74a1cb29f2a4b4b7) - Correct return type of `date_sun_info()` function ([#​2947](https://togithub.com/phpstan/phpstan-src/pull/2947)), thanks [@​zonuexe](https://togithub.com/zonuexe)! - Fix return values of `mysqli get_warnings` ([#​2929](https://togithub.com/phpstan/phpstan-src/pull/2929)), thanks [@​janedbal](https://togithub.com/janedbal)! # Internals πŸ” - Replace composer-require-checker with composer-dependency-analyser ([#​2875](https://togithub.com/phpstan/phpstan-src/pull/2875)), thanks [@​janedbal](https://togithub.com/janedbal)! - Use `Type::isNull()` in `Nullsafe(MethodCall|PropertyFetch)Rule` ([#​2942](https://togithub.com/phpstan/phpstan-src/pull/2942)), thanks [@​takaram](https://togithub.com/takaram)!
phpstan/phpstan-strict-rules (phpstan/phpstan-strict-rules) ### [`v1.5.3`](https://togithub.com/phpstan/phpstan-strict-rules/releases/tag/1.5.3) [Compare Source](https://togithub.com/phpstan/phpstan-strict-rules/compare/1.5.2...1.5.3) - [568210b](http://github.com/phpstan/phpstan-strict-rules/commit/568210bd301f94a0d4b1e5a0808c374c1b9cf11b) - Introduce strict array_filter call (require callback method) - [4723149](http://github.com/phpstan/phpstan-strict-rules/commit/47231491ae99cfc7b72a3c8c15ebfc9f7aa91b34) - Require PHPStan 1.10.60 - [2fc12e5](http://github.com/phpstan/phpstan-strict-rules/commit/2fc12e57e8e3775e2177656f0184a9943937f018) - Fix UselessCastRuleTest.

Configuration

πŸ“… Schedule: Branch creation - "before 4pm on Wednesday except before 9am on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ‘» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.