Skip to content

Commit

Permalink
Update dependency phpstan/phpstan to ^1.10.48 (#231)
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 | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [phpstan/phpstan](https://togithub.com/phpstan/phpstan) | `^1.10.47`
-> `^1.10.48` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.10.48?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.10.48?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.10.47/1.10.48?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.10.47/1.10.48?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.10.47...1.10.48)

# Bleeding edge 🔪

- TooWideMethodReturnTypehintRule - always report for final methods
(phpstan/phpstan-src@c30e9a4)
- LogicalXorConstantConditionRule
(phpstan/phpstan-src@3a12724,
phpstan/phpstan-src@3b011f6),
[#&#8203;7539](https://togithub.com/phpstan/phpstan/issues/7539)
- NoopRule - report top-level `xor` because that's probably not what the
user intended to do
(phpstan/phpstan-src@a1fffb3),
[#&#8203;10267](https://togithub.com/phpstan/phpstan/issues/10267)
- Report unused results of `and` and `or`
(phpstan/phpstan-src@1d8fff6)
- Report unused result of ternary
(phpstan/phpstan-src@9664f7a)
- Report unused results of `&&` and `||`
(phpstan/phpstan-src@cf2c8bb)

*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 🔧

- Narrow `ReflectionEnum::getName()` after `ReflectionEnum::isBacked()`
([#&#8203;2806](https://togithub.com/phpstan/phpstan-src/pull/2806)),
[#&#8203;10192](https://togithub.com/phpstan/phpstan/issues/10192),
thanks [@&#8203;franmomu](https://togithub.com/franmomu)!
- Any variable can exist after include/require
(phpstan/phpstan-src@0a3a968),
[https://github.com/phpstan/phpstan/discussions/10252](https://togithub.com/phpstan/phpstan/discussions/10252)

# Bugfixes 🐛

- ResolvedPhpDocBlock: fix parent return tag merging
([#&#8203;2803](https://togithub.com/phpstan/phpstan-src/pull/2803)),
[#&#8203;6462](https://togithub.com/phpstan/phpstan/issues/6462),
[#&#8203;10208](https://togithub.com/phpstan/phpstan/issues/10208),
[#&#8203;3580](https://togithub.com/phpstan/phpstan/issues/3580),
[#&#8203;4396](https://togithub.com/phpstan/phpstan/issues/4396), thanks
[@&#8203;janedbal](https://togithub.com/janedbal)!
- Merge in-foreach scope even for non-iterable expr
(phpstan/phpstan-src@942afbf)
- TooWideMethodReturnTypehintRule - never report in a trait
(phpstan/phpstan-src@e0eb850)
- Narrowing list type with `count()` results in type loss
([#&#8203;2811](https://togithub.com/phpstan/phpstan-src/pull/2811)),
[#&#8203;10264](https://togithub.com/phpstan/phpstan/issues/10264),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Fix LevelsTestCase for PHPUnit 10
(phpstan/phpstan-src@fa5d5f9)

# Function signature fixes 🤖

- Update return type information for `SimpleXMLElement::addChild`
([#&#8203;2808](https://togithub.com/phpstan/phpstan-src/pull/2808)),
[#&#8203;10269](https://togithub.com/phpstan/phpstan/issues/10269),
thanks [@&#8203;DaveLiddament](https://togithub.com/DaveLiddament)!

</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/ben-challis/sql-migrations).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 8, 2023
1 parent 5a7de7c commit b63468b
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 @@ -45,7 +45,7 @@
"lendable/clock": "^2.3",
"php-cs-fixer/shim": "^v3.40.2",
"php-standard-library/phpstan-extension": "^1.0",
"phpstan/phpstan": "^1.10.47",
"phpstan/phpstan": "^1.10.48",
"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 b63468b

Please sign in to comment.