Skip to content

Commit

Permalink
chore(deps): Update php deps (#90)
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://github.com/phpstan/phpstan) | `1.11.4` ->
`1.11.5` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.11.4/1.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.11.4/1.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [phpunit/phpunit](https://phpunit.de/)
([source](https://github.com/sebastianbergmann/phpunit)) | `10.5.20`
-> `10.5.24` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/10.5.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpunit%2fphpunit/10.5.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpunit%2fphpunit/10.5.20/10.5.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpunit%2fphpunit/10.5.20/10.5.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vimeo/psalm](https://github.com/vimeo/psalm) | `5.24.0` -> `5.25.0`
|
[![age](https://developer.mend.io/api/mc/badges/age/packagist/vimeo%2fpsalm/5.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/vimeo%2fpsalm/5.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/vimeo%2fpsalm/5.24.0/5.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/vimeo%2fpsalm/5.24.0/5.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.11.5`](https://github.com/phpstan/phpstan/compare/1.11.4...1.11.5)

[Compare
Source](https://github.com/phpstan/phpstan/compare/1.11.4...1.11.5)

</details>

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

###
[`v10.5.24`](https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.24):
PHPUnit 10.5.24

[Compare
Source](https://github.com/sebastianbergmann/phpunit/compare/10.5.23...10.5.24)

##### Changed

-
[#&#8203;5877](https://github.com/sebastianbergmann/phpunit/pull/5877):
Use `array_pop()` instead of `array_shift()` for processing `Test`
objects in `TestSuite::run()` and optimize `TestSuite::isEmpty()`

***

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

###
[`v10.5.23`](https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.23):
PHPUnit 10.5.23

[Compare
Source](https://github.com/sebastianbergmann/phpunit/compare/10.5.22...10.5.23)

##### Changed

-
[#&#8203;5875](https://github.com/sebastianbergmann/phpunit/pull/5875):
Also destruct `TestCase` objects early that use a data provider

***

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

###
[`v10.5.22`](https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.22):
PHPUnit 10.5.22

[Compare
Source](https://github.com/sebastianbergmann/phpunit/compare/10.5.21...10.5.22)

##### Changed

-
[#&#8203;5871](https://github.com/sebastianbergmann/phpunit/pull/5871):
Do not collect unnecessary information using `debug_backtrace()`

***

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

###
[`v10.5.21`](https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.21):
PHPUnit 10.5.21

[Compare
Source](https://github.com/sebastianbergmann/phpunit/compare/10.5.20...10.5.21)

##### Changed

-
[#&#8203;5861](https://github.com/sebastianbergmann/phpunit/pull/5861):
Destroy `TestCase` object after its test was run

***

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

</details>

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

### [`v5.25.0`](https://github.com/vimeo/psalm/releases/tag/5.25.0)

[Compare
Source](https://github.com/vimeo/psalm/compare/5.24.0...5.25.0)

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

#### What's Changed

##### Features

- Casting int-range should keep literals by
[@&#8203;kkmuffme](https://github.com/kkmuffme) in
[vimeo/psalm#10941
- Update help panel by [@&#8203;llaville](https://github.com/llaville)
in
[vimeo/psalm#11000
- Add support for phpstan-pure by
[@&#8203;VincentLanglet](https://github.com/VincentLanglet) in
[vimeo/psalm#10975
- Precise preg_match_all return type by
[@&#8203;VincentLanglet](https://github.com/VincentLanglet) in
[vimeo/psalm#10969

##### Fixes

-
Fix-[GH-10933](https://github.com/vimeo/psalm/issues/10933)-And-[GH-10951](https://github.com/vimeo/psalm/issues/10951)
by [@&#8203;jack-worman](https://github.com/jack-worman) in
[vimeo/psalm#10953
- redis: add possible types for `Redis#auth` method by
[@&#8203;boesing](https://github.com/boesing) in
[vimeo/psalm#10934
- Avoid false positive about array which are non-callable by
[@&#8203;VincentLanglet](https://github.com/VincentLanglet) in
[vimeo/psalm#10935
- Fix literal-string|non-empty-literal-string by
[@&#8203;VincentLanglet](https://github.com/VincentLanglet) in
[vimeo/psalm#10930
- Fix signature of Locale::canonicalize. by
[@&#8203;ADmad](https://github.com/ADmad) in
[vimeo/psalm#11010

#### New Contributors

- [@&#8203;llaville](https://github.com/llaville) made their first
contribution in
[vimeo/psalm#11000

**Full Changelog**:
vimeo/psalm@5.24.0...5.25.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://github.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhcmVhL2RlcHMiLCJib3RzIiwia2luZC9jaG9yZSJdfQ==-->

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 Jun 21, 2024
1 parent db4bdde commit 07f969a
Show file tree
Hide file tree
Showing 13 changed files with 534 additions and 335 deletions.
4 changes: 2 additions & 2 deletions buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ deps:
- remote: buf.build
owner: cerbos
repository: cerbos-api
commit: e27328ec963d4f538a5c970aeec688b8
digest: shake256:71ab15742b3a474818482b0104f9b7377d7e722f2ad0a149db42abf257ed88c6043f9763ec651bfe6836b56f834bce54c52399c9f77ac77fe161d510d63e341b
commit: c8b08ec4750649b290124ee2f3f3544f
digest: shake256:1665ae91a4043dedbb3658b4d51da44b95ae94ae2bb54ac11ab662a1a3c47c2630763f97b1a7827fa18bef0f8c84c807626e37e538841efba1aea1f62a45b94e
- remote: buf.build
owner: googleapis
repository: googleapis
Expand Down
233 changes: 88 additions & 145 deletions composer.lock

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions protos/cerbos/engine/v1/engine.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ message PlanResourcesInput {
(buf.validate.field).string = {pattern: "^[[:word:]]*$"},
(google.api.field_behavior) = OPTIONAL,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "The policy version to use to evaluate this request. If not specified, will default to the server-configured default version.",
description: "The policy version to use to evaluate this request. If not specified, will default to the server-configured default version."
pattern: "^[[:word:]]*$"
example: "\"default\""
}
Expand Down Expand Up @@ -135,9 +135,9 @@ message CheckInput {
];
repeated string actions = 4 [
(buf.validate.field).repeated = {
unique: true,
items {
string {min_len: 1}
unique: true
items: {
string: {min_len: 1}
}
},
(google.api.field_behavior) = REQUIRED
Expand Down Expand Up @@ -177,8 +177,8 @@ message Resource {
(buf.validate.field).string = {min_len: 1},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Name of the resource kind being accessed.",
example: "\"album:photo\"",
description: "Name of the resource kind being accessed."
example: "\"album:photo\""
}
];
string policy_version = 2 [
Expand Down Expand Up @@ -244,10 +244,10 @@ message Principal {
];
repeated string roles = 3 [
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
unique: true
min_items: 1
items: {
string: {min_len: 1}
}
},
(buf.validate.field).required = true,
Expand Down
72 changes: 36 additions & 36 deletions protos/cerbos/policy/v1/policy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ message ResourcePolicy {
(buf.validate.field).string = {pattern: "^[[:word:]]+$"}
];
repeated string import_derived_roles = 3 [(buf.validate.field).repeated = {
unique: true,
items {
string {pattern: "^[[:word:]\\-\\.]+$"}
unique: true
items: {
string: {pattern: "^[[:word:]\\-\\.]+$"}
}
}];
repeated ResourceRule rules = 4;
Expand All @@ -72,24 +72,24 @@ message ResourcePolicy {
message ResourceRule {
repeated string actions = 1 [
(buf.validate.field).repeated = {
min_items: 1,
unique: true,
items {
string {min_len: 1}
min_items: 1
unique: true
items: {
string: {min_len: 1}
}
},
(buf.validate.field).required = true
];
repeated string derived_roles = 2 [(buf.validate.field).repeated = {
unique: true,
items {
string {pattern: "^[[:word:]\\-\\.]+$"}
unique: true
items: {
string: {pattern: "^[[:word:]\\-\\.]+$"}
}
}];
repeated string roles = 3 [(buf.validate.field).repeated = {
unique: true,
items {
string {min_len: 1}
unique: true
items: {
string: {min_len: 1}
}
}];
Condition condition = 4;
Expand Down Expand Up @@ -154,7 +154,7 @@ message DerivedRoles {
string name = 1 [
(buf.validate.field).required = true,
(buf.validate.field).string = {
pattern: "^[[:word:]\\-\\.]+$",
pattern: "^[[:word:]\\-\\.]+$"
min_len: 1
}
];
Expand All @@ -172,10 +172,10 @@ message RoleDef {
];
repeated string parent_roles = 2 [
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
unique: true
min_items: 1
items: {
string: {min_len: 1}
}
},
(buf.validate.field).required = true
Expand All @@ -187,7 +187,7 @@ message ExportVariables {
string name = 1 [
(buf.validate.field).required = true,
(buf.validate.field).string = {
pattern: "^[[:word:]\\-\\.]+$",
pattern: "^[[:word:]\\-\\.]+$"
min_len: 1
}
];
Expand All @@ -196,9 +196,9 @@ message ExportVariables {

message Variables {
repeated string import = 1 [(buf.validate.field).repeated = {
unique: true,
items {
string {pattern: "^[[:word:]\\-\\.]+$"}
unique: true
items: {
string: {pattern: "^[[:word:]\\-\\.]+$"}
}
}];
map<string, string> local = 2;
Expand Down Expand Up @@ -243,10 +243,10 @@ message Schemas {
message IgnoreWhen {
repeated string actions = 1 [
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
unique: true
min_items: 1
items: {
string: {min_len: 1}
}
},
(buf.validate.field).required = true
Expand Down Expand Up @@ -311,8 +311,8 @@ message TestTable {
message Input {
repeated string principals = 1 [
(buf.validate.field).repeated = {
min_items: 1,
unique: true,
min_items: 1
unique: true
items: {
string: {min_len: 1}
}
Expand All @@ -321,8 +321,8 @@ message TestTable {
];
repeated string resources = 2 [
(buf.validate.field).repeated = {
min_items: 1,
unique: true,
min_items: 1
unique: true
items: {
string: {min_len: 1}
}
Expand All @@ -331,8 +331,8 @@ message TestTable {
];
repeated string actions = 3 [
(buf.validate.field).repeated = {
min_items: 1,
unique: true,
min_items: 1
unique: true
items: {
string: {min_len: 1}
}
Expand Down Expand Up @@ -364,10 +364,10 @@ message TestTable {
];
map<string, cerbos.effect.v1.Effect> actions = 3 [
(buf.validate.field).map = {
min_pairs: 1,
min_pairs: 1
keys: {
string: {min_len: 1}
},
}
values: {
enum: {
in: [
Expand Down Expand Up @@ -424,10 +424,10 @@ message Test {
cerbos.engine.v1.CheckInput input = 5 [(buf.validate.field).required = true];
map<string, cerbos.effect.v1.Effect> expected = 6 [
(buf.validate.field).map = {
min_pairs: 1,
min_pairs: 1
keys: {
string: {min_len: 1}
},
}
values: {
enum: {
in: [
Expand Down
Loading

0 comments on commit 07f969a

Please sign in to comment.