diff --git a/composer.json b/composer.json index 96aaaf7501b40391af9ef16dfb95a0cac6ba2777..255044ef406a55dcd2b4aa8951b2615f9e2c4be4 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,8 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "phpstan/phpstan": "^0.12.33", - "phpstan/phpstan-phpunit": "^0.12.13", + "phpstan/phpstan": "^1.0.0", + "phpstan/phpstan-phpunit": "^1.0.0", "symfony/browser-kit": "^5.2", "symfony/http-client": "^5.2", "symfony/monolog-bundle": "^3.7", diff --git a/composer.lock b/composer.lock index 74d0d7628e85e94ced118486991e15c34be0850c..0fde83c18f2215dcafb9703a6ceee55c25de33f0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ac6243c271601394af171f8b0737b17f", + "content-hash": "c983af8c3c0f5833825cef62d9004e26", "packages": [ { "name": "api-platform/core", @@ -6874,16 +6874,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.99", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7" + "reference": "cb317029197236c571c1b9305b8dd12850d8d85c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b4d40f1d759942f523be267a1bab6884f46ca3f7", - "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/cb317029197236c571c1b9305b8dd12850d8d85c", + "reference": "cb317029197236c571c1b9305b8dd12850d8d85c", "shasum": "" }, "require": { @@ -6899,7 +6899,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "0.12-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -6914,7 +6914,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.99" + "source": "https://github.com/phpstan/phpstan/tree/1.1.1" }, "funding": [ { @@ -6934,38 +6934,39 @@ "type": "tidelift" } ], - "time": "2021-09-12T20:09:55+00:00" + "time": "2021-11-06T22:46:47+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "0.12.22", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc" + "reference": "9eb88c9f689003a8a2a5ae9e010338ee94dc39b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc", - "reference": "7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/9eb88c9f689003a8a2a5ae9e010338ee94dc39b3", + "reference": "9eb88c9f689003a8a2a5ae9e010338ee94dc39b3", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.92" + "phpstan/phpstan": "^1.0" }, "conflict": { "phpunit/phpunit": "<7.0" }, "require-dev": { + "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-strict-rules": "^0.12.6", + "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { "branch-alias": { - "dev-master": "0.12-dev" + "dev-master": "1.0-dev" }, "phpstan": { "includes": [ @@ -6986,9 +6987,9 @@ "description": "PHPUnit extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.22" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.0.0" }, - "time": "2021-08-12T10:53:43+00:00" + "time": "2021-10-14T08:03:54+00:00" }, { "name": "sebastian/diff", diff --git a/phpstan.neon b/phpstan.neon index 6cde1f0f4471f841c1c559ba28c81d8fad5986e6..f38e9d96c1347cac9a898fa0b1e23d4ad0433722 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -9,7 +9,7 @@ parameters: - tests bootstrapFiles: - vendor/bin/.phpunit/phpunit-9-0/vendor/autoload.php - excludes_analyse: + excludePaths: - tests/bootstrap.php ignoreErrors: - message: '#.*NodeDefinition::children.*#'