Unverified Commit 51aeefa7 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3205 from Majkl578/fix-phpstan-oci

Ignore OCI-* classes in static analysis (no stubs)
parents 29f17994 8b8af0c3
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "754cfcbb241065b3d6ff156db98515e0", "content-hash": "d32667b07decd26b9e6ed96784478bd0",
"packages": [ "packages": [
{ {
"name": "doctrine/cache", "name": "doctrine/cache",
...@@ -592,16 +592,16 @@ ...@@ -592,16 +592,16 @@
}, },
{ {
"name": "nette/di", "name": "nette/di",
"version": "v2.4.12", "version": "v2.4.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/di.git", "url": "https://github.com/nette/di.git",
"reference": "8e717aed2d182a26763be58c220eebaaa32917df" "reference": "3f8f212b02d5c17feb97a7e0a39ab306f40c06ca"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/di/zipball/8e717aed2d182a26763be58c220eebaaa32917df", "url": "https://api.github.com/repos/nette/di/zipball/3f8f212b02d5c17feb97a7e0a39ab306f40c06ca",
"reference": "8e717aed2d182a26763be58c220eebaaa32917df", "reference": "3f8f212b02d5c17feb97a7e0a39ab306f40c06ca",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -657,31 +657,31 @@ ...@@ -657,31 +657,31 @@
"nette", "nette",
"static" "static"
], ],
"time": "2018-04-26T09:18:42+00:00" "time": "2018-06-11T08:46:01+00:00"
}, },
{ {
"name": "nette/finder", "name": "nette/finder",
"version": "v2.4.1", "version": "v2.4.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/finder.git", "url": "https://github.com/nette/finder.git",
"reference": "4d43a66d072c57d585bf08a3ef68d3587f7e9547" "reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/finder/zipball/4d43a66d072c57d585bf08a3ef68d3587f7e9547", "url": "https://api.github.com/repos/nette/finder/zipball/ee951a656cb8ac622e5dd33474a01fd2470505a0",
"reference": "4d43a66d072c57d585bf08a3ef68d3587f7e9547", "reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"nette/utils": "^2.4 || ~3.0.0", "nette/utils": "~2.4",
"php": ">=5.6.0" "php": ">=5.6.0"
}, },
"conflict": { "conflict": {
"nette/nette": "<2.2" "nette/nette": "<2.2"
}, },
"require-dev": { "require-dev": {
"nette/tester": "^2.0", "nette/tester": "~2.0",
"tracy/tracy": "^2.3" "tracy/tracy": "^2.3"
}, },
"type": "library", "type": "library",
...@@ -711,22 +711,28 @@ ...@@ -711,22 +711,28 @@
"homepage": "https://nette.org/contributors" "homepage": "https://nette.org/contributors"
} }
], ],
"description": "Nette Finder: Files Searching", "description": "🔍 Nette Finder: find files and directories with an intuitive API.",
"homepage": "https://nette.org", "homepage": "https://nette.org",
"time": "2017-07-10T23:47:08+00:00" "keywords": [
"filesystem",
"glob",
"iterator",
"nette"
],
"time": "2018-06-28T11:49:23+00:00"
}, },
{ {
"name": "nette/neon", "name": "nette/neon",
"version": "v2.4.2", "version": "v2.4.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/neon.git", "url": "https://github.com/nette/neon.git",
"reference": "9eacd50553b26b53a3977bfb2fea2166d4331622" "reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/neon/zipball/9eacd50553b26b53a3977bfb2fea2166d4331622", "url": "https://api.github.com/repos/nette/neon/zipball/5e72b1dd3e2d34f0863c5561139a19df6a1ef398",
"reference": "9eacd50553b26b53a3977bfb2fea2166d4331622", "reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -765,9 +771,16 @@ ...@@ -765,9 +771,16 @@
"homepage": "https://nette.org/contributors" "homepage": "https://nette.org/contributors"
} }
], ],
"description": "Nette NEON: parser & generator for Nette Object Notation", "description": "🍸 Nette NEON: encodes and decodes NEON file format.",
"homepage": "http://ne-on.org", "homepage": "http://ne-on.org",
"time": "2017-07-11T18:29:08+00:00" "keywords": [
"export",
"import",
"neon",
"nette",
"yaml"
],
"time": "2018-03-21T12:12:21+00:00"
}, },
{ {
"name": "nette/php-generator", "name": "nette/php-generator",
...@@ -833,16 +846,16 @@ ...@@ -833,16 +846,16 @@
}, },
{ {
"name": "nette/robot-loader", "name": "nette/robot-loader",
"version": "v3.0.3", "version": "v3.0.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/robot-loader.git", "url": "https://github.com/nette/robot-loader.git",
"reference": "92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a" "reference": "3cf88781a05e0bf4618ae605361afcbaa4d5b392"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/robot-loader/zipball/92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a", "url": "https://api.github.com/repos/nette/robot-loader/zipball/3cf88781a05e0bf4618ae605361afcbaa4d5b392",
"reference": "92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a", "reference": "3cf88781a05e0bf4618ae605361afcbaa4d5b392",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -894,7 +907,7 @@ ...@@ -894,7 +907,7 @@
"nette", "nette",
"trait" "trait"
], ],
"time": "2017-09-26T13:42:21+00:00" "time": "2018-06-22T09:34:04+00:00"
}, },
{ {
"name": "nette/utils", "name": "nette/utils",
...@@ -1443,16 +1456,16 @@ ...@@ -1443,16 +1456,16 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "0.10", "version": "0.10.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "86b9f9a4421d282f3c18e0d4d1426f330c1ef21d" "reference": "3179cf27542e9e47acb548150e7ca21ca5ab92d6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/86b9f9a4421d282f3c18e0d4d1426f330c1ef21d", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3179cf27542e9e47acb548150e7ca21ca5ab92d6",
"reference": "86b9f9a4421d282f3c18e0d4d1426f330c1ef21d", "reference": "3179cf27542e9e47acb548150e7ca21ca5ab92d6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1478,6 +1491,7 @@ ...@@ -1478,6 +1491,7 @@
"ext-zip": "*", "ext-zip": "*",
"jakub-onderka/php-parallel-lint": "^1.0", "jakub-onderka/php-parallel-lint": "^1.0",
"phing/phing": "^2.16.0", "phing/phing": "^2.16.0",
"phpstan/phpstan-deprecation-rules": "^0.10.2",
"phpstan/phpstan-php-parser": "^0.10", "phpstan/phpstan-php-parser": "^0.10",
"phpstan/phpstan-phpunit": "^0.10", "phpstan/phpstan-phpunit": "^0.10",
"phpstan/phpstan-strict-rules": "^0.10", "phpstan/phpstan-strict-rules": "^0.10",
...@@ -1506,7 +1520,7 @@ ...@@ -1506,7 +1520,7 @@
"MIT" "MIT"
], ],
"description": "PHPStan - PHP Static Analysis Tool", "description": "PHPStan - PHP Static Analysis Tool",
"time": "2018-06-24T17:49:58+00:00" "time": "2018-07-01T18:22:12+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
......
...@@ -23,9 +23,6 @@ parameters: ...@@ -23,9 +23,6 @@ parameters:
- '~^Method Doctrine\\DBAL\\Driver\\OCI8\\OCI8Connection::lastInsertId\(\) should return string but returns (int|false)\.\z~' - '~^Method Doctrine\\DBAL\\Driver\\OCI8\\OCI8Connection::lastInsertId\(\) should return string but returns (int|false)\.\z~'
- '~^Method Doctrine\\DBAL\\Driver\\SQLSrv\\SQLSrvConnection::errorCode\(\) should return string\|null but returns false\.\z~' - '~^Method Doctrine\\DBAL\\Driver\\SQLSrv\\SQLSrvConnection::errorCode\(\) should return string\|null but returns false\.\z~'
# actually OCI-Lob - not even a valid class name...
- '~^Call to an undefined method object::writeTemporary\(\)\.\z~'
# http://php.net/manual/en/pdo.sqlitecreatefunction.php # http://php.net/manual/en/pdo.sqlitecreatefunction.php
- '~^Call to an undefined method Doctrine\\DBAL\\Driver\\PDOConnection::sqliteCreateFunction\(\)\.\z~' - '~^Call to an undefined method Doctrine\\DBAL\\Driver\\PDOConnection::sqliteCreateFunction\(\)\.\z~'
...@@ -44,3 +41,6 @@ parameters: ...@@ -44,3 +41,6 @@ parameters:
# may not exist when pdo_sqlsrv is not loaded # may not exist when pdo_sqlsrv is not loaded
- '~^Access to undefined constant PDO::SQLSRV_ENCODING_BINARY\.\z~' - '~^Access to undefined constant PDO::SQLSRV_ENCODING_BINARY\.\z~'
# weird class name, doesn't exist in stubs either
- '~unknown class OCI-(Lob|Collection)~'
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