chore(deps): update dependency phpstan/phpstan to v1.4.6
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| phpstan/phpstan | require-dev | patch |
1.4.5 -> 1.4.6
|
Release Notes
phpstan/phpstan
v1.4.6
Improvements 🔧
Bugfixes 🐛
- Fix interaction between template type and union type (#992), #5591, thanks @arnaud-lb!
- Delegate most of
TypeCombinator::remove()toType::tryRemove()(#994), #6438, thanks @arnaud-lb! - TemplateType should accept a TemplateType derived from itself (#999), #5844, #5706, thanks @arnaud-lb!
- Fixed intersecting and removal from TemplateUnionType (https://github.com/phpstan/phpstan-src/commit/0d288353ca782ef79e362657c2581abf4246a2f8), #6566
- Fixed type seen by IterableInForeachRule with inline
@varright aboveforeach(https://github.com/phpstan/phpstan-src/commit/b6bbbaf6b01cbd43ae2800bbd00fe0ddbcb2e0d9), #6564 - modulo 1 is always zero (#973), thanks @staabm!
- multiply by zero is always zero (#974), thanks @staabm!
- Fixed discovering backed enum without space around
:(https://github.com/phpstan/phpstan-src/commit/5162bcfea5456eb827035cd249c5ace55057237b), https://github.com/composer/composer/issues/10498
Function signature fixes 🤖
- Function
md5()always returnnon-empty-string(#987), thanks @janbarasek! - Correct the case for parameters that accept an instance of
Iterator. (#988), thanks @johnbillion! - Fix the return types of
round()/ceil()/floor()(#729), thanks @johnbillion! - Correct the return type of
SplFileObject::fstat()(#996), thanks @johnbillion! - Improve the return type of functions that return an indexed array of strings (#997), thanks @johnbillion!
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.