nextras / orm

Orm with clean object design, smart relationship loading and powerful collections.
https://nextras.org/orm
MIT License
309 stars 59 forks source link

chore(deps): update dependency phpstan/phpstan to v1.12.11 #700

Open renovate[bot] opened 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan 1.12.7 -> 1.12.11 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan) ### [`v1.12.11`](https://redirect.github.com/phpstan/phpstan/releases/tag/1.12.11) [Compare Source](https://redirect.github.com/phpstan/phpstan/compare/1.12.10...1.12.11) # Improvements πŸ”§ - Update `fidry/cpu-core-counter` ([#​3632](https://redirect.github.com/phpstan/phpstan-src/pull/3632)), [https://github.com/phpstan/phpstan/discussions/12026](https://redirect.github.com/phpstan/phpstan/discussions/12026) - Add `TypeCombinator::removeTruthy()` method ([#​3633](https://redirect.github.com/phpstan/phpstan-src/pull/3633)), thanks [@​canvural](https://redirect.github.com/canvural)! - Add basic type narrowing for `$a != ''` ([#​3304](https://redirect.github.com/phpstan/phpstan-src/pull/3304)), thanks [@​thg2k](https://redirect.github.com/thg2k)! - Use the correct type for final constants ([#​3638](https://redirect.github.com/phpstan/phpstan-src/pull/3638)), thanks [@​thg2k](https://redirect.github.com/thg2k)! # Bugfixes πŸ› - Fix resolving class constant type using `self::` in a class attribute argument (https://github.com/phpstan/phpstan-src/commit/3447391001f7a5c2bfb77f66c2d0e157242c1dae), [#​12011](https://redirect.github.com/phpstan/phpstan/issues/12011), [#​10314](https://redirect.github.com/phpstan/phpstan/issues/10314) - Do not report nonexistent variable passed to by-ref parameter with checkImplicitMixed (level 10 in 2.0) (https://github.com/phpstan/phpstan-src/commit/f158d5bf32135d90a31f14993a3d2196cb456b3b), [#​12015](https://redirect.github.com/phpstan/phpstan/issues/12015) - Add `null` to `array_map(null, $a, $b)` ([#​3562](https://redirect.github.com/phpstan/phpstan-src/pull/3562)), thanks [@​schlndh](https://redirect.github.com/schlndh)! - Fix `ArrayType` with `checkImplicitMixed` (level 10 in 2.0) ([#​3636](https://redirect.github.com/phpstan/phpstan-src/pull/3636)), [#​12051](https://redirect.github.com/phpstan/phpstan/issues/12051), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! # Function signature fixes πŸ€– - Fix `extract()` signature ([#​3512](https://redirect.github.com/phpstan/phpstan-src/pull/3512)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Improve signature for `get_defined_constants()` ([#​3635](https://redirect.github.com/phpstan/phpstan-src/pull/3635)), thanks [@​thg2k](https://redirect.github.com/thg2k)! - `fgetcsv` accepts `null` for `$length` ([#​3077](https://redirect.github.com/phpstan/phpstan-src/pull/3077)), thanks [@​staabm](https://redirect.github.com/staabm)! ### [`v1.12.10`](https://redirect.github.com/phpstan/phpstan/releases/tag/1.12.10) [Compare Source](https://redirect.github.com/phpstan/phpstan/compare/1.12.9...1.12.10) # Bugfixes πŸ› - ClassReflection: resolve missing template type to its default (if set) rather than bound ([#​3623](https://redirect.github.com/phpstan/phpstan-src/pull/3623)), [#​11899](https://redirect.github.com/phpstan/phpstan/issues/11899), thanks [@​jiripudil](https://redirect.github.com/jiripudil)! - Fix `for` endless loop detection ([#​3622](https://redirect.github.com/phpstan/phpstan-src/pull/3622)), [#​11992](https://redirect.github.com/phpstan/phpstan/issues/11992), thanks [@​herndlm](https://redirect.github.com/herndlm)! - Fix tagging Docker image (https://github.com/phpstan/phpstan/commit/379b9a230ededc558195620de0f31d251bbe6166) ### [`v1.12.9`](https://redirect.github.com/phpstan/phpstan/releases/tag/1.12.9) [Compare Source](https://redirect.github.com/phpstan/phpstan/compare/1.12.8...1.12.9) # Improvements πŸ”§ - Support `@readonly` PHPDoc on the class as alternative to `@immutable` ([#​3523](https://redirect.github.com/phpstan/phpstan-src/pull/3523)), [#​11775](https://redirect.github.com/phpstan/phpstan/issues/11775), thanks [@​herndlm](https://redirect.github.com/herndlm)! # Bugfixes πŸ› - Fix too early lowercase-string inference ([#​3585](https://redirect.github.com/phpstan/phpstan-src/pull/3585)), [#​11852](https://redirect.github.com/phpstan/phpstan/issues/11852), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Support `for` endless loops ([#​3573](https://redirect.github.com/phpstan/phpstan-src/pull/3573)), [#​6807](https://redirect.github.com/phpstan/phpstan/issues/6807), [#​8463](https://redirect.github.com/phpstan/phpstan/issues/8463), [#​9374](https://redirect.github.com/phpstan/phpstan/issues/9374), thanks [@​herndlm](https://redirect.github.com/herndlm)! - More precise types for `preg_match` greater than `0` ([#​3612](https://redirect.github.com/phpstan/phpstan-src/pull/3612)), [#​11293](https://redirect.github.com/phpstan/phpstan/issues/11293), thanks [@​staabm](https://redirect.github.com/staabm)! - Too-wide return type - do not report void in PHPDoc union type (https://github.com/phpstan/phpstan-src/commit/5f0b1ccfa47060c209ead7116005214183c0e56f), [#​11980](https://redirect.github.com/phpstan/phpstan/issues/11980) - Too-wide return type - allow `void` return type in a union when the returned expr is originally `void` (https://github.com/phpstan/phpstan-src/commit/80c1df2d73210227776db5443dbc28c2d71fa289), [#​11980](https://redirect.github.com/phpstan/phpstan/issues/11980) - RichParser - fix `@phpstan-ignore` with trait in the same file (https://github.com/phpstan/phpstan-src/commit/381c1370e7ce3b1c2d8de6c5b30913908c362eb8), [#​11981](https://redirect.github.com/phpstan/phpstan/issues/11981) # Internals πŸ” - Result DTOs - make reasons unique (https://github.com/phpstan/phpstan-src/commit/ccfb4ab7a19151925b9434e3245892006b3d9dcd) ### [`v1.12.8`](https://redirect.github.com/phpstan/phpstan/releases/tag/1.12.8) [Compare Source](https://redirect.github.com/phpstan/phpstan/compare/1.12.7...1.12.8) # Improvements πŸ”§ - OffsetAccessValueAssignmentRule optimization for huge arrays (https://github.com/phpstan/phpstan-src/commit/a07996a9cad15c0c6e6e8fd57338236734a5c0dd) - Fix performance issue with big appended arrays (https://github.com/phpstan/phpstan-src/commit/537c12c0c3f14371ceaf59051fc5445339857a97), [#​11913](https://redirect.github.com/phpstan/phpstan/issues/11913) - processAssignVar optimization for arrays (https://github.com/phpstan/phpstan-src/commit/16f63b3a48105ddce37d816e157f004fe9164cf9), - Another micro optimization (https://github.com/phpstan/phpstan-src/commit/c04555b9387dea448a5649348546e9629063dda8) - Optimization of huge unions of oversized arrays (https://github.com/phpstan/phpstan-src/commit/4dfbe16ed9cdf0808027f3bcbdb26980ec39df3f) - Avoid new HasOffsetValueType being intersected with oversized array (https://github.com/phpstan/phpstan-src/commit/deef91983766dd61c18d4f9d819ffc94fb701cd5) - Add ArrayFindFunctionReturnTypeExtension (PHP 8.4) ([#​3518](https://redirect.github.com/phpstan/phpstan-src/pull/3518), [#​3608](https://redirect.github.com/phpstan/phpstan-src/pull/3608)), thanks [@​zonuexe](https://redirect.github.com/zonuexe)! # Bugfixes πŸ› - Do not transform `$this` in return type even in final classes ([#​3599](https://redirect.github.com/phpstan/phpstan-src/pull/3599)), [#​11857](https://redirect.github.com/phpstan/phpstan/issues/11857), thanks [@​calebdw](https://redirect.github.com/calebdw)! - Exclude `E_DEPRECATED` from error_reporting (https://github.com/phpstan/phpstan-src/commit/277e34b23a43b7ff0cca0c141789d0a786690e9b), [#​11937](https://redirect.github.com/phpstan/phpstan/issues/11937) - More precise types in immediately invoked callables ([#​3593](https://redirect.github.com/phpstan/phpstan-src/pull/3593), [#​3602](https://redirect.github.com/phpstan/phpstan-src/pull/3602)), [#​11561](https://redirect.github.com/phpstan/phpstan/issues/11561), [#​11945](https://redirect.github.com/phpstan/phpstan/issues/11945), thanks [@​staabm](https://redirect.github.com/staabm)! - Only use last for condition to filter scope ([#​3578](https://redirect.github.com/phpstan/phpstan-src/pull/3578)), thanks [@​herndlm](https://redirect.github.com/herndlm)! - Preserve correct UnionType subclass in `filterTypes()` ([#​3535](https://redirect.github.com/phpstan/phpstan-src/pull/3535)), [#​11663](https://redirect.github.com/phpstan/phpstan/issues/11663), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! # Function signature fixes πŸ€– - `Imagick::writeImage(s)File` supporting `format` parameter ([#​3588](https://redirect.github.com/phpstan/phpstan-src/pull/3588)), thanks [@​kingjia90](https://redirect.github.com/kingjia90)! # Internals πŸ” - Remove unnecessary `instanceof ConstantBooleanType` in loop analysis ([#​3577](https://redirect.github.com/phpstan/phpstan-src/pull/3577)), [#​11913](https://redirect.github.com/phpstan/phpstan/issues/11913), thanks [@​herndlm](https://redirect.github.com/herndlm)! - NodeScopeResolver - refactoring before optimization (https://github.com/phpstan/phpstan-src/commit/1a0099dc61674ff1eb0ef8d68c90011f2206a64b) - Add `@api` to TypeExpr ([#​3601](https://redirect.github.com/phpstan/phpstan-src/pull/3601)), thanks [@​ruudk](https://redirect.github.com/ruudk)! - Split ArrayFilterFunctionReturnTypeExtension to Helper ([#​3606](https://redirect.github.com/phpstan/phpstan-src/pull/3606)), thanks [@​zonuexe](https://redirect.github.com/zonuexe)! - Introduce `UnionType::filterTypes` ([#​3607](https://redirect.github.com/phpstan/phpstan-src/pull/3607)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)!

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.



This PR was generated by Mend Renovate. View the repository job log.