Updated PHPStan to v0.11.15

parent 54b52aed
...@@ -158,16 +158,16 @@ ...@@ -158,16 +158,16 @@
"packages-dev": [ "packages-dev": [
{ {
"name": "composer/xdebug-handler", "name": "composer/xdebug-handler",
"version": "1.3.2", "version": "1.3.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/xdebug-handler.git", "url": "https://github.com/composer/xdebug-handler.git",
"reference": "d17708133b6c276d6e42ef887a877866b909d892" "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/xdebug-handler/zipball/d17708133b6c276d6e42ef887a877866b909d892", "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/46867cbf8ca9fb8d60c506895449eb799db1184f",
"reference": "d17708133b6c276d6e42ef887a877866b909d892", "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
"Xdebug", "Xdebug",
"performance" "performance"
], ],
"time": "2019-01-28T20:25:53+00:00" "time": "2019-05-27T17:52:04+00:00"
}, },
{ {
"name": "dealerdirect/phpcodesniffer-composer-installer", "name": "dealerdirect/phpcodesniffer-composer-installer",
...@@ -523,39 +523,36 @@ ...@@ -523,39 +523,36 @@
}, },
{ {
"name": "nette/bootstrap", "name": "nette/bootstrap",
"version": "v2.4.6", "version": "v3.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/bootstrap.git", "url": "https://github.com/nette/bootstrap.git",
"reference": "268816e3f1bb7426c3a4ceec2bd38a036b532543" "reference": "e1075af05c211915e03e0c86542f3ba5433df4a3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/bootstrap/zipball/268816e3f1bb7426c3a4ceec2bd38a036b532543", "url": "https://api.github.com/repos/nette/bootstrap/zipball/e1075af05c211915e03e0c86542f3ba5433df4a3",
"reference": "268816e3f1bb7426c3a4ceec2bd38a036b532543", "reference": "e1075af05c211915e03e0c86542f3ba5433df4a3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nette/di": "~2.4.7", "nette/di": "^3.0",
"nette/utils": "~2.4", "nette/utils": "^3.0",
"php": ">=5.6.0" "php": ">=7.1"
},
"conflict": {
"nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"latte/latte": "~2.2", "latte/latte": "^2.2",
"nette/application": "~2.3", "nette/application": "^3.0",
"nette/caching": "~2.3", "nette/caching": "^3.0",
"nette/database": "~2.3", "nette/database": "^3.0",
"nette/forms": "~2.3", "nette/forms": "^3.0",
"nette/http": "~2.4.0", "nette/http": "^3.0",
"nette/mail": "~2.3", "nette/mail": "^3.0",
"nette/robot-loader": "^2.4.2 || ^3.0", "nette/robot-loader": "^3.0",
"nette/safe-stream": "~2.2", "nette/safe-stream": "^2.2",
"nette/security": "~2.3", "nette/security": "^3.0",
"nette/tester": "~2.0", "nette/tester": "^2.0",
"tracy/tracy": "^2.4.1" "tracy/tracy": "^2.6"
}, },
"suggest": { "suggest": {
"nette/robot-loader": "to use Configurator::createRobotLoader()", "nette/robot-loader": "to use Configurator::createRobotLoader()",
...@@ -564,7 +561,7 @@ ...@@ -564,7 +561,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.4-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -595,46 +592,50 @@ ...@@ -595,46 +592,50 @@
"configurator", "configurator",
"nette" "nette"
], ],
"time": "2018-05-17T12:52:20+00:00" "time": "2019-03-26T12:59:07+00:00"
}, },
{ {
"name": "nette/di", "name": "nette/di",
"version": "v2.4.15", "version": "v3.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/di.git", "url": "https://github.com/nette/di.git",
"reference": "d0561b8f77e8ef2ed6d83328860e16c81a5a8649" "reference": "4aff517a1c6bb5c36fa09733d4cea089f529de6d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/di/zipball/d0561b8f77e8ef2ed6d83328860e16c81a5a8649", "url": "https://api.github.com/repos/nette/di/zipball/4aff517a1c6bb5c36fa09733d4cea089f529de6d",
"reference": "d0561b8f77e8ef2ed6d83328860e16c81a5a8649", "reference": "4aff517a1c6bb5c36fa09733d4cea089f529de6d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-tokenizer": "*", "ext-tokenizer": "*",
"nette/neon": "^2.3.3 || ~3.0.0", "nette/neon": "^3.0",
"nette/php-generator": "^2.6.1 || ^3.0.0", "nette/php-generator": "^3.2.2",
"nette/utils": "^2.5.0 || ~3.0.0", "nette/robot-loader": "^3.2",
"php": ">=5.6.0" "nette/schema": "^1.0",
"nette/utils": "^3.0",
"php": ">=7.1"
}, },
"conflict": { "conflict": {
"nette/bootstrap": "<2.4", "nette/bootstrap": "<3.0"
"nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"nette/tester": "^2.0", "nette/tester": "^2.2",
"tracy/tracy": "^2.3" "tracy/tracy": "^2.3"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.4-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
"classmap": [ "classmap": [
"src/" "src/"
],
"files": [
"src/compatibility.php"
] ]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
...@@ -664,7 +665,7 @@ ...@@ -664,7 +665,7 @@
"nette", "nette",
"static" "static"
], ],
"time": "2019-01-30T13:26:05+00:00" "time": "2019-08-07T12:11:33+00:00"
}, },
{ {
"name": "nette/finder", "name": "nette/finder",
...@@ -791,25 +792,22 @@ ...@@ -791,25 +792,22 @@
}, },
{ {
"name": "nette/php-generator", "name": "nette/php-generator",
"version": "v3.2.1", "version": "v3.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/php-generator.git", "url": "https://github.com/nette/php-generator.git",
"reference": "9de4e093a130f7a1bd175198799ebc0efbac6924" "reference": "aea6e81437bb238e5f0e5b5ce06337433908e63b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/php-generator/zipball/9de4e093a130f7a1bd175198799ebc0efbac6924", "url": "https://api.github.com/repos/nette/php-generator/zipball/aea6e81437bb238e5f0e5b5ce06337433908e63b",
"reference": "9de4e093a130f7a1bd175198799ebc0efbac6924", "reference": "aea6e81437bb238e5f0e5b5ce06337433908e63b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nette/utils": "^2.4.2 || ~3.0.0", "nette/utils": "^2.4.2 || ~3.0.0",
"php": ">=7.1" "php": ">=7.1"
}, },
"conflict": {
"nette/nette": "<2.2"
},
"require-dev": { "require-dev": {
"nette/tester": "^2.0", "nette/tester": "^2.0",
"tracy/tracy": "^2.3" "tracy/tracy": "^2.3"
...@@ -849,30 +847,27 @@ ...@@ -849,30 +847,27 @@
"php", "php",
"scaffolding" "scaffolding"
], ],
"time": "2018-11-27T19:00:14+00:00" "time": "2019-07-05T13:01:56+00:00"
}, },
{ {
"name": "nette/robot-loader", "name": "nette/robot-loader",
"version": "v3.1.1", "version": "v3.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/robot-loader.git", "url": "https://github.com/nette/robot-loader.git",
"reference": "3e8d75d6d976e191bdf46752ca40a286671219d2" "reference": "0712a0e39ae7956d6a94c0ab6ad41aa842544b5c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/robot-loader/zipball/3e8d75d6d976e191bdf46752ca40a286671219d2", "url": "https://api.github.com/repos/nette/robot-loader/zipball/0712a0e39ae7956d6a94c0ab6ad41aa842544b5c",
"reference": "3e8d75d6d976e191bdf46752ca40a286671219d2", "reference": "0712a0e39ae7956d6a94c0ab6ad41aa842544b5c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-tokenizer": "*", "ext-tokenizer": "*",
"nette/finder": "^2.3 || ^3.0", "nette/finder": "^2.5",
"nette/utils": "^2.4 || ^3.0", "nette/utils": "^3.0",
"php": ">=5.6.0" "php": ">=7.1"
},
"conflict": {
"nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"nette/tester": "^2.0", "nette/tester": "^2.0",
...@@ -881,7 +876,7 @@ ...@@ -881,7 +876,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "3.1-dev" "dev-master": "3.2-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -905,7 +900,7 @@ ...@@ -905,7 +900,7 @@
"homepage": "https://nette.org/contributors" "homepage": "https://nette.org/contributors"
} }
], ],
"description": "🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.", "description": "? Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.",
"homepage": "https://nette.org", "homepage": "https://nette.org",
"keywords": [ "keywords": [
"autoload", "autoload",
...@@ -914,27 +909,81 @@ ...@@ -914,27 +909,81 @@
"nette", "nette",
"trait" "trait"
], ],
"time": "2019-03-01T20:23:02+00:00" "time": "2019-03-08T21:57:24+00:00"
},
{
"name": "nette/schema",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/nette/schema.git",
"reference": "6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/schema/zipball/6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d",
"reference": "6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d",
"shasum": ""
},
"require": {
"nette/utils": "^3.0.1",
"php": ">=7.1"
},
"require-dev": {
"nette/tester": "^2.2",
"tracy/tracy": "^2.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"classmap": [
"src/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause",
"GPL-2.0",
"GPL-3.0"
],
"authors": [
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
},
{
"name": "Nette Community",
"homepage": "https://nette.org/contributors"
}
],
"description": "📐 Nette Schema: validating data structures against a given Schema.",
"homepage": "https://nette.org",
"keywords": [
"config",
"nette"
],
"time": "2019-04-03T15:53:25+00:00"
}, },
{ {
"name": "nette/utils", "name": "nette/utils",
"version": "v2.5.3", "version": "v3.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/utils.git", "url": "https://github.com/nette/utils.git",
"reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce" "reference": "bd961f49b211997202bda1d0fbc410905be370d4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/utils/zipball/17b9f76f2abd0c943adfb556e56f2165460b15ce", "url": "https://api.github.com/repos/nette/utils/zipball/bd961f49b211997202bda1d0fbc410905be370d4",
"reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce", "reference": "bd961f49b211997202bda1d0fbc410905be370d4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.6.0" "php": ">=7.1"
},
"conflict": {
"nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"nette/tester": "~2.0", "nette/tester": "~2.0",
...@@ -943,7 +992,7 @@ ...@@ -943,7 +992,7 @@
"suggest": { "suggest": {
"ext-gd": "to use Image", "ext-gd": "to use Image",
"ext-iconv": "to use Strings::webalize() and toAscii()", "ext-iconv": "to use Strings::webalize() and toAscii()",
"ext-intl": "for script transliteration in Strings::webalize() and toAscii()", "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",
"ext-json": "to use Nette\\Utils\\Json", "ext-json": "to use Nette\\Utils\\Json",
"ext-mbstring": "to use Strings::lower() etc...", "ext-mbstring": "to use Strings::lower() etc...",
"ext-xml": "to use Strings::length() etc. when mbstring is not available" "ext-xml": "to use Strings::length() etc. when mbstring is not available"
...@@ -951,15 +1000,12 @@ ...@@ -951,15 +1000,12 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.5-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
"classmap": [ "classmap": [
"src/" "src/"
],
"files": [
"src/loader.php"
] ]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
...@@ -996,20 +1042,20 @@ ...@@ -996,20 +1042,20 @@
"utility", "utility",
"validation" "validation"
], ],
"time": "2018-09-18T10:22:16+00:00" "time": "2019-03-22T01:00:30+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
"version": "v4.2.1", "version": "v4.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nikic/PHP-Parser.git", "url": "https://github.com/nikic/PHP-Parser.git",
"reference": "5221f49a608808c1e4d436df32884cbc1b821ac0" "reference": "e612609022e935f3d0337c1295176505b41188c8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/5221f49a608808c1e4d436df32884cbc1b821ac0", "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/e612609022e935f3d0337c1295176505b41188c8",
"reference": "5221f49a608808c1e4d436df32884cbc1b821ac0", "reference": "e612609022e935f3d0337c1295176505b41188c8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1017,7 +1063,7 @@ ...@@ -1017,7 +1063,7 @@
"php": ">=7.0" "php": ">=7.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^6.5 || ^7.0" "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0"
}, },
"bin": [ "bin": [
"bin/php-parse" "bin/php-parse"
...@@ -1047,7 +1093,7 @@ ...@@ -1047,7 +1093,7 @@
"parser", "parser",
"php" "php"
], ],
"time": "2019-02-16T20:54:15+00:00" "time": "2019-08-12T20:17:41+00:00"
}, },
{ {
"name": "ocramius/package-versions", "name": "ocramius/package-versions",
...@@ -1418,28 +1464,29 @@ ...@@ -1418,28 +1464,29 @@
}, },
{ {
"name": "phpstan/phpdoc-parser", "name": "phpstan/phpdoc-parser",
"version": "0.3.1", "version": "0.3.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git", "url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "2cc49f47c69b023eaf05b48e6529389893b13d74" "reference": "8c4ef2aefd9788238897b678a985e1d5c8df6db4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/2cc49f47c69b023eaf05b48e6529389893b13d74", "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/8c4ef2aefd9788238897b678a985e1d5c8df6db4",
"reference": "2cc49f47c69b023eaf05b48e6529389893b13d74", "reference": "8c4ef2aefd9788238897b678a985e1d5c8df6db4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "~7.1" "php": "~7.1"
}, },
"require-dev": { "require-dev": {
"consistence/coding-standard": "^2.0.0", "consistence/coding-standard": "^3.5",
"jakub-onderka/php-parallel-lint": "^0.9.2", "jakub-onderka/php-parallel-lint": "^0.9.2",
"phing/phing": "^2.16.0", "phing/phing": "^2.16.0",
"phpstan/phpstan": "^0.10", "phpstan/phpstan": "^0.10",
"phpunit/phpunit": "^6.3", "phpunit/phpunit": "^6.3",
"slevomat/coding-standard": "^3.3.0", "slevomat/coding-standard": "^4.7.2",
"squizlabs/php_codesniffer": "^3.3.2",
"symfony/process": "^3.4 || ^4.0" "symfony/process": "^3.4 || ^4.0"
}, },
"type": "library", "type": "library",
...@@ -1460,20 +1507,20 @@ ...@@ -1460,20 +1507,20 @@
"MIT" "MIT"
], ],
"description": "PHPDoc parser with support for nullable, intersection and generic types", "description": "PHPDoc parser with support for nullable, intersection and generic types",
"time": "2019-01-14T12:26:23+00:00" "time": "2019-06-07T19:13:52+00:00"
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "0.11.3", "version": "0.11.15",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "e4644b4a8fd393c346f1137305fb2f76a7dc20a7" "reference": "1be5b3a706db16ac472a4c40ec03cf4c810b118d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/e4644b4a8fd393c346f1137305fb2f76a7dc20a7", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1be5b3a706db16ac472a4c40ec03cf4c810b118d",
"reference": "e4644b4a8fd393c346f1137305fb2f76a7dc20a7", "reference": "1be5b3a706db16ac472a4c40ec03cf4c810b118d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1482,10 +1529,11 @@ ...@@ -1482,10 +1529,11 @@
"nette/bootstrap": "^2.4 || ^3.0", "nette/bootstrap": "^2.4 || ^3.0",
"nette/di": "^2.4.7 || ^3.0", "nette/di": "^2.4.7 || ^3.0",
"nette/robot-loader": "^3.0.1", "nette/robot-loader": "^3.0.1",
"nette/schema": "^1.0",
"nette/utils": "^2.4.5 || ^3.0", "nette/utils": "^2.4.5 || ^3.0",
"nikic/php-parser": "^4.0.2", "nikic/php-parser": "^4.2.3",
"php": "~7.1", "php": "~7.1",
"phpstan/phpdoc-parser": "^0.3", "phpstan/phpdoc-parser": "^0.3.5",
"symfony/console": "~3.2 || ~4.0", "symfony/console": "~3.2 || ~4.0",
"symfony/finder": "~3.2 || ~4.0" "symfony/finder": "~3.2 || ~4.0"
}, },
...@@ -1493,11 +1541,12 @@ ...@@ -1493,11 +1541,12 @@
"symfony/console": "3.4.16 || 4.1.5" "symfony/console": "3.4.16 || 4.1.5"
}, },
"require-dev": { "require-dev": {
"brianium/paratest": "^2.0", "brianium/paratest": "^2.0 || ^3.0",
"consistence/coding-standard": "^3.5", "consistence/coding-standard": "^3.5",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4", "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"ext-intl": "*", "ext-intl": "*",
"ext-mysqli": "*", "ext-mysqli": "*",
"ext-simplexml": "*",
"ext-soap": "*", "ext-soap": "*",
"ext-zip": "*", "ext-zip": "*",
"jakub-onderka/php-parallel-lint": "^1.0", "jakub-onderka/php-parallel-lint": "^1.0",
...@@ -1507,7 +1556,7 @@ ...@@ -1507,7 +1556,7 @@
"phpstan/phpstan-php-parser": "^0.11", "phpstan/phpstan-php-parser": "^0.11",
"phpstan/phpstan-phpunit": "^0.11", "phpstan/phpstan-phpunit": "^0.11",
"phpstan/phpstan-strict-rules": "^0.11", "phpstan/phpstan-strict-rules": "^0.11",
"phpunit/phpunit": "^7.0", "phpunit/phpunit": "^7.5.14 || ^8.0",
"slevomat/coding-standard": "^4.7.2", "slevomat/coding-standard": "^4.7.2",
"squizlabs/php_codesniffer": "^3.3.2" "squizlabs/php_codesniffer": "^3.3.2"
}, },
...@@ -1533,7 +1582,7 @@ ...@@ -1533,7 +1582,7 @@
"MIT" "MIT"
], ],
"description": "PHPStan - PHP Static Analysis Tool", "description": "PHPStan - PHP Static Analysis Tool",
"time": "2019-03-10T16:25:30+00:00" "time": "2019-08-18T20:51:53+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
...@@ -2821,16 +2870,16 @@ ...@@ -2821,16 +2870,16 @@
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v4.2.4", "version": "v4.3.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "267b7002c1b70ea80db0833c3afe05f0fbde580a" "reference": "9638d41e3729459860bb96f6247ccb61faaa45f2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/267b7002c1b70ea80db0833c3afe05f0fbde580a", "url": "https://api.github.com/repos/symfony/finder/zipball/9638d41e3729459860bb96f6247ccb61faaa45f2",
"reference": "267b7002c1b70ea80db0833c3afe05f0fbde580a", "reference": "9638d41e3729459860bb96f6247ccb61faaa45f2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2839,7 +2888,7 @@ ...@@ -2839,7 +2888,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "4.2-dev" "dev-master": "4.3-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -2866,7 +2915,7 @@ ...@@ -2866,7 +2915,7 @@
], ],
"description": "Symfony Finder Component", "description": "Symfony Finder Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-02-23T15:42:05+00:00" "time": "2019-06-28T13:16:30+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
...@@ -3018,8 +3067,8 @@ ...@@ -3018,8 +3067,8 @@
"authors": [ "authors": [
{ {
"name": "Arne Blankerts", "name": "Arne Blankerts",
"email": "arne@blankerts.de", "role": "Developer",
"role": "Developer" "email": "arne@blankerts.de"
} }
], ],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
......
...@@ -43,7 +43,7 @@ class ArrayType extends Type ...@@ -43,7 +43,7 @@ class ArrayType extends Type
$value = is_resource($value) ? stream_get_contents($value) : $value; $value = is_resource($value) ? stream_get_contents($value) : $value;
set_error_handler(function (int $code, string $message) : void { set_error_handler(function (int $code, string $message) : bool {
throw ConversionException::conversionFailedUnserialization($this->getName(), $message); throw ConversionException::conversionFailedUnserialization($this->getName(), $message);
}); });
......
...@@ -42,7 +42,7 @@ class ObjectType extends Type ...@@ -42,7 +42,7 @@ class ObjectType extends Type
$value = is_resource($value) ? stream_get_contents($value) : $value; $value = is_resource($value) ? stream_get_contents($value) : $value;
set_error_handler(function (int $code, string $message) : void { set_error_handler(function (int $code, string $message) : bool {
throw ConversionException::conversionFailedUnserialization($this->getName(), $message); throw ConversionException::conversionFailedUnserialization($this->getName(), $message);
}); });
......
...@@ -72,4 +72,10 @@ ...@@ -72,4 +72,10 @@
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedNotEqualOperator"> <rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedNotEqualOperator">
<exclude-pattern>lib/Doctrine/DBAL/Schema/Comparator.php</exclude-pattern> <exclude-pattern>lib/Doctrine/DBAL/Schema/Comparator.php</exclude-pattern>
</rule> </rule>
<!-- see https://github.com/slevomat/coding-standard/issues/737 -->
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.IncorrectReturnTypeHint">
<exclude-pattern>lib/Doctrine/DBAL/Types/ArrayType.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/DBAL/Types/ObjectType.php</exclude-pattern>
</rule>
</ruleset> </ruleset>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment