[PR #970] [CLOSED] Bump phpstan/phpstan from 0.11.5 to 0.11.6 #1482

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

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/970
Author: @dependabot-preview[bot]
Created: 5/9/2019
Status: Closed

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


📝 Commits (1)

  • 5e71611 Bump phpstan/phpstan from 0.11.5 to 0.11.6

📊 Changes

1 file changed (+20 additions, -19 deletions)

View changed files

📝 composer.lock (+20 -19)

📄 Description

Bumps phpstan/phpstan from 0.11.5 to 0.11.6.

Release notes

Sourced from phpstan/phpstan's releases.

0.11.6

Improvements

  • sprintf() dynamic return type extension (664215a1d5bb6d33ee97312a6ed325c8c78835c2)
  • InvalidThrowsPhpDocValueRule: allow @throws void phpDoc (#2066), thanks @​pepakriz!
  • Define $container variable with DI container for autoload_files and bootstrap (4824bba6064e16053f22c19dab8b51d4e6bbf0d7)
  • PHPStan will always exit immediately when issued SIGINT (Ctrl-C) signal (#2051), thanks @​slt!
  • Checkstyle error formatter uses more deterministic relative path helper (a80456d799438185795cc93d76b61f32dc707121), #2019
  • Improve InstantiationRule so that it understands expressions with constant strings (#2091), thanks @​dmitrydymarchuk!
  • Allow phpDoc type hinting local static variables (#2098), thanks @​iluuu1994!
  • ObjectType::setOffsetValueType() looks into ArrayAccess::offsetSet() method definition (#1898), thanks @​adaamz!

Bleeding edge

See explanation in previous release notes.

  • Subtractable types - mixed, object and concrete class objects now understands if their subtype is being subtracted from them. So for example a prior check for null on mixed now makes PHPStan understand that the type does not contain null anymore. This is especially useful for parent and child classes. See examples.

Bugfixes

  • Fix Composer autoloading for phpstan-shim in global Composer installation and Docker image
  • Fixed %rootDir% in phpstan-shim (f17a5a56b5bcb84468477abcd4a1b8b75ad10867)
  • Fix array_fill analysis performance by falling back to ArrayType for large arrays (#2088), thanks @​dsech!
    * Fixed a couple of problems with anonymous classes (4b52556168b3d1faefb49aa6aa7b5fc90e6e31a1, 6b9a80ed8304ed77e8121f505287fc514994e95e), #1839
  • Fix ternary operator with error suppression (#2103), thanks @​iluuu1994!

Function signature fixes

Commits
  • 7af8b9d ArrayAccess checks and levels
  • 0cd81a9 Fixes
  • e607acf ArrayIterator::offsetSet accepts all the usual array key types as index
  • a6055e6 object::offsetSet looks into method definition
  • 8a8e408 Add missing reference prefix
  • 626844a Fix more signatures
  • 008f44a Fix signature of IntlDateFormatter::create().
  • 3464a78 Fixed return types of PDoStatement::fetchColumn and XMLWriter::openMemory
  • f67001b Update imap_thread signature to return false
  • 21fbbae ZipArchive::getFromIndex and ZipArchive::getNameIndex can return false
  • 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 squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @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/970 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 5/9/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/composer/phpstan/phpstan-0.11.6` --- ### 📝 Commits (1) - [`5e71611`](https://github.com/koel/koel/commit/5e71611eaa24d4d7ac1d82a9db202ee34895ee67) Bump phpstan/phpstan from 0.11.5 to 0.11.6 ### 📊 Changes **1 file changed** (+20 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `composer.lock` (+20 -19) </details> ### 📄 Description Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.11.5 to 0.11.6. <details> <summary>Release notes</summary> *Sourced from [phpstan/phpstan's releases](https://github.com/phpstan/phpstan/releases).* > ## 0.11.6 > Improvements > ============== > > * `sprintf()` dynamic return type extension (664215a1d5bb6d33ee97312a6ed325c8c78835c2) > * InvalidThrowsPhpDocValueRule: allow `@throws void` phpDoc ([#2066](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2066)), thanks [@&#8203;pepakriz](https://github.com/pepakriz)! > * Define `$container` variable with DI container for `autoload_files` and `bootstrap` (4824bba6064e16053f22c19dab8b51d4e6bbf0d7) > * PHPStan will always exit immediately when issued SIGINT (Ctrl-C) signal ([#2051](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2051)), thanks [@&#8203;slt](https://github.com/slt)! > * Checkstyle error formatter uses more deterministic relative path helper (a80456d799438185795cc93d76b61f32dc707121), [#2019](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2019) > * Improve InstantiationRule so that it understands expressions with constant strings ([#2091](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2091)), thanks [@&#8203;dmitrydymarchuk](https://github.com/dmitrydymarchuk)! > * Allow phpDoc type hinting local static variables ([#2098](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2098)), thanks [@&#8203;iluuu1994](https://github.com/iluuu1994)! > * `ObjectType::setOffsetValueType()` looks into `ArrayAccess::offsetSet()` method definition ([#1898](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1898)), thanks [@&#8203;adaamz](https://github.com/adaamz)! > > Bleeding edge > ============== > > [See explanation in previous release notes.](https://github.com/phpstan/phpstan/releases/tag/0.11.4) > > * Subtractable types - `mixed`, `object` and concrete class objects now understands if their subtype is being subtracted from them. So for example a prior check for `null` on `mixed` now makes PHPStan understand that the type does not contain `null` anymore. This is especially useful for parent and child classes. [See examples](https://phpstan.org/r/39f70101-645b-4a19-8d2a-29c95093be3a). > > > Bugfixes > ============== > > * Fix Composer autoloading for phpstan-shim in global Composer installation and Docker image > * Fixed `%rootDir%` in phpstan-shim (f17a5a56b5bcb84468477abcd4a1b8b75ad10867) > * Fix `array_fill` analysis performance by falling back to ArrayType for large arrays ([#2088](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2088)), thanks [@&#8203;dsech](https://github.com/dsech)! > * Fixed a couple of problems with anonymous classes (4b52556168b3d1faefb49aa6aa7b5fc90e6e31a1, 6b9a80ed8304ed77e8121f505287fc514994e95e), [#1839](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1839) > * Fix ternary operator with error suppression ([#2103](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2103)), thanks [@&#8203;iluuu1994](https://github.com/iluuu1994)! > > Function signature fixes > ============== > > * Fix `finfo` return types ([#2041](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2041)), thanks [@&#8203;dmitrydymarchuk](https://github.com/dmitrydymarchuk)! > * `glob` can return false ([#2037](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2037)), thanks [@&#8203;orklah](https://github.com/orklah)! > * Add missing parameter to MongoDB's `ReadPreference` constructor ([#2052](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2052)), thanks [@&#8203;Riimu](https://github.com/Riimu)! > * Add missing functions from PHP 7.3 ([#2075](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2075)), thanks [@&#8203;villfa](https://github.com/villfa)! > * Add `DOMNamedNodeMap::count()`, thanks [@&#8203;villfa](https://github.com/villfa)! > * Fix "passed by reference arguments" on several methods ([#2083](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2083)), thanks [@&#8203;moufmouf](https://github.com/moufmouf)! > * Fix `Set::join()` return type ([#2077](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2077)), thanks [@&#8203;enumag](https://github.com/enumag)! > * DOM's `documentElement` can be null ([#2089](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2089)), thanks [@&#8203;frederikbosch](https://github.com/frederikbosch)! > * Fixed `array_replace`/`array_replace_recursive` return types (36492d2fb9f621e48ddcd3e9cea91ac1da52bf20) > * `ZipArchive::getFromIndex` and `ZipArchive::getNameIndex` can return false ([#2094](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2094)), thanks [@&#8203;tominventisbe](https://github.com/tominventisbe)! > * Update `imap_thread` signature to return false ([#1933](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1933)), thanks [@&#8203;Slamdunk](https://github.com/Slamdunk)! > * Fixed return type of `XMLWriter::openMemory` ([#1862](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1862)), thanks [@&#8203;SuRaMoN](https://github.com/SuRaMoN)! > * Fix signature of `IntlDateFormatter::create()` ([#1948](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1948)), thanks [@&#8203;ADmad](https://github.com/ADmad)! > * Fixed signatures of several functions ([#2086](https://github-redirect.dependabot.com/phpstan/phpstan/issues/2086)), thanks [@&#8203;villfa](https://github.com/villfa)! </details> <details> <summary>Commits</summary> - [`7af8b9d`](https://github.com/phpstan/phpstan/commit/7af8b9d02b3ab36444dbf4e1b9ca1c1bd5044d81) ArrayAccess checks and levels - [`0cd81a9`](https://github.com/phpstan/phpstan/commit/0cd81a99e1c50d5f519a7fa471151b36d5ba872d) Fixes - [`e607acf`](https://github.com/phpstan/phpstan/commit/e607acf197bdd9fd4f81c2c2a7fc73e446116455) ArrayIterator::offsetSet accepts all the usual array key types as index - [`a6055e6`](https://github.com/phpstan/phpstan/commit/a6055e653826837b595fb34931ef4220a99c2267) object::offsetSet looks into method definition - [`8a8e408`](https://github.com/phpstan/phpstan/commit/8a8e4083f947576d79816ebf0e63b854cd381dd1) Add missing reference prefix - [`626844a`](https://github.com/phpstan/phpstan/commit/626844af1208ea4eb9a5456bf79f223ccd95e9e7) Fix more signatures - [`008f44a`](https://github.com/phpstan/phpstan/commit/008f44acdae5c1796f04f6fc70d150fb079e65f2) Fix signature of IntlDateFormatter::create(). - [`3464a78`](https://github.com/phpstan/phpstan/commit/3464a78a0ea38e7af2c4ea3bf1d404b142cded5e) Fixed return types of PDoStatement::fetchColumn and XMLWriter::openMemory - [`f67001b`](https://github.com/phpstan/phpstan/commit/f67001b0858db199cef6877559b2901e6e8cc762) Update imap_thread signature to return false - [`21fbbae`](https://github.com/phpstan/phpstan/commit/21fbbae959a3da392cb5e876f93c235114363bdf) ZipArchive::getFromIndex and ZipArchive::getNameIndex can return false - Additional commits viewable in [compare view](https://github.com/phpstan/phpstan/compare/0.11.5...0.11.6) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=phpstan/phpstan&package-manager=composer&previous-version=0.11.5&new-version=0.11.6)](https://dependabot.com/compatibility-score.html?dependency-name=phpstan/phpstan&package-manager=composer&previous-version=0.11.5&new-version=0.11.6) 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 squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@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:31:11 +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#1482
No description provided.