Skip to content

Commit

Permalink
Update dependency phpstan/phpstan to ^1.10.45 (#561)
Browse files Browse the repository at this point in the history
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [phpstan/phpstan](https://togithub.com/phpstan/phpstan) | `^1.10.44`
-> `^1.10.45` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.10.45?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.10.45?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.10.44/1.10.45?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.10.44/1.10.45?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>phpstan/phpstan (phpstan/phpstan)</summary>

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.10.44...1.10.45)

# Improvements 🔧

- Introduce InvalidTypesInUnionRule
([#&#8203;2763](https://togithub.com/phpstan/phpstan-src/pull/2763)),
[#&#8203;9185](https://togithub.com/phpstan/phpstan/issues/9185), thanks
[@&#8203;paulbalandan](https://togithub.com/paulbalandan)!
- Implement DeclareStrictTypesRule
([#&#8203;2766](https://togithub.com/phpstan/phpstan-src/pull/2759)),
[#&#8203;6195](https://togithub.com/phpstan/phpstan/issues/6195), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Narrow `enum_exists()` arg to UnitEnum
([#&#8203;2764](https://togithub.com/phpstan/phpstan-src/pull/2764)),
[#&#8203;10169](https://togithub.com/phpstan/phpstan/issues/10169),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

# Bugfixes 🐛

- Use dedicated Type methods over `isSuperTypeOf()`
([#&#8203;2772](https://togithub.com/phpstan/phpstan-src/pull/2772),
[#&#8203;2787](https://togithub.com/phpstan/phpstan-src/pull/2787)),
[#&#8203;9778](https://togithub.com/phpstan/phpstan/issues/9778),
[#&#8203;9723](https://togithub.com/phpstan/phpstan/issues/9723),
[#&#8203;6407](https://togithub.com/phpstan/phpstan/issues/6407), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Optimize match expression with many conditions
(phpstan/phpstan-src@c238fe7)
- `in_array` - simulate Identical/Equal handling from TypeSpecifier for
literal arrays
(phpstan/phpstan-src@0177e33),
[#&#8203;10201](https://togithub.com/phpstan/phpstan/issues/10201)

# Function signature fixes 🤖

- Fix optional 4th parameter for `Redis::restore`
([#&#8203;2765](https://togithub.com/phpstan/phpstan-src/pull/2765)),
thanks [@&#8203;Vaalyn](https://togithub.com/Vaalyn)!
- Put `str_increment` and `str_decrement` into functionMap
([#&#8203;2777](https://togithub.com/phpstan/phpstan-src/pull/2777)),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Update functionMap
([#&#8203;2783](https://togithub.com/phpstan/phpstan-src/pull/2783)),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Update functionMap for `ext-mongodb` 1.17
([#&#8203;2768](https://togithub.com/phpstan/phpstan-src/pull/2768)),
thanks [@&#8203;alcaeus](https://togithub.com/alcaeus)!

# Internals 🔍

- Replace with `in_array()` instead of redundant property
([#&#8203;2770](https://togithub.com/phpstan/phpstan-src/pull/2770)),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Fix typo in rule name: `MethodVisibitiliyInInterfaceRule`
([#&#8203;2781](https://togithub.com/phpstan/phpstan-src/pull/2781)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Make extensions that return default types simply `return null`
([#&#8203;2782](https://togithub.com/phpstan/phpstan-src/pull/2782)),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Simplify InArrayFunctionTypeSpecifyingExtension
([#&#8203;2785](https://togithub.com/phpstan/phpstan-src/pull/2785)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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://developer.mend.io/github/Lendable/clock).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 27, 2023
1 parent 0812bce commit bd91278
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"mikey179/vfsstream": "^1.6.11",
"php-cs-fixer/shim": "^3.40.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpstan/phpstan": "^1.10.44",
"phpstan/phpstan": "^1.10.45",
"phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpstan-strict-rules": "^1.5.2",
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bd91278

Please sign in to comment.