diff --git a/.github/workflows/codesniffer.yml b/.github/workflows/codesniffer.yml index cf10f0e..c75e4e8 100644 --- a/.github/workflows/codesniffer.yml +++ b/.github/workflows/codesniffer.yml @@ -15,4 +15,4 @@ jobs: name: "Codesniffer" uses: contributte/.github/.github/workflows/codesniffer.yml@master with: - php: "8.2" + php: "8.4" diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c1aac55..62c33c3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,5 +15,5 @@ jobs: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester-coverage-v2.yml@master with: - php: "8.2" + php: "8.4" make: "init coverage" diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index d530ca7..f4f5cfb 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -15,5 +15,5 @@ jobs: name: "Phpstan" uses: contributte/.github/.github/workflows/phpstan.yml@master with: - php: "8.2" + php: "8.4" make: "init phpstan" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9b7f748..29ffa88 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,16 +11,9 @@ on: - cron: "0 8 * * 1" jobs: - test83: + test84: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@master with: - php: "8.3" - make: "init tests" - - test82: - name: "Nette Tester" - uses: contributte/.github/.github/workflows/nette-tester.yml@master - with: - php: "8.2" + php: "8.4" make: "init tests" diff --git a/README.md b/README.md index 08e2434..26c660e 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Main goal is to provide terminal-based console-kit project for Nette developers. ## Installation -You will need `PHP 8.2+` and [Composer](https://getcomposer.org/). +You will need `PHP 8.4+` and [Composer](https://getcomposer.org/). Create project using composer. diff --git a/app/Bootstrap.php b/app/Bootstrap.php index 47dd036..f1cb18a 100644 --- a/app/Bootstrap.php +++ b/app/Bootstrap.php @@ -3,6 +3,7 @@ namespace App; use Contributte\Bootstrap\ExtraConfigurator; +use Nette\Bootstrap\Configurator; use Nette\DI\Compiler; use Symfony\Component\Console\Application as SymfonyApplication; use Tracy\Debugger; @@ -15,9 +16,10 @@ public static function boot(): ExtraConfigurator $configurator = new ExtraConfigurator(); $configurator->setTempDirectory(__DIR__ . '/../var/tmp'); - $configurator->onCompile[] = function (ExtraConfigurator $configurator, Compiler $compiler): void { - // Add env variables to config structure - $compiler->addConfig(['parameters' => $configurator->getEnvironmentParameters()]); + $configurator->onCompile[] = function (Configurator $configurator, Compiler $compiler): void { + if ($configurator instanceof ExtraConfigurator) { + $compiler->addConfig(['parameters' => $configurator->getEnvironmentParameters()]); + } }; // According to NETTE_DEBUG env diff --git a/composer.json b/composer.json index bc9657e..992c948 100644 --- a/composer.json +++ b/composer.json @@ -13,11 +13,11 @@ "license": "MIT", "type": "project", "require": { - "php": ">=8.2", + "php": ">=8.4", - "contributte/bootstrap": "^0.6.0", + "contributte/bootstrap": "^0.7.0", "contributte/di": "^0.6.0", - "contributte/utils": "^0.6.0", + "contributte/utils": "^0.7.0", "contributte/latte": "^0.7.0", "contributte/tracy": "^0.7.0", "contributte/console": "^0.11.0" diff --git a/composer.lock b/composer.lock index 6393ed2..c83e50d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,39 +4,36 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "829e08302a643e9ecb33a4ce4191c27d", + "content-hash": "932f9f53f37132840e1d2b8bd61eceef", "packages": [ { "name": "contributte/bootstrap", - "version": "v0.6.0", + "version": "v0.7.0", "source": { "type": "git", "url": "https://github.com/contributte/bootstrap.git", - "reference": "6f6d0e7aaf63c62b2f38a1fdd29ee316ccadd2d1" + "reference": "0c6e85f1de94cdf537f1942c9777d792ccf32b21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/bootstrap/zipball/6f6d0e7aaf63c62b2f38a1fdd29ee316ccadd2d1", - "reference": "6f6d0e7aaf63c62b2f38a1fdd29ee316ccadd2d1", + "url": "https://api.github.com/repos/contributte/bootstrap/zipball/0c6e85f1de94cdf537f1942c9777d792ccf32b21", + "reference": "0c6e85f1de94cdf537f1942c9777d792ccf32b21", "shasum": "" }, "require": { "nette/bootstrap": "^3.2.0", "nette/utils": "^3.2.9 || ^4.0.0", - "php": ">=7.4" + "php": ">=8.2" }, "require-dev": { - "ninjify/nunjuck": "^0.4", - "ninjify/qa": "^0.12", - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-nette": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0" + "contributte/phpstan": "^0.2.0", + "contributte/qa": "^0.4.0", + "contributte/tester": "^0.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.7-dev" + "dev-master": "0.8.x-dev" } }, "autoload": { @@ -64,7 +61,7 @@ ], "support": { "issues": "https://github.com/contributte/bootstrap/issues", - "source": "https://github.com/contributte/bootstrap/tree/v0.6.0" + "source": "https://github.com/contributte/bootstrap/tree/v0.7.0" }, "funding": [ { @@ -76,7 +73,7 @@ "type": "github" } ], - "time": "2023-04-24T20:25:44+00:00" + "time": "2025-12-29T16:48:41+00:00" }, { "name": "contributte/console", @@ -151,38 +148,37 @@ }, { "name": "contributte/di", - "version": "dev-master", + "version": "v0.6.0", "source": { "type": "git", "url": "https://github.com/contributte/di.git", - "reference": "0b5d838e74fc4c212bbcc371468728fb0bd50513" + "reference": "6ca99e742d2b243ed3bb813bfa6157f596f00a93" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/di/zipball/0b5d838e74fc4c212bbcc371468728fb0bd50513", - "reference": "0b5d838e74fc4c212bbcc371468728fb0bd50513", + "url": "https://api.github.com/repos/contributte/di/zipball/6ca99e742d2b243ed3bb813bfa6157f596f00a93", + "reference": "6ca99e742d2b243ed3bb813bfa6157f596f00a93", "shasum": "" }, "require": { "nette/di": "^3.1.0", "nette/utils": "^3.2.8 || ^4.0", - "php": ">=8.1" + "php": ">=8.2" }, "conflict": { "nette/schema": "<1.1.0" }, "require-dev": { - "contributte/phpstan": "^0.1", + "contributte/phpstan": "^0.2", "contributte/qa": "^0.4", "contributte/tester": "^0.3", "nette/bootstrap": "^3.1.4", "nette/robot-loader": "^3.4.2 || ^4.0" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.6.x-dev" + "dev-master": "0.7.x-dev" } }, "autoload": { @@ -209,7 +205,7 @@ ], "support": { "issues": "https://github.com/contributte/di/issues", - "source": "https://github.com/contributte/di/tree/master" + "source": "https://github.com/contributte/di/tree/v0.6.0" }, "funding": [ { @@ -221,7 +217,7 @@ "type": "github" } ], - "time": "2024-01-04T19:35:12+00:00" + "time": "2025-12-25T19:28:24+00:00" }, { "name": "contributte/latte", @@ -373,33 +369,31 @@ }, { "name": "contributte/utils", - "version": "v0.6.0", + "version": "v0.7.0", "source": { "type": "git", "url": "https://github.com/contributte/utils.git", - "reference": "f9796645d3cc2b0fa75ee5de0e35d24421feb35e" + "reference": "74c01a1f2832dcb414a3c1a149f836943e193e88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/utils/zipball/f9796645d3cc2b0fa75ee5de0e35d24421feb35e", - "reference": "f9796645d3cc2b0fa75ee5de0e35d24421feb35e", + "url": "https://api.github.com/repos/contributte/utils/zipball/74c01a1f2832dcb414a3c1a149f836943e193e88", + "reference": "74c01a1f2832dcb414a3c1a149f836943e193e88", "shasum": "" }, "require": { - "nette/utils": "^3.2.9 || ^4.0.0", - "php": ">=8.0" + "nette/utils": "^4.0.0", + "php": ">=8.1" }, "conflict": { "nette/di": "<3.0.0" }, "require-dev": { - "nette/di": "^3.1.0", - "ninjify/nunjuck": "^0.4.0", - "ninjify/qa": "^0.12.0", - "phpstan/phpstan": "^1.9.0", - "phpstan/phpstan-deprecation-rules": "^1.1.0", - "phpstan/phpstan-nette": "^1.2.0", - "phpstan/phpstan-strict-rules": "^1.4.0" + "contributte/phpstan": "^0.1", + "contributte/qa": "^0.4", + "contributte/tester": "^0.3", + "mockery/mockery": "^1.5.0", + "nette/di": "^3.1.8" }, "suggest": { "nette/di": "to use DateTimeExtension[CompilerExtension]" @@ -407,7 +401,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "0.6.x-dev" + "dev-master": "0.7.x-dev" } }, "autoload": { @@ -436,7 +430,7 @@ ], "support": { "issues": "https://github.com/contributte/utils/issues", - "source": "https://github.com/contributte/utils/tree/v0.6.0" + "source": "https://github.com/contributte/utils/tree/v0.7.0" }, "funding": [ { @@ -448,7 +442,7 @@ "type": "github" } ], - "time": "2023-04-25T12:54:31+00:00" + "time": "2023-11-17T11:06:47+00:00" }, { "name": "latte/latte", @@ -541,22 +535,22 @@ }, { "name": "nette/bootstrap", - "version": "v3.2.1", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/nette/bootstrap.git", - "reference": "eeb1c9dc9f1391bd03aeeb6cc0e456ec9b247f5c" + "reference": "10fdb1cb05497da39396f2ce1785cea67c8aa439" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/bootstrap/zipball/eeb1c9dc9f1391bd03aeeb6cc0e456ec9b247f5c", - "reference": "eeb1c9dc9f1391bd03aeeb6cc0e456ec9b247f5c", + "url": "https://api.github.com/repos/nette/bootstrap/zipball/10fdb1cb05497da39396f2ce1785cea67c8aa439", + "reference": "10fdb1cb05497da39396f2ce1785cea67c8aa439", "shasum": "" }, "require": { "nette/di": "^3.1", "nette/utils": "^3.2.1 || ^4.0", - "php": "8.0 - 8.3" + "php": "8.0 - 8.5" }, "conflict": { "tracy/tracy": "<2.6" @@ -573,7 +567,7 @@ "nette/safe-stream": "^2.2", "nette/security": "^3.0", "nette/tester": "^2.4", - "phpstan/phpstan-nette": "^1.0", + "phpstan/phpstan-nette": "^2.0@stable", "tracy/tracy": "^2.9" }, "suggest": { @@ -587,6 +581,9 @@ } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -616,9 +613,9 @@ ], "support": { "issues": "https://github.com/nette/bootstrap/issues", - "source": "https://github.com/nette/bootstrap/tree/v3.2.1" + "source": "https://github.com/nette/bootstrap/tree/v3.2.7" }, - "time": "2023-09-23T01:12:54+00:00" + "time": "2025-08-01T02:02:03+00:00" }, { "name": "nette/di", @@ -769,16 +766,16 @@ }, { "name": "nette/php-generator", - "version": "v4.2.0", + "version": "v4.2.1", "source": { "type": "git", "url": "https://github.com/nette/php-generator.git", - "reference": "4707546a1f11badd72f5d82af4f8a6bc64bd56ac" + "reference": "52aff4d9b12f20ca9f3e31a559b646d2fd21dd61" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/php-generator/zipball/4707546a1f11badd72f5d82af4f8a6bc64bd56ac", - "reference": "4707546a1f11badd72f5d82af4f8a6bc64bd56ac", + "url": "https://api.github.com/repos/nette/php-generator/zipball/52aff4d9b12f20ca9f3e31a559b646d2fd21dd61", + "reference": "52aff4d9b12f20ca9f3e31a559b646d2fd21dd61", "shasum": "" }, "require": { @@ -787,9 +784,9 @@ }, "require-dev": { "jetbrains/phpstorm-attributes": "^1.2", - "nette/tester": "^2.4", + "nette/tester": "^2.6", "nikic/php-parser": "^5.0", - "phpstan/phpstan-nette": "^2.0@stable", + "phpstan/phpstan": "^2.0@stable", "tracy/tracy": "^2.8" }, "suggest": { @@ -835,22 +832,22 @@ ], "support": { "issues": "https://github.com/nette/php-generator/issues", - "source": "https://github.com/nette/php-generator/tree/v4.2.0" + "source": "https://github.com/nette/php-generator/tree/v4.2.1" }, - "time": "2025-08-06T18:24:31+00:00" + "time": "2026-02-09T05:43:31+00:00" }, { "name": "nette/robot-loader", - "version": "v4.1.0", + "version": "v4.1.1", "source": { "type": "git", "url": "https://github.com/nette/robot-loader.git", - "reference": "805fb81376c24755d50bdb8bc69ca4db3def71d1" + "reference": "fb255f5da2676d58863bef1716baf52993c7ffec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/robot-loader/zipball/805fb81376c24755d50bdb8bc69ca4db3def71d1", - "reference": "805fb81376c24755d50bdb8bc69ca4db3def71d1", + "url": "https://api.github.com/repos/nette/robot-loader/zipball/fb255f5da2676d58863bef1716baf52993c7ffec", + "reference": "fb255f5da2676d58863bef1716baf52993c7ffec", "shasum": "" }, "require": { @@ -859,8 +856,8 @@ "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.4", - "phpstan/phpstan-nette": "^2.0@stable", + "nette/tester": "^2.6", + "phpstan/phpstan": "^2.0@stable", "tracy/tracy": "^2.9" }, "type": "library", @@ -904,22 +901,22 @@ ], "support": { "issues": "https://github.com/nette/robot-loader/issues", - "source": "https://github.com/nette/robot-loader/tree/v4.1.0" + "source": "https://github.com/nette/robot-loader/tree/v4.1.1" }, - "time": "2025-08-06T18:34:21+00:00" + "time": "2026-02-08T03:51:26+00:00" }, { "name": "nette/schema", - "version": "v1.3.3", + "version": "v1.3.4", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "2befc2f42d7c715fd9d95efc31b1081e5d765004" + "reference": "086497a2f34b82fede9b5a41cc8e131d087cd8f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/2befc2f42d7c715fd9d95efc31b1081e5d765004", - "reference": "2befc2f42d7c715fd9d95efc31b1081e5d765004", + "url": "https://api.github.com/repos/nette/schema/zipball/086497a2f34b82fede9b5a41cc8e131d087cd8f7", + "reference": "086497a2f34b82fede9b5a41cc8e131d087cd8f7", "shasum": "" }, "require": { @@ -927,8 +924,8 @@ "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.5.2", - "phpstan/phpstan-nette": "^2.0@stable", + "nette/tester": "^2.6", + "phpstan/phpstan": "^2.0@stable", "tracy/tracy": "^2.8" }, "type": "library", @@ -969,22 +966,22 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.3.3" + "source": "https://github.com/nette/schema/tree/v1.3.4" }, - "time": "2025-10-30T22:57:59+00:00" + "time": "2026-02-08T02:54:00+00:00" }, { "name": "nette/utils", - "version": "v4.1.1", + "version": "v4.1.2", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "c99059c0315591f1a0db7ad6002000288ab8dc72" + "reference": "f76b5dc3d6c6d3043c8d937df2698515b99cbaf5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/c99059c0315591f1a0db7ad6002000288ab8dc72", - "reference": "c99059c0315591f1a0db7ad6002000288ab8dc72", + "url": "https://api.github.com/repos/nette/utils/zipball/f76b5dc3d6c6d3043c8d937df2698515b99cbaf5", + "reference": "f76b5dc3d6c6d3043c8d937df2698515b99cbaf5", "shasum": "" }, "require": { @@ -997,7 +994,7 @@ "require-dev": { "jetbrains/phpstorm-attributes": "^1.2", "nette/tester": "^2.5", - "phpstan/phpstan-nette": "^2.0@stable", + "phpstan/phpstan": "^2.0@stable", "tracy/tracy": "^2.9" }, "suggest": { @@ -1058,9 +1055,9 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.1.1" + "source": "https://github.com/nette/utils/tree/v4.1.2" }, - "time": "2025-12-22T12:14:32+00:00" + "time": "2026-02-03T17:21:09+00:00" }, { "name": "psr/container", @@ -1117,47 +1114,39 @@ }, { "name": "symfony/console", - "version": "v7.4.3", + "version": "v8.0.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "732a9ca6cd9dfd940c639062d5edbde2f6727fb6" + "reference": "ace03c4cf9805080ff40cbeec69fca180c339a3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/732a9ca6cd9dfd940c639062d5edbde2f6727fb6", - "reference": "732a9ca6cd9dfd940c639062d5edbde2f6727fb6", + "url": "https://api.github.com/repos/symfony/console/zipball/ace03c4cf9805080ff40cbeec69fca180c339a3b", + "reference": "ace03c4cf9805080ff40cbeec69fca180c339a3b", "shasum": "" }, "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/polyfill-mbstring": "~1.0", + "php": ">=8.4", + "symfony/polyfill-mbstring": "^1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^7.2|^8.0" - }, - "conflict": { - "symfony/dependency-injection": "<6.4", - "symfony/dotenv": "<6.4", - "symfony/event-dispatcher": "<6.4", - "symfony/lock": "<6.4", - "symfony/process": "<6.4" + "symfony/string": "^7.4|^8.0" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0|^8.0", - "symfony/dependency-injection": "^6.4|^7.0|^8.0", - "symfony/event-dispatcher": "^6.4|^7.0|^8.0", - "symfony/http-foundation": "^6.4|^7.0|^8.0", - "symfony/http-kernel": "^6.4|^7.0|^8.0", - "symfony/lock": "^6.4|^7.0|^8.0", - "symfony/messenger": "^6.4|^7.0|^8.0", - "symfony/process": "^6.4|^7.0|^8.0", - "symfony/stopwatch": "^6.4|^7.0|^8.0", - "symfony/var-dumper": "^6.4|^7.0|^8.0" + "symfony/config": "^7.4|^8.0", + "symfony/dependency-injection": "^7.4|^8.0", + "symfony/event-dispatcher": "^7.4|^8.0", + "symfony/http-foundation": "^7.4|^8.0", + "symfony/http-kernel": "^7.4|^8.0", + "symfony/lock": "^7.4|^8.0", + "symfony/messenger": "^7.4|^8.0", + "symfony/process": "^7.4|^8.0", + "symfony/stopwatch": "^7.4|^8.0", + "symfony/var-dumper": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -1191,7 +1180,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.4.3" + "source": "https://github.com/symfony/console/tree/v8.0.4" }, "funding": [ { @@ -1211,7 +1200,7 @@ "type": "tidelift" } ], - "time": "2025-12-23T14:50:43+00:00" + "time": "2026-01-13T13:06:50+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1704,35 +1693,34 @@ }, { "name": "symfony/string", - "version": "v7.4.0", + "version": "v8.0.4", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "d50e862cb0a0e0886f73ca1f31b865efbb795003" + "reference": "758b372d6882506821ed666032e43020c4f57194" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/d50e862cb0a0e0886f73ca1f31b865efbb795003", - "reference": "d50e862cb0a0e0886f73ca1f31b865efbb795003", + "url": "https://api.github.com/repos/symfony/string/zipball/758b372d6882506821ed666032e43020c4f57194", + "reference": "758b372d6882506821ed666032e43020c4f57194", "shasum": "" }, "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.33", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" + "php": ">=8.4", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-intl-grapheme": "^1.33", + "symfony/polyfill-intl-normalizer": "^1.0", + "symfony/polyfill-mbstring": "^1.0" }, "conflict": { "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/emoji": "^7.1|^8.0", - "symfony/http-client": "^6.4|^7.0|^8.0", - "symfony/intl": "^6.4|^7.0|^8.0", + "symfony/emoji": "^7.4|^8.0", + "symfony/http-client": "^7.4|^8.0", + "symfony/intl": "^7.4|^8.0", "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0|^8.0" + "symfony/var-exporter": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -1771,7 +1759,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.4.0" + "source": "https://github.com/symfony/string/tree/v8.0.4" }, "funding": [ { @@ -1791,20 +1779,20 @@ "type": "tidelift" } ], - "time": "2025-11-27T13:27:24+00:00" + "time": "2026-01-12T12:37:40+00:00" }, { "name": "tracy/tracy", - "version": "v2.11.0", + "version": "v2.11.1", "source": { "type": "git", "url": "https://github.com/nette/tracy.git", - "reference": "eec57bcf2ff11d79f519a19da9d7ae1e2c63c42e" + "reference": "c4a03c921af532b74c63edd8bf3f68a99dec7e77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/tracy/zipball/eec57bcf2ff11d79f519a19da9d7ae1e2c63c42e", - "reference": "eec57bcf2ff11d79f519a19da9d7ae1e2c63c42e", + "url": "https://api.github.com/repos/nette/tracy/zipball/c4a03c921af532b74c63edd8bf3f68a99dec7e77", + "reference": "c4a03c921af532b74c63edd8bf3f68a99dec7e77", "shasum": "" }, "require": { @@ -1820,9 +1808,9 @@ "nette/di": "^3.0", "nette/http": "^3.0", "nette/mail": "^3.0 || ^4.0", - "nette/tester": "^2.2", + "nette/tester": "^2.6", "nette/utils": "^3.0 || ^4.0", - "phpstan/phpstan-nette": "^2.0@stable", + "phpstan/phpstan": "^2.0@stable", "psr/log": "^1.0 || ^2.0 || ^3.0" }, "type": "library", @@ -1867,9 +1855,9 @@ ], "support": { "issues": "https://github.com/nette/tracy/issues", - "source": "https://github.com/nette/tracy/tree/v2.11.0" + "source": "https://github.com/nette/tracy/tree/v2.11.1" }, - "time": "2025-10-31T00:12:50+00:00" + "time": "2026-02-08T02:51:45+00:00" } ], "packages-dev": [ @@ -2259,16 +2247,16 @@ }, { "name": "nette/tester", - "version": "v2.5.7", + "version": "v2.6.0", "source": { "type": "git", "url": "https://github.com/nette/tester.git", - "reference": "dc02e7811f3491a72e87538044586cee2f483d58" + "reference": "0d416a3715ee7547f5e286aa7e65180f35467624" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/tester/zipball/dc02e7811f3491a72e87538044586cee2f483d58", - "reference": "dc02e7811f3491a72e87538044586cee2f483d58", + "url": "https://api.github.com/repos/nette/tester/zipball/0d416a3715ee7547f5e286aa7e65180f35467624", + "reference": "0d416a3715ee7547f5e286aa7e65180f35467624", "shasum": "" }, "require": { @@ -2276,7 +2264,7 @@ }, "require-dev": { "ext-simplexml": "*", - "phpstan/phpstan-nette": "^2.0@stable" + "phpstan/phpstan": "^2.0@stable" }, "bin": [ "src/tester" @@ -2284,7 +2272,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.5-dev" + "dev-master": "2.6-dev" } }, "autoload": { @@ -2331,22 +2319,22 @@ ], "support": { "issues": "https://github.com/nette/tester/issues", - "source": "https://github.com/nette/tester/tree/v2.5.7" + "source": "https://github.com/nette/tester/tree/v2.6.0" }, - "time": "2025-11-22T18:50:53+00:00" + "time": "2026-01-22T08:39:16+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "2.3.0", + "version": "2.3.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "1e0cd5370df5dd2e556a36b9c62f62e555870495" + "reference": "a004701b11273a26cd7955a61d67a7f1e525a45a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/1e0cd5370df5dd2e556a36b9c62f62e555870495", - "reference": "1e0cd5370df5dd2e556a36b9c62f62e555870495", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/a004701b11273a26cd7955a61d67a7f1e525a45a", + "reference": "a004701b11273a26cd7955a61d67a7f1e525a45a", "shasum": "" }, "require": { @@ -2378,17 +2366,17 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.2" }, - "time": "2025-08-30T15:50:23+00:00" + "time": "2026-01-25T14:56:51+00:00" }, { "name": "phpstan/phpstan", - "version": "2.1.33", + "version": "2.1.39", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9e800e6bee7d5bd02784d4c6069b48032d16224f", - "reference": "9e800e6bee7d5bd02784d4c6069b48032d16224f", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c6f73a2af4cbcd99c931d0fb8f08548cc0fa8224", + "reference": "c6f73a2af4cbcd99c931d0fb8f08548cc0fa8224", "shasum": "" }, "require": { @@ -2433,25 +2421,25 @@ "type": "github" } ], - "time": "2025-12-05T10:24:31+00:00" + "time": "2026-02-11T14:48:56+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "468e02c9176891cc901143da118f09dc9505fc2f" + "reference": "6b5571001a7f04fa0422254c30a0017ec2f2cacc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/468e02c9176891cc901143da118f09dc9505fc2f", - "reference": "468e02c9176891cc901143da118f09dc9505fc2f", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/6b5571001a7f04fa0422254c30a0017ec2f2cacc", + "reference": "6b5571001a7f04fa0422254c30a0017ec2f2cacc", "shasum": "" }, "require": { "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^2.1.15" + "phpstan/phpstan": "^2.1.39" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", @@ -2476,24 +2464,27 @@ "MIT" ], "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", + "keywords": [ + "static analysis" + ], "support": { "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/2.0.3" + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/2.0.4" }, - "time": "2025-05-14T10:56:57+00:00" + "time": "2026-02-09T13:21:14+00:00" }, { "name": "phpstan/phpstan-nette", - "version": "2.0.7", + "version": "2.0.9", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-nette.git", - "reference": "488d326408740b28c364849316ec065c13799568" + "reference": "abd2b295fac8258fb294fd5dc17c5e024c6e3c89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-nette/zipball/488d326408740b28c364849316ec065c13799568", - "reference": "488d326408740b28c364849316ec065c13799568", + "url": "https://api.github.com/repos/phpstan/phpstan-nette/zipball/abd2b295fac8258fb294fd5dc17c5e024c6e3c89", + "reference": "abd2b295fac8258fb294fd5dc17c5e024c6e3c89", "shasum": "" }, "require": { @@ -2540,27 +2531,27 @@ "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/2.0.7" + "source": "https://github.com/phpstan/phpstan-nette/tree/2.0.9" }, - "time": "2025-12-08T10:39:26+00:00" + "time": "2026-02-11T12:41:39+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "2.0.7", + "version": "2.0.10", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "d6211c46213d4181054b3d77b10a5c5cb0d59538" + "reference": "1aba28b697c1e3b6bbec8a1725f8b11b6d3e5a5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/d6211c46213d4181054b3d77b10a5c5cb0d59538", - "reference": "d6211c46213d4181054b3d77b10a5c5cb0d59538", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/1aba28b697c1e3b6bbec8a1725f8b11b6d3e5a5f", + "reference": "1aba28b697c1e3b6bbec8a1725f8b11b6d3e5a5f", "shasum": "" }, "require": { "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^2.1.29" + "phpstan/phpstan": "^2.1.39" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", @@ -2586,11 +2577,14 @@ "MIT" ], "description": "Extra strict and opinionated rules for PHPStan", + "keywords": [ + "static analysis" + ], "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.7" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.10" }, - "time": "2025-09-26T11:19:08+00:00" + "time": "2026-02-11T14:17:32+00:00" }, { "name": "slevomat/coding-standard", @@ -2739,12 +2733,12 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=8.2" + "php": ">=8.4" }, - "platform-dev": {}, + "platform-dev": [], "plugin-api-version": "2.6.0" } diff --git a/phpstan.neon b/phpstan.neon index 75a5435..a1787d6 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,7 +3,7 @@ includes: parameters: level: 9 - phpVersion: 80100 + phpVersion: 80400 tmpDir: %currentWorkingDirectory%/var/tmp/phpstan diff --git a/ruleset.xml b/ruleset.xml index 66ded9d..bf192db 100644 --- a/ruleset.xml +++ b/ruleset.xml @@ -2,7 +2,7 @@ - +