Skip to content

Commit

Permalink
chore(deps): Update php deps (#81)
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.59` ->
`1.10.60` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.10.60?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.10.60?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.10.59/1.10.60?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.10.59/1.10.60?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [phpunit/phpunit](https://phpunit.de/)
([source](https://togithub.com/sebastianbergmann/phpunit)) | `10.5.11`
-> `10.5.12` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/10.5.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpunit%2fphpunit/10.5.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpunit%2fphpunit/10.5.11/10.5.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpunit%2fphpunit/10.5.11/10.5.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vimeo/psalm](https://togithub.com/vimeo/psalm) | `5.22.2` -> `5.23.0`
|
[![age](https://developer.mend.io/api/mc/badges/age/packagist/vimeo%2fpsalm/5.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/vimeo%2fpsalm/5.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/vimeo%2fpsalm/5.22.2/5.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/vimeo%2fpsalm/5.22.2/5.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.10.59...1.10.60)

[**Learn more about this
release**](https://phpstan.org/blog/enhancements-in-handling-parameters-passed-by-reference)
in an article on phpstan.org!

# Major new features 🚀

- Generic `@method` tags: `@method T doFoo<T>(T $p)`,
[#&#8203;6371](https://togithub.com/phpstan/phpstan/issues/6371)
- [Learn
more](https://twitter.com/OndrejMirtes/status/1760994823073370509)
- [#&#8203;2931](https://togithub.com/phpstan/phpstan-src/pull/2931),
[#&#8203;2935](https://togithub.com/phpstan/phpstan-src/pull/2935),
thanks [@&#8203;mad-briller](https://togithub.com/mad-briller)!
- Generic callable types: `callable<T>(T): T`,
[#&#8203;8964](https://togithub.com/phpstan/phpstan/issues/8964)
- [#&#8203;2938](https://togithub.com/phpstan/phpstan-src/pull/2938),
[#&#8203;2945](https://togithub.com/phpstan/phpstan-src/pull/2945),
[#&#8203;2946](https://togithub.com/phpstan/phpstan-src/pull/2946),
thanks [@&#8203;mad-briller](https://togithub.com/mad-briller)!
- Error on references of prefixed internal class names from PHAR files
([#&#8203;2932](https://togithub.com/phpstan/phpstan-src/pull/2932)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

# Bleeding edge 🔪

-   **Enhancements in Handling Parameters Passed by Reference**
- [Learn more on
phpstan.org](https://phpstan.org/blog/enhancements-in-handling-parameters-passed-by-reference)
- [#&#8203;2941](https://togithub.com/phpstan/phpstan-src/pull/2941),
thanks [@&#8203;ljmaskey](https://togithub.com/ljmaskey)!
- Add option `reportAnyTypeWideningInVarTag`
([#&#8203;2840](https://togithub.com/phpstan/phpstan-src/pull/2840)),
thanks [@&#8203;janedbal](https://togithub.com/janedbal)!

*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 support for constructor assertions
([#&#8203;2950](https://togithub.com/phpstan/phpstan-src/pull/2950)),
[#&#8203;10645](https://togithub.com/phpstan/phpstan/issues/10645),
thanks [@&#8203;axlon](https://togithub.com/axlon)!
- Report uses of deprecated constants
([#&#8203;2953](https://togithub.com/phpstan/phpstan-src/pull/2953)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

# Bugfixes 🐛

- Fix how union of callables is understood
([#&#8203;2902](https://togithub.com/phpstan/phpstan-src/pull/2902)),
[#&#8203;10442](https://togithub.com/phpstan/phpstan/issues/10442),
thanks [@&#8203;mad-briller](https://togithub.com/mad-briller)!
- Fix for inferring closure parameter type from callable union
(phpstan/phpstan-src@c10476d)
- ArrayType - string offset might exist as integer offset
([#&#8203;2928](https://togithub.com/phpstan/phpstan-src/pull/2928)),
[#&#8203;10610](https://togithub.com/phpstan/phpstan/issues/10610),
thanks [@&#8203;michalbundyra](https://togithub.com/michalbundyra)!
- Truncate description of huge UnionType
(phpstan/phpstan-src@039a3dc),
[#&#8203;10614](https://togithub.com/phpstan/phpstan/issues/10614)
- fix type of `$a?->b::c()` and `$a?->b::$c`
([#&#8203;2933](https://togithub.com/phpstan/phpstan-src/pull/2933)),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!
- fix `fn() => __FUNCTION__` and `__METHOD__`
([#&#8203;2934](https://togithub.com/phpstan/phpstan-src/pull/2934)),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!
- Some sort functions do not preserve a list
(phpstan/phpstan-src@034f731,
phpstan/phpstan-src@0977a7b),
[#&#8203;10627](https://togithub.com/phpstan/phpstan/issues/10627)
- ArgumentsNormalizer - keep named arguments for unknown parameters
(phpstan/phpstan-src@ad34452),
[#&#8203;10628](https://togithub.com/phpstan/phpstan/issues/10628)
- Check `T of mixed&Foo` and `T of mixed|Foo`
([#&#8203;2940](https://togithub.com/phpstan/phpstan-src/pull/2940)),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!
- Use narrowed conditional type if/else types for subtype checks
([#&#8203;2948](https://togithub.com/phpstan/phpstan-src/pull/2948)),
[#&#8203;10622](https://togithub.com/phpstan/phpstan/issues/10622),
thanks [@&#8203;rvanvelzen](https://togithub.com/rvanvelzen)!
- Fix `isSuperTypeOf` of callable/Closure when parameter count differ
([#&#8203;2949](https://togithub.com/phpstan/phpstan-src/pull/2949)),
[#&#8203;10594](https://togithub.com/phpstan/phpstan/issues/10594),
thanks [@&#8203;takaram](https://togithub.com/takaram)!

# Function signature fixes 🤖

- Fix `ReflectionFunctionAbstract::getExtension` return type
(phpstan/phpstan-src@2ece1f8)
- Correct return type of `date_sun_info()` function
([#&#8203;2947](https://togithub.com/phpstan/phpstan-src/pull/2947)),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Fix return values of `mysqli get_warnings`
([#&#8203;2929](https://togithub.com/phpstan/phpstan-src/pull/2929)),
thanks [@&#8203;janedbal](https://togithub.com/janedbal)!

# Internals 🔍

- Replace composer-require-checker with composer-dependency-analyser
([#&#8203;2875](https://togithub.com/phpstan/phpstan-src/pull/2875)),
thanks [@&#8203;janedbal](https://togithub.com/janedbal)!
- Use `Type::isNull()` in `Nullsafe(MethodCall|PropertyFetch)Rule`
([#&#8203;2942](https://togithub.com/phpstan/phpstan-src/pull/2942)),
thanks [@&#8203;takaram](https://togithub.com/takaram)!

</details>

<details>
<summary>sebastianbergmann/phpunit (phpunit/phpunit)</summary>

###
[`v10.5.12`](https://togithub.com/sebastianbergmann/phpunit/releases/tag/10.5.12)

[Compare
Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.11...10.5.12)

##### Fixed

-
[#&#8203;5652](https://togithub.com/sebastianbergmann/phpunit/issues/5652):
`HRTime::duration()` throws `InvalidArgumentException`

***

[How to install or update
PHPUnit](https://docs.phpunit.de/en/10.5/installation.html)

</details>

<details>
<summary>vimeo/psalm (vimeo/psalm)</summary>

### [`v5.23.0`](https://togithub.com/vimeo/psalm/releases/tag/5.23.0)

[Compare
Source](https://togithub.com/vimeo/psalm/compare/5.22.2...5.23.0)

<!-- Release notes generated using configuration in .github/release.yml
at 5.x -->

#### What's Changed

##### Features

- Update PHP 8.2 stubs to include `SensitiveParameterValue` by
[@&#8203;gsteel](https://togithub.com/gsteel) in
[vimeo/psalm#10726
- Add list of statements to BeforeFileAnalysisEvent by
[@&#8203;ohader](https://togithub.com/ohader) in
[vimeo/psalm#10728
- Forbid iterating over generators with non-nullable `send()` by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10697
- Initial support for named parameters for callables by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10772

##### Fixes

- Improve randomizer stubs by
[@&#8203;danog](https://togithub.com/danog) in
[vimeo/psalm#10709
- Fix detecting magic static methods by
[@&#8203;issidorov](https://togithub.com/issidorov) in
[vimeo/psalm#10704
- Fix non-empty-lowercase-string handling with literal non-lowercase
strings by [@&#8203;kkmuffme](https://togithub.com/kkmuffme) in
[vimeo/psalm#10722
- Fix RiskyTruthyFalsyComparison irrelevant errors when there is no
explicit truthy/falsy type by
[@&#8203;kkmuffme](https://togithub.com/kkmuffme) in
[vimeo/psalm#10733
- Allow `Override` attribute to be used in pure contexts by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10734
- Revert "Allow tainted numerics except for 'html' and 'has_quotes'" by
[@&#8203;ohader](https://togithub.com/ohader) in
[vimeo/psalm#10729
- Fix loading stubs from phar file on Windows by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10748
- Fix a false flag issue with InvalidConstantAssignmentValue by
[@&#8203;MelechMizrachi](https://togithub.com/MelechMizrachi) in
[vimeo/psalm#10738
- Set inside_isset false when analyzing ArrayDimFetch index by
[@&#8203;edsrzf](https://togithub.com/edsrzf) in
[vimeo/psalm#10752
- Set inside_isset = false when analyzing arguments by
[@&#8203;edsrzf](https://togithub.com/edsrzf) in
[vimeo/psalm#10753
- Fix PHP notice - crash on invalid taint-escape by
[@&#8203;kkmuffme](https://togithub.com/kkmuffme) in
[vimeo/psalm#10760
- Fix version comparison for `@since` by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10764
- Since annotations outside phpstub should not infer php version by
[@&#8203;kkmuffme](https://togithub.com/kkmuffme) in
[vimeo/psalm#10769
- Backport `WeakMap` iterator fix from `master` by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10778
- Namespace anonymous classes by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10779
- Update CallMap for sqlsrv_connect and sqlsrv_errors to match
reflection by [@&#8203;theodorejb](https://togithub.com/theodorejb) in
[vimeo/psalm#10781
- `$resource` parameter of `mkdir()` is nullable since PHP 7.3 by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10802
- Use wider class-string when combining class strings with intersections
by [@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10800

##### Internal changes

- Use TaintKind/TaintKindGroup constants instead of string values by
[@&#8203;ohader](https://togithub.com/ohader) in
[vimeo/psalm#10746
- Skip symlink test on Windows by
[@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10749
- Avoid duplicating code for RiskyTruthyFalsyComparison by
[@&#8203;theodorejb](https://togithub.com/theodorejb) in
[vimeo/psalm#10765
- fix PHP 8 tests running with wrong --php-version=/phpVersion= if not
explicitly specified by
[@&#8203;kkmuffme](https://togithub.com/kkmuffme) in
[vimeo/psalm#10776
- CS fix by [@&#8203;weirdan](https://togithub.com/weirdan) in
[vimeo/psalm#10801

#### New Contributors

- [@&#8203;MelechMizrachi](https://togithub.com/MelechMizrachi) made
their first contribution in
[vimeo/psalm#10738

**Full Changelog**:
vimeo/psalm@5.22.2...5.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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/cerbos/cerbos-sdk-php).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Mar 11, 2024
1 parent b769ede commit ab6f419
Showing 1 changed file with 86 additions and 78 deletions.

0 comments on commit ab6f419

Please sign in to comment.