From e1f1e08e52883fcd0a66cc678b1cbe901395a340 Mon Sep 17 00:00:00 2001 From: Matt Glaman Date: Mon, 1 Nov 2021 10:40:43 -0500 Subject: [PATCH] PHPStan 1.0 --- composer.json | 8 +++--- composer.lock | 78 +++++++++++++++++++++++++-------------------------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/composer.json b/composer.json index 0d378f3..699e800 100644 --- a/composer.json +++ b/composer.json @@ -13,16 +13,16 @@ "php": "^7.2.5|^8.0", "composer/xdebug-handler": "^1.1 | ^2.0.1", "jean85/pretty-package-versions": "^1.5.0 || ^2.0.1", - "mglaman/phpstan-drupal": "^0.12.15", + "mglaman/phpstan-drupal": "^1.0.0", "nette/neon": "^3.1", - "phpstan/phpstan-deprecation-rules": "^0.12.6", + "phpstan/phpstan-deprecation-rules": "^1.0.0", "symfony/console": "~3.2 || ~4.0", "symfony/process": "~3.2 || ~4.0", "webflo/drupal-finder": "^1.1" }, "require-dev": { - "phpstan/phpstan": "^0.12.81", - "phpstan/phpstan-strict-rules": "^0.12.9", + "phpstan/phpstan": "^1.0.0", + "phpstan/phpstan-strict-rules": "^1.0.0", "squizlabs/php_codesniffer": "^3.4" }, "config": { diff --git a/composer.lock b/composer.lock index 814a375..a369544 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": "8d9f641b00aefc4992be1ba021a0854b", + "content-hash": "81090af5eeaefed9d2b7b7951c87b73b", "packages": [ { "name": "composer/xdebug-handler", @@ -131,22 +131,22 @@ }, { "name": "mglaman/phpstan-drupal", - "version": "0.12.15", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/mglaman/phpstan-drupal.git", - "reference": "1d65da838f3f5136e30e7a7023c235775f30c53e" + "reference": "ffdf3686f3cc3d8c3b3cfece7896dfc5e77d9e51" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/1d65da838f3f5136e30e7a7023c235775f30c53e", - "reference": "1d65da838f3f5136e30e7a7023c235775f30c53e", + "url": "https://api.github.com/repos/mglaman/phpstan-drupal/zipball/ffdf3686f3cc3d8c3b3cfece7896dfc5e77d9e51", + "reference": "ffdf3686f3cc3d8c3b3cfece7896dfc5e77d9e51", "shasum": "" }, "require": { "nette/finder": "^2.5", "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.65", + "phpstan/phpstan": "^1.0", "symfony/yaml": "~3.4.5|^4.2", "webflo/drupal-finder": "^1.2" }, @@ -155,8 +155,8 @@ "drupal/core-dev": "^8.8@alpha || ^9.0", "drupal/core-recommended": "^8.8@alpha || ^9.0", "drush/drush": "^9.6 | ^10.0", - "phpstan/phpstan-deprecation-rules": "~0.12.0", - "phpstan/phpstan-strict-rules": "^0.12.0", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^6.5 || ^7.5 || ^8.0 || ^9", "squizlabs/php_codesniffer": "^3.3" }, @@ -166,7 +166,7 @@ "type": "phpstan-extension", "extra": { "branch-alias": { - "dev-master": "0.12-dev" + "dev-master": "1.0-dev" }, "installer-paths": { "tests/fixtures/drupal/core": [ @@ -196,7 +196,7 @@ "drupal-phpunit-hack.php" ], "psr-4": { - "PHPStan\\": "src/" + "mglaman\\PHPStanDrupal\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -212,7 +212,7 @@ "description": "Drupal extension and rules for PHPStan", "support": { "issues": "https://github.com/mglaman/phpstan-drupal/issues", - "source": "https://github.com/mglaman/phpstan-drupal/tree/0.12.15" + "source": "https://github.com/mglaman/phpstan-drupal/tree/1.0.0" }, "funding": [ { @@ -228,7 +228,7 @@ "type": "tidelift" } ], - "time": "2021-10-06T20:17:36+00:00" + "time": "2021-11-01T15:20:04+00:00" }, { "name": "nette/finder", @@ -449,16 +449,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.93", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "7b7602f05d340ffa418c59299f8c053ac6c3e7ea" + "reference": "0d13a99513182e521271d46bde8f28caa4f84d97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/7b7602f05d340ffa418c59299f8c053ac6c3e7ea", - "reference": "7b7602f05d340ffa418c59299f8c053ac6c3e7ea", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0d13a99513182e521271d46bde8f28caa4f84d97", + "reference": "0d13a99513182e521271d46bde8f28caa4f84d97", "shasum": "" }, "require": { @@ -474,7 +474,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "0.12-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -489,7 +489,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.93" + "source": "https://github.com/phpstan/phpstan/tree/1.0.0" }, "funding": [ { @@ -509,36 +509,35 @@ "type": "tidelift" } ], - "time": "2021-07-20T10:49:53+00:00" + "time": "2021-11-01T06:38:20+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "0.12.6", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "46dbd43c2db973d2876d6653e53f5c2cc3a01fbb" + "reference": "e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/46dbd43c2db973d2876d6653e53f5c2cc3a01fbb", - "reference": "46dbd43c2db973d2876d6653e53f5c2cc3a01fbb", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682", + "reference": "e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.60" + "phpstan/phpstan": "^1.0" }, "require-dev": { - "phing/phing": "^2.16.3", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.5.20" + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { "branch-alias": { - "dev-master": "0.12-dev" + "dev-master": "1.0-dev" }, "phpstan": { "includes": [ @@ -558,9 +557,9 @@ "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", "support": { "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/0.12.6" + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.0.0" }, - "time": "2020-12-13T10:20:54+00:00" + "time": "2021-09-23T11:02:21+00:00" }, { "name": "psr/container", @@ -1329,31 +1328,32 @@ "packages-dev": [ { "name": "phpstan/phpstan-strict-rules", - "version": "0.12.10", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "ce82a050f9da4a32e438272907e38cdd04806223" + "reference": "7f50eb112f37fda2ef956813d3f1e9b1e69d7940" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/ce82a050f9da4a32e438272907e38cdd04806223", - "reference": "ce82a050f9da4a32e438272907e38cdd04806223", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/7f50eb112f37fda2ef956813d3f1e9b1e69d7940", + "reference": "7f50eb112f37fda2ef956813d3f1e9b1e69d7940", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.66" + "phpstan/phpstan": "^1.0" }, "require-dev": { + "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^0.12.16", + "phpstan/phpstan-phpunit": "^1.0", "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { "branch-alias": { - "dev-master": "0.12-dev" + "dev-master": "1.0-dev" }, "phpstan": { "includes": [ @@ -1373,9 +1373,9 @@ "description": "Extra strict and opinionated rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/0.12.10" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.0.0" }, - "time": "2021-07-04T14:57:39+00:00" + "time": "2021-10-11T06:57:58+00:00" }, { "name": "squizlabs/php_codesniffer",