diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f6e9047..28045a2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,13 +23,13 @@ jobs: strategy: matrix: - php-versions: [ "8.0" ] + php-versions: [ "8.4" ] operating-system: [ "ubuntu-latest" ] fail-fast: false steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Setup PHP cache environment" id: "extcache" @@ -40,7 +40,7 @@ jobs: key: "${{ env.cacheVersion }}" - name: "Cache PHP extensions" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: "${{ steps.extcache.outputs.dir }}" key: "${{ steps.extcache.outputs.key }}" @@ -58,10 +58,10 @@ jobs: - name: "Get Composer cache directory" id: "composercache" - run: 'echo "::set-output name=dir::$(composer config cache-files-dir)"' + run: 'echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"' - name: "Cache PHP dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: "${{ steps.composercache.outputs.dir }}" key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}" @@ -82,13 +82,13 @@ jobs: strategy: matrix: - php-versions: [ "8.0" ] + php-versions: [ "8.4" ] operating-system: [ "ubuntu-latest" ] fail-fast: false steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Setup PHP cache environment" id: "extcache" @@ -99,7 +99,7 @@ jobs: key: "${{ env.cacheVersion }}" - name: "Cache PHP extensions" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: "${{ steps.extcache.outputs.dir }}" key: "${{ steps.extcache.outputs.key }}" @@ -117,10 +117,10 @@ jobs: - name: "Get Composer cache directory" id: "composercache" - run: 'echo "::set-output name=dir::$(composer config cache-files-dir)"' + run: 'echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"' - name: "Cache PHP dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: "${{ steps.composercache.outputs.dir }}" key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}" @@ -138,13 +138,13 @@ jobs: strategy: matrix: - php-versions: [ "8.0" ] + php-versions: [ "8.4" ] operating-system: [ "ubuntu-latest" ] fail-fast: false steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Setup PHP cache environment" id: "extcache" @@ -155,7 +155,7 @@ jobs: key: "${{ env.cacheVersion }}" - name: "Cache PHP extensions" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: "${{ steps.extcache.outputs.dir }}" key: "${{ steps.extcache.outputs.key }}" @@ -173,10 +173,10 @@ jobs: - name: "Get Composer cache directory" id: "composercache" - run: 'echo "::set-output name=dir::$(composer config cache-files-dir)"' + run: 'echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"' - name: "Cache PHP dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: "${{ steps.composercache.outputs.dir }}" key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}" diff --git a/README.md b/README.md index 6f969c5..22013c7 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ https://examples.contributte.org/micro-skeleton/ ## Installation -You will need `PHP 8.0+` and [Composer](https://getcomposer.org/). +You will need `PHP 8.4+` and [Composer](https://getcomposer.org/). Create project using composer. diff --git a/app/model/ControlRenderer.php b/app/model/ControlRenderer.php index 1b602dd..39b0e79 100644 --- a/app/model/ControlRenderer.php +++ b/app/model/ControlRenderer.php @@ -10,11 +10,10 @@ final class ControlRenderer extends Control { - /** @var Container */ - private $context; + private Container $context; /** @var string[] */ - private $mapping = []; + private array $mapping = []; public function __construct(Container $context) { @@ -26,22 +25,17 @@ public function addMapping(string $name, string $class): void $this->mapping[$name] = $class; } - protected function createComponent(string $name): ?IComponent - { - if (isset($this->mapping[$name])) { - return $this->context->getByType($this->mapping[$name]); - } else { - return parent::createComponent($name); - - } - } - /** * @param mixed[] $args */ - public function link(string $destination, $args = []): string + public function link(string $destination, array $args = []): string { return $this->context->getByType(LinkGenerator::class)->link($destination, $args); } + protected function createComponent(string $name): ?IComponent + { + return isset($this->mapping[$name]) ? $this->context->getByType($this->mapping[$name]) : parent::createComponent($name); + } + } diff --git a/app/model/MicroPresenter.php b/app/model/MicroPresenter.php index 3258655..14e8a78 100644 --- a/app/model/MicroPresenter.php +++ b/app/model/MicroPresenter.php @@ -28,20 +28,15 @@ final class MicroPresenter extends Component implements IPresenter use SmartObject; - /** @var Container */ - private $context; + private Container $context; - /** @var IHttpRequest */ - private $httpRequest; + private IHttpRequest $httpRequest; - /** @var Router */ - private $router; + private Router $router; - /** @var Request */ - private $request; + private Request $request; - /** @var ControlRenderer */ - private $controlRenderer; + private ?ControlRenderer $controlRenderer = null; public function __construct(Container $context, IHttpRequest $httpRequest, Router $router) { @@ -60,21 +55,6 @@ public function getRequest(): Request return $this->request; } - protected function getTemplateFactory(): TemplateFactory - { - return $this->getContext()->getByType(TemplateFactory::class); - } - - protected function getControlRenderer(): ControlRenderer - { - if (!$this->controlRenderer) { - $this->controlRenderer = $this->getContext()->getByType(ControlRenderer::class); - $this->controlRenderer->setParent($this); - } - - return $this->controlRenderer; - } - public function run(Request $request): Response { $this->request = $request; @@ -162,10 +142,24 @@ public function redirectUrl(string $url, int $httpCode = IHttpResponse::S302_FOU return new RedirectResponse($url, $httpCode); } - public function error(string $message = '', int $httpCode = IHttpResponse::S404_NOT_FOUND): void { throw new BadRequestException($message, $httpCode); } + protected function getTemplateFactory(): TemplateFactory + { + return $this->getContext()->getByType(TemplateFactory::class); + } + + protected function getControlRenderer(): ControlRenderer + { + if ($this->controlRenderer === null) { + $this->controlRenderer = $this->getContext()->getByType(ControlRenderer::class); + $this->controlRenderer->setParent($this); + } + + return $this->controlRenderer; + } + } diff --git a/composer.json b/composer.json index 50eb9c5..169d903 100644 --- a/composer.json +++ b/composer.json @@ -13,21 +13,20 @@ "license": "MIT", "type": "project", "require": { - "php": ">=8.0", + "php": ">=8.4", - "contributte/bootstrap": "^0.6.0", - "contributte/di": "^0.5.0", - "contributte/application": "^0.5.0", + "contributte/bootstrap": "^0.7.0", + "contributte/di": "^0.6.0", + "contributte/application": "^0.6.0", "contributte/forms": "^0.5.0", - "contributte/http": "^0.4.0", - "contributte/utils": "^0.6.0", - "contributte/latte": "^0.6.0", - "contributte/tracy": "^0.5.0" + "contributte/http": "^0.5.0", + "contributte/utils": "^0.7.0", + "contributte/latte": "^0.7.0", + "contributte/tracy": "^0.7.0" }, "require-dev": { - "ninjify/qa": "^0.13", - "ninjify/nunjuck": "^0.4", - "contributte/dev": "^0.3" + "contributte/qa": "^0.4", + "contributte/dev": "^0.6" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index aadf9e9..b252a41 100644 --- a/composer.lock +++ b/composer.lock @@ -4,41 +4,41 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8bc6d36dfaf71abb891941c26c18a784", + "content-hash": "fbd94670741239252f266ab9d46098b4", "packages": [ { "name": "contributte/application", - "version": "v0.5.2", + "version": "v0.6.2", "source": { "type": "git", "url": "https://github.com/contributte/application.git", - "reference": "f5f8637bd54eacd1cc45792f23bb8831873ddb35" + "reference": "c8374c5e67f7f9dee5b29df69cc4dc6ea11937f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/application/zipball/f5f8637bd54eacd1cc45792f23bb8831873ddb35", - "reference": "f5f8637bd54eacd1cc45792f23bb8831873ddb35", + "url": "https://api.github.com/repos/contributte/application/zipball/c8374c5e67f7f9dee5b29df69cc4dc6ea11937f3", + "reference": "c8374c5e67f7f9dee5b29df69cc4dc6ea11937f3", "shasum": "" }, "require": { - "nette/application": "^3.0.0 || ^4.0", - "php": ">=7.2" + "nette/application": "^3.2.6 || ^4.0.0", + "php": ">=8.2" + }, + "conflict": { + "nette/application": "<3.2.6" }, "require-dev": { - "nette/http": "~2.4.8 || ^3.0.0", - "ninjify/nunjuck": "^0.3.0", - "ninjify/qa": "^0.13.0", - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-nette": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "psr/http-message": "~1.0.1", - "tracy/tracy": "~2.9.1" + "contributte/phpstan": "^0.2.0", + "contributte/qa": "^0.4.0", + "contributte/tester": "^0.4.0", + "nette/http": "^3.3.2 || ^4.0.0", + "psr/http-message": "^1.0.1 || ^2.0.0", + "tracy/tracy": "^2.9.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.6.x-dev" + "dev-master": "0.7.x-dev" } }, "autoload": { @@ -67,7 +67,7 @@ ], "support": { "issues": "https://github.com/contributte/application/issues", - "source": "https://github.com/contributte/application/tree/v0.5.2" + "source": "https://github.com/contributte/application/tree/v0.6.2" }, "funding": [ { @@ -79,39 +79,36 @@ "type": "github" } ], - "time": "2023-09-27T20:32:37+00:00" + "time": "2025-12-25T19:54:13+00:00" }, { "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": { @@ -139,7 +136,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": [ { @@ -151,44 +148,41 @@ "type": "github" } ], - "time": "2023-04-24T20:25:44+00:00" + "time": "2025-12-29T16:48:41+00:00" }, { "name": "contributte/di", - "version": "v0.5.6", + "version": "v0.6.0", "source": { "type": "git", "url": "https://github.com/contributte/di.git", - "reference": "49d6b93d46f57be319b1e811cd983bfed0c90979" + "reference": "6ca99e742d2b243ed3bb813bfa6157f596f00a93" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/di/zipball/49d6b93d46f57be319b1e811cd983bfed0c90979", - "reference": "49d6b93d46f57be319b1e811cd983bfed0c90979", + "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": ">=7.2" + "php": ">=8.2" }, "conflict": { "nette/schema": "<1.1.0" }, "require-dev": { + "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", - "ninjify/nunjuck": "^0.4", - "ninjify/qa": "^0.13", - "phpstan/phpstan": "^1.9.11", - "phpstan/phpstan-deprecation-rules": "^1.1.1", - "phpstan/phpstan-nette": "^1.2.0", - "phpstan/phpstan-strict-rules": "^1.4.5" + "nette/robot-loader": "^3.4.2 || ^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.6.x-dev" + "dev-master": "0.7.x-dev" } }, "autoload": { @@ -215,7 +209,7 @@ ], "support": { "issues": "https://github.com/contributte/di/issues", - "source": "https://github.com/contributte/di/tree/v0.5.6" + "source": "https://github.com/contributte/di/tree/v0.6.0" }, "funding": [ { @@ -227,20 +221,20 @@ "type": "github" } ], - "time": "2023-09-05T08:23:55+00:00" + "time": "2025-12-25T19:28:24+00:00" }, { "name": "contributte/forms", - "version": "v0.5.1", + "version": "v0.5.3", "source": { "type": "git", "url": "https://github.com/contributte/forms.git", - "reference": "c7ac26b456ff2958ea207c43be6515ad1154dcea" + "reference": "8790c37e2efab65fa95d73a7156e034e9701e455" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/forms/zipball/c7ac26b456ff2958ea207c43be6515ad1154dcea", - "reference": "c7ac26b456ff2958ea207c43be6515ad1154dcea", + "url": "https://api.github.com/repos/contributte/forms/zipball/8790c37e2efab65fa95d73a7156e034e9701e455", + "reference": "8790c37e2efab65fa95d73a7156e034e9701e455", "shasum": "" }, "require": { @@ -297,7 +291,7 @@ ], "support": { "issues": "https://github.com/contributte/forms/issues", - "source": "https://github.com/contributte/forms/tree/v0.5.1" + "source": "https://github.com/contributte/forms/tree/v0.5.3" }, "funding": [ { @@ -309,35 +303,32 @@ "type": "github" } ], - "time": "2022-11-13T17:22:04+00:00" + "time": "2025-10-20T17:29:51+00:00" }, { "name": "contributte/http", - "version": "v0.4.1", + "version": "v0.5.0", "source": { "type": "git", "url": "https://github.com/contributte/http.git", - "reference": "3f926d0e0ec0807e68714149df55ae0e8e4888a4" + "reference": "a3ee1a4bba9e145f423817f82ee4543d066eaeb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/http/zipball/3f926d0e0ec0807e68714149df55ae0e8e4888a4", - "reference": "3f926d0e0ec0807e68714149df55ae0e8e4888a4", + "url": "https://api.github.com/repos/contributte/http/zipball/a3ee1a4bba9e145f423817f82ee4543d066eaeb0", + "reference": "a3ee1a4bba9e145f423817f82ee4543d066eaeb0", "shasum": "" }, "require": { - "nette/http": "^3.0.1", - "php": ">=7.2" + "nette/http": "^3.3", + "php": ">=8.2" }, "require-dev": { - "nette/di": "^3.0.0", + "contributte/phpstan": "^0.1", + "contributte/qa": "^0.4", + "nette/di": "^3.2", "ninjify/nunjuck": "^0.4", - "ninjify/qa": "^0.12", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-deprecation-rules": "^0.12", - "phpstan/phpstan-nette": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "tracy/tracy": "^2.5.1" + "tracy/tracy": "^2.10" }, "suggest": { "nette/di": "to use CompilerExtensions" @@ -345,7 +336,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "0.5.x-dev" + "dev-master": "0.6.x-dev" } }, "autoload": { @@ -375,7 +366,7 @@ ], "support": { "issues": "https://github.com/contributte/http/issues", - "source": "https://github.com/contributte/http/tree/v0.4.1" + "source": "https://github.com/contributte/http/tree/v0.5.0" }, "funding": [ { @@ -387,34 +378,35 @@ "type": "github" } ], - "time": "2021-03-12T22:31:30+00:00" + "time": "2025-12-25T19:12:08+00:00" }, { "name": "contributte/latte", - "version": "v0.6.0", + "version": "v0.7.0", "source": { "type": "git", "url": "https://github.com/contributte/latte.git", - "reference": "f558925e5b9e29e669f242fdfd3dcb520652b9c3" + "reference": "ccbacbaa5e718ae2e7632e218ba28b868642c5c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/latte/zipball/f558925e5b9e29e669f242fdfd3dcb520652b9c3", - "reference": "f558925e5b9e29e669f242fdfd3dcb520652b9c3", + "url": "https://api.github.com/repos/contributte/latte/zipball/ccbacbaa5e718ae2e7632e218ba28b868642c5c4", + "reference": "ccbacbaa5e718ae2e7632e218ba28b868642c5c4", "shasum": "" }, "require": { - "latte/latte": "^3.0.12", - "php": ">=8.1" + "latte/latte": "^3.1.0", + "php": ">=8.2" }, "require-dev": { "contributte/phpstan": "^0.1", "contributte/qa": "^0.4", - "contributte/tester": "^0.4", + "contributte/tester": "^0.3", "nette/application": "^3.1.14", "nette/di": "^3.0.17" }, "suggest": { + "erusev/parsedown-extra": "to use ParsedownExtension[CompilerExtension]", "nette/di": "to use VersionExtension[CompilerExtension]" }, "type": "library", @@ -447,7 +439,7 @@ ], "support": { "issues": "https://github.com/contributte/latte/issues", - "source": "https://github.com/contributte/latte/tree/v0.6.0" + "source": "https://github.com/contributte/latte/tree/v0.7.0" }, "funding": [ { @@ -459,44 +451,40 @@ "type": "github" } ], - "time": "2023-12-12T19:43:05+00:00" + "time": "2025-12-28T15:15:52+00:00" }, { "name": "contributte/tracy", - "version": "v0.5.1", + "version": "v0.7.0", "source": { "type": "git", "url": "https://github.com/contributte/tracy.git", - "reference": "eefc7596f348145c23ce81653b89a68b79653e67" + "reference": "372c112941593671712df16c89cce629618f80e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/tracy/zipball/eefc7596f348145c23ce81653b89a68b79653e67", - "reference": "eefc7596f348145c23ce81653b89a68b79653e67", + "url": "https://api.github.com/repos/contributte/tracy/zipball/372c112941593671712df16c89cce629618f80e8", + "reference": "372c112941593671712df16c89cce629618f80e8", "shasum": "" }, "require": { - "php": ">=7.2", - "tracy/tracy": "^2.7.0" + "php": ">=8.2", + "tracy/tracy": "^2.9.0" }, "conflict": { - "nette/di": "<3.0.0" + "nette/di": "<3.1.0" }, "require-dev": { - "nette/application": "~3.0.0", - "nette/di": "~3.0.0", - "nette/http": "~3.0.1", - "ninjify/nunjuck": "^0.4", - "ninjify/qa": "^0.12", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-deprecation-rules": "^0.12", - "phpstan/phpstan-nette": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12" + "contributte/phpstan": "^0.1.0", + "contributte/qa": "^0.4.0", + "contributte/tester": "^0.3.0", + "mockery/mockery": "^1.5.0", + "nette/di": "^3.1.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.6.x-dev" + "dev-master": "0.7.x-dev" } }, "autoload": { @@ -512,13 +500,9 @@ { "name": "Milan Felix Šulc", "homepage": "https://f3l1x.io" - }, - { - "name": "Marek Bartoš", - "homepage": "https://marek-bartos.cz" } ], - "description": "Tuned Tracy Bars/Panels/BlueScreens for easy-developing", + "description": "Nette Tracy extensions for easy-developing", "homepage": "https://github.com/contributte/tracy", "keywords": [ "bluescreen", @@ -530,39 +514,47 @@ ], "support": { "issues": "https://github.com/contributte/tracy/issues", - "source": "https://github.com/contributte/tracy/tree/v0.5.1" + "source": "https://github.com/contributte/tracy/tree/v0.7.0" }, - "time": "2020-12-19T17:38:47+00:00" + "funding": [ + { + "url": "https://contributte.org/partners.html", + "type": "custom" + }, + { + "url": "https://github.com/f3l1x", + "type": "github" + } + ], + "time": "2025-12-30T17:51:52+00:00" }, { "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]" @@ -570,7 +562,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "0.6.x-dev" + "dev-master": "0.7.x-dev" } }, "autoload": { @@ -599,7 +591,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": [ { @@ -611,41 +603,42 @@ "type": "github" } ], - "time": "2023-04-25T12:54:31+00:00" + "time": "2023-11-17T11:06:47+00:00" }, { "name": "latte/latte", - "version": "v3.0.16", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/nette/latte.git", - "reference": "0984953d961123075e95a9fa33ec4c4f4de266d2" + "reference": "cb98e705eeb0fd18f1f1c5cfe1a5f6217f9fa8b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/latte/zipball/0984953d961123075e95a9fa33ec4c4f4de266d2", - "reference": "0984953d961123075e95a9fa33ec4c4f4de266d2", + "url": "https://api.github.com/repos/nette/latte/zipball/cb98e705eeb0fd18f1f1c5cfe1a5f6217f9fa8b3", + "reference": "cb98e705eeb0fd18f1f1c5cfe1a5f6217f9fa8b3", "shasum": "" }, "require": { "ext-json": "*", "ext-tokenizer": "*", - "php": "8.0 - 8.3" + "php": "8.2 - 8.5" }, "conflict": { "nette/application": "<3.1.7", "nette/caching": "<3.1.4" }, "require-dev": { - "nette/php-generator": "^3.6 || ^4.0", - "nette/tester": "^2.0", - "nette/utils": "^3.0", - "phpstan/phpstan": "^1", - "tracy/tracy": "^2.3" + "nette/php-generator": "^4.0", + "nette/tester": "^2.5", + "nette/utils": "^4.0", + "phpstan/phpstan-nette": "^2.0@stable", + "tracy/tracy": "^2.10" }, "suggest": { "ext-fileinfo": "to use filter |datastream", "ext-iconv": "to use filters |reverse, |substring", + "ext-intl": "to use Latte\\Engine::setLocale()", "ext-mbstring": "to use filters like lower, upper, capitalize, ...", "nette/php-generator": "to use tag {templatePrint}", "nette/utils": "to use filter |webalize" @@ -656,10 +649,13 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { + "psr-4": { + "Latte\\": "src/Latte" + }, "classmap": [ "src/" ] @@ -694,50 +690,50 @@ ], "support": { "issues": "https://github.com/nette/latte/issues", - "source": "https://github.com/nette/latte/tree/v3.0.16" + "source": "https://github.com/nette/latte/tree/v3.1.1" }, - "time": "2024-05-14T09:54:10+00:00" + "time": "2025-12-18T22:30:40+00:00" }, { "name": "nette/application", - "version": "v3.1.13", + "version": "v3.2.9", "source": { "type": "git", "url": "https://github.com/nette/application.git", - "reference": "83f5144840a1aa38eb7bae58ce58a9d0c5f10177" + "reference": "11d9d6fc53d579a3516c1574c707a5de281bc0a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/application/zipball/83f5144840a1aa38eb7bae58ce58a9d0c5f10177", - "reference": "83f5144840a1aa38eb7bae58ce58a9d0c5f10177", + "url": "https://api.github.com/repos/nette/application/zipball/11d9d6fc53d579a3516c1574c707a5de281bc0a0", + "reference": "11d9d6fc53d579a3516c1574c707a5de281bc0a0", "shasum": "" }, "require": { - "nette/component-model": "^3.0", - "nette/http": "^3.0.2", - "nette/routing": "^3.0.2", - "nette/utils": "^3.2.1 || ~4.0.0", - "php": ">=7.2" + "nette/component-model": "^3.1", + "nette/http": "^3.3.2", + "nette/routing": "^3.1.1", + "nette/utils": "^4.0", + "php": "8.1 - 8.5" }, "conflict": { - "latte/latte": "<2.7.1 || >=3.0.0 <3.0.8 || >=3.1", - "nette/caching": "<3.1", - "nette/di": "<3.0.7", - "nette/forms": "<3.0", - "nette/schema": "<1.2", - "tracy/tracy": "<2.5" + "latte/latte": "<2.7.1 || >=3.0.0 <3.0.18 || >=3.2", + "nette/caching": "<3.2", + "nette/di": "<3.2", + "nette/forms": "<3.2", + "nette/schema": "<1.3", + "tracy/tracy": "<2.9" }, "require-dev": { - "jetbrains/phpstorm-attributes": "dev-master", - "latte/latte": "^2.10.2 || ^3.0.3", - "mockery/mockery": "^1.0", - "nette/di": "^v3.0", - "nette/forms": "^3.0", - "nette/robot-loader": "^3.2", - "nette/security": "^3.0", - "nette/tester": "^2.3.1", - "phpstan/phpstan-nette": "^0.12", - "tracy/tracy": "^2.6" + "jetbrains/phpstorm-attributes": "^1.2", + "latte/latte": "^2.10.2 || ^3.0.18", + "mockery/mockery": "^1.6@stable", + "nette/di": "^3.2", + "nette/forms": "^3.2", + "nette/robot-loader": "^4.0", + "nette/security": "^3.2", + "nette/tester": "^2.5.2", + "phpstan/phpstan-nette": "^2.0@stable", + "tracy/tracy": "^2.9" }, "suggest": { "latte/latte": "Allows using Latte in templates", @@ -746,10 +742,13 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -786,45 +785,45 @@ ], "support": { "issues": "https://github.com/nette/application/issues", - "source": "https://github.com/nette/application/tree/v3.1.13" + "source": "https://github.com/nette/application/tree/v3.2.9" }, - "time": "2023-08-27T10:38:40+00:00" + "time": "2025-12-19T11:39:00+00:00" }, { "name": "nette/bootstrap", - "version": "v3.2.0", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/nette/bootstrap.git", - "reference": "7fde23cc8a8cf97d545baf0ad7f8cd47c73feb17" + "reference": "10fdb1cb05497da39396f2ce1785cea67c8aa439" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/bootstrap/zipball/7fde23cc8a8cf97d545baf0ad7f8cd47c73feb17", - "reference": "7fde23cc8a8cf97d545baf0ad7f8cd47c73feb17", + "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" }, "require-dev": { - "latte/latte": "^2.8", + "latte/latte": "^2.8 || ^3.0", "nette/application": "^3.1", "nette/caching": "^3.0", "nette/database": "^3.0", "nette/forms": "^3.0", "nette/http": "^3.0", - "nette/mail": "^3.0", - "nette/robot-loader": "^3.0", + "nette/mail": "^3.0 || ^4.0", + "nette/robot-loader": "^3.0 || ^4.0", "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": { @@ -838,6 +837,9 @@ } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -867,40 +869,43 @@ ], "support": { "issues": "https://github.com/nette/bootstrap/issues", - "source": "https://github.com/nette/bootstrap/tree/v3.2.0" + "source": "https://github.com/nette/bootstrap/tree/v3.2.7" }, - "time": "2023-01-13T04:09:35+00:00" + "time": "2025-08-01T02:02:03+00:00" }, { "name": "nette/component-model", - "version": "v3.0.3", + "version": "v3.1.3", "source": { "type": "git", "url": "https://github.com/nette/component-model.git", - "reference": "9d97c0e1916bbf8e306283ab187834501fd4b1f5" + "reference": "0d100ba05279a1f4b20acecaa617027fbda8ecb2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/component-model/zipball/9d97c0e1916bbf8e306283ab187834501fd4b1f5", - "reference": "9d97c0e1916bbf8e306283ab187834501fd4b1f5", + "url": "https://api.github.com/repos/nette/component-model/zipball/0d100ba05279a1f4b20acecaa617027fbda8ecb2", + "reference": "0d100ba05279a1f4b20acecaa617027fbda8ecb2", "shasum": "" }, "require": { - "nette/utils": "^2.5 || ^3.0 || ~4.0.0", - "php": ">=7.1" + "nette/utils": "^4.0", + "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "nette/tester": "^2.5", + "phpstan/phpstan-nette": "^2.0@stable", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -929,45 +934,49 @@ ], "support": { "issues": "https://github.com/nette/component-model/issues", - "source": "https://github.com/nette/component-model/tree/v3.0.3" + "source": "https://github.com/nette/component-model/tree/v3.1.3" }, - "time": "2023-01-09T20:16:05+00:00" + "time": "2025-11-22T18:56:33+00:00" }, { "name": "nette/di", - "version": "v3.1.3", + "version": "v3.2.5", "source": { "type": "git", "url": "https://github.com/nette/di.git", - "reference": "a58a11eb6c1acbeb878d36efa614b301c87fbb95" + "reference": "5708c328ce7658a73c96b14dd6da7b8b27bf220f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/di/zipball/a58a11eb6c1acbeb878d36efa614b301c87fbb95", - "reference": "a58a11eb6c1acbeb878d36efa614b301c87fbb95", + "url": "https://api.github.com/repos/nette/di/zipball/5708c328ce7658a73c96b14dd6da7b8b27bf220f", + "reference": "5708c328ce7658a73c96b14dd6da7b8b27bf220f", "shasum": "" }, "require": { + "ext-ctype": "*", "ext-tokenizer": "*", - "nette/neon": "^3.3 || ^4.0", - "nette/php-generator": "^3.5.4 || ^4.0", - "nette/robot-loader": "^3.2 || ~4.0.0", - "nette/schema": "^1.2", - "nette/utils": "^3.2.5 || ~4.0.0", - "php": "7.2 - 8.3" + "nette/neon": "^3.3", + "nette/php-generator": "^4.1.6", + "nette/robot-loader": "^4.0", + "nette/schema": "^1.2.5", + "nette/utils": "^4.0", + "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.4", - "phpstan/phpstan": "^1.0", + "nette/tester": "^2.5.2", + "phpstan/phpstan-nette": "^2.0@stable", "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1001,115 +1010,54 @@ ], "support": { "issues": "https://github.com/nette/di/issues", - "source": "https://github.com/nette/di/tree/v3.1.3" - }, - "time": "2023-08-05T19:10:42+00:00" - }, - { - "name": "nette/finder", - "version": "v2.6.0", - "source": { - "type": "git", - "url": "https://github.com/nette/finder.git", - "reference": "991aefb42860abeab8e003970c3809a9d83cb932" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/finder/zipball/991aefb42860abeab8e003970c3809a9d83cb932", - "reference": "991aefb42860abeab8e003970c3809a9d83cb932", - "shasum": "" - }, - "require": { - "nette/utils": "^2.4 || ^3.0", - "php": ">=7.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "🔍 Nette Finder: find files and directories with an intuitive API.", - "homepage": "https://nette.org", - "keywords": [ - "filesystem", - "glob", - "iterator", - "nette" - ], - "support": { - "issues": "https://github.com/nette/finder/issues", - "source": "https://github.com/nette/finder/tree/v2.6.0" + "source": "https://github.com/nette/di/tree/v3.2.5" }, - "time": "2022-10-13T01:31:15+00:00" + "time": "2025-08-14T22:59:46+00:00" }, { "name": "nette/forms", - "version": "v3.1.10", + "version": "v3.2.8", "source": { "type": "git", "url": "https://github.com/nette/forms.git", - "reference": "12b4c12e9d65a4c97e10a37cee88fdd14db780b7" + "reference": "3bbf691ea0eb50d9594c2109d9252f267092b91f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/forms/zipball/12b4c12e9d65a4c97e10a37cee88fdd14db780b7", - "reference": "12b4c12e9d65a4c97e10a37cee88fdd14db780b7", + "url": "https://api.github.com/repos/nette/forms/zipball/3bbf691ea0eb50d9594c2109d9252f267092b91f", + "reference": "3bbf691ea0eb50d9594c2109d9252f267092b91f", "shasum": "" }, "require": { - "nette/component-model": "^3.0", - "nette/http": "^3.1", - "nette/utils": "^3.2.5 || ~4.0.0", - "php": ">=7.2 <8.3" + "nette/component-model": "^3.1", + "nette/http": "^3.3", + "nette/utils": "^4.0.4", + "php": "8.1 - 8.5" }, "conflict": { - "latte/latte": ">=3.1" + "latte/latte": ">=3.0.0 <3.0.12 || >=3.2" }, "require-dev": { - "latte/latte": "^2.10.2 || ^3.0.3", + "latte/latte": "^2.10.2 || ^3.0.12", "nette/application": "^3.0", "nette/di": "^3.0", - "nette/tester": "^2.4", - "phpstan/phpstan-nette": "^1", + "nette/tester": "^2.5.2", + "phpstan/phpstan-nette": "^2.0@stable", "tracy/tracy": "^2.9" }, + "suggest": { + "ext-intl": "to use date/time controls" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1142,27 +1090,27 @@ ], "support": { "issues": "https://github.com/nette/forms/issues", - "source": "https://github.com/nette/forms/tree/v3.1.10" + "source": "https://github.com/nette/forms/tree/v3.2.8" }, - "time": "2023-01-19T14:37:56+00:00" + "time": "2025-11-22T19:36:34+00:00" }, { "name": "nette/http", - "version": "v3.2.2", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/nette/http.git", - "reference": "9105c26de3dd47da5e7cf6b4132b5d871f835e25" + "reference": "c557f21c8cedd621dbfd7990752b1d55ef353f1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/http/zipball/9105c26de3dd47da5e7cf6b4132b5d871f835e25", - "reference": "9105c26de3dd47da5e7cf6b4132b5d871f835e25", + "url": "https://api.github.com/repos/nette/http/zipball/c557f21c8cedd621dbfd7990752b1d55ef353f1d", + "reference": "c557f21c8cedd621dbfd7990752b1d55ef353f1d", "shasum": "" }, "require": { - "nette/utils": "^3.2.1 || ~4.0.0", - "php": ">=7.2 <8.3" + "nette/utils": "^4.0.4", + "php": "8.1 - 8.5" }, "conflict": { "nette/di": "<3.0.3", @@ -1172,19 +1120,25 @@ "nette/di": "^3.0", "nette/security": "^3.0", "nette/tester": "^2.4", - "phpstan/phpstan": "^1.0", + "phpstan/phpstan-nette": "^2.0@stable", "tracy/tracy": "^2.8" }, "suggest": { - "ext-fileinfo": "to detect type of uploaded files" + "ext-fileinfo": "to detect MIME type of uploaded files by Nette\\Http\\FileUpload", + "ext-gd": "to use image function in Nette\\Http\\FileUpload", + "ext-intl": "to support punycode by Nette\\Http\\Url", + "ext-session": "to use Nette\\Http\\Session" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1220,31 +1174,31 @@ ], "support": { "issues": "https://github.com/nette/http/issues", - "source": "https://github.com/nette/http/tree/v3.2.2" + "source": "https://github.com/nette/http/tree/v3.3.3" }, - "time": "2023-03-18T14:55:56+00:00" + "time": "2025-10-30T22:32:24+00:00" }, { "name": "nette/neon", - "version": "v3.4.0", + "version": "v3.4.7", "source": { "type": "git", "url": "https://github.com/nette/neon.git", - "reference": "372d945c156ee7f35c953339fb164538339e6283" + "reference": "cc96bf5264d721d0c102bb976272d3d001a23e65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/neon/zipball/372d945c156ee7f35c953339fb164538339e6283", - "reference": "372d945c156ee7f35c953339fb164538339e6283", + "url": "https://api.github.com/repos/nette/neon/zipball/cc96bf5264d721d0c102bb976272d3d001a23e65", + "reference": "cc96bf5264d721d0c102bb976272d3d001a23e65", "shasum": "" }, "require": { "ext-json": "*", - "php": ">=8.0 <8.3" + "php": "8.0 - 8.5" }, "require-dev": { "nette/tester": "^2.4", - "phpstan/phpstan": "^1.0", + "phpstan/phpstan-nette": "^2.0@stable", "tracy/tracy": "^2.7" }, "bin": [ @@ -1257,6 +1211,9 @@ } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1278,7 +1235,7 @@ } ], "description": "🍸 Nette NEON: encodes and decodes NEON file format.", - "homepage": "https://ne-on.org", + "homepage": "https://neon.nette.org", "keywords": [ "export", "import", @@ -1288,33 +1245,33 @@ ], "support": { "issues": "https://github.com/nette/neon/issues", - "source": "https://github.com/nette/neon/tree/v3.4.0" + "source": "https://github.com/nette/neon/tree/v3.4.7" }, - "time": "2023-01-13T03:08:29+00:00" + "time": "2026-01-04T08:39:50+00:00" }, { "name": "nette/php-generator", - "version": "v4.0.9", + "version": "v4.2.1", "source": { "type": "git", "url": "https://github.com/nette/php-generator.git", - "reference": "72cf9e20686904678d9c1de664c6f7a8c9d676ed" + "reference": "52aff4d9b12f20ca9f3e31a559b646d2fd21dd61" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/php-generator/zipball/72cf9e20686904678d9c1de664c6f7a8c9d676ed", - "reference": "72cf9e20686904678d9c1de664c6f7a8c9d676ed", + "url": "https://api.github.com/repos/nette/php-generator/zipball/52aff4d9b12f20ca9f3e31a559b646d2fd21dd61", + "reference": "52aff4d9b12f20ca9f3e31a559b646d2fd21dd61", "shasum": "" }, "require": { - "nette/utils": "^3.2.9 || ^4.0", - "php": "8.0 - 8.3" + "nette/utils": "^4.0.6", + "php": "8.1 - 8.5" }, "require-dev": { - "jetbrains/phpstorm-attributes": "dev-master", - "nette/tester": "^2.4", - "nikic/php-parser": "^4.15", - "phpstan/phpstan": "^1.0", + "jetbrains/phpstorm-attributes": "^1.2", + "nette/tester": "^2.6", + "nikic/php-parser": "^5.0", + "phpstan/phpstan": "^2.0@stable", "tracy/tracy": "^2.8" }, "suggest": { @@ -1323,10 +1280,13 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "4.2-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1347,7 +1307,7 @@ "homepage": "https://nette.org/contributors" } ], - "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.3 features.", + "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.", "homepage": "https://nette.org", "keywords": [ "code", @@ -1357,42 +1317,44 @@ ], "support": { "issues": "https://github.com/nette/php-generator/issues", - "source": "https://github.com/nette/php-generator/tree/v4.0.9" + "source": "https://github.com/nette/php-generator/tree/v4.2.1" }, - "time": "2023-08-29T19:09:26+00:00" + "time": "2026-02-09T05:43:31+00:00" }, { "name": "nette/robot-loader", - "version": "v3.4.2", + "version": "v4.1.1", "source": { "type": "git", "url": "https://github.com/nette/robot-loader.git", - "reference": "970c8f82be98ec54180c88a468cd2b057855d993" + "reference": "fb255f5da2676d58863bef1716baf52993c7ffec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/robot-loader/zipball/970c8f82be98ec54180c88a468cd2b057855d993", - "reference": "970c8f82be98ec54180c88a468cd2b057855d993", + "url": "https://api.github.com/repos/nette/robot-loader/zipball/fb255f5da2676d58863bef1716baf52993c7ffec", + "reference": "fb255f5da2676d58863bef1716baf52993c7ffec", "shasum": "" }, "require": { "ext-tokenizer": "*", - "nette/finder": "^2.5 || ^3.0", - "nette/utils": "^3.0", - "php": ">=7.1" + "nette/utils": "^4.0", + "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "nette/tester": "^2.6", + "phpstan/phpstan": "^2.0@stable", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1424,41 +1386,44 @@ ], "support": { "issues": "https://github.com/nette/robot-loader/issues", - "source": "https://github.com/nette/robot-loader/tree/v3.4.2" + "source": "https://github.com/nette/robot-loader/tree/v4.1.1" }, - "time": "2022-12-14T15:41:06+00:00" + "time": "2026-02-08T03:51:26+00:00" }, { "name": "nette/routing", - "version": "v3.0.4", + "version": "v3.1.2", "source": { "type": "git", "url": "https://github.com/nette/routing.git", - "reference": "eaefe6375303799366f3e43977daaf33f5f89b95" + "reference": "14c466f3383add0d4f78a82074d3c9841f8edf47" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/routing/zipball/eaefe6375303799366f3e43977daaf33f5f89b95", - "reference": "eaefe6375303799366f3e43977daaf33f5f89b95", + "url": "https://api.github.com/repos/nette/routing/zipball/14c466f3383add0d4f78a82074d3c9841f8edf47", + "reference": "14c466f3383add0d4f78a82074d3c9841f8edf47", "shasum": "" }, "require": { - "nette/http": "^3.0 || ~4.0.0", - "nette/utils": "^3.0 || ~4.0.0", - "php": ">=7.1" + "nette/http": "^3.2 || ~4.0.0", + "nette/utils": "^4.0", + "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^1", - "tracy/tracy": "^2.3" + "nette/tester": "^2.5", + "phpstan/phpstan-nette": "^2.0@stable", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1486,40 +1451,43 @@ ], "support": { "issues": "https://github.com/nette/routing/issues", - "source": "https://github.com/nette/routing/tree/v3.0.4" + "source": "https://github.com/nette/routing/tree/v3.1.2" }, - "time": "2023-01-18T04:58:41+00:00" + "time": "2025-10-31T00:55:27+00:00" }, { "name": "nette/schema", - "version": "v1.2.4", + "version": "v1.3.4", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "c9ff517a53903b3d4e29ec547fb20feecb05b8ab" + "reference": "086497a2f34b82fede9b5a41cc8e131d087cd8f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/c9ff517a53903b3d4e29ec547fb20feecb05b8ab", - "reference": "c9ff517a53903b3d4e29ec547fb20feecb05b8ab", + "url": "https://api.github.com/repos/nette/schema/zipball/086497a2f34b82fede9b5a41cc8e131d087cd8f7", + "reference": "086497a2f34b82fede9b5a41cc8e131d087cd8f7", "shasum": "" }, "require": { - "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", - "php": "7.1 - 8.3" + "nette/utils": "^4.0", + "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.3 || ^2.4", - "phpstan/phpstan-nette": "^1.0", - "tracy/tracy": "^2.7" + "nette/tester": "^2.6", + "phpstan/phpstan": "^2.0@stable", + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1548,35 +1516,36 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.4" + "source": "https://github.com/nette/schema/tree/v1.3.4" }, - "time": "2023-08-05T18:56:25+00:00" + "time": "2026-02-08T02:54:00+00:00" }, { "name": "nette/utils", - "version": "v3.2.10", + "version": "v4.1.2", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "a4175c62652f2300c8017fb7e640f9ccb11648d2" + "reference": "f76b5dc3d6c6d3043c8d937df2698515b99cbaf5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/a4175c62652f2300c8017fb7e640f9ccb11648d2", - "reference": "a4175c62652f2300c8017fb7e640f9ccb11648d2", + "url": "https://api.github.com/repos/nette/utils/zipball/f76b5dc3d6c6d3043c8d937df2698515b99cbaf5", + "reference": "f76b5dc3d6c6d3043c8d937df2698515b99cbaf5", "shasum": "" }, "require": { - "php": ">=7.2 <8.4" + "php": "8.2 - 8.5" }, "conflict": { - "nette/di": "<3.0.6" + "nette/finder": "<3", + "nette/schema": "<1.2.2" }, "require-dev": { - "jetbrains/phpstorm-attributes": "dev-master", - "nette/tester": "~2.0", - "phpstan/phpstan": "^1.0", - "tracy/tracy": "^2.3" + "jetbrains/phpstorm-attributes": "^1.2", + "nette/tester": "^2.5", + "phpstan/phpstan": "^2.0@stable", + "tracy/tracy": "^2.9" }, "suggest": { "ext-gd": "to use Image", @@ -1584,16 +1553,18 @@ "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", "ext-json": "to use Nette\\Utils\\Json", "ext-mbstring": "to use Strings::lower() etc...", - "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", - "ext-xml": "to use Strings::length() etc. when mbstring is not available" + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "4.1-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -1634,53 +1605,57 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v3.2.10" + "source": "https://github.com/nette/utils/tree/v4.1.2" }, - "time": "2023-07-30T15:38:18+00:00" + "time": "2026-02-03T17:21:09+00:00" }, { "name": "tracy/tracy", - "version": "v2.9.0", + "version": "v2.11.1", "source": { "type": "git", "url": "https://github.com/nette/tracy.git", - "reference": "551a7d936dfbd7075ced9a604b9527d1f7bfa8b4" + "reference": "c4a03c921af532b74c63edd8bf3f68a99dec7e77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/tracy/zipball/551a7d936dfbd7075ced9a604b9527d1f7bfa8b4", - "reference": "551a7d936dfbd7075ced9a604b9527d1f7bfa8b4", + "url": "https://api.github.com/repos/nette/tracy/zipball/c4a03c921af532b74c63edd8bf3f68a99dec7e77", + "reference": "c4a03c921af532b74c63edd8bf3f68a99dec7e77", "shasum": "" }, "require": { "ext-json": "*", "ext-session": "*", - "php": ">=7.2 <8.2" + "php": "8.2 - 8.5" }, "conflict": { "nette/di": "<3.0" }, "require-dev": { - "latte/latte": "^2.5", + "latte/latte": "^2.5 || ^3.0", "nette/di": "^3.0", - "nette/mail": "^3.0", - "nette/tester": "^2.2", - "nette/utils": "^3.0", - "phpstan/phpstan": "^1.0", + "nette/http": "^3.0", + "nette/mail": "^3.0 || ^4.0", + "nette/tester": "^2.6", + "nette/utils": "^3.0 || ^4.0", + "phpstan/phpstan": "^2.0@stable", "psr/log": "^1.0 || ^2.0 || ^3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.9-dev" + "dev-master": "2.11-dev" } }, "autoload": { - "classmap": [ - "src" - ], "files": [ "src/Tracy/functions.php" + ], + "psr-4": { + "Tracy\\": "src" + }, + "classmap": [ + "src" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1708,43 +1683,49 @@ ], "support": { "issues": "https://github.com/nette/tracy/issues", - "source": "https://github.com/nette/tracy/tree/v2.9.0" + "source": "https://github.com/nette/tracy/tree/v2.11.1" }, - "time": "2021-12-20T18:19:46+00:00" + "time": "2026-02-08T02:51:45+00:00" } ], "packages-dev": [ { "name": "contributte/dev", - "version": "v0.3", + "version": "v0.6.0", "source": { "type": "git", "url": "https://github.com/contributte/dev.git", - "reference": "2f583ab44c082d4fd09db57db3906cb0c48706e4" + "reference": "6efddab1a94cdf326e117132731fbd8a883f1d8f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/dev/zipball/2f583ab44c082d4fd09db57db3906cb0c48706e4", - "reference": "2f583ab44c082d4fd09db57db3906cb0c48706e4", + "url": "https://api.github.com/repos/contributte/dev/zipball/6efddab1a94cdf326e117132731fbd8a883f1d8f", + "reference": "6efddab1a94cdf326e117132731fbd8a883f1d8f", "shasum": "" }, "require": { - "php": ">=7.2" + "nette/utils": "^4.0.3", + "php": ">=8.2", + "tracy/tracy": "^2.10.2" }, "require-dev": { - "ninjify/nunjuck": "^0.4", - "ninjify/qa": "^0.12" + "contributte/phpstan": "^0.1.0", + "contributte/qa": "^0.4.0", + "contributte/tester": "^0.2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.4.x-dev" + "dev-master": "0.6.x-dev" } }, "autoload": { "files": [ "src/shortcuts.php" - ] + ], + "psr-4": { + "Contributte\\Dev\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1756,187 +1737,64 @@ "homepage": "https://f3l1x.io" } ], - "description": "Tools for development", + "description": "Tools for development with Nette and Tracy", "homepage": "https://github.com/contributte/dev", "keywords": [ + "debugger", "development", + "functions", "nette", "shortcuts" ], "support": { "issues": "https://github.com/contributte/dev/issues", - "source": "https://github.com/contributte/dev/tree/v0.3" + "source": "https://github.com/contributte/dev/tree/v0.6.0" }, - "time": "2020-12-13T18:46:03+00:00" - }, - { - "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.1", - "source": { - "type": "git", - "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "fe390591e0241955f22eb9ba327d137e501c771c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c", - "reference": "fe390591e0241955f22eb9ba327d137e501c771c", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0" - }, - "require-dev": { - "composer/composer": "*", - "phpcompatibility/php-compatibility": "^9.0", - "sensiolabs/security-checker": "^4.1.0" - }, - "type": "composer-plugin", - "extra": { - "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" - }, - "autoload": { - "psr-4": { - "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "funding": [ { - "name": "Franck Nijhof", - "email": "franck.nijhof@dealerdirect.com", - "homepage": "http://www.frenck.nl", - "role": "Developer / IT Manager" + "url": "https://contributte.org/partners.html", + "type": "custom" + }, + { + "url": "https://github.com/f3l1x", + "type": "github" } ], - "description": "PHP_CodeSniffer Standards Composer Installer Plugin", - "homepage": "http://www.dealerdirect.com", - "keywords": [ - "PHPCodeSniffer", - "PHP_CodeSniffer", - "code quality", - "codesniffer", - "composer", - "installer", - "phpcs", - "plugin", - "qa", - "quality", - "standard", - "standards", - "style guide", - "stylecheck", - "tests" - ], - "support": { - "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", - "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" - }, - "time": "2020-12-07T18:04:37+00:00" + "time": "2025-12-30T18:02:35+00:00" }, { - "name": "nette/tester", - "version": "v2.5.0", + "name": "contributte/qa", + "version": "v0.4.0", "source": { "type": "git", - "url": "https://github.com/nette/tester.git", - "reference": "78555c76859208ee049335863e63e357ba71578f" + "url": "https://github.com/contributte/qa.git", + "reference": "b60bcfc453014fd5b5f4d0c01d6f38512836992b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/tester/zipball/78555c76859208ee049335863e63e357ba71578f", - "reference": "78555c76859208ee049335863e63e357ba71578f", + "url": "https://api.github.com/repos/contributte/qa/zipball/b60bcfc453014fd5b5f4d0c01d6f38512836992b", + "reference": "b60bcfc453014fd5b5f4d0c01d6f38512836992b", "shasum": "" }, "require": { - "php": ">=8.0 <8.3" + "php": ">=8.2", + "slevomat/coding-standard": "^8.22.1", + "squizlabs/php_codesniffer": "^3.13.5" }, "require-dev": { - "ext-simplexml": "*", - "phpstan/phpstan": "^1.0" + "brianium/paratest": "^7.0", + "contributte/phpunit": "^0.2.0", + "nette/utils": "^4.0", + "symfony/process": "^6.0.0" }, "bin": [ - "src/tester" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0-only", - "GPL-3.0-only" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Miloslav Hůla", - "homepage": "https://github.com/milo" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Nette Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏", - "homepage": "https://tester.nette.org", - "keywords": [ - "Xdebug", - "assertions", - "clover", - "code coverage", - "nette", - "pcov", - "phpdbg", - "phpunit", - "testing", - "unit" + "bin/codesniffer", + "bin/codefixer" ], - "support": { - "issues": "https://github.com/nette/tester/issues", - "source": "https://github.com/nette/tester/tree/v2.5.0" - }, - "time": "2023-03-02T02:14:46+00:00" - }, - { - "name": "ninjify/coding-standard", - "version": "v0.12.0", - "source": { - "type": "git", - "url": "https://github.com/ninjify/coding-standard.git", - "reference": "f561a46b312c89b496ad0391444230c5c51a99ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ninjify/coding-standard/zipball/f561a46b312c89b496ad0391444230c5c51a99ea", - "reference": "f561a46b312c89b496ad0391444230c5c51a99ea", - "shasum": "" - }, - "require": { - "php": ">=7.2", - "slevomat/coding-standard": "^7.0.18", - "squizlabs/php_codesniffer": "^3.5.8" - }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.12.x-dev" + "dev-master": "0.5.x-dev" } }, "notification-url": "https://packagist.org/downloads/", @@ -1950,16 +1808,17 @@ } ], "description": "Tuned & very strict coding standards for PHP projects. Trusted by Contributte, Apitte, Nettrine and many others.", - "homepage": "https://github.com/ninjify/coding-standard", + "homepage": "https://github.com/contributte/qa", "keywords": [ "Codestyle", "codesniffer", - "ninjify", - "php" + "contributte", + "qa", + "quality assurance" ], "support": { - "issues": "https://github.com/ninjify/coding-standard/issues", - "source": "https://github.com/ninjify/coding-standard/tree/v0.12.0" + "issues": "https://github.com/contributte/qa/issues", + "source": "https://github.com/contributte/qa/tree/v0.4.0" }, "funding": [ { @@ -1971,58 +1830,42 @@ "type": "github" } ], - "time": "2022-01-08T14:01:04+00:00" + "time": "2025-12-12T16:54:21+00:00" }, { - "name": "ninjify/nunjuck", - "version": "v0.4.0", + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v1.2.0", "source": { "type": "git", - "url": "https://github.com/ninjify/nunjuck.git", - "reference": "4768a7db2f76ab662061b977a05b5aebc2b7bb45" + "url": "https://github.com/PHPCSStandards/composer-installer.git", + "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ninjify/nunjuck/zipball/4768a7db2f76ab662061b977a05b5aebc2b7bb45", - "reference": "4768a7db2f76ab662061b977a05b5aebc2b7bb45", + "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/845eb62303d2ca9b289ef216356568ccc075ffd1", + "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1", "shasum": "" }, "require": { - "nette/tester": "^2.4.3", - "php": ">=7.2" + "composer-plugin-api": "^2.2", + "php": ">=5.4", + "squizlabs/php_codesniffer": "^3.1.0 || ^4.0" }, "require-dev": { - "janmarek/mockista": "^1.1.0", - "mockery/mockery": "^1.2.2", - "nette/di": "~3.0.0", - "nette/robot-loader": "~3.2", - "ninjify/qa": "^0.12", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-deprecation-rules": "^0.12", - "phpstan/phpstan-nette": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12" - }, - "suggest": { - "janmarek/mockista": "to use BaseMockistaTestCase", - "mockery/mockery": "to use BaseMockeryTestCase", - "nette/di": "to use BaseContainerTestCase" + "composer/composer": "^2.2", + "ext-json": "*", + "ext-zip": "*", + "php-parallel-lint/php-parallel-lint": "^1.4.0", + "phpcompatibility/php-compatibility": "^9.0 || ^10.0.0@dev", + "yoast/phpunit-polyfills": "^1.0" }, - "bin": [ - "bin/nunjuck", - "bin/nunjuck-setup" - ], - "type": "library", + "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-master": "0.4.x-dev" - } + "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" }, "autoload": { - "files": [ - "src/functions.php" - ], "psr-4": { - "Ninjify\\Nunjuck\\": "src" + "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2031,177 +1874,89 @@ ], "authors": [ { - "name": "Milan Felix Šulc", - "homepage": "https://f3l1x.io" - } - ], - "description": "Special tuned version of nette/tester for your PHP projects", - "homepage": "https://github.com/ninjify/nunjuck", - "keywords": [ - "nette", - "php", - "tester" - ], - "support": { - "issues": "https://github.com/ninjify/nunjuck/issues", - "source": "https://github.com/ninjify/nunjuck/tree/v0.4.0" - }, - "time": "2023-03-14T13:58:17+00:00" - }, - { - "name": "ninjify/qa", - "version": "v0.13.0", - "source": { - "type": "git", - "url": "https://github.com/ninjify/qa.git", - "reference": "9080dc0b8c28ba9b984e451f99654212288e60bb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ninjify/qa/zipball/9080dc0b8c28ba9b984e451f99654212288e60bb", - "reference": "9080dc0b8c28ba9b984e451f99654212288e60bb", - "shasum": "" - }, - "require": { - "ninjify/coding-standard": "^0.12.0", - "php": ">=7.2", - "php-parallel-lint/php-parallel-lint": "^1.2.0" - }, - "bin": [ - "bin/codesniffer", - "bin/codefixer", - "bin/linter" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.13.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "name": "Franck Nijhof", + "email": "opensource@frenck.dev", + "homepage": "https://frenck.dev", + "role": "Open source developer" + }, { - "name": "Milan Felix Šulc", - "homepage": "https://f3l1x.io" + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" } ], - "description": "Quality assurance for your PHP projects", - "homepage": "https://github.com/ninjify/qa", + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", "keywords": [ - "assurance", + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", "codesniffer", - "linter", - "nette", - "php", - "quality" + "composer", + "installer", + "phpcbf", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" ], "support": { - "issues": "https://github.com/ninjify/qa/issues", - "source": "https://github.com/ninjify/qa/tree/v0.13.0" + "issues": "https://github.com/PHPCSStandards/composer-installer/issues", + "security": "https://github.com/PHPCSStandards/composer-installer/security/policy", + "source": "https://github.com/PHPCSStandards/composer-installer" }, "funding": [ { - "url": "https://contributte.org/partners.html", - "type": "custom" + "url": "https://github.com/PHPCSStandards", + "type": "github" }, { - "url": "https://github.com/f3l1x", + "url": "https://github.com/jrfnl", "type": "github" - } - ], - "time": "2022-01-08T13:15:44+00:00" - }, - { - "name": "php-parallel-lint/php-parallel-lint", - "version": "v1.3.1", - "source": { - "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", - "reference": "761f3806e30239b5fcd90a0a45d41dc2138de192" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/761f3806e30239b5fcd90a0a45d41dc2138de192", - "reference": "761f3806e30239b5fcd90a0a45d41dc2138de192", - "shasum": "" - }, - "require": { - "ext-json": "*", - "php": ">=5.3.0" - }, - "replace": { - "grogy/php-parallel-lint": "*", - "jakub-onderka/php-parallel-lint": "*" - }, - "require-dev": { - "nette/tester": "^1.3 || ^2.0", - "php-parallel-lint/php-console-highlighter": "~0.3", - "squizlabs/php_codesniffer": "^3.6" - }, - "suggest": { - "php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet" - }, - "bin": [ - "parallel-lint" - ], - "type": "library", - "autoload": { - "classmap": [ - "./" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ + }, { - "name": "Jakub Onderka", - "email": "ahoj@jakubonderka.cz" + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" + }, + { + "url": "https://thanks.dev/u/gh/phpcsstandards", + "type": "thanks_dev" } ], - "description": "This tool check syntax of PHP files about 20x faster than serial check.", - "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", - "support": { - "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", - "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.1" - }, - "time": "2021-08-13T05:35:13+00:00" + "time": "2025-11-11T04:32:07+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "1.2.0", + "version": "2.3.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e" + "reference": "a004701b11273a26cd7955a61d67a7f1e525a45a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/dbc093d7af60eff5cd575d2ed761b15ed40bd08e", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/a004701b11273a26cd7955a61d67a7f1e525a45a", + "reference": "a004701b11273a26cd7955a61d67a7f1e525a45a", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^5.3.0", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^9.6", "symfony/process": "^5.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, "autoload": { "psr-4": { "PHPStan\\PhpDocParser\\": [ @@ -2216,48 +1971,48 @@ "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/1.2.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.2" }, - "time": "2021-09-16T20:46:02+00:00" + "time": "2026-01-25T14:56:51+00:00" }, { "name": "slevomat/coding-standard", - "version": "7.0.18", + "version": "8.22.1", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "b81ac84f41a4797dc25c8ede1b0718e2a74be0fc" + "reference": "1dd80bf3b93692bedb21a6623c496887fad05fec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/b81ac84f41a4797dc25c8ede1b0718e2a74be0fc", - "reference": "b81ac84f41a4797dc25c8ede1b0718e2a74be0fc", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/1dd80bf3b93692bedb21a6623c496887fad05fec", + "reference": "1dd80bf3b93692bedb21a6623c496887fad05fec", "shasum": "" }, "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", - "php": "^7.1 || ^8.0", - "phpstan/phpdoc-parser": "^1.0.0", - "squizlabs/php_codesniffer": "^3.6.1" + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.1.2", + "php": "^7.4 || ^8.0", + "phpstan/phpdoc-parser": "^2.3.0", + "squizlabs/php_codesniffer": "^3.13.4" }, "require-dev": { - "phing/phing": "2.17.0", - "php-parallel-lint/php-parallel-lint": "1.3.1", - "phpstan/phpstan": "1.2.0", - "phpstan/phpstan-deprecation-rules": "1.0.0", - "phpstan/phpstan-phpunit": "1.0.0", - "phpstan/phpstan-strict-rules": "1.1.0", - "phpunit/phpunit": "7.5.20|8.5.21|9.5.10" + "phing/phing": "3.0.1|3.1.0", + "php-parallel-lint/php-parallel-lint": "1.4.0", + "phpstan/phpstan": "2.1.24", + "phpstan/phpstan-deprecation-rules": "2.0.3", + "phpstan/phpstan-phpunit": "2.0.7", + "phpstan/phpstan-strict-rules": "2.0.6", + "phpunit/phpunit": "9.6.8|10.5.48|11.4.4|11.5.36|12.3.10" }, "type": "phpcodesniffer-standard", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { "psr-4": { - "SlevomatCodingStandard\\": "SlevomatCodingStandard" + "SlevomatCodingStandard\\": "SlevomatCodingStandard/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2265,9 +2020,13 @@ "MIT" ], "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", + "keywords": [ + "dev", + "phpcs" + ], "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/7.0.18" + "source": "https://github.com/slevomat/coding-standard/tree/8.22.1" }, "funding": [ { @@ -2279,20 +2038,20 @@ "type": "tidelift" } ], - "time": "2021-12-07T17:19:06+00:00" + "time": "2025-09-13T08:53:30+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.6.2", + "version": "3.13.5", "source": { "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" + "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", + "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4", + "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4", "shasum": "" }, "require": { @@ -2302,18 +2061,13 @@ "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" }, "bin": [ - "bin/phpcs", - "bin/phpcbf" + "bin/phpcbf", + "bin/phpcs" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" @@ -2321,21 +2075,49 @@ "authors": [ { "name": "Greg Sherwood", - "role": "lead" + "role": "Former lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "Current lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" } ], "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", "keywords": [ "phpcs", - "standards" + "standards", + "static analysis" ], "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", + "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", + "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", + "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" }, - "time": "2021-12-12T21:44:58+00:00" + "funding": [ + { + "url": "https://github.com/PHPCSStandards", + "type": "github" + }, + { + "url": "https://github.com/jrfnl", + "type": "github" + }, + { + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" + }, + { + "url": "https://thanks.dev/u/gh/phpcsstandards", + "type": "thanks_dev" + } + ], + "time": "2025-11-04T16:30:35+00:00" } ], "aliases": [], @@ -2344,7 +2126,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=8.0" + "php": ">=8.4" }, "platform-dev": [], "plugin-api-version": "2.6.0" diff --git a/ruleset.xml b/ruleset.xml index e8149f9..727e340 100644 --- a/ruleset.xml +++ b/ruleset.xml @@ -2,15 +2,15 @@ - + - + + + +