nextras / dbal

Database Abstraction Layer – concise secure API to construct queries & fetch data
https://nextras.org/dbal
MIT License
79 stars 28 forks source link

chore(deps): update phpstan packages to v2 (major) #260

Closed renovate[bot] closed 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 -> 2.0.0 age adoption passing confidence
phpstan/phpstan-deprecation-rules 1.2.1 -> 2.0.0 age adoption passing confidence
phpstan/phpstan-strict-rules 1.6.1 -> 2.0.0 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan) ### [`v2.0.0`](https://redirect.github.com/phpstan/phpstan/compare/1.12.9...2.0.0) [Compare Source](https://redirect.github.com/phpstan/phpstan/compare/1.12.9...2.0.0) ### [`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)!
phpstan/phpstan-deprecation-rules (phpstan/phpstan-deprecation-rules) ### [`v2.0.0`](https://redirect.github.com/phpstan/phpstan-deprecation-rules/releases/tag/2.0.0) [Compare Source](https://redirect.github.com/phpstan/phpstan-deprecation-rules/compare/1.2.1...2.0.0) - [81833b5](http://github.com/phpstan/phpstan-deprecation-rules/commit/81833b5787e2e8f451b31218875e29e4ed600ab2) - Removed always true PHP_VERSION_ID condition - [f4a969d](http://github.com/phpstan/phpstan-deprecation-rules/commit/f4a969d80e6c7b9867497ef92a2ab0e41fe13186) - Merge branch '1.2.x' into 2.0.x - [0ccccb1](http://github.com/phpstan/phpstan-deprecation-rules/commit/0ccccb19bfe6fa72f0129b903fd468dd566fc050) - `selectSingle()` is being deprecated - [392bbe7](http://github.com/phpstan/phpstan-deprecation-rules/commit/392bbe7be54b00fbe945fede6a8ef543216f3b9c) - Updates for PHPStan 2.0 changes - [89572d5](http://github.com/phpstan/phpstan-deprecation-rules/commit/89572d5481ec1e121ac1567f689fe49a25d6cef6) - Merge branch '1.2.x' into 2.0.x - [398e2e2](http://github.com/phpstan/phpstan-deprecation-rules/commit/398e2e2d7b71cbdd943c87bd7c7731ad1eeaf1cd) - Merge remote-tracking branch 'origin/1.2.x' into 2.0.x - [4590cf6](http://github.com/phpstan/phpstan-deprecation-rules/commit/4590cf64974274acb3cf683bddfbe59031272949) - Update build-cs - [681b2db](http://github.com/phpstan/phpstan-deprecation-rules/commit/681b2db627d4104b96afce76597ddf23f4d92cd8) - Stop testing PHP 7.2 and 7.3 - [0e1d78a](http://github.com/phpstan/phpstan-deprecation-rules/commit/0e1d78a485ecf4648758db4cc7f8723b7a4e2c94) - Open 2.0.x
phpstan/phpstan-strict-rules (phpstan/phpstan-strict-rules) ### [`v2.0.0`](https://redirect.github.com/phpstan/phpstan-strict-rules/releases/tag/2.0.0) [Compare Source](https://redirect.github.com/phpstan/phpstan-strict-rules/compare/1.6.1...2.0.0) - [a4a6a08](http://github.com/phpstan/phpstan-strict-rules/commit/a4a6a08bd4a461e516b9c3b8fdbf0f1883b34158) - Remove dead test because of raised min-php version - [b60bffc](http://github.com/phpstan/phpstan-strict-rules/commit/b60bffc846824fdeb70d41cfe4de956c8557e2fd) - Fix - [5d50bde](http://github.com/phpstan/phpstan-strict-rules/commit/5d50bde7ed256a94e50e1466a105f8d53fc5ed3a) - Fix - [0368403](http://github.com/phpstan/phpstan-strict-rules/commit/03684036b5be8ce41a628e84a11ba71ff1d795c5) - Fix - [1721dbf](http://github.com/phpstan/phpstan-strict-rules/commit/1721dbffc29ce0f689dad7f9666c1e99e47439cd) - Fix after PHPStan update - [e208c93](http://github.com/phpstan/phpstan-strict-rules/commit/e208c9311872047b903511e2e03cb0df795014b0) - Fix after PHPStan update - [63956f7](http://github.com/phpstan/phpstan-strict-rules/commit/63956f7896780551ed1ab29e75a6a645d8a0919c) - Moved illegalConstructorMethodCall rules from phpstan to phpstan-strict-rules - [ad53bd9](http://github.com/phpstan/phpstan-strict-rules/commit/ad53bd9f911e7831e8e02cd3e54faf1d44910c33) - Remove options removed in PHPStan 2.0 - [914b5e3](http://github.com/phpstan/phpstan-strict-rules/commit/914b5e3a804d11239b38d5ceb8a90742f94e396f) - Everything from Bleeding Edge enabled - [988fab9](http://github.com/phpstan/phpstan-strict-rules/commit/988fab9e77f55c851d478e1dd4880a00428d1a90) - Add more separate rule toggles - [e227ffd](http://github.com/phpstan/phpstan-strict-rules/commit/e227ffd6848e29aa15e0107b805a3ccd2f2b7895) - Merge remote-tracking branch 'origin/1.6.x' into 2.0.x - [90006f2](http://github.com/phpstan/phpstan-strict-rules/commit/90006f215e7594e1eeeb3db7b524a141df93d980) - Merge branch '1.6.x' into 2.0.x - [1062d48](http://github.com/phpstan/phpstan-strict-rules/commit/1062d489f1d10e79df42d73fa5352a27741d65f1) - Fix - [5eec39f](http://github.com/phpstan/phpstan-strict-rules/commit/5eec39fc6ef36015e6de08949c8e9ae9d64560a3) - Set `polluteScopeWithBlock` to false - [8e2c8b0](http://github.com/phpstan/phpstan-strict-rules/commit/8e2c8b0abb83ec35ba2fca475898880f7e700783) - Fix deprecations - [1ccec91](http://github.com/phpstan/phpstan-strict-rules/commit/1ccec911e6f4b7825e235d6c0f54a11ce8f187bd) - Remove unnecessary dependency on nikic/php-parser - [f8092f9](http://github.com/phpstan/phpstan-strict-rules/commit/f8092f978190646c397e5db26a70aae9b3150f98) - Update build-cs - [f647999](http://github.com/phpstan/phpstan-strict-rules/commit/f647999fed4532778509404e31086eae86a6b68e) - Stop testing PHP 7.2 and 7.3 - [f6fb84e](http://github.com/phpstan/phpstan-strict-rules/commit/f6fb84ef14e14130659a29a13421b6d59d51b436) - Open 2.0.x

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 these updates again.



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

renovate[bot] commented 1 week ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.