[PR #899] [CLOSED] Bump phpstan/phpstan from 0.10.6 to 0.11.1 #1428

Closed
opened 2026-02-26 03:30:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/899
Author: @dependabot-preview[bot]
Created: 1/21/2019
Status: Closed

Base: masterHead: dependabot/composer/phpstan/phpstan-0.11.1


📝 Commits (1)

  • f64b3cb Bump phpstan/phpstan from 0.10.6 to 0.11.1

📊 Changes

2 files changed (+27 additions, -27 deletions)

View changed files

📝 composer.json (+1 -1)
📝 composer.lock (+26 -26)

📄 Description

Bumps phpstan/phpstan from 0.10.6 to 0.11.1.

Release notes

Sourced from phpstan/phpstan's releases.

0.11.1

Bugfixes

  • Fixed crash when extending classes with methods with multiple overloaded variants (56d6517588e3343c1cf8acdbbc59cbcfb549260a), #1806
  • Fixed crash when analyzing methods inside traits (0539b7f802ac4864f6122d89a57b42f16b650b53), #1793
  • Fixed crash when analysing traits in IncompatibleDefaultParameterTypeRule (1122f87b11522b5595c44a9d8726389ecaada8e7), #1784
  • Fixed crash with empty dim fetch ($foo[]) in array destructuring (list()) (4ed101222c8e57dee872857993c6df1cc90b1dc1), #1805
  • Fixed accessing int|null offset on arrays (dac1ea20cc54da8b3ff8ca5dbcc02d78deda43bf)
  • Fixed internal error in PhpMethodReflection::isVariadic() in case of invalid cache (#1818), #1477, thanks dmitrydymarchuk!

Function signatures fixes

  • Fixed case-insensitive Redis methods (#1812), thanks Danack!
  • Updated return types of the functions from some extensions (#1798), thanks morozov!
  • Fixed parse_url() extension (#1815, fc2d7527ae817ca48d9fec8958375d4e09f1ce4a), #1797 - thanks Garfunkiel!

0.11

PHPStan 0.11 has been made possible by LOVOO:

LOVOO: PHPStan is an elementary part of our development workflow. We cannot live without it! Thanks for the great work!

Also, my work on PHPStan is enabled by generous patrons over at Patreon. If PHPStan makes your life easier, consider a contribution, it'll be greatly appreciated!

Check out the article about PHPStan in 2018 and this new release at Medium.com!

Major new features

  • Ability to ignore errors by path (#1411, #1619), thanks josephzidell, damnedest!
  • Check - reporting unreachable conditions on level 4. Previously, only projects with checkAlwaysTrue* flags set to true (usually with installed strict-rules) found out about always true conditions. With this change, always-true conditions with else branches and ternary operators are reported (186e4e0ed845070780b1647703e8eaa001222284, e06af0e69562052c088005e9747c19bc8bfd783a):
if ($alwaysTrue) {
	// ...
} else {
	// dead - reported on level 4!
}
  • Improved analysis of non-empty arrays (5716b2e493edb8085ad27e5da3fef1f0920438c8, 21309e233cf02d7dd814f6f12c8553e373d20d61, deb70ef6706c12037cbac1b163cd6652c9ded733) - #336, #165, #1539, #1073, #959, #1505, #1409
  • Check (level 3) - validate method signatures against parents and implemented interfaces - forces Liskov substitution principle (#1292), thanks iluuu1994!
  • Check - validation of patterns used in preg_* functions on level 0 (#1567), thanks iluuu1994!
  • Check (level 2) - string and castable-to-string types in echo and print statements (#1462), thanks dmitrydymarchuk!
  • Check (level 3) - report invalid offset assignments (56be6db5fb44b16543e44f4d1b9c62f2c0d9e75b) - e.g. $string['foo'] = 'bar' leads to an error.
  • Check (level 2) - invalid comparison between an object and a number (#1582), thanks jasny!
  • Check (level 2) - check default function parameter type against typehint and phpDoc (#1608), thanks iluuu1994!
  • Loaded extensions for known functions in PHP runtime are no longer needed for successful ananlysis (8e6a215e14f951824fb6686ffd700eb96f892790)
... (truncated)
Commits
  • a138b8a Fix internal error in PhpMethodReflection::isVariadic() in case invalid cache
  • dac1ea2 Fixed accessing int|null offset on arrays
  • fc2d752 parse_url - scheme is optional
  • f1a17f1 Add PHP_URL_PATH component to parse_url handling (#1815)
  • 3fee259 MethodSignatureRule - fixed reported names
  • 490b1bd Updated return types of the functions from some extensions
  • eef7314 Add link to unofficial TYPO3 extension to README
  • 1122f87 Fix crash when analysing traits in IncompatibleDefaultParameterTypeRule
  • 4ed1012 Fix crash with empty dim fetch in array destructuring
  • 8b1cc82 MethodSignatureRule - do not access magic methods
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/899 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 1/21/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/composer/phpstan/phpstan-0.11.1` --- ### 📝 Commits (1) - [`f64b3cb`](https://github.com/koel/koel/commit/f64b3cbd5948109b5a6fede3742bd7f2fa39eefa) Bump phpstan/phpstan from 0.10.6 to 0.11.1 ### 📊 Changes **2 files changed** (+27 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `composer.json` (+1 -1) 📝 `composer.lock` (+26 -26) </details> ### 📄 Description Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.10.6 to 0.11.1. <details> <summary>Release notes</summary> *Sourced from [phpstan/phpstan's releases](https://github.com/phpstan/phpstan/releases).* > ## 0.11.1 > Bugfixes > ============= > > * Fixed crash when extending classes with methods with multiple overloaded variants (56d6517588e3343c1cf8acdbbc59cbcfb549260a), [#1806](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1806) > * Fixed crash when analyzing methods inside traits (0539b7f802ac4864f6122d89a57b42f16b650b53), [#1793](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1793) > * Fixed crash when analysing traits in IncompatibleDefaultParameterTypeRule (1122f87b11522b5595c44a9d8726389ecaada8e7), [#1784](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1784) > * Fixed crash with empty dim fetch (`$foo[]`) in array destructuring (`list()`) (4ed101222c8e57dee872857993c6df1cc90b1dc1), [#1805](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1805) > * Fixed accessing `int|null` offset on arrays (dac1ea20cc54da8b3ff8ca5dbcc02d78deda43bf) > * Fixed internal error in `PhpMethodReflection::isVariadic()` in case of invalid cache ([#1818](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1818)), [#1477](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1477), thanks [**dmitrydymarchuk**](https://github.com/dmitrydymarchuk)! > > Function signatures fixes > ============= > > * Fixed case-insensitive Redis methods ([#1812](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1812)), thanks [**Danack**](https://github.com/Danack)! > * Updated return types of the functions from some extensions ([#1798](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1798)), thanks [**morozov**](https://github.com/morozov)! > * Fixed `parse_url()` extension ([#1815](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1815), fc2d7527ae817ca48d9fec8958375d4e09f1ce4a), [#1797](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1797) - thanks [**Garfunkiel**](https://github.com/Garfunkiel)! > > ## 0.11 > PHPStan 0.11 has been made possible by [LOVOO](https://www.lovoo.com): > > > [**LOVOO**](https://www.lovoo.com): PHPStan is an elementary part of our development workflow. We cannot live without it! Thanks for the great work! > > Also, my work on PHPStan is enabled by [generous patrons over at Patreon](https://www.patreon.com/phpstan). If PHPStan makes your life easier, consider a contribution, it'll be greatly appreciated! > > Check out the article about [**PHPStan in 2018 and this new release at Medium.com**](https://medium.com/@ondrejmirtes/phpstan-0-11-5aba0e4108c8)! > > Major new features > =================== > > * Ability to ignore errors by path ([#1411](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1411), [#1619](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1619)), thanks [**josephzidell**](https://github.com/josephzidell), [**damnedest**](https://github.com/damnedest)! > * Check - reporting unreachable conditions on level 4. Previously, only projects with `checkAlwaysTrue*` flags set to `true` (usually with installed strict-rules) found out about always true conditions. With this change, always-true conditions with else branches and ternary operators are reported (186e4e0ed845070780b1647703e8eaa001222284, e06af0e69562052c088005e9747c19bc8bfd783a): > > ```php > if ($alwaysTrue) { > // ... > } else { > // dead - reported on level 4! > } > ``` > > * Improved analysis of non-empty arrays (5716b2e493edb8085ad27e5da3fef1f0920438c8, 21309e233cf02d7dd814f6f12c8553e373d20d61, deb70ef6706c12037cbac1b163cd6652c9ded733) - [#336](https://github-redirect.dependabot.com/phpstan/phpstan/issues/336), [#165](https://github-redirect.dependabot.com/phpstan/phpstan/issues/165), [#1539](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1539), [#1073](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1073), [#959](https://github-redirect.dependabot.com/phpstan/phpstan/issues/959), [#1505](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1505), [#1409](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1409) > * Check (level 3) - validate method signatures against parents and implemented interfaces - forces Liskov substitution principle ([#1292](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1292)), thanks [**iluuu1994**](https://github.com/iluuu1994)! > * Check - validation of patterns used in `preg_*` functions on level 0 ([#1567](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1567)), thanks [**iluuu1994**](https://github.com/iluuu1994)! > * Check (level 2) - string and castable-to-string types in `echo` and `print` statements ([#1462](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1462)), thanks [**dmitrydymarchuk**](https://github.com/dmitrydymarchuk)! > * Check (level 3) - report invalid offset assignments (56be6db5fb44b16543e44f4d1b9c62f2c0d9e75b) - e.g. `$string['foo'] = 'bar'` leads to an error. > * Check (level 2) - invalid comparison between an object and a number ([#1582](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1582)), thanks [**jasny**](https://github.com/jasny)! > * Check (level 2) - check default function parameter type against typehint and phpDoc ([#1608](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1608)), thanks [**iluuu1994**](https://github.com/iluuu1994)! > * Loaded extensions for known functions in PHP runtime are no longer needed for successful ananlysis (8e6a215e14f951824fb6686ffd700eb96f892790) > ></tr></table> ... (truncated) </details> <details> <summary>Commits</summary> - [`a138b8a`](https://github.com/phpstan/phpstan/commit/a138b8a2731b2c19f1dffa2f1411984a638fe977) Fix internal error in PhpMethodReflection::isVariadic() in case invalid cache - [`dac1ea2`](https://github.com/phpstan/phpstan/commit/dac1ea20cc54da8b3ff8ca5dbcc02d78deda43bf) Fixed accessing int|null offset on arrays - [`fc2d752`](https://github.com/phpstan/phpstan/commit/fc2d7527ae817ca48d9fec8958375d4e09f1ce4a) parse_url - scheme is optional - [`f1a17f1`](https://github.com/phpstan/phpstan/commit/f1a17f12d0d7888f775f081ef6975ddb766b4eb5) Add PHP_URL_PATH component to parse_url handling ([#1815](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1815)) - [`3fee259`](https://github.com/phpstan/phpstan/commit/3fee259c680f89a7469eace08bcb4cca252fe122) MethodSignatureRule - fixed reported names - [`490b1bd`](https://github.com/phpstan/phpstan/commit/490b1bdd55559e32a0bbb4ef3f7f154cd77d7aeb) Updated return types of the functions from some extensions - [`eef7314`](https://github.com/phpstan/phpstan/commit/eef7314ca22c6d63361e7dc59f95537540a80a4c) Add link to unofficial TYPO3 extension to README - [`1122f87`](https://github.com/phpstan/phpstan/commit/1122f87b11522b5595c44a9d8726389ecaada8e7) Fix crash when analysing traits in IncompatibleDefaultParameterTypeRule - [`4ed1012`](https://github.com/phpstan/phpstan/commit/4ed101222c8e57dee872857993c6df1cc90b1dc1) Fix crash with empty dim fetch in array destructuring - [`8b1cc82`](https://github.com/phpstan/phpstan/commit/8b1cc82f47b55f3582a8951dafaaf890fef7acb4) MethodSignatureRule - do not access magic methods - Additional commits viewable in [compare view](https://github.com/phpstan/phpstan/compare/0.10.6...0.11.1) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=phpstan/phpstan&package-manager=composer&previous-version=0.10.6&new-version=0.11.1)](https://dependabot.com/compatibility-score.html?dependency-name=phpstan/phpstan&package-manager=composer&previous-version=0.10.6&new-version=0.11.1) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:30:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1428
No description provided.