phpstan/phpstan
### [`v1.10.15`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.15)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.14...1.10.15)
# Bleeding edge šŖ
- InvalidPhpDocTagValueRule: include PHPDoc line number in the error message (https://github.com/phpstan/phpstan-src/commit/a04e0be832900749b5b4ba22e2de21db8bfa09a0)
*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 š§
- Update phpdoc-parser to 1.20.4
- [Changelog](https://togithub.com/phpstan/phpdoc-parser/compare/f545fc30978190a056832aa7ed995e36a66267f3...7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd)
- Notable changes:
- CallableTypeNode - support object shape in return type
- CallableTypeNode - support `$this` in return type
- CallableTypeNode - support ConstTypeNode in return type
- Implement IniGetReturnTypeExtension ([#2362](https://togithub.com/phpstan/phpstan-src/pull/2362)), [#3063](https://togithub.com/phpstan/phpstan/issues/3063), thanks [@staabm](https://togithub.com/staabm)!
- PHPStan\Node\ClassMethod is covered by BC promise (https://github.com/phpstan/phpstan-src/commit/1036d199c8ef24c62ca5026c911c0af6ef6d9058), [#9249](https://togithub.com/phpstan/phpstan/issues/9249)
- Enforce magic `__serialize()` and `__unserialize()` return types ([#2372](https://togithub.com/phpstan/phpstan-src/pull/2372)), thanks [@staabm](https://togithub.com/staabm)!
- Report `?->` call on always-null (https://github.com/phpstan/phpstan-src/commit/74d1c9a1ca1cd6199a8771444e9bc4d6b7737f46), [#9284](https://togithub.com/phpstan/phpstan/issues/9284)
# Bugfixes š
- Fix object shapes with interfaces and final classes (https://github.com/phpstan/phpstan-src/commit/f199980c3c436636cae59502da178c4c804efb38)
- Fix `ConstantFloatType::toPhpDocNode()` for whole numbers ending with 0 ([#2355](https://togithub.com/phpstan/phpstan-src/pull/2355)), thanks [@rvanvelzen](https://togithub.com/rvanvelzen)!
- Add type for ini_get() 'default_socket_timeout' and 'precision' ([#2365](https://togithub.com/phpstan/phpstan-src/pull/2365)), thanks [@staabm](https://togithub.com/staabm)!
- Fix Docker detection (https://github.com/phpstan/phpstan-src/commit/8d0c032d19cd6ca9bb8462f8cf74362b2b4a6ae9)
- strval accepts Stringable (https://github.com/phpstan/phpstan-src/commit/3a4cd59e46e72fe26119ab356e62a288367643d4), [#9283](https://togithub.com/phpstan/phpstan/issues/9283)
- `CURLOPT_HTTPHEADER` should not accept a dictionary ([#2369](https://togithub.com/phpstan/phpstan-src/pull/2369)), [#9263](https://togithub.com/phpstan/phpstan/issues/9263), thanks [@staabm](https://togithub.com/staabm)!
# Function signature fixes š¤
- `intval()` and `floatval()` should handle non-scalar values ([#2351](https://togithub.com/phpstan/phpstan-src/pull/2351)), thanks [@dravnic](https://togithub.com/dravnic)!
- More precise `strval()` family function signatures ([#2354](https://togithub.com/phpstan/phpstan-src/pull/2354)), thanks [@dravnic](https://togithub.com/dravnic)!
# Internals š
- Allow referencing StringAlwaysAcceptingObjectWithToStringType in functionMap (https://github.com/phpstan/phpstan-src/commit/670d04d817134929a48e9313525a328f648fa422)
Configuration
š Schedule: Branch creation - "before 3am 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.14
->1.10.15
Release Notes
phpstan/phpstan
### [`v1.10.15`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.15) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.14...1.10.15) # Bleeding edge šŖ - InvalidPhpDocTagValueRule: include PHPDoc line number in the error message (https://github.com/phpstan/phpstan-src/commit/a04e0be832900749b5b4ba22e2de21db8bfa09a0) *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 š§ - Update phpdoc-parser to 1.20.4 - [Changelog](https://togithub.com/phpstan/phpdoc-parser/compare/f545fc30978190a056832aa7ed995e36a66267f3...7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd) - Notable changes: - CallableTypeNode - support object shape in return type - CallableTypeNode - support `$this` in return type - CallableTypeNode - support ConstTypeNode in return type - Implement IniGetReturnTypeExtension ([#2362](https://togithub.com/phpstan/phpstan-src/pull/2362)), [#3063](https://togithub.com/phpstan/phpstan/issues/3063), thanks [@staabm](https://togithub.com/staabm)! - PHPStan\Node\ClassMethod is covered by BC promise (https://github.com/phpstan/phpstan-src/commit/1036d199c8ef24c62ca5026c911c0af6ef6d9058), [#9249](https://togithub.com/phpstan/phpstan/issues/9249) - Enforce magic `__serialize()` and `__unserialize()` return types ([#2372](https://togithub.com/phpstan/phpstan-src/pull/2372)), thanks [@staabm](https://togithub.com/staabm)! - Report `?->` call on always-null (https://github.com/phpstan/phpstan-src/commit/74d1c9a1ca1cd6199a8771444e9bc4d6b7737f46), [#9284](https://togithub.com/phpstan/phpstan/issues/9284) # Bugfixes š - Fix object shapes with interfaces and final classes (https://github.com/phpstan/phpstan-src/commit/f199980c3c436636cae59502da178c4c804efb38) - Fix `ConstantFloatType::toPhpDocNode()` for whole numbers ending with 0 ([#2355](https://togithub.com/phpstan/phpstan-src/pull/2355)), thanks [@rvanvelzen](https://togithub.com/rvanvelzen)! - Add type for ini_get() 'default_socket_timeout' and 'precision' ([#2365](https://togithub.com/phpstan/phpstan-src/pull/2365)), thanks [@staabm](https://togithub.com/staabm)! - Fix Docker detection (https://github.com/phpstan/phpstan-src/commit/8d0c032d19cd6ca9bb8462f8cf74362b2b4a6ae9) - strval accepts Stringable (https://github.com/phpstan/phpstan-src/commit/3a4cd59e46e72fe26119ab356e62a288367643d4), [#9283](https://togithub.com/phpstan/phpstan/issues/9283) - `CURLOPT_HTTPHEADER` should not accept a dictionary ([#2369](https://togithub.com/phpstan/phpstan-src/pull/2369)), [#9263](https://togithub.com/phpstan/phpstan/issues/9263), thanks [@staabm](https://togithub.com/staabm)! # Function signature fixes š¤ - `intval()` and `floatval()` should handle non-scalar values ([#2351](https://togithub.com/phpstan/phpstan-src/pull/2351)), thanks [@dravnic](https://togithub.com/dravnic)! - More precise `strval()` family function signatures ([#2354](https://togithub.com/phpstan/phpstan-src/pull/2354)), thanks [@dravnic](https://togithub.com/dravnic)! # Internals š - Allow referencing StringAlwaysAcceptingObjectWithToStringType in functionMap (https://github.com/phpstan/phpstan-src/commit/670d04d817134929a48e9313525a328f648fa422)Configuration
š Schedule: Branch creation - "before 3am 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.