phpstan/phpstan (phpstan/phpstan)
### [`v1.10.27`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.27)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.26...1.10.27)
# Bleeding edge šŖ
- More precise `stream_socket_client()` signature ([#2519](https://togithub.com/phpstan/phpstan-src/pull/2519)), thanks [@staabm](https://togithub.com/staabm)!
- More precise `scandir()` signature ([#2518](https://togithub.com/phpstan/phpstan-src/pull/2518)), thanks [@staabm](https://togithub.com/staabm)!
- More precise `extract()` signature ([#2517](https://togithub.com/phpstan/phpstan-src/pull/2517)), thanks [@staabm](https://togithub.com/staabm)!
*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 š§
- Report trait access to unititialized property in the trait instead of class ([#2531](https://togithub.com/phpstan/phpstan-src/pull/2531)), thanks [@schlndh](https://togithub.com/schlndh)!
- Type projections, part 2: enforce elementary rules ([#2481](https://togithub.com/phpstan/phpstan-src/pull/2481)), thanks [@jiripudil](https://togithub.com/jiripudil)!
- Unify ignoring lines in traits with parser tokens (https://github.com/phpstan/phpstan-src/commit/01294d86b811444b72d7c67c5e75f115daddbd13), [#6175](https://togithub.com/phpstan/phpstan/issues/6175)
# Bugfixes š
- Fix json method exception ([#2524](https://togithub.com/phpstan/phpstan-src/pull/2524)), [#9568](https://togithub.com/phpstan/phpstan/issues/9568), thanks [@VincentLanglet](https://togithub.com/VincentLanglet)!
- Support of printf with dynamic width ([#2543](https://togithub.com/phpstan/phpstan-src/pull/2543)), [#9674](https://togithub.com/phpstan/phpstan/issues/9674), thanks [@kukulich](https://togithub.com/kukulich)!
- Support of printf with dynamic precision (and improved support of dynamic width) ([#2544](https://togithub.com/phpstan/phpstan-src/pull/2544)), [#9677](https://togithub.com/phpstan/phpstan/issues/9677), thanks [@kukulich](https://togithub.com/kukulich)!
- Fix types for conditional parameters after checks ([#2548](https://togithub.com/phpstan/phpstan-src/pull/2548)), [#7915](https://togithub.com/phpstan/phpstan/issues/7915), thanks [@rvanvelzen](https://togithub.com/rvanvelzen)!
- Prevent `Call to end() on null` (https://github.com/phpstan/phpstan-src/commit/a5e5719bcbe3385f2bac77704e7da850da766a01), [#9722](https://togithub.com/phpstan/phpstan/issues/9722)
- Fix internal error in SimpleXMLElementConstructorThrowTypeExtension ([#2561](https://togithub.com/phpstan/phpstan-src/pull/2561)), [#9716](https://togithub.com/phpstan/phpstan/issues/9716), thanks [@staabm](https://togithub.com/staabm)!
- Method extensions class name is case-insensitive ([#2562](https://togithub.com/phpstan/phpstan-src/pull/2562)), [#9716](https://togithub.com/phpstan/phpstan/issues/9716), thanks [@staabm](https://togithub.com/staabm)!
- InArrayFunctionTypeSpecifyingExtension - fix calls with less than 2 parameters (https://github.com/phpstan/phpstan-src/commit/4d77e98e151599d12fd828df969929ed419a0924), [#9711](https://togithub.com/phpstan/phpstan/issues/9711)
# Function signature fixes š¤
- `uopz_flags` - flags are optional (https://github.com/phpstan/phpstan-src/commit/917750efd8550446492e91ca3069179416fa80f1), [#9611](https://togithub.com/phpstan/phpstan/issues/9611)
- Add `base64_decode` overloads to PHP 8+ ([#2529](https://togithub.com/phpstan/phpstan-src/pull/2529)), [#9428](https://togithub.com/phpstan/phpstan/issues/9428), thanks [@dktapps](https://togithub.com/dktapps)!
- Mark few Ds methods as impure ([#2550](https://togithub.com/phpstan/phpstan-src/pull/2550)), thanks [@simPod](https://togithub.com/simPod)!
# Internals š
- Avoid doing work before its necessary in mutating scope. ([#2537](https://togithub.com/phpstan/phpstan-src/pull/2537)), thanks [@mad-briller](https://togithub.com/mad-briller)!
- Changed `linesToIgnore` attribute format (https://github.com/phpstan/phpstan-src/commit/2862a7bf7927a7e76771b71f43206d01dfc5d6ef)
- Prevent unnecessary work in MutatingScope ([#2554](https://togithub.com/phpstan/phpstan-src/pull/2554)), thanks [@staabm](https://togithub.com/staabm)!
- Validate parameters with parametersSchema each time after container creation ([#2558](https://togithub.com/phpstan/phpstan-src/pull/2558))
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.
š Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.10.26
->1.10.27
Release Notes
phpstan/phpstan (phpstan/phpstan)
### [`v1.10.27`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.27) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.26...1.10.27) # Bleeding edge šŖ - More precise `stream_socket_client()` signature ([#2519](https://togithub.com/phpstan/phpstan-src/pull/2519)), thanks [@staabm](https://togithub.com/staabm)! - More precise `scandir()` signature ([#2518](https://togithub.com/phpstan/phpstan-src/pull/2518)), thanks [@staabm](https://togithub.com/staabm)! - More precise `extract()` signature ([#2517](https://togithub.com/phpstan/phpstan-src/pull/2517)), thanks [@staabm](https://togithub.com/staabm)! *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 š§ - Report trait access to unititialized property in the trait instead of class ([#2531](https://togithub.com/phpstan/phpstan-src/pull/2531)), thanks [@schlndh](https://togithub.com/schlndh)! - Type projections, part 2: enforce elementary rules ([#2481](https://togithub.com/phpstan/phpstan-src/pull/2481)), thanks [@jiripudil](https://togithub.com/jiripudil)! - Unify ignoring lines in traits with parser tokens (https://github.com/phpstan/phpstan-src/commit/01294d86b811444b72d7c67c5e75f115daddbd13), [#6175](https://togithub.com/phpstan/phpstan/issues/6175) # Bugfixes š - Fix json method exception ([#2524](https://togithub.com/phpstan/phpstan-src/pull/2524)), [#9568](https://togithub.com/phpstan/phpstan/issues/9568), thanks [@VincentLanglet](https://togithub.com/VincentLanglet)! - Support of printf with dynamic width ([#2543](https://togithub.com/phpstan/phpstan-src/pull/2543)), [#9674](https://togithub.com/phpstan/phpstan/issues/9674), thanks [@kukulich](https://togithub.com/kukulich)! - Support of printf with dynamic precision (and improved support of dynamic width) ([#2544](https://togithub.com/phpstan/phpstan-src/pull/2544)), [#9677](https://togithub.com/phpstan/phpstan/issues/9677), thanks [@kukulich](https://togithub.com/kukulich)! - Fix types for conditional parameters after checks ([#2548](https://togithub.com/phpstan/phpstan-src/pull/2548)), [#7915](https://togithub.com/phpstan/phpstan/issues/7915), thanks [@rvanvelzen](https://togithub.com/rvanvelzen)! - Prevent `Call to end() on null` (https://github.com/phpstan/phpstan-src/commit/a5e5719bcbe3385f2bac77704e7da850da766a01), [#9722](https://togithub.com/phpstan/phpstan/issues/9722) - Fix internal error in SimpleXMLElementConstructorThrowTypeExtension ([#2561](https://togithub.com/phpstan/phpstan-src/pull/2561)), [#9716](https://togithub.com/phpstan/phpstan/issues/9716), thanks [@staabm](https://togithub.com/staabm)! - Method extensions class name is case-insensitive ([#2562](https://togithub.com/phpstan/phpstan-src/pull/2562)), [#9716](https://togithub.com/phpstan/phpstan/issues/9716), thanks [@staabm](https://togithub.com/staabm)! - InArrayFunctionTypeSpecifyingExtension - fix calls with less than 2 parameters (https://github.com/phpstan/phpstan-src/commit/4d77e98e151599d12fd828df969929ed419a0924), [#9711](https://togithub.com/phpstan/phpstan/issues/9711) # Function signature fixes š¤ - `uopz_flags` - flags are optional (https://github.com/phpstan/phpstan-src/commit/917750efd8550446492e91ca3069179416fa80f1), [#9611](https://togithub.com/phpstan/phpstan/issues/9611) - Add `base64_decode` overloads to PHP 8+ ([#2529](https://togithub.com/phpstan/phpstan-src/pull/2529)), [#9428](https://togithub.com/phpstan/phpstan/issues/9428), thanks [@dktapps](https://togithub.com/dktapps)! - Mark few Ds methods as impure ([#2550](https://togithub.com/phpstan/phpstan-src/pull/2550)), thanks [@simPod](https://togithub.com/simPod)! # Internals š - Avoid doing work before its necessary in mutating scope. ([#2537](https://togithub.com/phpstan/phpstan-src/pull/2537)), thanks [@mad-briller](https://togithub.com/mad-briller)! - Changed `linesToIgnore` attribute format (https://github.com/phpstan/phpstan-src/commit/2862a7bf7927a7e76771b71f43206d01dfc5d6ef) - Prevent unnecessary work in MutatingScope ([#2554](https://togithub.com/phpstan/phpstan-src/pull/2554)), thanks [@staabm](https://togithub.com/staabm)! - Validate parameters with parametersSchema each time after container creation ([#2558](https://togithub.com/phpstan/phpstan-src/pull/2558))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.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.