Bump phpstan/phpstan from 0.11.2 to 0.11.3 (#932)

Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.11.2 to 0.11.3.
<details>
<summary>Release notes</summary>

*Sourced from [phpstan/phpstan's releases](https://github.com/phpstan/phpstan/releases).*

> ## 0.11.3
> This release comes with a complete rewrite of part of PHPStan's core which is in charge of code interpretation and type inference ([NodeScopeResolver](e4644b4a8f/src/Analyser/NodeScopeResolver.php)). You can check out the rewrite in this PR: [#1938](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1938) 
> 
> It's released as a minor version because it's fully backwards-compatible with previous version - no custom extensions and rules should break with this release. However, every time a bugfix in PHPStan is made, your CI build can fail because PHPStan simply got smarter and sees more types, or finds an error in your code it **should have already found**. (New rules are added only in major versions, like 0.10, 0.11, and upcoming 0.12.)
> 
> Users are usually happy about this - they get more bugs reported to them for free. But if you don't like the risk of your build failing every time new version of PHPStan is released, use `composer.lock` file and run `composer update` only manually. If you don't commit `composer.lock` for any reason, don't use the `^` or `~` version constraint - instead, lock to a specific version, like this: `"phpstan/phpstan": "0.11.3"`.
> 
> Bugfixes
> ==============
> 
> * Thanks to the rewrite ([#1938](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1938)), about 35 NodeScopeResolver-related bugs were fixed in total.
> * Assignments in conditions are finally supported (753ec783)! This haunted PHPStan users since the beginning. These issues are closed thanks to the fix:
>   * [#647](https://github-redirect.dependabot.com/phpstan/phpstan/issues/647), [#1510](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1510), [#1364](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1364), [#1908](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1908), [#1085](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1085), [#701](https://github-redirect.dependabot.com/phpstan/phpstan/issues/701)
> * Fixed array access on string ([#1896](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1896)), thanks [@&#8203;CZechBoY](https://github.com/CZechBoY)!
> * Fixed `array_slice` type loss with non-empty array (181424148f7aa8e419cd8565940a4d5081bacc8a), [#1919](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1919) 
> * Fixed analysing trait use from eval (a308deb01558fe5c9671df318b235ba7fcc73b35), [#1923](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1923) 
> * Fixed trait in eval with phpDoc (30a5ce4a84f7c7ccd763623ac03b2c6a53c4bdc4), [#1923](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1923)
> * Do not skip the rest of traits from TraitUse if one of them isn't in analysed files (5838040306be1e99798adf6f320b98c76f6c12c0)
> * Subclasses of "extra offset classes" are offset accessible too ([#1930](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1930)), thanks [@&#8203;zajca](https://github.com/zajca)!
> * Disallow `$this` in static closures ([#1907](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1907)), thanks [@&#8203;iluuu1994](https://github.com/iluuu1994)!
> * Fixed falsey context of array&hasOffset (13cef623d8762c4597924d0da0f5668b76353969), [#1942](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1942) 
> * Fixed invalid + operation detection for array&hasOffset (b5eeff17b7981f1ba015e03f35f005f53edb0c0b), [#1942](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1942) 
> 
> Improvements
> ==============
> 
> * Implement `filter_var` dynamic return type extension ([#1900](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1900)), thanks [@&#8203;iluuu1994](https://github.com/iluuu1994)!
> * Support `==` operator between boolean-able types (2a5f95d37011f067dc4e956bb38a992712b8c496)
> * Basic support for `get_class()` in `==` operator (df27a123b812211e172889235413e3d3095d6c0a)
> 
> Function signatures fixes
> ==============
> 
> * Fix void return typehint for `Ds\Set::first()` ([#1958](https://github-redirect.dependabot.com/phpstan/phpstan/issues/1958)), thanks [@&#8203;demyan112rv](https://github.com/demyan112rv)!
</details>
<details>
<summary>Commits</summary>

- [`e4644b4`](e4644b4a8f) Additional StatementResult tests
- [`2fc53b9`](2fc53b9c8c) Reworked Scope::$currentlyAssignedExpressions with array keys
- [`622b1ab`](622b1ab8a7) Removed obsolete todos
- [`484fe29`](484fe29dda) Fix variable certainty after foreach with polluteScopeWithAlwaysIterableForea...
- [`5c6da6f`](5c6da6f46f) Fixed generalizing recursive type
- [`0af93d2`](0af93d24c8) Fixed generalizing scope for constant arrays nested inside general arrays
- [`e19e171`](e19e171ec0) Fixed build
- [`5c752a5`](5c752a5056) Check foreach key variable certainty in polluteScopeWithAlwaysIterableForeach...
- [`2a5e9c6`](2a5e9c6ec1) Fixed nested closure use by-ref that uses function/method return type
- [`0e0fac9`](0e0fac98a4) Introduce ExpressionContext that will allow taking more advantage of Scope im...
- Additional commits viewable in [compare view](https://github.com/phpstan/phpstan/compare/0.11.2...0.11.3)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=phpstan/phpstan&package-manager=composer&previous-version=0.11.2&new-version=0.11.3)](https://dependabot.com/compatibility-score.html?dependency-name=phpstan/phpstan&package-manager=composer&previous-version=0.11.2&new-version=0.11.3)

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>
This commit is contained in:
dependabot[bot] 2019-03-14 08:57:27 +01:00 committed by Phan An
parent 8ef180de91
commit 6b5a8209d2

85
composer.lock generated
View file

@ -2902,16 +2902,16 @@
},
{
"name": "symfony/finder",
"version": "v4.2.3",
"version": "v4.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "ef71816cbb264988bb57fe6a73f610888b9aa70c"
"reference": "267b7002c1b70ea80db0833c3afe05f0fbde580a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/ef71816cbb264988bb57fe6a73f610888b9aa70c",
"reference": "ef71816cbb264988bb57fe6a73f610888b9aa70c",
"url": "https://api.github.com/repos/symfony/finder/zipball/267b7002c1b70ea80db0833c3afe05f0fbde580a",
"reference": "267b7002c1b70ea80db0833c3afe05f0fbde580a",
"shasum": ""
},
"require": {
@ -2947,7 +2947,7 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
"time": "2019-01-16T20:35:37+00:00"
"time": "2019-02-23T15:42:05+00:00"
},
{
"name": "symfony/http-foundation",
@ -5471,33 +5471,33 @@
},
{
"name": "nette/finder",
"version": "v2.4.2",
"version": "v2.5.0",
"source": {
"type": "git",
"url": "https://github.com/nette/finder.git",
"reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0"
"reference": "6be1b83ea68ac558aff189d640abe242e0306fe2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/finder/zipball/ee951a656cb8ac622e5dd33474a01fd2470505a0",
"reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0",
"url": "https://api.github.com/repos/nette/finder/zipball/6be1b83ea68ac558aff189d640abe242e0306fe2",
"reference": "6be1b83ea68ac558aff189d640abe242e0306fe2",
"shasum": ""
},
"require": {
"nette/utils": "~2.4",
"php": ">=5.6.0"
"nette/utils": "^2.4 || ~3.0.0",
"php": ">=7.1"
},
"conflict": {
"nette/nette": "<2.2"
},
"require-dev": {
"nette/tester": "~2.0",
"nette/tester": "^2.0",
"tracy/tracy": "^2.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.4-dev"
"dev-master": "2.5-dev"
}
},
"autoload": {
@ -5529,35 +5529,35 @@
"iterator",
"nette"
],
"time": "2018-06-28T11:49:23+00:00"
"time": "2019-02-28T18:13:25+00:00"
},
{
"name": "nette/neon",
"version": "v2.4.3",
"version": "v3.0.0",
"source": {
"type": "git",
"url": "https://github.com/nette/neon.git",
"reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398"
"reference": "cbff32059cbdd8720deccf9e9eace6ee516f02eb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/neon/zipball/5e72b1dd3e2d34f0863c5561139a19df6a1ef398",
"reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398",
"url": "https://api.github.com/repos/nette/neon/zipball/cbff32059cbdd8720deccf9e9eace6ee516f02eb",
"reference": "cbff32059cbdd8720deccf9e9eace6ee516f02eb",
"shasum": ""
},
"require": {
"ext-iconv": "*",
"ext-json": "*",
"php": ">=5.6.0"
"php": ">=7.0"
},
"require-dev": {
"nette/tester": "~2.0",
"nette/tester": "^2.0",
"tracy/tracy": "^2.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.4-dev"
"dev-master": "3.0-dev"
}
},
"autoload": {
@ -5590,7 +5590,7 @@
"nette",
"yaml"
],
"time": "2018-03-21T12:12:21+00:00"
"time": "2019-02-05T21:30:40+00:00"
},
{
"name": "nette/php-generator",
@ -5656,16 +5656,16 @@
},
{
"name": "nette/robot-loader",
"version": "v3.1.0",
"version": "v3.1.1",
"source": {
"type": "git",
"url": "https://github.com/nette/robot-loader.git",
"reference": "fc76c70e740b10f091e502b2e393d0be912f38d4"
"reference": "3e8d75d6d976e191bdf46752ca40a286671219d2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/robot-loader/zipball/fc76c70e740b10f091e502b2e393d0be912f38d4",
"reference": "fc76c70e740b10f091e502b2e393d0be912f38d4",
"url": "https://api.github.com/repos/nette/robot-loader/zipball/3e8d75d6d976e191bdf46752ca40a286671219d2",
"reference": "3e8d75d6d976e191bdf46752ca40a286671219d2",
"shasum": ""
},
"require": {
@ -5717,7 +5717,7 @@
"nette",
"trait"
],
"time": "2018-08-13T14:19:06+00:00"
"time": "2019-03-01T20:23:02+00:00"
},
{
"name": "nette/utils",
@ -5803,16 +5803,16 @@
},
{
"name": "nikic/php-parser",
"version": "v4.2.0",
"version": "v4.2.1",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
"reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a"
"reference": "5221f49a608808c1e4d436df32884cbc1b821ac0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/594bcae1fc0bccd3993d2f0d61a018e26ac2865a",
"reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/5221f49a608808c1e4d436df32884cbc1b821ac0",
"reference": "5221f49a608808c1e4d436df32884cbc1b821ac0",
"shasum": ""
},
"require": {
@ -5850,20 +5850,20 @@
"parser",
"php"
],
"time": "2019-01-12T16:31:37+00:00"
"time": "2019-02-16T20:54:15+00:00"
},
{
"name": "ocramius/package-versions",
"version": "1.3.0",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/Ocramius/PackageVersions.git",
"reference": "4489d5002c49d55576fa0ba786f42dbb009be46f"
"reference": "a4d4b60d0e60da2487bd21a2c6ac089f85570dbb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/4489d5002c49d55576fa0ba786f42dbb009be46f",
"reference": "4489d5002c49d55576fa0ba786f42dbb009be46f",
"url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/a4d4b60d0e60da2487bd21a2c6ac089f85570dbb",
"reference": "a4d4b60d0e60da2487bd21a2c6ac089f85570dbb",
"shasum": ""
},
"require": {
@ -5872,6 +5872,7 @@
},
"require-dev": {
"composer/composer": "^1.6.3",
"doctrine/coding-standard": "^5.0.1",
"ext-zip": "*",
"infection/infection": "^0.7.1",
"phpunit/phpunit": "^7.0.0"
@ -5899,7 +5900,7 @@
}
],
"description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
"time": "2018-02-05T13:05:30+00:00"
"time": "2019-02-21T12:16:21+00:00"
},
{
"name": "phar-io/manifest",
@ -6477,16 +6478,16 @@
},
{
"name": "phpstan/phpstan",
"version": "0.11.2",
"version": "0.11.3",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "8e185a74004920419ee97bf9dc62e6a175e8dca5"
"reference": "e4644b4a8fd393c346f1137305fb2f76a7dc20a7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/8e185a74004920419ee97bf9dc62e6a175e8dca5",
"reference": "8e185a74004920419ee97bf9dc62e6a175e8dca5",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/e4644b4a8fd393c346f1137305fb2f76a7dc20a7",
"reference": "e4644b4a8fd393c346f1137305fb2f76a7dc20a7",
"shasum": ""
},
"require": {
@ -6546,7 +6547,7 @@
"MIT"
],
"description": "PHPStan - PHP Static Analysis Tool",
"time": "2019-02-12T14:54:38+00:00"
"time": "2019-03-10T16:25:30+00:00"
},
{
"name": "phpunit/php-code-coverage",