phpstan/phpdoc-parser (phpstan/phpdoc-parser)
### [`v1.29.1`](https://togithub.com/phpstan/phpdoc-parser/releases/tag/1.29.1)
[Compare Source](https://togithub.com/phpstan/phpdoc-parser/compare/1.29.0...1.29.1)
- [fcaefac](http://github.com/phpstan/phpdoc-parser/commit/fcaefacf2d5c417e928405b71b400d4ce10daaf4) - `TemplateTagValueNode` name cannot be empty string
phpstan/phpstan (phpstan/phpstan)
### [`v1.11.3`](https://togithub.com/phpstan/phpstan/releases/tag/1.11.3)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.11.2...1.11.3)
# Improvements π§
- Add new `*ParameterClosureTypeExtension` ([#3089](https://togithub.com/phpstan/phpstan-src/pull/3089)), thanks [@canvural](https://togithub.com/canvural)!
- DynamicFunctionReturnTypeExtension for the `get_debug_type` function ([#2910](https://togithub.com/phpstan/phpstan-src/pull/2910)), [#10558](https://togithub.com/phpstan/phpstan/issues/10558), [#10585](https://togithub.com/phpstan/phpstan/issues/10585), thanks [@patrickkusebauch](https://togithub.com/patrickkusebauch)!
- Infer more duplicated array keys ([#3058](https://togithub.com/phpstan/phpstan-src/pull/3058)), [#6976](https://togithub.com/phpstan/phpstan/issues/6976), thanks [@VincentLanglet](https://togithub.com/VincentLanglet)!
- Improve `explode` return type precision ([#3096](https://togithub.com/phpstan/phpstan-src/pull/3096)), thanks [@staabm](https://togithub.com/staabm)!
- Make assigning property via reference impure ([#3082](https://togithub.com/phpstan/phpstan-src/pull/3082)), thanks [@schlndh](https://togithub.com/schlndh)!
- Support new PHP 8.4 mb_lcfirst, mb_ucfirst function variants ([#3095](https://togithub.com/phpstan/phpstan-src/pull/3095)), thanks [@staabm](https://togithub.com/staabm)!
# Bugfixes π
- Make `array_map` argument take into account unpack ([#2901](https://togithub.com/phpstan/phpstan-src/pull/2901)), [#10527](https://togithub.com/phpstan/phpstan/issues/10527), thanks [@ryium](https://togithub.com/ryium)!
- Fixes incorrect types reported by `parse_url` ([#2918](https://togithub.com/phpstan/phpstan-src/pull/2918)), [#4754](https://togithub.com/phpstan/phpstan/issues/4754), thanks [@ChrisBrenton](https://togithub.com/ChrisBrenton)!
- Ensure `$http_response_header` is a `list` ([#2959](https://togithub.com/phpstan/phpstan-src/pull/2959)), thanks [@Seldaek](https://togithub.com/Seldaek)!
- Keep numeric-strings in `str_repeat()` ([#2914](https://togithub.com/phpstan/phpstan-src/pull/2914)), [#10572](https://togithub.com/phpstan/phpstan/issues/10572), thanks [@staabm](https://togithub.com/staabm)!
- Array is non-empty even when `in_array` is not strict ([#2539](https://togithub.com/phpstan/phpstan-src/pull/2539)), [#9662](https://togithub.com/phpstan/phpstan/issues/9662), [#10228](https://togithub.com/phpstan/phpstan/issues/10228), thanks [@staabm](https://togithub.com/staabm)!
- Fix `substr()` type narrowing for possibly single char result ([#3081](https://togithub.com/phpstan/phpstan-src/pull/3081)), [#11035](https://togithub.com/phpstan/phpstan/issues/11035), [#9804](https://togithub.com/phpstan/phpstan/issues/9804), thanks [@staabm](https://togithub.com/staabm)!
- Fix escaping of the error message in various output formatters ([#3087](https://togithub.com/phpstan/phpstan-src/pull/3087)), thanks [@mousetail](https://togithub.com/mousetail)!
- `$this` cannot be reassigned when passed by reference ([#3097](https://togithub.com/phpstan/phpstan-src/pull/3097)), [#10477](https://togithub.com/phpstan/phpstan/issues/10477), thanks [@takaram](https://togithub.com/takaram)!
- Subtract zero-float when comparing against zero-int ([#3102](https://togithub.com/phpstan/phpstan-src/pull/3102)), [#5309](https://togithub.com/phpstan/phpstan/issues/5309), thanks [@staabm](https://togithub.com/staabm)!
- Fix fatal error on `constant('')` ([#3013](https://togithub.com/phpstan/phpstan-src/pull/3013)), [#10867](https://togithub.com/phpstan/phpstan/issues/10867), thanks [@staabm](https://togithub.com/staabm)!
# Function signature fixes π€
- Add new header functions for PHP 8.4 ([#3093](https://togithub.com/phpstan/phpstan-src/pull/3093)), thanks [@Seldaek](https://togithub.com/Seldaek)!
- Fix wrong return type for `SplFileObject::fgets()` ([#3103](https://togithub.com/phpstan/phpstan-src/pull/3103)), thanks [@DanielSiepmann](https://togithub.com/DanielSiepmann)!
- Update `Locale` signatures ([#2880](https://togithub.com/phpstan/phpstan-src/pull/2880)), [#7855](https://togithub.com/phpstan/phpstan/issues/7855), [#8149](https://togithub.com/phpstan/phpstan/issues/8149), thanks [@devnix](https://togithub.com/devnix)!
- Fix wrong `fread()` length parameter type and return type ([#3105](https://togithub.com/phpstan/phpstan-src/pull/3105)), thanks [@thg2k](https://togithub.com/thg2k)!
- ReflectionFunction and ReflectionMethod::getClosure cannot return null (https://github.com/phpstan/phpstan-src/commit/dae9335075964f197aa5d965b3d38c12788a6405), [#10839](https://togithub.com/phpstan/phpstan/issues/10839)
- Make method names `non-falsy-string` ([#3108](https://togithub.com/phpstan/phpstan-src/pull/3108)), thanks [@schlndh](https://togithub.com/schlndh)!
# Internals π
- Add regression test ([#3066](https://togithub.com/phpstan/phpstan-src/pull/3066)), [#3300](https://togithub.com/phpstan/phpstan/issues/3300), thanks [@herndlm](https://togithub.com/herndlm)!
- Update phpdoc-parser ([#3107](https://togithub.com/phpstan/phpstan-src/pull/3107))
- `TemplateTagValueNode::$name` cannot be empty string (https://github.com/phpstan/phpdoc-parser/commit/fcaefacf2d5c417e928405b71b400d4ce10daaf4), thanks [@staabm](https://togithub.com/staabm)!
- Fix property descriptions in ReflectionProviderGoldenTest ([#3109](https://togithub.com/phpstan/phpstan-src/pull/3109)), thanks [@schlndh](https://togithub.com/schlndh)!
### [`v1.11.2`](https://togithub.com/phpstan/phpstan/releases/tag/1.11.2)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.11.1...1.11.2)
# Improvements π§
- Stricter `@phpstan-ignore` identifiers parser ([#3079](https://togithub.com/phpstan/phpstan-src/pull/3079), [#3090](https://togithub.com/phpstan/phpstan-src/pull/3090), [#3091](https://togithub.com/phpstan/phpstan-src/pull/3091)), thanks [@janedbal](https://togithub.com/janedbal)!
- The parser now rejects some syntax that was possible but undocumented in 1.11.0 and 1.11.1
- The parser now allows to attach comment to each single identifier in a list: `@phpstan-ignore identifier (comment), identifier2 (comment2)`
- Resolving type of closure - get `$passedToType` from `inFunctionCallsStack` (https://github.com/phpstan/phpstan-src/commit/ca41b7d8c2d54407156d07dab5375a3a5ebbeb29, https://github.com/phpstan/phpstan-src/commit/da4fd7a4122615d9dbae55083bdfd290026fa08e), [#5508](https://togithub.com/phpstan/phpstan/issues/5508), [#10254](https://togithub.com/phpstan/phpstan/issues/10254), [#10732](https://togithub.com/phpstan/phpstan/issues/10732)
- Do not lose generic type when the closure has native return type (https://github.com/phpstan/phpstan-src/commit/7e9cd45701562fb02f1aa9cab1f89b58a58f6526), [#9086](https://togithub.com/phpstan/phpstan/issues/9086)
# Function signature fixes π€
- More concrete return types for some database functions ([#3078](https://togithub.com/phpstan/phpstan-src/pull/3078)), thanks [@devnix](https://togithub.com/devnix)!
# Internals π
- Fix Composer by referencing deleted tag of `nette/di` (https://github.com/phpstan/phpstan-src/commit/2ab647e12fe46d970fa630b78f9ca962354b3d16)
- Specify `array_filter` callbacks (https://github.com/phpstan/phpstan-src/commit/754b7b8e170cd36ed7bc8633b90651eff16cc893)
- Add `@api` annotation to `AcceptsResult::__construct` ([#3092](https://togithub.com/phpstan/phpstan-src/pull/3092)), thanks [@canvural](https://togithub.com/canvural)!
### [`v1.11.1`](https://togithub.com/phpstan/phpstan/releases/tag/1.11.1)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.11.0...1.11.1)
# Improvements π§
- Support integer ranges in `sprintf()` constant result inference ([#3075](https://togithub.com/phpstan/phpstan-src/pull/3075)), thanks [@staabm](https://togithub.com/staabm)!
# Bugfixes π
- Do not complain about `impure(Function|Method).pure` if it has `@phpstan-assert` tags (https://github.com/phpstan/phpstan-src/commit/9544f8a6b52dbd6068800bbfc5bdaf67fe04a8c2)
- Remove tip about deprecated config option (https://github.com/phpstan/phpstan-src/commit/d603c7b676e3b91f4b7ba81d46aee3e9a593f883), [#11000](https://togithub.com/phpstan/phpstan/issues/11000)
- Fix false positive with `reportPossiblyNonexistentConstantArrayOffset: true` (https://github.com/phpstan/phpstan-src/commit/5277630459518024b16272bf6b6fd216eb3d10ed), [#10997](https://togithub.com/phpstan/phpstan/issues/10997)
- Fix parent keyword case sensitivity ([#3064](https://togithub.com/phpstan/phpstan-src/pull/3064)), thanks [@staabm](https://togithub.com/staabm)!
- InlineHTML is an impure point ([#3072](https://togithub.com/phpstan/phpstan-src/pull/3072)), thanks [@staabm](https://togithub.com/staabm)!
- UnionTypeHelper - prevent infinite recursion (https://github.com/phpstan/phpstan-src/commit/bb3da26d562727c3122a344622059ded2239d6ab), [#11027](https://togithub.com/phpstan/phpstan/issues/11027)
- Fix more potential for infinite recursion (https://github.com/phpstan/phpstan-src/commit/1d02c4f27684644e8361cf2a2bc5713adef9b95e)
- RangeFunctionReturnTypeExtension - fix internal ValueError (https://github.com/phpstan/phpstan-src/commit/fe3895ada98940d1a71c2eb115d61afda9fd7a2c), [#11026](https://togithub.com/phpstan/phpstan/issues/11026)
- Property unset is an impure point (https://github.com/phpstan/phpstan-src/commit/702ddcd7805ba08c0765bdf0930beaef0e6b4fc1), [#11001](https://togithub.com/phpstan/phpstan/issues/11001)
- Fix property assign not being an impure point in arrow function (https://github.com/phpstan/phpstan-src/commit/35ff6895f48b74e8bc0dda7ec94c40e73c84099b), [#11001](https://togithub.com/phpstan/phpstan/issues/11001)
- Fix internal error when accessing enum case by class-string (https://github.com/phpstan/phpstan-src/commit/1116e03389f0f47297c2638b5b67c84f4d339478), [#10985](https://togithub.com/phpstan/phpstan/issues/10985)
- Fix resolving `self` and `static` in `@phpstan-closure-this` from trait stub file (https://github.com/phpstan/phpstan-src/commit/93402494ee92dd2e7264f112105151586203e0ec), [#11009](https://togithub.com/phpstan/phpstan/issues/11009)
- CallToMethodStatementWithoutImpurePointsRule - fix for methods called on unions (https://github.com/phpstan/phpstan-src/commit/ee33f1e48b5ae9d6e99500814c186cd31e7a764f), [#11011](https://togithub.com/phpstan/phpstan/issues/11011)
# Function signature fixes π€
- Offset `uri` in `stream_get_meta_data` calls is always present on PHP 8.3+ (https://github.com/phpstan/phpstan-src/commit/885d46bc8d7555a8b762914821ad2f0f5871e517), [#11024](https://togithub.com/phpstan/phpstan/issues/11024), [#10999](https://togithub.com/phpstan/phpstan/issues/10999)
symfony/console (symfony/console)
### [`v7.1.1`](https://togithub.com/symfony/console/compare/v7.1.0...v7.1.1)
[Compare Source](https://togithub.com/symfony/console/compare/v7.1.0...v7.1.1)
### [`v7.1.0`](https://togithub.com/symfony/console/compare/v7.0.7...v7.1.0)
[Compare Source](https://togithub.com/symfony/console/compare/v7.0.8...v7.1.0)
### [`v7.0.8`](https://togithub.com/symfony/console/releases/tag/v7.0.8)
[Compare Source](https://togithub.com/symfony/console/compare/v7.0.7...v7.0.8)
**Changelog** (https://github.com/symfony/console/compare/v7.0.7...v7.0.8)
- no significant changes
symfony/finder (symfony/finder)
### [`v7.1.1`](https://togithub.com/symfony/finder/compare/v7.1.0...v7.1.1)
[Compare Source](https://togithub.com/symfony/finder/compare/v7.1.0...v7.1.1)
### [`v7.1.0`](https://togithub.com/symfony/finder/compare/v7.0.7...v7.1.0)
[Compare Source](https://togithub.com/symfony/finder/compare/v7.0.8...v7.1.0)
### [`v7.0.8`](https://togithub.com/symfony/finder/releases/tag/v7.0.8)
[Compare Source](https://togithub.com/symfony/finder/compare/v7.0.7...v7.0.8)
**Changelog** (https://github.com/symfony/finder/compare/v7.0.7...v7.0.8)
- no significant changes
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 if that's undesired.
[ ] 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.29.0
->1.29.1
1.11.0
->1.11.3
7.0.7
->7.1.1
7.0.7
->7.1.1
Release Notes
phpstan/phpdoc-parser (phpstan/phpdoc-parser)
### [`v1.29.1`](https://togithub.com/phpstan/phpdoc-parser/releases/tag/1.29.1) [Compare Source](https://togithub.com/phpstan/phpdoc-parser/compare/1.29.0...1.29.1) - [fcaefac](http://github.com/phpstan/phpdoc-parser/commit/fcaefacf2d5c417e928405b71b400d4ce10daaf4) - `TemplateTagValueNode` name cannot be empty stringphpstan/phpstan (phpstan/phpstan)
### [`v1.11.3`](https://togithub.com/phpstan/phpstan/releases/tag/1.11.3) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.11.2...1.11.3) # Improvements π§ - Add new `*ParameterClosureTypeExtension` ([#3089](https://togithub.com/phpstan/phpstan-src/pull/3089)), thanks [@canvural](https://togithub.com/canvural)! - DynamicFunctionReturnTypeExtension for the `get_debug_type` function ([#2910](https://togithub.com/phpstan/phpstan-src/pull/2910)), [#10558](https://togithub.com/phpstan/phpstan/issues/10558), [#10585](https://togithub.com/phpstan/phpstan/issues/10585), thanks [@patrickkusebauch](https://togithub.com/patrickkusebauch)! - Infer more duplicated array keys ([#3058](https://togithub.com/phpstan/phpstan-src/pull/3058)), [#6976](https://togithub.com/phpstan/phpstan/issues/6976), thanks [@VincentLanglet](https://togithub.com/VincentLanglet)! - Improve `explode` return type precision ([#3096](https://togithub.com/phpstan/phpstan-src/pull/3096)), thanks [@staabm](https://togithub.com/staabm)! - Make assigning property via reference impure ([#3082](https://togithub.com/phpstan/phpstan-src/pull/3082)), thanks [@schlndh](https://togithub.com/schlndh)! - Support new PHP 8.4 mb_lcfirst, mb_ucfirst function variants ([#3095](https://togithub.com/phpstan/phpstan-src/pull/3095)), thanks [@staabm](https://togithub.com/staabm)! # Bugfixes π - Make `array_map` argument take into account unpack ([#2901](https://togithub.com/phpstan/phpstan-src/pull/2901)), [#10527](https://togithub.com/phpstan/phpstan/issues/10527), thanks [@ryium](https://togithub.com/ryium)! - Fixes incorrect types reported by `parse_url` ([#2918](https://togithub.com/phpstan/phpstan-src/pull/2918)), [#4754](https://togithub.com/phpstan/phpstan/issues/4754), thanks [@ChrisBrenton](https://togithub.com/ChrisBrenton)! - Ensure `$http_response_header` is a `listsymfony/console (symfony/console)
### [`v7.1.1`](https://togithub.com/symfony/console/compare/v7.1.0...v7.1.1) [Compare Source](https://togithub.com/symfony/console/compare/v7.1.0...v7.1.1) ### [`v7.1.0`](https://togithub.com/symfony/console/compare/v7.0.7...v7.1.0) [Compare Source](https://togithub.com/symfony/console/compare/v7.0.8...v7.1.0) ### [`v7.0.8`](https://togithub.com/symfony/console/releases/tag/v7.0.8) [Compare Source](https://togithub.com/symfony/console/compare/v7.0.7...v7.0.8) **Changelog** (https://github.com/symfony/console/compare/v7.0.7...v7.0.8) - no significant changessymfony/finder (symfony/finder)
### [`v7.1.1`](https://togithub.com/symfony/finder/compare/v7.1.0...v7.1.1) [Compare Source](https://togithub.com/symfony/finder/compare/v7.1.0...v7.1.1) ### [`v7.1.0`](https://togithub.com/symfony/finder/compare/v7.0.7...v7.1.0) [Compare Source](https://togithub.com/symfony/finder/compare/v7.0.8...v7.1.0) ### [`v7.0.8`](https://togithub.com/symfony/finder/releases/tag/v7.0.8) [Compare Source](https://togithub.com/symfony/finder/compare/v7.0.7...v7.0.8) **Changelog** (https://github.com/symfony/finder/compare/v7.0.7...v7.0.8) - no significant changesConfiguration
π 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 if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.