diff --git a/composer.json b/composer.json index 2e435ec..1f2b378 100644 --- a/composer.json +++ b/composer.json @@ -4,13 +4,13 @@ "type": "library", "license": "GPL-3.0-or-later", "require": { - "php": "8.1.*", - "nette/utils": "^v3.2.0", - "nette/di": "^3.0.0", - "nette/application": "^3.1.0", - "latte/latte": "^v2.10.0", - "nette/forms": "^v3.1.0", - "nette/http": "^v3.1.0", + "php": ">=8.1", + "nette/utils": "v3.* | v4.*", + "nette/di": "v3.*", + "nette/application": "v3.*", + "latte/latte": "v3.*", + "nette/forms": "v3.*", + "nette/http": "v3.*", "ext-pdo": "*", "ext-json": "*", "ext-gettext": "*" diff --git a/composer.lock b/composer.lock index 55137c6..51d433f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,40 +4,42 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "325e056ad7a1f7ded2db9f0871cd1d71", + "content-hash": "ce9ea5a8f6c4c9edfbd7081ee82050c4", "packages": [ { "name": "latte/latte", - "version": "v2.11.7", + "version": "v3.0.20", "source": { "type": "git", "url": "https://github.com/nette/latte.git", - "reference": "0ac0843a459790d471821f6a82f5d13db831a0d3" + "reference": "4db7a5502f8cef02fffa84fc9c34a635d9c79d4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/latte/zipball/0ac0843a459790d471821f6a82f5d13db831a0d3", - "reference": "0ac0843a459790d471821f6a82f5d13db831a0d3", + "url": "https://api.github.com/repos/nette/latte/zipball/4db7a5502f8cef02fffa84fc9c34a635d9c79d4d", + "reference": "4db7a5502f8cef02fffa84fc9c34a635d9c79d4d", "shasum": "" }, "require": { "ext-json": "*", "ext-tokenizer": "*", - "php": "7.1 - 8.3" + "php": "8.0 - 8.4" }, "conflict": { - "nette/application": "<2.4.1" + "nette/application": "<3.1.7", + "nette/caching": "<3.1.4" }, "require-dev": { - "nette/php-generator": "^3.3.4", - "nette/tester": "^2.0", - "nette/utils": "^3.0", + "nette/php-generator": "^4.0", + "nette/tester": "^2.5", + "nette/utils": "^4.0", "phpstan/phpstan": "^1", - "tracy/tracy": "^2.3" + "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" @@ -48,7 +50,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.11-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -86,50 +88,50 @@ ], "support": { "issues": "https://github.com/nette/latte/issues", - "source": "https://github.com/nette/latte/tree/v2.11.7" + "source": "https://github.com/nette/latte/tree/v3.0.20" }, - "time": "2023-10-18T17:16:11+00:00" + "time": "2024-10-08T00:58:27+00:00" }, { "name": "nette/application", - "version": "v3.1.14", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/nette/application.git", - "reference": "0729ede7e66fad642046a3eb670d368845272573" + "reference": "9c288cc45df467dc012504f4ad64791279720af8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/application/zipball/0729ede7e66fad642046a3eb670d368845272573", - "reference": "0729ede7e66fad642046a3eb670d368845272573", + "url": "https://api.github.com/repos/nette/application/zipball/9c288cc45df467dc012504f4ad64791279720af8", + "reference": "9c288cc45df467dc012504f4ad64791279720af8", "shasum": "" }, "require": { - "nette/component-model": "^3.0", - "nette/http": "^3.0.2", - "nette/routing": "^3.0.5", - "nette/utils": "^3.2.1 || ~4.0.0", - "php": ">=7.2" + "nette/component-model": "^3.1", + "nette/http": "^3.3", + "nette/routing": "^3.1", + "nette/utils": "^4.0", + "php": "8.1 - 8.4" }, "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.1", + "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" + "latte/latte": "^2.10.2 || ^3.0.18", + "mockery/mockery": "^2.0", + "nette/di": "^3.2", + "nette/forms": "^3.2", + "nette/robot-loader": "^4.0", + "nette/security": "^3.2", + "nette/tester": "^2.5", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.9" }, "suggest": { "latte/latte": "Allows using Latte in templates", @@ -138,7 +140,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -178,37 +180,37 @@ ], "support": { "issues": "https://github.com/nette/application/issues", - "source": "https://github.com/nette/application/tree/v3.1.14" + "source": "https://github.com/nette/application/tree/v3.2.6" }, - "time": "2023-10-09T02:45:43+00:00" + "time": "2024-09-10T10:08:04+00:00" }, { "name": "nette/component-model", - "version": "v3.0.3", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/nette/component-model.git", - "reference": "9d97c0e1916bbf8e306283ab187834501fd4b1f5" + "reference": "fb7608fd5f1c378ef9ef8ddc459c6ef0b63e9d77" }, "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/fb7608fd5f1c378ef9ef8ddc459c6ef0b63e9d77", + "reference": "fb7608fd5f1c378ef9ef8ddc459c6ef0b63e9d77", "shasum": "" }, "require": { - "nette/utils": "^2.5 || ^3.0 || ~4.0.0", - "php": ">=7.1" + "nette/utils": "^4.0", + "php": "8.1 - 8.4" }, "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "nette/tester": "^2.5", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -240,42 +242,43 @@ ], "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.1" }, - "time": "2023-01-09T20:16:05+00:00" + "time": "2024-08-07T00:35:59+00:00" }, { "name": "nette/di", - "version": "v3.1.10", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/nette/di.git", - "reference": "2645ec3eaa17fa2ab87c5eb4eaacb1fe6dd28284" + "reference": "9b9bfb43dac31c7804b2c8900217046cc0ca3307" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/di/zipball/2645ec3eaa17fa2ab87c5eb4eaacb1fe6dd28284", - "reference": "2645ec3eaa17fa2ab87c5eb4eaacb1fe6dd28284", + "url": "https://api.github.com/repos/nette/di/zipball/9b9bfb43dac31c7804b2c8900217046cc0ca3307", + "reference": "9b9bfb43dac31c7804b2c8900217046cc0ca3307", "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/php-generator": "^4.1.6", + "nette/robot-loader": "^4.0", "nette/schema": "^1.2.5", - "nette/utils": "^3.2.5 || ~4.0.0", - "php": "7.2 - 8.3" + "nette/utils": "^4.0", + "php": "8.1 - 8.4" }, "require-dev": { - "nette/tester": "^2.4", + "nette/tester": "^2.5.2", "phpstan/phpstan": "^1.0", "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -312,96 +315,29 @@ ], "support": { "issues": "https://github.com/nette/di/issues", - "source": "https://github.com/nette/di/tree/v3.1.10" - }, - "time": "2024-02-06T01:19:44+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.3" }, - "time": "2022-10-13T01:31:15+00:00" + "time": "2024-10-05T03:14:33+00:00" }, { "name": "nette/forms", - "version": "v3.1.15", + "version": "v3.2.5", "source": { "type": "git", "url": "https://github.com/nette/forms.git", - "reference": "f373bcd5ea7a33672fa96035d4bf3110ab66ee44" + "reference": "7e59cee3a16e0382f83680c94babb85a0a167dd0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/forms/zipball/f373bcd5ea7a33672fa96035d4bf3110ab66ee44", - "reference": "f373bcd5ea7a33672fa96035d4bf3110ab66ee44", + "url": "https://api.github.com/repos/nette/forms/zipball/7e59cee3a16e0382f83680c94babb85a0a167dd0", + "reference": "7e59cee3a16e0382f83680c94babb85a0a167dd0", "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.4" }, "conflict": { "latte/latte": ">=3.0.0 <3.0.12 || >=3.1" @@ -410,7 +346,7 @@ "latte/latte": "^2.10.2 || ^3.0.12", "nette/application": "^3.0", "nette/di": "^3.0", - "nette/tester": "^2.4", + "nette/tester": "^2.5.2", "phpstan/phpstan-nette": "^1", "tracy/tracy": "^2.9" }, @@ -420,7 +356,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -456,27 +392,27 @@ ], "support": { "issues": "https://github.com/nette/forms/issues", - "source": "https://github.com/nette/forms/tree/v3.1.15" + "source": "https://github.com/nette/forms/tree/v3.2.5" }, - "time": "2024-01-21T22:22:16+00:00" + "time": "2024-10-22T18:42:14+00:00" }, { "name": "nette/http", - "version": "v3.2.4", + "version": "v3.3.0", "source": { "type": "git", "url": "https://github.com/nette/http.git", - "reference": "d7cc833ee186d5139cde5aab43b39ee7aedd6f22" + "reference": "c779293fb79e6d2a16d474cd19dce866615f3b9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/http/zipball/d7cc833ee186d5139cde5aab43b39ee7aedd6f22", - "reference": "d7cc833ee186d5139cde5aab43b39ee7aedd6f22", + "url": "https://api.github.com/repos/nette/http/zipball/c779293fb79e6d2a16d474cd19dce866615f3b9c", + "reference": "c779293fb79e6d2a16d474cd19dce866615f3b9c", "shasum": "" }, "require": { - "nette/utils": "^3.2.1 || ~4.0.0", - "php": "7.2 - 8.3" + "nette/utils": "^4.0.4", + "php": "8.1 - 8.3" }, "conflict": { "nette/di": "<3.0.3", @@ -498,7 +434,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -537,27 +473,27 @@ ], "support": { "issues": "https://github.com/nette/http/issues", - "source": "https://github.com/nette/http/tree/v3.2.4" + "source": "https://github.com/nette/http/tree/v3.3.0" }, - "time": "2024-01-30T18:13:43+00:00" + "time": "2024-01-30T18:16:20+00:00" }, { "name": "nette/neon", - "version": "v3.4.1", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/nette/neon.git", - "reference": "457bfbf0560f600b30d9df4233af382a478bb44d" + "reference": "3411aa86b104e2d5b7e760da4600865ead963c3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/neon/zipball/457bfbf0560f600b30d9df4233af382a478bb44d", - "reference": "457bfbf0560f600b30d9df4233af382a478bb44d", + "url": "https://api.github.com/repos/nette/neon/zipball/3411aa86b104e2d5b7e760da4600865ead963c3c", + "reference": "3411aa86b104e2d5b7e760da4600865ead963c3c", "shasum": "" }, "require": { "ext-json": "*", - "php": "8.0 - 8.3" + "php": "8.0 - 8.4" }, "require-dev": { "nette/tester": "^2.4", @@ -605,27 +541,27 @@ ], "support": { "issues": "https://github.com/nette/neon/issues", - "source": "https://github.com/nette/neon/tree/v3.4.1" + "source": "https://github.com/nette/neon/tree/v3.4.4" }, - "time": "2023-09-27T08:59:11+00:00" + "time": "2024-10-04T22:00:08+00:00" }, { "name": "nette/php-generator", - "version": "v4.1.4", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/nette/php-generator.git", - "reference": "b135071d8da108445e4df2fc6a75522b23c0237d" + "reference": "c90961e782ae86e517fe5ed732eb2b512945565b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/php-generator/zipball/b135071d8da108445e4df2fc6a75522b23c0237d", - "reference": "b135071d8da108445e4df2fc6a75522b23c0237d", + "url": "https://api.github.com/repos/nette/php-generator/zipball/c90961e782ae86e517fe5ed732eb2b512945565b", + "reference": "c90961e782ae86e517fe5ed732eb2b512945565b", "shasum": "" }, "require": { "nette/utils": "^3.2.9 || ^4.0", - "php": "8.0 - 8.3" + "php": "8.0 - 8.4" }, "require-dev": { "jetbrains/phpstorm-attributes": "dev-master", @@ -674,39 +610,38 @@ ], "support": { "issues": "https://github.com/nette/php-generator/issues", - "source": "https://github.com/nette/php-generator/tree/v4.1.4" + "source": "https://github.com/nette/php-generator/tree/v4.1.6" }, - "time": "2024-03-07T23:06:26+00:00" + "time": "2024-09-10T09:31:55+00:00" }, { "name": "nette/robot-loader", - "version": "v3.4.2", + "version": "v4.0.2", "source": { "type": "git", "url": "https://github.com/nette/robot-loader.git", - "reference": "970c8f82be98ec54180c88a468cd2b057855d993" + "reference": "6a921e88345fc7263b89ed878c927efc7c5e6092" }, "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/6a921e88345fc7263b89ed878c927efc7c5e6092", + "reference": "6a921e88345fc7263b89ed878c927efc7c5e6092", "shasum": "" }, "require": { "ext-tokenizer": "*", - "nette/finder": "^2.5 || ^3.0", - "nette/utils": "^3.0", - "php": ">=7.1" + "nette/utils": "^4.0", + "php": "8.0 - 8.3" }, "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "nette/tester": "^2.4", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -741,38 +676,38 @@ ], "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.0.2" }, - "time": "2022-12-14T15:41:06+00:00" + "time": "2024-06-18T20:19:22+00:00" }, { "name": "nette/routing", - "version": "v3.0.5", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/nette/routing.git", - "reference": "ff709ff9ed38a14c4fe3472534526593a8461ff5" + "reference": "f7419bc147164106cb03b3d331c85aff6cb81fc3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/routing/zipball/ff709ff9ed38a14c4fe3472534526593a8461ff5", - "reference": "ff709ff9ed38a14c4fe3472534526593a8461ff5", + "url": "https://api.github.com/repos/nette/routing/zipball/f7419bc147164106cb03b3d331c85aff6cb81fc3", + "reference": "f7419bc147164106cb03b3d331c85aff6cb81fc3", "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.3" }, "require-dev": { - "nette/tester": "^2.0", + "nette/tester": "^2.5", "phpstan/phpstan": "^1", - "tracy/tracy": "^2.3" + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -803,37 +738,37 @@ ], "support": { "issues": "https://github.com/nette/routing/issues", - "source": "https://github.com/nette/routing/tree/v3.0.5" + "source": "https://github.com/nette/routing/tree/v3.1.0" }, - "time": "2023-10-08T21:37:46+00:00" + "time": "2024-01-21T21:13:45+00:00" }, { "name": "nette/schema", - "version": "v1.2.5", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a" + "reference": "da801d52f0354f70a638673c4a0f04e16529431d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a", - "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a", + "url": "https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d", "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.4" }, "require-dev": { - "nette/tester": "^2.3 || ^2.4", + "nette/tester": "^2.5.2", "phpstan/phpstan-nette": "^1.0", - "tracy/tracy": "^2.7" + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -865,35 +800,36 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.5" + "source": "https://github.com/nette/schema/tree/v1.3.2" }, - "time": "2023-10-05T20:37:59+00:00" + "time": "2024-10-06T23:10:23+00:00" }, { "name": "nette/utils", - "version": "v3.2.10", + "version": "v4.0.5", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "a4175c62652f2300c8017fb7e640f9ccb11648d2" + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/a4175c62652f2300c8017fb7e640f9ccb11648d2", - "reference": "a4175c62652f2300c8017fb7e640f9ccb11648d2", + "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", "shasum": "" }, "require": { - "php": ">=7.2 <8.4" + "php": "8.0 - 8.4" }, "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", + "nette/tester": "^2.5", "phpstan/phpstan": "^1.0", - "tracy/tracy": "^2.3" + "tracy/tracy": "^2.9" }, "suggest": { "ext-gd": "to use Image", @@ -901,13 +837,12 @@ "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.0-dev" } }, "autoload": { @@ -951,28 +886,28 @@ ], "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.0.5" }, - "time": "2023-07-30T15:38:18+00:00" + "time": "2024-08-07T15:39:19+00:00" } ], "packages-dev": [ { "name": "nette/tester", - "version": "v2.5.2", + "version": "v2.5.4", "source": { "type": "git", "url": "https://github.com/nette/tester.git", - "reference": "328d7b64579cdbc82e0e01d92ea9c58b9cf0a327" + "reference": "c11863785779e87b40adebf150364f2e5938c111" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/tester/zipball/328d7b64579cdbc82e0e01d92ea9c58b9cf0a327", - "reference": "328d7b64579cdbc82e0e01d92ea9c58b9cf0a327", + "url": "https://api.github.com/repos/nette/tester/zipball/c11863785779e87b40adebf150364f2e5938c111", + "reference": "c11863785779e87b40adebf150364f2e5938c111", "shasum": "" }, "require": { - "php": ">=8.0 <8.4" + "php": "8.0 - 8.4" }, "require-dev": { "ext-simplexml": "*", @@ -1028,9 +963,9 @@ ], "support": { "issues": "https://github.com/nette/tester/issues", - "source": "https://github.com/nette/tester/tree/v2.5.2" + "source": "https://github.com/nette/tester/tree/v2.5.4" }, - "time": "2024-01-08T11:41:26+00:00" + "time": "2024-10-23T23:57:10+00:00" }, { "name": "phpstan/phpstan", @@ -1171,7 +1106,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "8.1.*", + "php": ">=8.1", "ext-pdo": "*", "ext-json": "*", "ext-gettext": "*" diff --git a/src/Components/DIComponent.php b/src/Components/DIComponent.php index 451412d..ff73f6e 100644 --- a/src/Components/DIComponent.php +++ b/src/Components/DIComponent.php @@ -27,7 +27,7 @@ public function injectTranslator(?GettextTranslator $translator): void $this->translator = $translator; } - protected function createTemplate(): Template + protected function createTemplate(?string $class = null): Template { /** @var \Nette\Bridges\ApplicationLatte\Template $template */ $template = parent::createTemplate();