From d90eb632f6b039bace45d8407ceb8dbca57d495b Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 8 Dec 2024 17:14:32 +0100 Subject: [PATCH] composer: Update PHPStan - phpstan/phpstan updated from 1.12.12 to 2.0.3 major See changes: https://github.com/phpstan/phpstan/compare/1.12.12...2.0.3 Release notes: https://github.com/phpstan/phpstan/releases/tag/2.0.3 - nextras/orm-phpstan downgraded from v1.0.1 to dev-main@5509fa8 major See changes: https://github.com/nextras/orm-phpstan/compare/v1.0.1...5509fa8 - phpstan/phpstan-nette updated from 1.3.8 to 2.0.1 major See changes: https://github.com/phpstan/phpstan-nette/compare/1.3.8...2.0.1 Release notes: https://github.com/phpstan/phpstan-nette/releases/tag/2.0.1 --- composer.json | 6 ++--- composer.lock | 66 ++++++++++++++++++++++++++++----------------------- 2 files changed, 39 insertions(+), 33 deletions(-) diff --git a/composer.json b/composer.json index 164f281..c7834f0 100644 --- a/composer.json +++ b/composer.json @@ -39,10 +39,10 @@ "friendsofphp/php-cs-fixer": "^3.0", "nette/tester": "^2.2.0", "nextras/mail-panel": "^2.5", - "nextras/orm-phpstan": "^1.0", + "nextras/orm-phpstan": "@dev", "php-parallel-lint/php-parallel-lint": "^1.3", - "phpstan/phpstan": "^1.5", - "phpstan/phpstan-nette": "^1.0" + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-nette": "^2.0" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 2d139f6..5ff4534 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": "840505107caf46adc416d6895ffe162b", + "content-hash": "8165b8b8ab4743b9b1d38ecfb71747c7", "packages": [ { "name": "68publishers/asset", @@ -3536,28 +3536,29 @@ }, { "name": "nextras/orm-phpstan", - "version": "v1.0.1", + "version": "dev-main", "source": { "type": "git", "url": "https://github.com/nextras/orm-phpstan.git", - "reference": "e215076ccf92632f8bd2aa4b79f4a172a338c83f" + "reference": "5509fa86a74b4fcd262c0635102d0f42799a50e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextras/orm-phpstan/zipball/e215076ccf92632f8bd2aa4b79f4a172a338c83f", - "reference": "e215076ccf92632f8bd2aa4b79f4a172a338c83f", + "url": "https://api.github.com/repos/nextras/orm-phpstan/zipball/5509fa86a74b4fcd262c0635102d0f42799a50e3", + "reference": "5509fa86a74b4fcd262c0635102d0f42799a50e3", "shasum": "" }, "require": { - "php": "~7.1 || ~8.0", - "phpstan/phpstan": "^1.0" + "php": ">=8.1", + "phpstan/phpstan": "^1.10.12 || ^2.0.0" }, "require-dev": { "nette/tester": "^2.3.1", - "nextras/orm": "~4.0 || ~5.0@dev", + "nextras/orm": "~5.0@dev", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0" + "phpstan/phpstan-deprecation-rules": "^1.0 || ^2.0" }, + "default-branch": true, "type": "phpstan-extension", "extra": { "phpstan": { @@ -3576,11 +3577,15 @@ "MIT" ], "description": "PHPStan extension for Nextras Orm", + "keywords": [ + "dev", + "static analysis" + ], "support": { "issues": "https://github.com/nextras/orm-phpstan/issues", - "source": "https://github.com/nextras/orm-phpstan/tree/v1.0.1" + "source": "https://github.com/nextras/orm-phpstan/tree/main" }, - "time": "2022-05-01T21:42:32+00:00" + "time": "2024-11-16T18:42:46+00:00" }, { "name": "php-parallel-lint/php-parallel-lint", @@ -3645,20 +3650,20 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.12", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0" + "reference": "46b4d3529b12178112d9008337beda0cc2a1a6b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0", - "reference": "b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/46b4d3529b12178112d9008337beda0cc2a1a6b4", + "reference": "46b4d3529b12178112d9008337beda0cc2a1a6b4", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -3699,25 +3704,25 @@ "type": "github" } ], - "time": "2024-11-28T22:13:23+00:00" + "time": "2024-11-28T22:19:37+00:00" }, { "name": "phpstan/phpstan-nette", - "version": "1.3.8", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-nette.git", - "reference": "bc74b8b208b47f163fe55708fcf1a0333247fa79" + "reference": "200d1926c57f6feda0d0f3056985fceccd8003c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-nette/zipball/bc74b8b208b47f163fe55708fcf1a0333247fa79", - "reference": "bc74b8b208b47f163fe55708fcf1a0333247fa79", + "url": "https://api.github.com/repos/phpstan/phpstan-nette/zipball/200d1926c57f6feda0d0f3056985fceccd8003c0", + "reference": "200d1926c57f6feda0d0f3056985fceccd8003c0", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.11.11" + "php": "^7.4 || ^8.0", + "phpstan/phpstan": "^2.0" }, "conflict": { "nette/application": "<2.3.0", @@ -3729,13 +3734,13 @@ }, "require-dev": { "nette/application": "^3.0", + "nette/di": "^3.1.10", "nette/forms": "^3.0", "nette/utils": "^2.3.0 || ^3.0.0", - "nikic/php-parser": "^4.13.2", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "~9.5.28" + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^9.6" }, "type": "phpstan-extension", "extra": { @@ -3758,9 +3763,9 @@ "description": "Nette Framework class reflection extension for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-nette/issues", - "source": "https://github.com/phpstan/phpstan-nette/tree/1.3.8" + "source": "https://github.com/phpstan/phpstan-nette/tree/2.0.1" }, - "time": "2024-08-25T12:11:12+00:00" + "time": "2024-11-15T13:42:54+00:00" }, { "name": "psr/container", @@ -5504,7 +5509,8 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "nextras/forms-rendering": 20 + "nextras/forms-rendering": 20, + "nextras/orm-phpstan": 20 }, "prefer-stable": false, "prefer-lowest": false,