Skip to content

Commit

Permalink
chore(deps): update dependency phpstan/phpstan to v1.10.43 (#181)
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.41` ->
`1.10.43` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.10.43?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.10.43?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.10.41/1.10.43?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.10.41/1.10.43?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.10.42...1.10.43)

# Improvements 🔧

-   Update `phpstan/phpdoc-parser`
- Fix HTML description detection for PhpStorm stubs
([phpstan/phpdoc-parser#220),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!
- Make `ReflectionEnum` generic
(phpstan/phpstan-src@9ce8faf)

# Bugfixes 🐛

- Merge right scope of `??=` with scope before the expression
(phpstan/phpstan-src@846f44e),
[#&#8203;10151](https://togithub.com/phpstan/phpstan/issues/10151),
[#&#8203;10131](https://togithub.com/phpstan/phpstan/issues/10131)
- Fix return type of parent calls for SplHeap and other internal methods
([#&#8203;2622](https://togithub.com/phpstan/phpstan-src/pull/2622)),
[#&#8203;7162](https://togithub.com/phpstan/phpstan/issues/7162),
[#&#8203;9867](https://togithub.com/phpstan/phpstan/issues/9867), thanks
[@&#8203;schlndh](https://togithub.com/schlndh)!
- `stdClass` does not have `__get` method
(phpstan/phpstan-src@baf359e),
[#&#8203;10149](https://togithub.com/phpstan/phpstan/issues/10149)
- Fix signature check of method from trait
(phpstan/phpstan-src@be2b415),
[#&#8203;10153](https://togithub.com/phpstan/phpstan/issues/10153)
- All `universalObjectCratesClasses` allow dynamic properties
(phpstan/phpstan-src@2ec416e)
- Fix infinite recursion with self-referencing class constant
(phpstan/phpstan-src@93af41b),
[#&#8203;10147](https://togithub.com/phpstan/phpstan/issues/10147)

# Internals 🔍

- Add named arguments variants to reflection golden test
([#&#8203;2743](https://togithub.com/phpstan/phpstan-src/pull/2743)),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.10.41...1.10.42)

This release closes **25 issues**! 🎉

# Major new features 🚀

- PHP 8.3 - support for natively typed class constants
([RFC](https://wiki.php.net/rfc/typed_class_constants))
- PHP 8.3 - support for `#[\Override]` attribute
(phpstan/phpstan-src@e9a5639)
([RFC](https://wiki.php.net/rfc/marking_overriden_methods))
- New configuration option: `checkMissingOverrideMethodAttribute`
(https://phpstan.org/config-reference#checkmissingoverridemethodattribute)
(phpstan/phpstan-src@ac4d3de)

# Bleeding edge 🔪

- Detect overriding `@final` method in OverridingMethodRule,
[#&#8203;9135](https://togithub.com/phpstan/phpstan/issues/9135)
- MethodSignatureRule - look at abstract trait method
(phpstan/phpstan-src@5fd8cee)
- MagicConstantContextRule
([#&#8203;2741](https://togithub.com/phpstan/phpstan-src/pull/2741)),
[#&#8203;10099](https://togithub.com/phpstan/phpstan/issues/10099),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

*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 ConstantsInTraitsRule
([#&#8203;2718](https://togithub.com/phpstan/phpstan-src/pull/2718)),
thanks [@&#8203;paulbalandan](https://togithub.com/paulbalandan)!
- Add NoncapturingCatchRule
([#&#8203;2721](https://togithub.com/phpstan/phpstan-src/pull/2721)),
[#&#8203;8663](https://togithub.com/phpstan/phpstan/issues/8663), thanks
[@&#8203;paulbalandan](https://togithub.com/paulbalandan)!
- Detect non-abstract methods with no body
([#&#8203;2730](https://togithub.com/phpstan/phpstan-src/pull/2730)),
[#&#8203;4244](https://togithub.com/phpstan/phpstan/issues/4244), thanks
[@&#8203;paulbalandan](https://togithub.com/paulbalandan)!
- Detect properties declared in interface
([#&#8203;2731](https://togithub.com/phpstan/phpstan-src/pull/2731)),
[#&#8203;8915](https://togithub.com/phpstan/phpstan/issues/8915), thanks
[@&#8203;paulbalandan](https://togithub.com/paulbalandan)!
- Add VariadicParametersDeclarationRule
([#&#8203;2733](https://togithub.com/phpstan/phpstan-src/pull/2733)),
[#&#8203;3802](https://togithub.com/phpstan/phpstan/issues/3802), thanks
[@&#8203;paulbalandan](https://togithub.com/paulbalandan)!
- Add InvalidCallablePropertyTypeRule
([#&#8203;2745](https://togithub.com/phpstan/phpstan-src/pull/2745)),
[#&#8203;4424](https://togithub.com/phpstan/phpstan/issues/4424), thanks
[@&#8203;paulbalandan](https://togithub.com/paulbalandan)!
- ConflictingTraitConstantsRule
(phpstan/phpstan-src@f94a3c3)
- Read class constant type when generalizing the type for
`dynamicConstantNames`
(phpstan/phpstan-src@cb9571b)
- Rework prototype searching in OverridingMethodRule
(phpstan/phpstan-src@4b2ffb8),
[#&#8203;10101](https://togithub.com/phpstan/phpstan/issues/10101),
[#&#8203;7541](https://togithub.com/phpstan/phpstan/issues/7541),
[#&#8203;10043](https://togithub.com/phpstan/phpstan/issues/10043),
[#&#8203;7859](https://togithub.com/phpstan/phpstan/issues/7859),
[#&#8203;8081](https://togithub.com/phpstan/phpstan/issues/8081),
[#&#8203;8500](https://togithub.com/phpstan/phpstan/issues/8500),
[#&#8203;9014](https://togithub.com/phpstan/phpstan/issues/9014)
- OverridingMethodRule - search for method prototype in traits
(phpstan/phpstan-src@2df14af)
- VarTagTypeRuleHelper: fix widening array shapes
([#&#8203;2738](https://togithub.com/phpstan/phpstan-src/pull/2738)),
[#&#8203;10130](https://togithub.com/phpstan/phpstan/issues/10130),
thanks [@&#8203;janedbal](https://togithub.com/janedbal)!
- Note about Xdebug with `--debug`
(phpstan/phpstan-src@c534f8c)
- FunctionSignatureMapProvider - cache data statically
(phpstan/phpstan-src@394064b),
[#&#8203;10039](https://togithub.com/phpstan/phpstan/issues/10039)

# Bugfixes 🐛

- Star projection is always within template type bounds
([#&#8203;2715](https://togithub.com/phpstan/phpstan-src/pull/2715)),
[#&#8203;10097](https://togithub.com/phpstan/phpstan/issues/10097),
thanks [@&#8203;jiripudil](https://togithub.com/jiripudil)!
- Support `non-empty-string` in `str_shuffle()`
([#&#8203;2717](https://togithub.com/phpstan/phpstan-src/pull/2717)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Look if userland prototype has `ReturnTypeWillChange` or not
(phpstan/phpstan-src@eb0c7a1),
[#&#8203;9615](https://togithub.com/phpstan/phpstan/issues/9615)
- Fix wrong tip about returning a list
(phpstan/phpstan-src@00adfaa,
phpstan/phpstan-src@00a9d94)
- Fix parameter names for multi-variant functions
([#&#8203;2726](https://togithub.com/phpstan/phpstan-src/pull/2726)),
[#&#8203;9018](https://togithub.com/phpstan/phpstan/issues/9018),
[#&#8203;9399](https://togithub.com/phpstan/phpstan/issues/9399),
[#&#8203;9923](https://togithub.com/phpstan/phpstan/issues/9923),
[#&#8203;9823](https://togithub.com/phpstan/phpstan/issues/9823), thanks
[@&#8203;schlndh](https://togithub.com/schlndh)!
- Fix iterator_to_array, iterator_count for PHP 8.2
([#&#8203;2625](https://togithub.com/phpstan/phpstan-src/pull/2625)),
[#&#8203;9793](https://togithub.com/phpstan/phpstan/issues/9793),
[#&#8203;7760](https://togithub.com/phpstan/phpstan/issues/7760), thanks
[@&#8203;schlndh](https://togithub.com/schlndh)!
- Update array_filter signature to allow null as callback
([#&#8203;2740](https://togithub.com/phpstan/phpstan/issues/2740))
([#&#8203;2740](https://togithub.com/phpstan/phpstan-src/pull/2740)),
thanks [@&#8203;andyexeter](https://togithub.com/andyexeter)!

# Function signature fixes 🤖

- Fix return value of `mailparse_msg_get_part()`
([#&#8203;2722](https://togithub.com/phpstan/phpstan-src/pull/2722)),
thanks [@&#8203;jlherren](https://togithub.com/jlherren)!
- Update functionMaps
([#&#8203;2699](https://togithub.com/phpstan/phpstan-src/pull/2699)),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Change `iptcparse` return type
([#&#8203;2727](https://togithub.com/phpstan/phpstan-src/pull/2727)),
thanks [@&#8203;ManuelHu](https://togithub.com/ManuelHu)!

# Internals 🔍

- Create DirectoryCreator helper class
([#&#8203;2697](https://togithub.com/phpstan/phpstan-src/pull/2697)),
thanks [@&#8203;CalebDW](https://togithub.com/CalebDW)!
- Use PHP 8.3 in Name Collision Detector
(phpstan/phpstan-src@8cd239e)
- Golden test for reflection
([#&#8203;2679](https://togithub.com/phpstan/phpstan-src/pull/2679)),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!
- Fully qualify the name of the `#[\Override]` attribute in error
messages
([#&#8203;10136](https://togithub.com/phpstan/phpstan-src/pull/10136)),
thanks [@&#8203;TimWolla](https://togithub.com/TimWolla)!
- RuleTestCase - allow null tip
(phpstan/phpstan-src@f384b43)

</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://developer.mend.io/github/kayman-mk/blog-tech-at-work).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Nov 19, 2023
1 parent 6ed9fcc commit e37f9b8
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 @@ -3,7 +3,7 @@
"description": "just a dummy package to be able to run PHPStan",

"require-dev": {
"phpstan/phpstan": "1.10.41"
"phpstan/phpstan": "1.10.43"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit e37f9b8

Please sign in to comment.