Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix list{} parsing #177

Merged
merged 1 commit into from Feb 7, 2023
Merged

Fix list{} parsing #177

merged 1 commit into from Feb 7, 2023

Conversation

zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Feb 7, 2023

fixes #175

@ondrejmirtes
Copy link
Member

Thank you.

@zonuexe zonuexe deleted the fix/list-shapes branch February 8, 2023 01:06
renovate bot added a commit to ben-challis/sql-migrations that referenced this pull request Feb 8, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [phpstan/phpstan](https://togithub.com/phpstan/phpstan) | require-dev
| patch | `^1.9.16` -> `^1.9.17` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>phpstan/phpstan</summary>

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.9.16...1.9.17)

# Bugfixes 🐛

- Fix one more false positive about unused private property
(phpstan/phpstan-src@6d61d3d),
[#&#8203;8850](https://togithub.com/phpstan/phpstan/issues/8850)
-   Update phpdoc-parser to 1.16.1
- Fix `list{}` parsing
([phpstan/phpdoc-parser#177),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Fix intersection of two identical `ThisType`
(phpstan/phpstan-src@d3e3292),
[#&#8203;8857](https://togithub.com/phpstan/phpstan/issues/8857)

</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://app.renovatebot.com/dashboard#github/ben-challis/sql-migrations).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to Lendable/composer-license-checker that referenced this pull request Feb 10, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [php-cs-fixer/shim](https://togithub.com/PHP-CS-Fixer/shim) |
require-dev | patch | `^3.14.3` -> `^3.14.4` |
| [phpstan/phpstan](https://togithub.com/phpstan/phpstan) | require-dev
| patch | `^1.9.14` -> `^1.9.17` |
|
[phpstan/phpstan-phpunit](https://togithub.com/phpstan/phpstan-phpunit)
| require-dev | patch | `^1.3.3` -> `^1.3.4` |
| [phpunit/phpunit](https://phpunit.de/)
([source](https://togithub.com/sebastianbergmann/phpunit)) | require-dev
| patch | `^10.0.4` -> `^10.0.7` |
| [rector/rector](https://getrector.org)
([source](https://togithub.com/rectorphp/rector)) | require-dev | patch
| `^0.15.12` -> `^0.15.13` |

---

### Release Notes

<details>
<summary>PHP-CS-Fixer/shim</summary>

###
[`v3.14.4`](https://togithub.com/PHP-CS-Fixer/shim/compare/v3.14.3...v3.14.4)

[Compare
Source](https://togithub.com/PHP-CS-Fixer/shim/compare/v3.14.3...v3.14.4)

</details>

<details>
<summary>phpstan/phpstan</summary>

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.9.16...1.9.17)

# Bugfixes 🐛

- Fix one more false positive about unused private property
(phpstan/phpstan-src@6d61d3d),
[#&#8203;8850](https://togithub.com/phpstan/phpstan/issues/8850)
-   Update phpdoc-parser to 1.16.1
- Fix `list{}` parsing
([phpstan/phpdoc-parser#177),
thanks [@&#8203;zonuexe](https://togithub.com/zonuexe)!
- Fix intersection of two identical `ThisType`
(phpstan/phpstan-src@d3e3292),
[#&#8203;8857](https://togithub.com/phpstan/phpstan/issues/8857)

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.9.15...1.9.16)

- Fix false positive about unused class elements when the class uses a
trait
(phpstan/phpstan-src@fbdf0da)

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

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.9.14...1.9.15)

# Improvements 🔧

- `ignoreErrors` entries for same message and path are summed together
(phpstan/phpstan-src@fa70062)
- Make PHP 8 deprecation "required params following optional ones"
ignorable
([#&#8203;2218](https://togithub.com/phpstan/phpstan-src/pull/2218)),
thanks [@&#8203;Wirone](https://togithub.com/Wirone)!

# Bugfixes 🐛

- Templates in DatePeriod can be covariant
(phpstan/phpstan-src@ce65e05),
[#&#8203;8772](https://togithub.com/phpstan/phpstan/issues/8772)
- Prevent crash for Attribute class polyfill without constructor
(phpstan/phpstan-src@9334ff3),
[#&#8203;8769](https://togithub.com/phpstan/phpstan/issues/8769)
- Fix big constant arrays not recognized as oversized
([#&#8203;2199](https://togithub.com/phpstan/phpstan-src/pull/2199)),
[#&#8203;8775](https://togithub.com/phpstan/phpstan/issues/8775), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Fix `filter_var()` with float input and FILTER_VALIDATE_INT
([#&#8203;2206](https://togithub.com/phpstan/phpstan-src/pull/2206)),
[#&#8203;8797](https://togithub.com/phpstan/phpstan/issues/8797), thanks
[@&#8203;herndlm](https://togithub.com/herndlm)!
- Fixed `method_exists()` on `class-string&literal-string`
([#&#8203;2193](https://togithub.com/phpstan/phpstan-src/pull/2193)),
[#&#8203;8752](https://togithub.com/phpstan/phpstan/issues/8752), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Fix various `filter_var()` range edge cases
([#&#8203;2207](https://togithub.com/phpstan/phpstan-src/pull/2207)),
[#&#8203;8776](https://togithub.com/phpstan/phpstan/issues/8776), thanks
[@&#8203;herndlm](https://togithub.com/herndlm)!
- Fixed `$this instanceof X will always be false` in traits
([#&#8203;2045](https://togithub.com/phpstan/phpstan-src/pull/2045)),
[#&#8203;3632](https://togithub.com/phpstan/phpstan/issues/3632), thanks
[@&#8203;staabm](https://togithub.com/staabm)!
- Update PhpStorm stubs
([#&#8203;2226](https://togithub.com/phpstan/phpstan-src/pull/2226)),
[#&#8203;8713](https://togithub.com/phpstan/phpstan/issues/8713)

# Function signature fixes 🤖

- Adjust `forward_static_call_array` for named arguments on PHP 8
(phpstan/phpstan-src@fb5c111),
[https://github.com/phpstan/phpstan/discussions/8761](https://togithub.com/phpstan/phpstan/discussions/8761)

# Internals 🔍

- Extract `FilterFunctionReturnTypeHelper`
([#&#8203;2190](https://togithub.com/phpstan/phpstan-src/pull/2190)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Simplify default type handling in `FilterFunctionReturnTypeHelper`
([#&#8203;2198](https://togithub.com/phpstan/phpstan-src/pull/2198)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!
- Remove `$otherTypes` in `FilterFunctionReturnTypeHelper`
([#&#8203;2205](https://togithub.com/phpstan/phpstan-src/pull/2205)),
thanks [@&#8203;herndlm](https://togithub.com/herndlm)!

</details>

<details>
<summary>phpstan/phpstan-phpunit</summary>

###
[`v1.3.4`](https://togithub.com/phpstan/phpstan-phpunit/releases/tag/1.3.4)

[Compare
Source](https://togithub.com/phpstan/phpstan-phpunit/compare/1.3.3...1.3.4)

-
[d77af96](http://github.com/phpstan/phpstan-phpunit/commit/d77af96c1aaec28f7c0293677132eaaad079e01b)
- Fix empty [@&#8203;covers](https://togithub.com/covers) annotation
causing a crash.
-
[bf47c49](http://github.com/phpstan/phpstan-phpunit/commit/bf47c49afb7dc6e897d1f3c9b61b4bd82cc4d6e6)
- Ease the usage of AssertRuleHelper::isMethodOrStaticCallOnAssert()

</details>

<details>
<summary>sebastianbergmann/phpunit</summary>

###
[`v10.0.7`](https://togithub.com/sebastianbergmann/phpunit/compare/10.0.6...10.0.7)

[Compare
Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.0.6...10.0.7)

###
[`v10.0.6`](https://togithub.com/sebastianbergmann/phpunit/compare/10.0.5...10.0.6)

[Compare
Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.0.5...10.0.6)

###
[`v10.0.5`](https://togithub.com/sebastianbergmann/phpunit/compare/10.0.4...10.0.5)

[Compare
Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.0.4...10.0.5)

</details>

<details>
<summary>rectorphp/rector</summary>

###
[`v0.15.13`](https://togithub.com/rectorphp/rector/releases/tag/0.15.13):
Released Rector 0.15.13

[Compare
Source](https://togithub.com/rectorphp/rector/compare/0.15.12...0.15.13)

#### New Features  🥳

- \[Symfony] Add ServiceSettersToSettersAutodiscoveryRector
([#&#8203;343](https://togithub.com/rectorphp/rector-symfony/pull/343))
- \[PHPUnit] Add RemoveTestSuffixFromAbstractTestClassesRector
([#&#8203;151](https://togithub.com/rectorphp/rector-phpunit/pull/151))

#### Bugfixes 🐛

- \[PHPUnit] Fix Group function annotation to attribute to class
([#&#8203;150](https://togithub.com/rectorphp/rector-phpunit/pull/150))
- \[CodeQuality] Mirror comment on ShortenElseIfRector
([#&#8203;3334](https://togithub.com/rectorphp/rector-src/pull/3334))
- \[StaticReflection] Fix unintended behavior in PHP 8.1 and later
([#&#8203;3340](https://togithub.com/rectorphp/rector-src/pull/3340)),
Thanks [@&#8203;zeriyoshi](https://togithub.com/zeriyoshi)!
- \[Testing] Make temp fixture file names exposed next to the fixture
file, to make easier fixes and path resolvements
([#&#8203;3338](https://togithub.com/rectorphp/rector-src/pull/3338))
- \[CodeQuality] Skip has AllowDynamicProperties attribute on
CompleteDynamicPropertiesRector
([#&#8203;3346](https://togithub.com/rectorphp/rector-src/pull/3346))
- Don't get type from PropertyFetch for not natively typed properties
([#&#8203;3327](https://togithub.com/rectorphp/rector-src/pull/3327)),
Thanks [@&#8203;rene-bos](https://togithub.com/rene-bos)!

<br>

#### Removed 💀

- Remove deprecated ReturnTypeDeclarationRector, TypedPropertyRector,
ParamTypeDeclarationRector rules
([#&#8203;3350](https://togithub.com/rectorphp/rector-src/pull/3350))
- Remove deprecated TemplateResolverInterface, RectorServiceConfigurator
([#&#8203;3351](https://togithub.com/rectorphp/rector-src/pull/3351))
- Remove deprecated TYPE_DECLARATION_SET
([#&#8203;3352](https://togithub.com/rectorphp/rector-src/pull/3352))

</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.

👻 **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://app.renovatebot.com/dashboard#github/Lendable/composer-license-checker).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants