Skip to content

Commit

Permalink
chore(deps): update dependency phpstan/phpstan to ~1.9.0 (#25)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [phpstan/phpstan](https://togithub.com/phpstan/phpstan) | require-dev
| minor | `~1.8.0` -> `~1.9.0` |

---

### Release Notes

<details>
<summary>phpstan/phpstan</summary>

### [`v1.9.4`](https://togithub.com/phpstan/phpstan/releases/tag/1.9.4)

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.9.3...1.9.4)

# Improvements πŸ”§

- Various performance optimizations from
[@&#8203;staabm](https://togithub.com/staabm)
([#&#8203;2098](https://togithub.com/phpstan/phpstan-src/pull/2098),
[#&#8203;2099](https://togithub.com/phpstan/phpstan-src/pull/2099),
[#&#8203;2100](https://togithub.com/phpstan/phpstan-src/pull/2100),
[#&#8203;2101](https://togithub.com/phpstan/phpstan-src/pull/2101),
[#&#8203;2103](https://togithub.com/phpstan/phpstan-src/pull/2103),
[#&#8203;2104](https://togithub.com/phpstan/phpstan-src/pull/2104))
- Resolve parameter types only when `checkArgumentTypes=true`
([#&#8203;2106](https://togithub.com/phpstan/phpstan-src/pull/2106)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Keep NeverType isExplicit flag in `TypeCombinator::intersect()`
([#&#8203;2112](https://togithub.com/phpstan/phpstan-src/pull/2112)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Keep NeverType isExplicit flag in `InitializerExprTypeResolver`
([#&#8203;2114](https://togithub.com/phpstan/phpstan-src/pull/2114)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Add `TypeCombinator::removeFalsey()`
([#&#8203;2003](https://togithub.com/phpstan/phpstan-src/pull/2003)),
thanks [@&#8203;axlon](https://togithub.com/axlon)!
- Option `usePathConstantsAsConstantString`
([#&#8203;2050](https://togithub.com/phpstan/phpstan-src/pull/2050)),
thanks
[@&#8203;MartinMystikJonas](https://togithub.com/MartinMystikJonas)!

# Bugfixes πŸ›

- Fix native type on `unset`
([#&#8203;2107](https://togithub.com/phpstan/phpstan-src/pull/2107)),
[#&#8203;7805](https://togithub.com/phpstan/phpstan/issues/7805), thanks
[@&#8203;rajyan](https://togithub.com/rajyan)!
- Fix return type of `array_search()` with constant array type haystack
([#&#8203;1806](https://togithub.com/phpstan/phpstan-src/pull/1806)),
[#&#8203;3789](https://togithub.com/phpstan/phpstan/issues/3789), thanks
[@&#8203;takaram](https://togithub.com/takaram)!
- `parse_str()` might return nested arrays by-ref
([#&#8203;1994](https://togithub.com/phpstan/phpstan-src/pull/1994)),
[#&#8203;8356](https://togithub.com/phpstan/phpstan/issues/8356), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Fix regression in `for` loop
(phpstan/phpstan-src@a8975b1),
[#&#8203;8520](https://togithub.com/phpstan/phpstan/issues/8520)
- Fix readonly properties bugs and infinite recursion
(phpstan/phpstan-src@a7fed03),
[#&#8203;8543](https://togithub.com/phpstan/phpstan/issues/8543)
- Fix internal error for dynamic properties defined on interface on PHP
8.2
(phpstan/phpstan-src@4025209),
[#&#8203;8537](https://togithub.com/phpstan/phpstan/issues/8537)

# Internals πŸ”

- Implement `getConstantStrings()` on Type
([#&#8203;1979](https://togithub.com/phpstan/phpstan-src/pull/1979)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Fix node PHPDoc type hints
([#&#8203;2053](https://togithub.com/phpstan/phpstan-src/pull/2053)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Refactor FilterVarDynamicReturnTypeExtension to pass around Types
instead of Args and the Scope
([#&#8203;2109](https://togithub.com/phpstan/phpstan-src/pull/2109)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!

### [`v1.9.3`](https://togithub.com/phpstan/phpstan/releases/tag/1.9.3)

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.9.2...1.9.3)

# Bleeding edge πŸ”ͺ

- Fix invariance composition
([#&#8203;2054](https://togithub.com/phpstan/phpstan-src/pull/2054)),
thanks [@&#8203;jiripudil](https://togithub.com/jiripudil)!

*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 πŸ”§

- TypeInferenceTestCase - do not allow files with no asserts
([#&#8203;1992](https://togithub.com/phpstan/phpstan-src/pull/1992)),
[#&#8203;8346](https://togithub.com/phpstan/phpstan/issues/8346),
[#&#8203;8094](https://togithub.com/phpstan/phpstan/issues/8094), thanks
[@&#8203;herndlm](https://togithub.com/herndlm)!
- `DateTimeZone::__construct` throw type extension
([#&#8203;2034](https://togithub.com/phpstan/phpstan-src/pull/2034))
- TableErrorFormatter: allow editor url title configuration
([#&#8203;2035](https://togithub.com/phpstan/phpstan-src/pull/2035)),
[#&#8203;7796](https://togithub.com/phpstan/phpstan/issues/7796), thanks
[@&#8203;janedbal](https://togithub.com/janedbal)!
- Various generics variance fixes
([#&#8203;2051](https://togithub.com/phpstan/phpstan-src/pull/2051),
[#&#8203;2064](https://togithub.com/phpstan/phpstan-src/pull/2064)),
[#&#8203;3960](https://togithub.com/phpstan/phpstan/issues/3960), thanks
[@&#8203;jiripudil](https://togithub.com/jiripudil)!
- Add `deprecationRulesInstalled` configuration
([#&#8203;2062](https://togithub.com/phpstan/phpstan-src/pull/2062)),
thanks [@&#8203;villfa](https://togithub.com/villfa)!
- To be used in phpstan-deprecation-rules and phpstan-phpunit extensions
soon!
- ArrayFilterRule should care about `treatPhpDocTypesAsCertain`
([#&#8203;2065](https://togithub.com/phpstan/phpstan-src/pull/2065)),
thanks [@&#8203;VincentLanglet](https://togithub.com/VincentLanglet)!
- Discover phpunit-bridge automatically
(phpstan/phpstan-src@c760b1f)
-   Performance optimizations:
- Cache descriptions in ObjectType and UnionType
(phpstan/phpstan-src@da8413c),
[#&#8203;8499](https://togithub.com/phpstan/phpstan/issues/8499),
[#&#8203;8497](https://togithub.com/phpstan/phpstan/issues/8497)
- Remove unnecessary file IO
([#&#8203;2069](https://togithub.com/phpstan/phpstan-src/pull/2069),
[#&#8203;2094](https://togithub.com/phpstan/phpstan-src/pull/2094)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Reduce calls to `Scope::getType()`. Cheap checks first.
([#&#8203;2071](https://togithub.com/phpstan/phpstan-src/pull/2071)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Cache resolved phpdoc in ClassReflection
([#&#8203;2072](https://togithub.com/phpstan/phpstan-src/pull/2072)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Don't re-calculate node-key over and over again
([#&#8203;2073](https://togithub.com/phpstan/phpstan-src/pull/2073)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Improve the CPU core count detection
([#&#8203;2047](https://togithub.com/phpstan/phpstan-src/pull/2047)),
thanks [@&#8203;theofidry](https://togithub.com/theofidry)!
- Optimize path related utils on windows
([#&#8203;2068](https://togithub.com/phpstan/phpstan-src/pull/2068)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Don't re-calculate node-key over and over again - part 2
([#&#8203;2074](https://togithub.com/phpstan/phpstan-src/pull/2074)),
[#&#8203;8503](https://togithub.com/phpstan/phpstan/issues/8503), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Faster ConstantStringType->toArrayKey()
([#&#8203;2081](https://togithub.com/phpstan/phpstan-src/pull/2081)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Faster ConstantFloatType->isSuperTypeOf(ConstantFloatType)
([#&#8203;2080](https://togithub.com/phpstan/phpstan-src/pull/2080)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- TypeSpecifier micro-optimization
(phpstan/phpstan-src@30e6d19)
- Faster TrinaryLogic->lazyExtremeIdentity()
([#&#8203;2083](https://togithub.com/phpstan/phpstan-src/pull/2083)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Faster ConstantArrayType->isSuperTypeOf()
([#&#8203;2086](https://togithub.com/phpstan/phpstan-src/pull/2086)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Loops analysed in linear time instead of exponential time
([#&#8203;2088](https://togithub.com/phpstan/phpstan-src/pull/2088),
[#&#8203;2091](https://togithub.com/phpstan/phpstan-src/pull/2091)),
[#&#8203;8503](https://togithub.com/phpstan/phpstan/issues/8503),
[#&#8203;6265](https://togithub.com/phpstan/phpstan/issues/6265)
- Remove unnecessary method call to already known value
([#&#8203;2092](https://togithub.com/phpstan/phpstan-src/pull/2092)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

# Bugfixes πŸ›

- Improve conditionalExpressionTypes
([#&#8203;1950](https://togithub.com/phpstan/phpstan-src/pull/1950)),
[#&#8203;3677](https://togithub.com/phpstan/phpstan/issues/3677),
[#&#8203;5623](https://togithub.com/phpstan/phpstan/issues/5623),
[#&#8203;5401](https://togithub.com/phpstan/phpstan/issues/5401),
[#&#8203;7292](https://togithub.com/phpstan/phpstan/issues/7292),
[#&#8203;8212](https://togithub.com/phpstan/phpstan/issues/8212), thanks
[@&#8203;rajyan](https://togithub.com/rajyan)!
- Fix conditional variable types in global scope
([#&#8203;1995](https://togithub.com/phpstan/phpstan-src/pull/1995)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Do not invalidate related expressions in ensureNonNullability
([#&#8203;2004](https://togithub.com/phpstan/phpstan-src/pull/2004)),
[#&#8203;8361](https://togithub.com/phpstan/phpstan/issues/8361), thanks
[@&#8203;rajyan](https://togithub.com/rajyan)!
- Improve create conditional expressions to handle all expressions
([#&#8203;2007](https://togithub.com/phpstan/phpstan-src/pull/2007)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Improve conditional type resolving performance
([#&#8203;2030](https://togithub.com/phpstan/phpstan-src/pull/2030)),
[#&#8203;8397](https://togithub.com/phpstan/phpstan/issues/8397),
[#&#8203;5805](https://togithub.com/phpstan/phpstan/issues/5805), thanks
[@&#8203;rajyan](https://togithub.com/rajyan)!
- Fix false positive of access to static private property of parent
class
([#&#8203;1989](https://togithub.com/phpstan/phpstan-src/pull/1989)),
[#&#8203;8333](https://togithub.com/phpstan/phpstan/issues/8333), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Fix intersecting array shapes with different optional keys
([#&#8203;2002](https://togithub.com/phpstan/phpstan-src/pull/2002)),
[#&#8203;8373](https://togithub.com/phpstan/phpstan/issues/8373), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Support PHPDoc asserts on variadic parameters
([#&#8203;2009](https://togithub.com/phpstan/phpstan-src/pull/2009)),
[#&#8203;8389](https://togithub.com/phpstan/phpstan/issues/8389), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Fix `@param-out` on methods
([#&#8203;2028](https://togithub.com/phpstan/phpstan-src/pull/2028)),
[#&#8203;8421](https://togithub.com/phpstan/phpstan/issues/8421), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Do not set native type to `mixed` on annotation assignment
([#&#8203;2017](https://togithub.com/phpstan/phpstan-src/pull/2017)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Consistently pass `$nativeExpressionTypes` in MutatingScope
([#&#8203;2021](https://togithub.com/phpstan/phpstan-src/pull/2021)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Fix infinite loop when fully qualified callback is supplied
([#&#8203;2005](https://togithub.com/phpstan/phpstan-src/pull/2005)),
[#&#8203;8376](https://togithub.com/phpstan/phpstan/issues/8376), thanks
[@&#8203;cs278](https://togithub.com/cs278)!
- Non-static method DOMDocument::loadHTML() can be called statically
([#&#8203;2042](https://togithub.com/phpstan/phpstan-src/pull/2042)),
[#&#8203;2759](https://togithub.com/phpstan/phpstan/issues/2759), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Fix FuzzyRelativePathHelper for directories ending in `.php`
(phpstan/phpstan-src@bff85e2),
[#&#8203;8480](https://togithub.com/phpstan/phpstan/issues/8480)

# Function signature fixes πŸ€–

- ImagickPixel::getColor() normalized param accepts int instead of bool
([#&#8203;2020](https://togithub.com/phpstan/phpstan-src/pull/2020)),
thanks [@&#8203;blankse](https://togithub.com/blankse)!
- Declare more PDOStatement method types
([#&#8203;2096](https://togithub.com/phpstan/phpstan-src/pull/2096)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

# Internals πŸ”

- Fix non-working type assertions in `NodeScopeResolverTest` cases
([#&#8203;1992](https://togithub.com/phpstan/phpstan-src/pull/1992)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Use ExpressionTypeHolders for conditional expression type
([#&#8203;1998](https://togithub.com/phpstan/phpstan-src/pull/1998)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Simplify array collections in `UnionTypeHelper`
([#&#8203;1988](https://togithub.com/phpstan/phpstan-src/pull/1988)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Avoid specifying scalar types and delete string casts
([#&#8203;1999](https://togithub.com/phpstan/phpstan-src/pull/1999)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Add filename and line of the error of assertVariableCertainty
([#&#8203;2008](https://togithub.com/phpstan/phpstan-src/pull/2008)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- README: how to composer install
([#&#8203;2025](https://togithub.com/phpstan/phpstan-src/pull/2025)),
thanks [@&#8203;janedbal](https://togithub.com/janedbal)!
- Group `$expressionTypes` and `$nativeExpressionTypes` in Scope
creation methods
([#&#8203;2022](https://togithub.com/phpstan/phpstan-src/pull/2022)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Use ExpressionTypeHolder when comparing conditionals
([#&#8203;2048](https://togithub.com/phpstan/phpstan-src/pull/2048)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- UnionType - carry information that it's normalized
(phpstan/phpstan-src@96e4443)
- VerbosityLevel offers `getLevelValue()`
(phpstan/phpstan-src@4f7e20b)
- Get rid of `TypeTraverser` in `ArrayChunkFunctionReturnTypeExtension`
([#&#8203;2082](https://togithub.com/phpstan/phpstan-src/pull/2082)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Get rid of `TypeTraverser` in `ArraySliceFunctionReturnTypeExtension`
([#&#8203;2085](https://togithub.com/phpstan/phpstan-src/pull/2085)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Get rid of `TypeTraverser` in
`ArrayReverseFunctionReturnTypeExtension`
([#&#8203;2084](https://togithub.com/phpstan/phpstan-src/pull/2084)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Get rid of `TypeTraverser` in `StrSplitFunctionReturnTypeExtension`
([#&#8203;2087](https://togithub.com/phpstan/phpstan-src/pull/2087)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!

### [`v1.9.2`](https://togithub.com/phpstan/phpstan/releases/tag/1.9.2)

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.9.1...1.9.2)

# Bugfixes πŸ›

- Fix array and iterable type action methods on `NeverType`
([#&#8203;1968](https://togithub.com/phpstan/phpstan-src/pull/1968)),
[#&#8203;8277](https://togithub.com/phpstan/phpstan/issues/8277), thanks
[@&#8203;herndlm](https://togithub.com/herndlm)!
- Support 'HasMethodType' on StaticCall
([#&#8203;1969](https://togithub.com/phpstan/phpstan-src/pull/1969)),
[#&#8203;1267](https://togithub.com/phpstan/phpstan/issues/1267), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Addition operation on MixedType without ArrayType cannot result in
ArrayType
([#&#8203;1949](https://togithub.com/phpstan/phpstan-src/pull/1949)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Remove DateInterval stub
([#&#8203;1974](https://togithub.com/phpstan/phpstan-src/pull/1974)),
thanks [@&#8203;VincentLanglet](https://togithub.com/VincentLanglet)!
- Fix invalidate static expressions in closures
([#&#8203;1983](https://togithub.com/phpstan/phpstan-src/pull/1983)),
[#&#8203;8292](https://togithub.com/phpstan/phpstan/issues/8292), thanks
[@&#8203;rajyan](https://togithub.com/rajyan)!
- Fix false positive of access to private property of parent class
([#&#8203;1953](https://togithub.com/phpstan/phpstan-src/pull/1953)),
[#&#8203;2435](https://togithub.com/phpstan/phpstan/issues/2435), thanks
[@&#8203;tyabu12](https://togithub.com/tyabu12)!
- Fix unset on nested array
([#&#8203;1987](https://togithub.com/phpstan/phpstan-src/pull/1987)),
[#&#8203;8113](https://togithub.com/phpstan/phpstan/issues/8113), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!

# Function signature fixes πŸ€–

- Update DateTimeZone::listAbbreviations signature
([#&#8203;1962](https://togithub.com/phpstan/phpstan-src/pull/1962)),
thanks [@&#8203;franmomu](https://togithub.com/franmomu)!
- Making `json_encode()` always produce a `non-empty-string`, when
successful
([#&#8203;1980](https://togithub.com/phpstan/phpstan-src/pull/1980)),
thanks [@&#8203;Slamdunk](https://togithub.com/Slamdunk)!
- `sodium_crypto_generichash*` always produce a `non-empty-string`
([#&#8203;1981](https://togithub.com/phpstan/phpstan-src/pull/1981)),
thanks [@&#8203;Slamdunk](https://togithub.com/Slamdunk)!
- `sodium_crypto_sign*` always produce `non-empty-string`
([#&#8203;1985](https://togithub.com/phpstan/phpstan-src/pull/1985)),
thanks [@&#8203;Slamdunk](https://togithub.com/Slamdunk)!

# Internals πŸ”

- Implement isClassStringType() on Type
([#&#8203;1970](https://togithub.com/phpstan/phpstan-src/pull/1970)),
[#&#8203;6147](https://togithub.com/phpstan/phpstan/issues/6147), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Implement isInteger() on Type
([#&#8203;1971](https://togithub.com/phpstan/phpstan-src/pull/1971)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Implement isBoolean() on Type
([#&#8203;1973](https://togithub.com/phpstan/phpstan-src/pull/1973)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Implement isFloat() on Type
([#&#8203;1977](https://togithub.com/phpstan/phpstan-src/pull/1977)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Implement isNull() on Type
([#&#8203;1978](https://togithub.com/phpstan/phpstan-src/pull/1978)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Add `Type::isVoid()`
([#&#8203;1982](https://togithub.com/phpstan/phpstan-src/pull/1982)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!

### [`v1.9.1`](https://togithub.com/phpstan/phpstan/releases/tag/1.9.1)

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.9.0...1.9.1)

# Improvements πŸ”§

- `AccessoryArrayListType` is part of BC promise
([#&#8203;1967](https://togithub.com/phpstan/phpstan-src/pull/1967)),
thanks [@&#8203;enumag](https://togithub.com/enumag)!
- Specify types from true/false asserts
([#&#8203;1957](https://togithub.com/phpstan/phpstan-src/pull/1957)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Support conditional types in phpdoc asserts
([#&#8203;1964](https://togithub.com/phpstan/phpstan-src/pull/1964)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Let casting `object` to `string` result in an error
([#&#8203;1948](https://togithub.com/phpstan/phpstan-src/pull/1948)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Add more support for `checkBenevolentUnionTypes` config
([#&#8203;1940](https://togithub.com/phpstan/phpstan-src/pull/1940)),
thanks [@&#8203;VincentLanglet](https://togithub.com/VincentLanglet)!
- Error on unknown parameter name in parameter conditional type
([#&#8203;1966](https://togithub.com/phpstan/phpstan-src/pull/1966)),
[#&#8203;8284](https://togithub.com/phpstan/phpstan/issues/8284), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!

# Bugfixes πŸ›

- List type cast to array is still a list
([#&#8203;1958](https://togithub.com/phpstan/phpstan-src/pull/1958),
[#&#8203;1959](https://togithub.com/phpstan/phpstan-src/pull/1959)),
[#&#8203;8280](https://togithub.com/phpstan/phpstan/issues/8280), thanks
[@&#8203;rajyan](https://togithub.com/rajyan)!
- Fix `mt_rand` return type
([#&#8203;1956](https://togithub.com/phpstan/phpstan-src/pull/1956)),
[#&#8203;8272](https://togithub.com/phpstan/phpstan/issues/8272), thanks
[@&#8203;enumag](https://togithub.com/enumag)!
- `strtr` returns `non-empty-string`
([#&#8203;1963](https://togithub.com/phpstan/phpstan-src/pull/1963)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

### [`v1.9.0`](https://togithub.com/phpstan/phpstan/releases/tag/1.9.0)

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.8.11...1.9.0)

[**Check out the article about this
release!**](https://phpstan.org/blog/phpstan-1-9-0-with-phpdoc-asserts-list-type.html)

# Major new features πŸš€

- **PHPDoc-based type narrowing** with `@phpstan-assert`,
`@phpstan-assert-if-true`, `@phpstan-assert-if-false`
([#&#8203;1317](https://togithub.com/phpstan/phpstan-src/pull/1317)),
[#&#8203;7110](https://togithub.com/phpstan/phpstan/issues/7110),
[#&#8203;8186](https://togithub.com/phpstan/phpstan/issues/8186), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
-
[Documentation](https://phpstan.org/writing-php-code/narrowing-types#custom-type-checking-functions-and-methods)
- `@phpstan-self-out`/`@phpstan-this-out` support
([#&#8203;1799](https://togithub.com/phpstan/phpstan-src/pull/1799)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Can be used to change the type of the current object after calling a
method on it. This is useful for generic mutable objects.
-
[Documentation](https://phpstan.org/writing-php-code/phpdocs-basics#change-type-of-current-object-after-calling-a-method)
- `@param-out` support
([#&#8203;1804](https://togithub.com/phpstan/phpstan-src/pull/1804)),
[#&#8203;7231](https://togithub.com/phpstan/phpstan/issues/7231),
[#&#8203;6871](https://togithub.com/phpstan/phpstan/issues/6871),
[#&#8203;6186](https://togithub.com/phpstan/phpstan/issues/6186),
[#&#8203;4372](https://togithub.com/phpstan/phpstan/issues/4372),
[#&#8203;5785](https://togithub.com/phpstan/phpstan/issues/5785), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Can be used to specify type of function argument passed by reference
-
[Documentation](https://phpstan.org/writing-php-code/phpdocs-basics#setting-parameter-type-passed-by-reference)
- Add extensible `ClassReflection::getAllowedSubTypes()`
([#&#8203;1477](https://togithub.com/phpstan/phpstan-src/pull/1477)),
thanks [@&#8203;jiripudil](https://togithub.com/jiripudil)!
-
[Documentation](https://phpstan.org/developing-extensions/allowed-subtypes)
- Add config parameter `checkBenevolentUnionTypes` to strictly check
BenevolentUnionType
([#&#8203;1930](https://togithub.com/phpstan/phpstan-src/pull/1930)),
[#&#8203;8223](https://togithub.com/phpstan/phpstan/issues/8223), thanks
[@&#8203;VincentLanglet](https://togithub.com/VincentLanglet)!
-
[Documentation](https://phpstan.org/config-reference#checkbenevolentuniontypes)

# Bleeding edge πŸ”ͺ

- **Array `list` type**
([#&#8203;1751](https://togithub.com/phpstan/phpstan-src/pull/1751)),
[#&#8203;3311](https://togithub.com/phpstan/phpstan/issues/3311),
[#&#8203;8185](https://togithub.com/phpstan/phpstan/issues/8185),
[#&#8203;6243](https://togithub.com/phpstan/phpstan/issues/6243), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
    -   Lists are arrays with sequential integer keys starting at 0
- Improve error wording of the NonexistentOffset,
BooleanAndConstantConditionRule, and BooleanOrConstantConditionRule
([#&#8203;1882](https://togithub.com/phpstan/phpstan-src/pull/1882)),
thanks [@&#8203;VincentLanglet](https://togithub.com/VincentLanglet)!
- MissingMagicSerializationMethodsRule
([#&#8203;1711](https://togithub.com/phpstan/phpstan-src/pull/1711)),
[#&#8203;7482](https://togithub.com/phpstan/phpstan/issues/7482), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Unescape strings in phpdoc-parser
(phpstan/phpstan-src@97786ed)
- Stub files validation - detect duplicate classes and functions
(phpstan/phpstan-src@ddf8d5c,
phpstan/phpstan-src@17e4b74)

*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 πŸ”§

- Add `non-negative-int` and `non-positive-int`
([#&#8203;1803](https://togithub.com/phpstan/phpstan-src/pull/1803)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Optimize `NonexistentOffsetInArrayDimFetchCheck`
([#&#8203;1801](https://togithub.com/phpstan/phpstan-src/pull/1801)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Modify the built-in `@method` extension to look at `@throws` in
\__call
([#&#8203;1842](https://togithub.com/phpstan/phpstan-src/pull/1842)),
[#&#8203;8163](https://togithub.com/phpstan/phpstan/issues/8163), thanks
[@&#8203;VincentLanglet](https://togithub.com/VincentLanglet)!
- Improve impossible type checker for void-returning functions
([#&#8203;1857](https://togithub.com/phpstan/phpstan-src/pull/1857)),
[#&#8203;8169](https://togithub.com/phpstan/phpstan/issues/8169), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Allow using `$this`/`static` in conditional return types
([#&#8203;1863](https://togithub.com/phpstan/phpstan-src/pull/1863)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Emit warnings when Xdebug is not used according to CLI flags
([#&#8203;1878](https://togithub.com/phpstan/phpstan-src/pull/1878)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Improve array_fill return type extension
([#&#8203;1879](https://togithub.com/phpstan/phpstan-src/pull/1879)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Add support for `mb_convert_case()` and `mb_convert_kana()`
([#&#8203;1866](https://togithub.com/phpstan/phpstan-src/pull/1866)),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Accept and describe `callable-object` and `callable-string`
([#&#8203;1906](https://togithub.com/phpstan/phpstan-src/pull/1906)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Add colon as prefix of line number in table report, when running in
VSCode terminal
([#&#8203;1901](https://togithub.com/phpstan/phpstan-src/pull/1901)),
[#&#8203;8086](https://togithub.com/phpstan/phpstan/issues/8086), thanks
[@&#8203;LeoVie](https://togithub.com/LeoVie)!
- Cover ExtendedMethodReflection by BC promise (but not implementing it,
only calling the methods)
([#&#8203;1913](https://togithub.com/phpstan/phpstan-src/pull/1913)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Locate identifiers by type for OptimizedSingleFileSourceLocator
([#&#8203;1114](https://togithub.com/phpstan/phpstan-src/pull/1114)),
thanks [@&#8203;tomasfejfar](https://togithub.com/tomasfejfar)!
- Implement
`FunctionReflection`/`ExtendedMethodReflection::returnsByReference()`
([#&#8203;1899](https://togithub.com/phpstan/phpstan-src/pull/1899)),
[#&#8203;6005](https://togithub.com/phpstan/phpstan/issues/6005), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Add noreturn as PseudoTypeClass
([#&#8203;1937](https://togithub.com/phpstan/phpstan-src/pull/1937)),
[#&#8203;8242](https://togithub.com/phpstan/phpstan/issues/8242), thanks
[@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Introduce new simple ScopeFactory
(phpstan/phpstan-src@1cc337a)
- `MutatingScope::enterNamespace()` is part of BC promise
(phpstan/phpstan-src@92732ca)

# Bugfixes πŸ›

- Preserve non-empty-array type when generalizing arrays
([#&#8203;1752](https://togithub.com/phpstan/phpstan-src/pull/1752)),
[#&#8203;7996](https://togithub.com/phpstan/phpstan/issues/7996), thanks
[@&#8203;herndlm](https://togithub.com/herndlm)!
- There's no valid use-case to implement `Scope` or `FunctionReflection`
in userland class
(phpstan/phpstan-src@2796f8d)
- `no-named-arguments` implies variadic argument is a `list`
([#&#8203;1796](https://togithub.com/phpstan/phpstan-src/pull/1796)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Fix list checking on level 7 vs. level 8
(phpstan/phpstan-src@9260584),
[#&#8203;8071](https://togithub.com/phpstan/phpstan/issues/8071)
- MixedType: support subtracted in array-type methods
([#&#8203;1852](https://togithub.com/phpstan/phpstan-src/pull/1852)),
[#&#8203;3370](https://togithub.com/phpstan/phpstan/issues/3370), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Allow compare SimpleXMLElement to number
([#&#8203;1755](https://togithub.com/phpstan/phpstan-src/pull/1755)),
[#&#8203;1795](https://togithub.com/phpstan/phpstan/issues/1795), thanks
[@&#8203;muno92](https://togithub.com/muno92)!
- Fix min max call on array of union types
([#&#8203;1795](https://togithub.com/phpstan/phpstan-src/pull/1795)),
[#&#8203;8088](https://togithub.com/phpstan/phpstan/issues/8088), thanks
[@&#8203;VincentLanglet](https://togithub.com/VincentLanglet)!
- Support `Countable` in `count()`
([#&#8203;1876](https://togithub.com/phpstan/phpstan-src/pull/1876)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Improve `RuleLevelHelper::accepts()` for constant arrays
([#&#8203;1911](https://togithub.com/phpstan/phpstan-src/pull/1911)),
[#&#8203;8209](https://togithub.com/phpstan/phpstan/issues/8209), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Fix closure return type based on by-ref use
([#&#8203;1914](https://togithub.com/phpstan/phpstan-src/pull/1914)),
[#&#8203;6806](https://togithub.com/phpstan/phpstan/issues/6806),
[#&#8203;4739](https://togithub.com/phpstan/phpstan/issues/4739),
[#&#8203;5753](https://togithub.com/phpstan/phpstan/issues/5753),
[#&#8203;6559](https://togithub.com/phpstan/phpstan/issues/6559),
[#&#8203;6902](https://togithub.com/phpstan/phpstan/issues/6902),
[#&#8203;7220](https://togithub.com/phpstan/phpstan/issues/7220), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Consider `get_object_var()` as private property read
([#&#8203;1902](https://togithub.com/phpstan/phpstan-src/pull/1902)),
[#&#8203;3654](https://togithub.com/phpstan/phpstan/issues/3654), thanks
[@&#8203;vovochka404](https://togithub.com/vovochka404)!
- Temporary solution to handle "maybe" certainty types assign in
nativeExpressionTypes
([#&#8203;1932](https://togithub.com/phpstan/phpstan-src/pull/1932)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Refactor arrow function scope logic to make it consistent with
anonymous functions
([#&#8203;1935](https://togithub.com/phpstan/phpstan-src/pull/1935)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Fix static bleedingEdge toggles in tests
([#&#8203;1928](https://togithub.com/phpstan/phpstan-src/pull/1928)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Improve unset on ConstantArrayType
([#&#8203;1927](https://togithub.com/phpstan/phpstan-src/pull/1927)),
[#&#8203;8225](https://togithub.com/phpstan/phpstan/issues/8225), thanks
[@&#8203;VincentLanglet](https://togithub.com/VincentLanglet)!
- Fix stale result cache for `@param-out`
(phpstan/phpstan-src@cf40007)
- Fix stale result cache for arrow functions
(phpstan/phpstan-src@2969057)
- Fix closure return type for different same-code array_map arguments in
same scope
([#&#8203;1915](https://togithub.com/phpstan/phpstan-src/pull/1915)),
[#&#8203;8179](https://togithub.com/phpstan/phpstan/issues/8179), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- `$this` in nativeExpressionTypes
([#&#8203;1936](https://togithub.com/phpstan/phpstan-src/pull/1936)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Handle ClassConstFetch in Scope
([#&#8203;1944](https://togithub.com/phpstan/phpstan-src/pull/1944)),
[#&#8203;7913](https://togithub.com/phpstan/phpstan/issues/7913), thanks
[@&#8203;rajyan](https://togithub.com/rajyan)!
- Retain non-variable expression types in closure
([#&#8203;1929](https://togithub.com/phpstan/phpstan-src/pull/1929)),
[#&#8203;8205](https://togithub.com/phpstan/phpstan/issues/8205), thanks
[@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Fix stale result cache for asserts
(phpstan/phpstan-src@471265f)
- Fix stale result cache for `@phpstan-self-out`
([#&#8203;1949](https://togithub.com/phpstan/phpstan-src/pull/1949)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

# Function signature fixes πŸ€–

- Fix class_implements return type
([#&#8203;1797](https://togithub.com/phpstan/phpstan-src/pull/1797)),
thanks [@&#8203;enumag](https://togithub.com/enumag)!
- `mb_check_encoding()` accepts `array<string>` in PHP 7.2+
([#&#8203;1867](https://togithub.com/phpstan/phpstan-src/pull/1867)),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!

# Internals πŸ”

- Introduce ArrayType traits
([#&#8203;1715](https://togithub.com/phpstan/phpstan-src/pull/1715)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Introduce `Type::getConstantArrays` as successor for
`TypeUtils::getOldConstantArrays`
([#&#8203;1684](https://togithub.com/phpstan/phpstan-src/pull/1684)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Deprecate `TypeUtils::getArrays()` and `TypeUtils::getAnyArrays()`
([#&#8203;1687](https://togithub.com/phpstan/phpstan-src/pull/1687)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::getLastIterableValueType()`
([#&#8203;1811](https://togithub.com/phpstan/phpstan-src/pull/1811)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::getFirstIterableValueType()`
([#&#8203;1811](https://togithub.com/phpstan/phpstan-src/pull/1811)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::getFirstIterableKeyType()` and
`Type::getLastIterableKeyType()`
([#&#8203;1812](https://togithub.com/phpstan/phpstan-src/pull/1812)),
[#&#8203;8152](https://togithub.com/phpstan/phpstan/issues/8152), thanks
[@&#8203;herndlm](https://togithub.com/herndlm)!
- Preparation for native types
([#&#8203;1823](https://togithub.com/phpstan/phpstan-src/pull/1823)),
[#&#8203;5333](https://togithub.com/phpstan/phpstan/issues/5333), thanks
[@&#8203;rajyan](https://togithub.com/rajyan)!
- Move iterable methods from array to iterable traits
([#&#8203;1821](https://togithub.com/phpstan/phpstan-src/pull/1821)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Do not use other traits in `JustNullableTypeTrait`
([#&#8203;1821](https://togithub.com/phpstan/phpstan-src/pull/1821)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::isConstantArray()`
([#&#8203;1822](https://togithub.com/phpstan/phpstan-src/pull/1822)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Replace single `getConstantArrays()` usage with `isConstantArray()`
([#&#8203;1827](https://togithub.com/phpstan/phpstan-src/pull/1827)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::getArraySize()`
([#&#8203;1828](https://togithub.com/phpstan/phpstan-src/pull/1828)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::flipArray()`
([#&#8203;1832](https://togithub.com/phpstan/phpstan-src/pull/1832)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::getKeysArray()` and `Type::getValuesArray()`
([#&#8203;1851](https://togithub.com/phpstan/phpstan-src/pull/1851)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Implement `FunctionReflection::getDocComment()`
([#&#8203;1834](https://togithub.com/phpstan/phpstan-src/pull/1834)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Add `Type::popArray()` and `Type::shiftArray()`
([#&#8203;1847](https://togithub.com/phpstan/phpstan-src/pull/1847)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::shuffleArray()`
([#&#8203;1853](https://togithub.com/phpstan/phpstan-src/pull/1853)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Deprecate `ConstantArrayType::generalizeToArray()`
([#&#8203;1856](https://togithub.com/phpstan/phpstan-src/pull/1856)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Explicitly specify native type for `array_pop`/`array_shift` arg
([#&#8203;1864](https://togithub.com/phpstan/phpstan-src/pull/1864)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Replace `ArrayType::castToArrayKey()` with `Type::toArrayKey()`
([#&#8203;1841](https://togithub.com/phpstan/phpstan-src/pull/1841)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- remove IsFloatFunctionTypeSpecifyingExtension
([#&#8203;1880](https://togithub.com/phpstan/phpstan-src/pull/1880)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- remove IsNumericFunctionTypeSpecifyingExtension
([#&#8203;1880](https://togithub.com/phpstan/phpstan-src/pull/1880)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Remove is_bool, is_countable and is_null type specifying extensions
([#&#8203;1881](https://togithub.com/phpstan/phpstan-src/pull/1881)),
thanks [@&#8203;mad-briller](https://togithub.com/mad-briller)!
- Add `Type::fillKeysArray()`
([#&#8203;1869](https://togithub.com/phpstan/phpstan-src/pull/1869)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Consistently return `ErrorType` for invalid keys
([#&#8203;1869](https://togithub.com/phpstan/phpstan-src/pull/1869)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Replace `is_(int,object,resource,scalar)` extensions with stubs
([#&#8203;1884](https://togithub.com/phpstan/phpstan-src/pull/1884)),
thanks [@&#8203;BackEndTea](https://togithub.com/BackEndTea)!
- Refactor `pow()` return type extension to re-use `BinaryOp\Pow` type
inference
([#&#8203;1900](https://togithub.com/phpstan/phpstan-src/pull/1900)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Get rid of of `Type::getArrays()` usage in
`InvalidKeyInArrayDimFetchRule`
([#&#8203;1872](https://togithub.com/phpstan/phpstan-src/pull/1872)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Add `Type::searchArray()`
([#&#8203;1874](https://togithub.com/phpstan/phpstan-src/pull/1874)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- MutatingScope: change `variableTypes` to save by `exprString`
([#&#8203;1909](https://togithub.com/phpstan/phpstan-src/pull/1909)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- MutatingScope: merge `variableTypes` and `moreSpecificTypes`
([#&#8203;1919](https://togithub.com/phpstan/phpstan-src/pull/1919)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Upgrade deprecated `::set-*` in GitHub Actions
([#&#8203;1917](https://togithub.com/phpstan/phpstan-src/pull/1917)),
thanks [@&#8203;rez1dent3](https://togithub.com/rez1dent3)!
- Improve non-array specification for recently cleaned-up array
functions
([#&#8203;1907](https://togithub.com/phpstan/phpstan-src/pull/1907)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Retain sort order in intersection type
([#&#8203;1906](https://togithub.com/phpstan/phpstan-src/pull/1906)),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Add `Type::intersectKeyArray()`
([#&#8203;1916](https://togithub.com/phpstan/phpstan-src/pull/1916)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Changelog generator - allow excluding branch
(phpstan/phpstan-src@aaf4b7d)
- MutatingScope refactoring and regression test
([#&#8203;1934](https://togithub.com/phpstan/phpstan-src/pull/1934)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Refactor to save nativeTypeExpressions by ExpressionTypeHolder
([#&#8203;1936](https://togithub.com/phpstan/phpstan-src/pull/1936)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!
- Merge constantTypes with expressionTypes
([#&#8203;1938](https://togithub.com/phpstan/phpstan-src/pull/1938)),
thanks [@&#8203;rajyan](https://togithub.com/rajyan)!

</details>

---

### 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 this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/open-feature/php-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42My4yIiwidXBkYXRlZEluVmVyIjoiMzQuNjMuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 19, 2022
1 parent b9e0985 commit 2656740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "~1.8.0",
"phpstan/phpstan": "~1.9.0",
"phpstan/phpstan-mockery": "^1.0",
"phpstan/phpstan-phpunit": "^1.1",
"psalm/plugin-mockery": "^0.9.1",
Expand Down

0 comments on commit 2656740

Please sign in to comment.