From aec124724571fba13ecf59efa4baf897ccfa342e Mon Sep 17 00:00:00 2001 From: Petr Parolek Date: Sun, 10 Nov 2024 20:21:04 +0100 Subject: [PATCH] upgrade composer deps --- .github/workflows/main.yml | 2 +- app/Bootstrap.php | 4 +- app/Forms/FormFactory.php | 4 +- app/Forms/SignInFormFactory.php | 15 +- app/Forms/SignUpFormFactory.php | 18 +- app/Model/UserManager.php | 54 +- app/Presenters/BasePresenter.php | 4 +- app/Presenters/Error4xxPresenter.php | 13 +- app/Presenters/ErrorPresenter.php | 32 +- app/Presenters/SignPresenter.php | 16 +- .../templates/Homepage/default.latte | 2 +- app/Router/RouterFactory.php | 5 +- composer.json | 41 +- composer.lock | 1895 +++++++---------- ruleset.xml | 21 +- tests/bootstrap.php | 10 +- .../presenters/HomepagePresenterTest.php | 3 +- .../presenters/SignPresenterTest.php | 16 +- tests/src/AppConfiguratorFactory.php | 13 +- 19 files changed, 892 insertions(+), 1276 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4b8b16c..20247e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['7.3', '7.4', '8.0', '8.1'] + php-versions: ['8.1', '8.2', '8.3'] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/app/Bootstrap.php b/app/Bootstrap.php index 0234b12..ee782ef 100644 --- a/app/Bootstrap.php +++ b/app/Bootstrap.php @@ -2,7 +2,7 @@ namespace App; -use Nette\Configurator; +use Nette\Bootstrap\Configurator; use Tester\Environment; class Bootstrap @@ -29,11 +29,11 @@ public static function boot(): Configurator return $configurator; } - public static function bootForTests(): Configurator { $configurator = self::boot(); Environment::setup(); + return $configurator; } diff --git a/app/Forms/FormFactory.php b/app/Forms/FormFactory.php index 1b9a3e0..3098d62 100644 --- a/app/Forms/FormFactory.php +++ b/app/Forms/FormFactory.php @@ -2,13 +2,13 @@ namespace App\Forms; -use Nette; use Nette\Application\UI\Form; +use Nette\SmartObject; final class FormFactory { - use Nette\SmartObject; + use SmartObject; public function create(): Form { diff --git a/app/Forms/SignInFormFactory.php b/app/Forms/SignInFormFactory.php index bbae90b..f29c516 100644 --- a/app/Forms/SignInFormFactory.php +++ b/app/Forms/SignInFormFactory.php @@ -2,21 +2,20 @@ namespace App\Forms; -use Nette; use Nette\Application\UI\Form; +use Nette\Security\AuthenticationException; use Nette\Security\User; +use Nette\SmartObject; use stdClass; final class SignInFormFactory { - use Nette\SmartObject; + use SmartObject; - /** @var FormFactory */ - private $factory; + private FormFactory $factory; - /** @var User */ - private $user; + private User $user; public function __construct(FormFactory $factory, User $user) { @@ -24,7 +23,6 @@ public function __construct(FormFactory $factory, User $user) $this->user = $user; } - public function create(callable $onSuccess): Form { $form = $this->factory->create(); @@ -42,8 +40,9 @@ public function create(callable $onSuccess): Form try { $this->user->setExpiration($values->remember ? '14 days' : '20 minutes'); $this->user->login($values->username, $values->password); - } catch (Nette\Security\AuthenticationException $e) { + } catch (AuthenticationException $e) { $form->addError('The username or password you entered is incorrect.'); + return; } diff --git a/app/Forms/SignUpFormFactory.php b/app/Forms/SignUpFormFactory.php index b848cf8..d1efae5 100644 --- a/app/Forms/SignUpFormFactory.php +++ b/app/Forms/SignUpFormFactory.php @@ -2,25 +2,24 @@ namespace App\Forms; -use App\Model; -use Nette; +use App\Model\DuplicateNameException; +use App\Model\UserManager; use Nette\Application\UI\Form; +use Nette\SmartObject; use stdClass; final class SignUpFormFactory { - use Nette\SmartObject; + use SmartObject; private const PASSWORD_MIN_LENGTH = 7; - /** @var FormFactory */ - private $factory; + private FormFactory $factory; - /** @var Model\UserManager */ - private $userManager; + private UserManager $userManager; - public function __construct(FormFactory $factory, Model\UserManager $userManager) + public function __construct(FormFactory $factory, UserManager $userManager) { $this->factory = $factory; $this->userManager = $userManager; @@ -45,8 +44,9 @@ public function create(callable $onSuccess): Form $form->onSuccess[] = function (Form $form, stdClass $values) use ($onSuccess): void { try { $this->userManager->add($values->username, $values->email, $values->password); - } catch (Model\DuplicateNameException $e) { + } catch (DuplicateNameException $e) { $form->addError('Username is already taken.'); + return; } diff --git a/app/Model/UserManager.php b/app/Model/UserManager.php index c2d0baf..5989981 100644 --- a/app/Model/UserManager.php +++ b/app/Model/UserManager.php @@ -2,32 +2,37 @@ namespace App\Model; -use Nette; +use Nette\Database\Explorer; +use Nette\Database\Table\ActiveRow; +use Nette\Database\UniqueConstraintViolationException; +use Nette\Security\AuthenticationException; +use Nette\Security\Authenticator; +use Nette\Security\IIdentity; use Nette\Security\Passwords; +use Nette\Security\SimpleIdentity; +use Nette\SmartObject; +use Nette\Utils\Validators; /** * Users management. */ -final class UserManager implements Nette\Security\Authenticator +final class UserManager implements Authenticator { - use Nette\SmartObject; + use SmartObject; - private const - TABLE_NAME = 'users', - COLUMN_ID = 'id', - COLUMN_NAME = 'username', - COLUMN_PASSWORD_HASH = 'password', - COLUMN_EMAIL = 'email', - COLUMN_ROLE = 'role'; + private const TABLE_NAME = 'users'; + private const COLUMN_ID = 'id'; + private const COLUMN_NAME = 'username'; + private const COLUMN_PASSWORD_HASH = 'password'; + private const COLUMN_EMAIL = 'email'; + private const COLUMN_ROLE = 'role'; - /** @var Nette\Database\Context */ - private $database; + private Explorer $database; - /** @var Passwords */ - private $passwords; + private Passwords $passwords; - public function __construct(Nette\Database\Context $database, Passwords $passwords) + public function __construct(Explorer $database, Passwords $passwords) { $this->database = $database; $this->passwords = $passwords; @@ -36,20 +41,18 @@ public function __construct(Nette\Database\Context $database, Passwords $passwor /** * Performs an authentication. * - * @throws Nette\Security\AuthenticationException + * @throws AuthenticationException */ - public function authenticate(string $username, string $password): Nette\Security\IIdentity + public function authenticate(string $username, string $password): IIdentity { $row = $this->database->table(self::TABLE_NAME) ->where(self::COLUMN_NAME, $username) ->fetch(); - if (!$row instanceof Nette\Database\Table\ActiveRow) { - throw new Nette\Security\AuthenticationException('The username is incorrect.', self::IDENTITY_NOT_FOUND); - + if (!$row instanceof ActiveRow) { + throw new AuthenticationException('The username is incorrect.', self::IdentityNotFound); } elseif (!$this->passwords->verify($password, $row[self::COLUMN_PASSWORD_HASH])) { - throw new Nette\Security\AuthenticationException('The password is incorrect.', self::INVALID_CREDENTIAL); - + throw new AuthenticationException('The password is incorrect.', self::InvalidCredential); } elseif ($this->passwords->needsRehash($row[self::COLUMN_PASSWORD_HASH])) { $row->update([ self::COLUMN_PASSWORD_HASH => $this->passwords->hash($password), @@ -58,7 +61,8 @@ public function authenticate(string $username, string $password): Nette\Security $arr = $row->toArray(); unset($arr[self::COLUMN_PASSWORD_HASH]); - return new Nette\Security\SimpleIdentity($row[self::COLUMN_ID], $row[self::COLUMN_ROLE], $arr); + + return new SimpleIdentity($row[self::COLUMN_ID], $row[self::COLUMN_ROLE], $arr); } /** @@ -68,14 +72,14 @@ public function authenticate(string $username, string $password): Nette\Security */ public function add(string $username, string $email, string $password): void { - Nette\Utils\Validators::assert($email, 'email'); + Validators::assert($email, 'email'); try { $this->database->table(self::TABLE_NAME)->insert([ self::COLUMN_NAME => $username, self::COLUMN_PASSWORD_HASH => $this->passwords->hash($password), self::COLUMN_EMAIL => $email, ]); - } catch (Nette\Database\UniqueConstraintViolationException $e) { + } catch (UniqueConstraintViolationException $e) { throw new DuplicateNameException(); } } diff --git a/app/Presenters/BasePresenter.php b/app/Presenters/BasePresenter.php index 427c8c6..bb8f20e 100644 --- a/app/Presenters/BasePresenter.php +++ b/app/Presenters/BasePresenter.php @@ -2,12 +2,12 @@ namespace App\Presenters; -use Nette; +use Nette\Application\UI\Presenter; /** * Base presenter for all application presenters. */ -abstract class BasePresenter extends Nette\Application\UI\Presenter +abstract class BasePresenter extends Presenter { } diff --git a/app/Presenters/Error4xxPresenter.php b/app/Presenters/Error4xxPresenter.php index dd215df..087eb5f 100644 --- a/app/Presenters/Error4xxPresenter.php +++ b/app/Presenters/Error4xxPresenter.php @@ -2,11 +2,13 @@ namespace App\Presenters; -use Nette; +use Nette\Application\BadRequestException; +use Nette\Application\Request; +use Nette\Bridges\ApplicationLatte\Template; /** - * @property-read Nette\Bridges\ApplicationLatte\Template $template - * @property-read Nette\Application\Request $request + * @property-read Template $template + * @property-read Request $request */ final class Error4xxPresenter extends BasePresenter { @@ -14,12 +16,13 @@ final class Error4xxPresenter extends BasePresenter public function startup(): void { parent::startup(); - if (!$this->request->isMethod(Nette\Application\Request::FORWARD)) { + + if (!$this->request->isMethod(Request::FORWARD)) { $this->error(); } } - public function renderDefault(Nette\Application\BadRequestException $exception): void + public function renderDefault(BadRequestException $exception): void { // load template 403.latte or 404.latte or ... 4xx.latte $file = __DIR__ . '/templates/Error/' . $exception->getCode() . '.latte'; diff --git a/app/Presenters/ErrorPresenter.php b/app/Presenters/ErrorPresenter.php index 7f6ec0a..3748044 100644 --- a/app/Presenters/ErrorPresenter.php +++ b/app/Presenters/ErrorPresenter.php @@ -2,39 +2,45 @@ namespace App\Presenters; -use Nette; -use Nette\Application\Responses; -use Nette\Http; +use Nette\Application\BadRequestException; +use Nette\Application\Helpers; +use Nette\Application\IPresenter; +use Nette\Application\Request; +use Nette\Application\Response; +use Nette\Application\Responses\CallbackResponse; +use Nette\Application\Responses\ForwardResponse; +use Nette\Http\IRequest; +use Nette\Http\IResponse; +use Nette\SmartObject; use Tracy\ILogger; -final class ErrorPresenter implements Nette\Application\IPresenter +final class ErrorPresenter implements IPresenter { - use Nette\SmartObject; + use SmartObject; - /** @var ILogger */ - private $logger; + private ILogger $logger; public function __construct(ILogger $logger) { $this->logger = $logger; } - public function run(Nette\Application\Request $request): Nette\Application\Response + public function run(Request $request): Response { $e = $request->getParameter('exception'); - if ($e instanceof Nette\Application\BadRequestException) { + if ($e instanceof BadRequestException) { // $this->logger->log("HTTP code {$e->getCode()}: {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", 'access'); - [$module, , $sep] = Nette\Application\Helpers::splitName($request->getPresenterName()); + [$module, , $sep] = Helpers::splitName($request->getPresenterName()); $errorPresenter = $module . $sep . 'Error4xx'; - return new Responses\ForwardResponse($request->setPresenterName($errorPresenter)); + return new ForwardResponse($request->setPresenterName($errorPresenter)); } $this->logger->log($e, ILogger::EXCEPTION); - return new Responses\CallbackResponse( - static function (Http\IRequest $httpRequest, Http\IResponse $httpResponse): void { + return new CallbackResponse( + static function (IRequest $httpRequest, IResponse $httpResponse): void { if (preg_match('#^text/html(?:;|$)#', (string) $httpResponse->getHeader('Content-Type')) > 0) { require __DIR__ . '/templates/Error/500.phtml'; } diff --git a/app/Presenters/SignPresenter.php b/app/Presenters/SignPresenter.php index 72850a2..922465d 100644 --- a/app/Presenters/SignPresenter.php +++ b/app/Presenters/SignPresenter.php @@ -2,24 +2,24 @@ namespace App\Presenters; -use App\Forms; +use App\Forms\SignInFormFactory; +use App\Forms\SignUpFormFactory; use Nette\Application\UI\Form; final class SignPresenter extends BasePresenter { - /** @var string @persistent */ - public $backlink = ''; + /** @persistent */ + public string $backlink = ''; - /** @var Forms\SignInFormFactory */ - private $signInFactory; + private SignInFormFactory $signInFactory; - /** @var Forms\SignUpFormFactory */ - private $signUpFactory; + private SignUpFormFactory $signUpFactory; - public function __construct(Forms\SignInFormFactory $signInFactory, Forms\SignUpFormFactory $signUpFactory) + public function __construct(SignInFormFactory $signInFactory, SignUpFormFactory $signUpFactory) { parent::__construct(); + $this->signInFactory = $signInFactory; $this->signUpFactory = $signUpFactory; } diff --git a/app/Presenters/templates/Homepage/default.latte b/app/Presenters/templates/Homepage/default.latte index 4f4ee2a..437031a 100644 --- a/app/Presenters/templates/Homepage/default.latte +++ b/app/Presenters/templates/Homepage/default.latte @@ -33,7 +33,7 @@

This page template located at {strstr($this->getName(), app)}

-
{file_get_contents($this->getName())|replacere:'#[\w+/]{60,}#','…'}
+
{file_get_contents($this->getName())|replaceRe:'#[\w+/]{60,}#','…'}
diff --git a/app/Router/RouterFactory.php b/app/Router/RouterFactory.php index 83f2f48..aade5ab 100644 --- a/app/Router/RouterFactory.php +++ b/app/Router/RouterFactory.php @@ -2,18 +2,19 @@ namespace App\Router; -use Nette; use Nette\Application\Routers\RouteList; +use Nette\StaticClass; final class RouterFactory { - use Nette\StaticClass; + use StaticClass; public static function createRouter(): RouteList { $router = new RouteList(); $router->addRoute('/', 'Homepage:default'); + return $router; } diff --git a/composer.json b/composer.json index d66f42c..876398d 100644 --- a/composer.json +++ b/composer.json @@ -15,37 +15,36 @@ } ], "require": { - "php": ">=7.2", - "nette/application": "~3.1.0", - "nette/bootstrap": "~3.1.0", - "nette/caching": "~3.1.0", - "nette/database": "~3.1.0", - "nette/di": "~3.0.5", - "nette/finder": "^2.5", - "nette/forms": "~3.1.0", - "nette/http": "~3.1.0", - "nette/mail": "^3.0", - "nette/robot-loader": "^3.0", - "nette/safe-stream": "^2.4", - "nette/security": "~3.1.0", - "nette/utils": "^3.0", - "latte/latte": "^2.5", - "tracy/tracy": "~2.9.0", - "dg/adminer-custom": "^1.8", - "contributte/console": "^0.9.0", + "php": ">=8.1", + "nette/application": "~3.2.0", + "nette/bootstrap": "~3.2.0", + "nette/caching": "~3.3.0", + "nette/database": "~3.2.0", + "nette/di": "~3.2.0", + "nette/finder": "^3.0", + "nette/forms": "~3.2.0", + "nette/http": "3.3.0", + "nette/mail": "^4.0", + "nette/robot-loader": "^4.0", + "nette/security": "~3.2.0", + "nette/utils": "^4.0", + "latte/latte": "^3.0", + "tracy/tracy": "~2.10.0", + "dg/adminer-custom": "^2.0", + "contributte/console": "^0.10.0", "nextras/migrations": "^3.1" }, "require-dev": { - "nette/tester": "~2.4.0", + "nette/tester": "~2.5.0", "phpstan/phpstan": "^1.0", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-doctrine": "^1.0", "phpstan/phpstan-mockery": "^1.0", "phpstan/phpstan-nette": "^1.0", "phpstan/phpstan-strict-rules": "^1.0", - "ninjify/qa": "^0.13", + "contributte/qa": "^0.3", "mockery/mockery": "^1.0", - "webnazakazku/mango-tester-http-mocks": "^0.4", + "webnazakazku/mango-tester-http-mocks": "dev-master", "webnazakazku/mango-presenter-tester": "^0.4", "webnazakazku/mango-tester-database-creator": "^0.4", "webnazakazku/mango-tester-infrastructure": "^0.6", diff --git a/composer.lock b/composer.lock index 46296e4..d05a018 100644 --- a/composer.lock +++ b/composer.lock @@ -4,41 +4,39 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4420b78e8b6320dbd4b73792b08f19b9", + "content-hash": "356ebc56521de9433045d80637868420", "packages": [ { "name": "contributte/console", - "version": "v0.9.1", + "version": "v0.10.1", "source": { "type": "git", "url": "https://github.com/contributte/console.git", - "reference": "549893573ba3cb81f476785763f48178b5166322" + "reference": "dc2b84fb8dd795ea9988f396311aeed435aed495" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/contributte/console/zipball/549893573ba3cb81f476785763f48178b5166322", - "reference": "549893573ba3cb81f476785763f48178b5166322", + "url": "https://api.github.com/repos/contributte/console/zipball/dc2b84fb8dd795ea9988f396311aeed435aed495", + "reference": "dc2b84fb8dd795ea9988f396311aeed435aed495", "shasum": "" }, "require": { - "contributte/di": "^0.5.1", - "php": ">=7.2", - "symfony/console": "^4.2.9|^5.0.0" + "nette/di": "^3.1.8", + "php": ">=8.1", + "symfony/console": "^6.4.2 || ^7.0.2" }, "require-dev": { - "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", - "symfony/event-dispatcher": "^4.3.0 || ^5.0.0" + "contributte/phpstan": "^0.1", + "contributte/qa": "^0.4", + "contributte/tester": "^0.4", + "mockery/mockery": "^1.6.7", + "nette/http": "^3.2.3", + "symfony/event-dispatcher": "^6.4.2 || ^7.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.10.x-dev" + "dev-master": "0.11.x-dev" } }, "autoload": { @@ -65,7 +63,7 @@ ], "support": { "issues": "https://github.com/contributte/console/issues", - "source": "https://github.com/contributte/console/tree/v0.9.1" + "source": "https://github.com/contributte/console/tree/v0.10.1" }, "funding": [ { @@ -77,91 +75,20 @@ "type": "github" } ], - "time": "2021-03-20T12:35:56+00:00" - }, - { - "name": "contributte/di", - "version": "v0.5.1", - "source": { - "type": "git", - "url": "https://github.com/contributte/di.git", - "reference": "534fdb5e85b4ae01f8f848fc4b752deb8458ed7c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/contributte/di/zipball/534fdb5e85b4ae01f8f848fc4b752deb8458ed7c", - "reference": "534fdb5e85b4ae01f8f848fc4b752deb8458ed7c", - "shasum": "" - }, - "require": { - "nette/di": "~3.0.2", - "nette/utils": "^3.0.3", - "php": ">=7.2" - }, - "conflict": { - "nette/di": "<3.0.0", - "nette/schema": "<1.1.0" - }, - "require-dev": { - "nette/bootstrap": "~3.0.0", - "nette/robot-loader": "^3.0.4", - "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" - }, - "suggest": { - "nette/reflection": "to use AutoloadExtension[CompilerExtension]", - "nette/robot-loader": "to use AutoloadExtension[CompilerExtension]" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.5.x-dev" - } - }, - "autoload": { - "psr-4": { - "Contributte\\DI\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Milan Felix Šulc", - "homepage": "https://f3l1x.io" - } - ], - "description": "Extra contrib to nette/di", - "homepage": "https://github.com/contributte/di", - "keywords": [ - "dependency", - "inject", - "nette" - ], - "support": { - "issues": "https://github.com/contributte/di/issues", - "source": "https://github.com/contributte/di/tree/v0.5.1" - }, - "time": "2020-12-26T17:02:42+00:00" + "time": "2024-01-04T20:10:58+00:00" }, { "name": "dg/adminer-custom", - "version": "v1.28.1", + "version": "v2.0.0", "source": { "type": "git", - "url": "https://github.com/dg/adminer-custom.git", - "reference": "65cb7d1fc0249375064aaeeafd265141428fe7e1" + "url": "https://github.com/dg/adminer.git", + "reference": "95a992cd99f9425b5d810923bc84371b06779dfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dg/adminer-custom/zipball/65cb7d1fc0249375064aaeeafd265141428fe7e1", - "reference": "65cb7d1fc0249375064aaeeafd265141428fe7e1", + "url": "https://api.github.com/repos/dg/adminer/zipball/95a992cd99f9425b5d810923bc84371b06779dfb", + "reference": "95a992cd99f9425b5d810923bc84371b06779dfb", "shasum": "" }, "type": "library", @@ -178,42 +105,44 @@ "sqlite" ], "support": { - "source": "https://github.com/dg/adminer-custom/tree/v1.28.1" + "source": "https://github.com/dg/adminer/tree/v2.0.0" }, - "time": "2021-09-16T10:15:05+00:00" + "time": "2024-06-04T14:12:15+00:00" }, { "name": "latte/latte", - "version": "v2.11.0", + "version": "v3.0.20", "source": { "type": "git", "url": "https://github.com/nette/latte.git", - "reference": "a815687bfadaf3af51ae99f92edb4ea310c43426" + "reference": "4db7a5502f8cef02fffa84fc9c34a635d9c79d4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/latte/zipball/a815687bfadaf3af51ae99f92edb4ea310c43426", - "reference": "a815687bfadaf3af51ae99f92edb4ea310c43426", + "url": "https://api.github.com/repos/nette/latte/zipball/4db7a5502f8cef02fffa84fc9c34a635d9c79d4d", + "reference": "4db7a5502f8cef02fffa84fc9c34a635d9c79d4d", "shasum": "" }, "require": { "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.1 <8.2" + "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", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "nette/php-generator": "^4.0", + "nette/tester": "^2.5", + "nette/utils": "^4.0", + "phpstan/phpstan": "^1", + "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" @@ -224,7 +153,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.11-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -262,49 +191,50 @@ ], "support": { "issues": "https://github.com/nette/latte/issues", - "source": "https://github.com/nette/latte/tree/v2.11.0" + "source": "https://github.com/nette/latte/tree/v3.0.20" }, - "time": "2022-02-22T18:39:58+00:00" + "time": "2024-10-08T00:58:27+00:00" }, { "name": "nette/application", - "version": "v3.1.5", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/nette/application.git", - "reference": "fa5da6a90ff71724353568894a4839aec627eae3" + "reference": "9c288cc45df467dc012504f4ad64791279720af8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/application/zipball/fa5da6a90ff71724353568894a4839aec627eae3", - "reference": "fa5da6a90ff71724353568894a4839aec627eae3", + "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.2", - "nette/utils": "^3.2.1", - "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", - "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": { - "latte/latte": "^2.10.2", - "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": "dev-master", + "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", @@ -313,7 +243,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -353,46 +283,46 @@ ], "support": { "issues": "https://github.com/nette/application/issues", - "source": "https://github.com/nette/application/tree/v3.1.5" + "source": "https://github.com/nette/application/tree/v3.2.6" }, - "time": "2021-12-20T12:24:49+00:00" + "time": "2024-09-10T10:08:04+00:00" }, { "name": "nette/bootstrap", - "version": "v3.1.2", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/nette/bootstrap.git", - "reference": "3ab4912a08af0c16d541c3709935c3478b5ee090" + "reference": "4876d25955b4164d714bc17c265f664f6594685b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/bootstrap/zipball/3ab4912a08af0c16d541c3709935c3478b5ee090", - "reference": "3ab4912a08af0c16d541c3709935c3478b5ee090", + "url": "https://api.github.com/repos/nette/bootstrap/zipball/4876d25955b4164d714bc17c265f664f6594685b", + "reference": "4876d25955b4164d714bc17c265f664f6594685b", "shasum": "" }, "require": { - "nette/di": "^3.0.5", - "nette/utils": "^3.2.1", - "php": ">=7.2 <8.2" + "nette/di": "^3.1", + "nette/utils": "^3.2.1 || ^4.0", + "php": "8.0 - 8.4" }, "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.0", - "phpstan/phpstan-nette": "^0.12", - "tracy/tracy": "^2.6" + "nette/tester": "^2.4", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.9" }, "suggest": { "nette/robot-loader": "to use Configurator::createRobotLoader()", @@ -401,7 +331,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -434,35 +364,38 @@ ], "support": { "issues": "https://github.com/nette/bootstrap/issues", - "source": "https://github.com/nette/bootstrap/tree/v3.1.2" + "source": "https://github.com/nette/bootstrap/tree/v3.2.4" }, - "time": "2021-11-24T16:51:46+00:00" + "time": "2024-06-18T22:13:57+00:00" }, { "name": "nette/caching", - "version": "v3.1.2", + "version": "v3.3.1", "source": { "type": "git", "url": "https://github.com/nette/caching.git", - "reference": "27d8f0048eb1a9c7e49e0268f39b2db7d3ce7ae9" + "reference": "b37d2c9647b41a9d04f099f10300dc5496c4eb77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/caching/zipball/27d8f0048eb1a9c7e49e0268f39b2db7d3ce7ae9", - "reference": "27d8f0048eb1a9c7e49e0268f39b2db7d3ce7ae9", + "url": "https://api.github.com/repos/nette/caching/zipball/b37d2c9647b41a9d04f099f10300dc5496c4eb77", + "reference": "b37d2c9647b41a9d04f099f10300dc5496c4eb77", "shasum": "" }, "require": { - "nette/finder": "^2.4 || ^3.0", - "nette/utils": "^2.4 || ^3.0", - "php": ">=7.2 <8.2" + "nette/utils": "^4.0", + "php": "8.0 - 8.4" + }, + "conflict": { + "latte/latte": ">=3.0.0 <3.0.12" }, "require-dev": { - "latte/latte": "^2.10", - "nette/di": "^v3.0", - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.4" + "latte/latte": "^2.11 || ^3.0.12", + "nette/di": "^3.1 || ^4.0", + "nette/tester": "^2.4", + "phpstan/phpstan": "^1.0", + "psr/simple-cache": "^2.0 || ^3.0", + "tracy/tracy": "^2.9" }, "suggest": { "ext-pdo_sqlite": "to use SQLiteStorage or SQLiteJournal" @@ -470,7 +403,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -505,37 +438,37 @@ ], "support": { "issues": "https://github.com/nette/caching/issues", - "source": "https://github.com/nette/caching/tree/v3.1.2" + "source": "https://github.com/nette/caching/tree/v3.3.1" }, - "time": "2021-08-24T23:45:03+00:00" + "time": "2024-08-07T00:01:58+00:00" }, { "name": "nette/component-model", - "version": "v3.0.2", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/nette/component-model.git", - "reference": "20a39df12009029c7e425bc5e0439ee4ab5304af" + "reference": "fb7608fd5f1c378ef9ef8ddc459c6ef0b63e9d77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/component-model/zipball/20a39df12009029c7e425bc5e0439ee4ab5304af", - "reference": "20a39df12009029c7e425bc5e0439ee4ab5304af", + "url": "https://api.github.com/repos/nette/component-model/zipball/fb7608fd5f1c378ef9ef8ddc459c6ef0b63e9d77", + "reference": "fb7608fd5f1c378ef9ef8ddc459c6ef0b63e9d77", "shasum": "" }, "require": { - "nette/utils": "^2.5 || ^3.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": { @@ -567,44 +500,42 @@ ], "support": { "issues": "https://github.com/nette/component-model/issues", - "source": "https://github.com/nette/component-model/tree/v3.0.2" + "source": "https://github.com/nette/component-model/tree/v3.1.1" }, - "time": "2021-08-25T14:52:12+00:00" + "time": "2024-08-07T00:35:59+00:00" }, { "name": "nette/database", - "version": "v3.1.5", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/nette/database.git", - "reference": "b138afb94d6ce93c3a7ad9786c2e925ac1ac501f" + "reference": "8e9a427d98ec0929102ee037016bb47eb7e8b75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/database/zipball/b138afb94d6ce93c3a7ad9786c2e925ac1ac501f", - "reference": "b138afb94d6ce93c3a7ad9786c2e925ac1ac501f", + "url": "https://api.github.com/repos/nette/database/zipball/8e9a427d98ec0929102ee037016bb47eb7e8b75c", + "reference": "8e9a427d98ec0929102ee037016bb47eb7e8b75c", "shasum": "" }, "require": { "ext-pdo": "*", - "nette/caching": "^3.0", - "nette/utils": "^3.2.1", - "php": ">=7.2 <8.2" - }, - "conflict": { - "nette/di": "<3.0-stable" + "nette/caching": "^3.2", + "nette/utils": "^4.0", + "php": "8.1 - 8.4" }, "require-dev": { - "mockery/mockery": "^1.3.4", - "nette/di": "^v3.0", - "nette/tester": "^2.4", - "phpstan/phpstan-nette": "^0.12", - "tracy/tracy": "^2.4" + "jetbrains/phpstorm-attributes": "^1.0", + "mockery/mockery": "^1.6", + "nette/di": "^3.1", + "nette/tester": "^2.5", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -644,45 +575,43 @@ ], "support": { "issues": "https://github.com/nette/database/issues", - "source": "https://github.com/nette/database/tree/v3.1.5" + "source": "https://github.com/nette/database/tree/v3.2.4" }, - "time": "2022-03-10T03:43:40+00:00" + "time": "2024-08-28T01:03:21+00:00" }, { "name": "nette/di", - "version": "v3.0.13", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/nette/di.git", - "reference": "9878f2958a0a804b08430dbc719a52e493022739" + "reference": "9b9bfb43dac31c7804b2c8900217046cc0ca3307" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/di/zipball/9878f2958a0a804b08430dbc719a52e493022739", - "reference": "9878f2958a0a804b08430dbc719a52e493022739", + "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", - "nette/schema": "^1.1", - "nette/utils": "^3.1.6", - "php": ">=7.1 <8.2" - }, - "conflict": { - "nette/bootstrap": "<3.0" + "nette/php-generator": "^4.1.6", + "nette/robot-loader": "^4.0", + "nette/schema": "^1.2.5", + "nette/utils": "^4.0", + "php": "8.1 - 8.4" }, "require-dev": { - "nette/tester": "^2.2", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" + "nette/tester": "^2.5.2", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -719,47 +648,33 @@ ], "support": { "issues": "https://github.com/nette/di/issues", - "source": "https://github.com/nette/di/tree/v3.0.13" + "source": "https://github.com/nette/di/tree/v3.2.3" }, - "time": "2022-03-10T02:43:04+00:00" + "time": "2024-10-05T03:14:33+00:00" }, { "name": "nette/finder", - "version": "v2.5.3", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/nette/finder.git", - "reference": "64dc25b7929b731e72a1bc84a9e57727f5d5d3e8" + "reference": "027395c638637de95c8e9fad49a7c51249404ed2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/finder/zipball/64dc25b7929b731e72a1bc84a9e57727f5d5d3e8", - "reference": "64dc25b7929b731e72a1bc84a9e57727f5d5d3e8", + "url": "https://api.github.com/repos/nette/finder/zipball/027395c638637de95c8e9fad49a7c51249404ed2", + "reference": "027395c638637de95c8e9fad49a7c51249404ed2", "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" + "nette/utils": "^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.5-dev" + "dev-master": "3.0-dev" } }, - "autoload": { - "classmap": [ - "src/" - ] - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause", @@ -786,46 +701,48 @@ ], "support": { "issues": "https://github.com/nette/finder/issues", - "source": "https://github.com/nette/finder/tree/v2.5.3" + "source": "https://github.com/nette/finder/tree/v3.0.0" }, - "time": "2021-12-12T17:43:24+00:00" + "time": "2022-12-14T17:05:54+00:00" }, { "name": "nette/forms", - "version": "v3.1.6", + "version": "v3.2.5", "source": { "type": "git", "url": "https://github.com/nette/forms.git", - "reference": "4ed52434b61d7e532cb3bc77b048717703b91b0b" + "reference": "7e59cee3a16e0382f83680c94babb85a0a167dd0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/forms/zipball/4ed52434b61d7e532cb3bc77b048717703b91b0b", - "reference": "4ed52434b61d7e532cb3bc77b048717703b91b0b", + "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.1", - "php": ">=7.2 <8.2" + "nette/component-model": "^3.1", + "nette/http": "^3.3", + "nette/utils": "^4.0.4", + "php": "8.1 - 8.4" }, "conflict": { - "latte/latte": ">=3.0", - "nette/di": "<3.0-stable" + "latte/latte": ">=3.0.0 <3.0.12 || >=3.1" }, "require-dev": { - "latte/latte": "^2.10.2", + "latte/latte": "^2.10.2 || ^3.0.12", "nette/application": "^3.0", "nette/di": "^3.0", - "nette/tester": "^2.0", - "phpstan/phpstan-nette": "^0.12", - "tracy/tracy": "^2.4" + "nette/tester": "^2.5.2", + "phpstan/phpstan-nette": "^1", + "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": { @@ -861,27 +778,27 @@ ], "support": { "issues": "https://github.com/nette/forms/issues", - "source": "https://github.com/nette/forms/tree/v3.1.6" + "source": "https://github.com/nette/forms/tree/v3.2.5" }, - "time": "2021-11-09T11:56:09+00:00" + "time": "2024-10-22T18:42:14+00:00" }, { "name": "nette/http", - "version": "v3.1.5", + "version": "v3.3.0", "source": { "type": "git", "url": "https://github.com/nette/http.git", - "reference": "8146c2f2a262691a7139f9c56007961dcc5c1f42" + "reference": "c779293fb79e6d2a16d474cd19dce866615f3b9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/http/zipball/8146c2f2a262691a7139f9c56007961dcc5c1f42", - "reference": "8146c2f2a262691a7139f9c56007961dcc5c1f42", + "url": "https://api.github.com/repos/nette/http/zipball/c779293fb79e6d2a16d474cd19dce866615f3b9c", + "reference": "c779293fb79e6d2a16d474cd19dce866615f3b9c", "shasum": "" }, "require": { - "nette/utils": "^3.1", - "php": ">=7.2 <8.2" + "nette/utils": "^4.0.4", + "php": "8.1 - 8.3" }, "conflict": { "nette/di": "<3.0.3", @@ -890,17 +807,20 @@ "require-dev": { "nette/di": "^3.0", "nette/security": "^3.0", - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.4" + "nette/tester": "^2.4", + "phpstan/phpstan": "^1.0", + "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.1-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -939,37 +859,34 @@ ], "support": { "issues": "https://github.com/nette/http/issues", - "source": "https://github.com/nette/http/tree/v3.1.5" + "source": "https://github.com/nette/http/tree/v3.3.0" }, - "time": "2021-11-29T18:56:42+00:00" + "time": "2024-01-30T18:16:20+00:00" }, { "name": "nette/mail", - "version": "v3.1.8", + "version": "v4.0.3", "source": { "type": "git", "url": "https://github.com/nette/mail.git", - "reference": "69b43ae9a5c63ff68804531ef0113c372c676ce6" + "reference": "d99839701c48031d6f35e3be95bdd9418f66ad2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/mail/zipball/69b43ae9a5c63ff68804531ef0113c372c676ce6", - "reference": "69b43ae9a5c63ff68804531ef0113c372c676ce6", + "url": "https://api.github.com/repos/nette/mail/zipball/d99839701c48031d6f35e3be95bdd9418f66ad2d", + "reference": "d99839701c48031d6f35e3be95bdd9418f66ad2d", "shasum": "" }, "require": { "ext-iconv": "*", - "nette/utils": "^3.1", - "php": ">=7.1 <8.2" - }, - "conflict": { - "nette/di": "<3.0-stable" + "nette/utils": "^4.0", + "php": "8.0 - 8.4" }, "require-dev": { - "nette/di": "^3.0.0", - "nette/tester": "^2.0", - "phpstan/phpstan-nette": "^0.12", - "tracy/tracy": "^2.4" + "nette/di": "^3.1 || ^4.0", + "nette/tester": "^2.4", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.8" }, "suggest": { "ext-fileinfo": "to detect type of attached files", @@ -978,7 +895,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -1002,7 +919,7 @@ "homepage": "https://nette.org/contributors" } ], - "description": "📧 Nette Mail: handy email creation and transfer library for PHP with both text and MIME-compliant support.", + "description": "📧 Nette Mail: A handy library for creating and sending emails in PHP.", "homepage": "https://nette.org", "keywords": [ "mail", @@ -1013,31 +930,31 @@ ], "support": { "issues": "https://github.com/nette/mail/issues", - "source": "https://github.com/nette/mail/tree/v3.1.8" + "source": "https://github.com/nette/mail/tree/v4.0.3" }, - "time": "2021-08-25T00:07:03+00:00" + "time": "2024-10-05T03:15:12+00:00" }, { "name": "nette/neon", - "version": "v3.3.3", + "version": "v3.4.4", "source": { "type": "git", "url": "https://github.com/nette/neon.git", - "reference": "22e384da162fab42961d48eb06c06d3ad0c11b95" + "reference": "3411aa86b104e2d5b7e760da4600865ead963c3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/neon/zipball/22e384da162fab42961d48eb06c06d3ad0c11b95", - "reference": "22e384da162fab42961d48eb06c06d3ad0c11b95", + "url": "https://api.github.com/repos/nette/neon/zipball/3411aa86b104e2d5b7e760da4600865ead963c3c", + "reference": "3411aa86b104e2d5b7e760da4600865ead963c3c", "shasum": "" }, "require": { "ext-json": "*", - "php": ">=7.1" + "php": "8.0 - 8.4" }, "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", + "nette/tester": "^2.4", + "phpstan/phpstan": "^1.0", "tracy/tracy": "^2.7" }, "bin": [ @@ -1046,7 +963,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "3.4-dev" } }, "autoload": { @@ -1081,41 +998,42 @@ ], "support": { "issues": "https://github.com/nette/neon/issues", - "source": "https://github.com/nette/neon/tree/v3.3.3" + "source": "https://github.com/nette/neon/tree/v3.4.4" }, - "time": "2022-03-10T02:04:26+00:00" + "time": "2024-10-04T22:00:08+00:00" }, { "name": "nette/php-generator", - "version": "v3.6.7", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/nette/php-generator.git", - "reference": "b9ba414c9895fd9420887f20eeb4eabde123677f" + "reference": "c90961e782ae86e517fe5ed732eb2b512945565b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/php-generator/zipball/b9ba414c9895fd9420887f20eeb4eabde123677f", - "reference": "b9ba414c9895fd9420887f20eeb4eabde123677f", + "url": "https://api.github.com/repos/nette/php-generator/zipball/c90961e782ae86e517fe5ed732eb2b512945565b", + "reference": "c90961e782ae86e517fe5ed732eb2b512945565b", "shasum": "" }, "require": { - "nette/utils": "^3.1.2", - "php": ">=7.2 <8.2" + "nette/utils": "^3.2.9 || ^4.0", + "php": "8.0 - 8.4" }, "require-dev": { + "jetbrains/phpstorm-attributes": "dev-master", "nette/tester": "^2.4", - "nikic/php-parser": "^4.13", - "phpstan/phpstan": "^0.12", + "nikic/php-parser": "^4.18 || ^5.0", + "phpstan/phpstan": "^1.0", "tracy/tracy": "^2.8" }, "suggest": { - "nikic/php-parser": "to use ClassType::withBodiesFrom() & GlobalFunction::withBodyFrom()" + "nikic/php-parser": "to use ClassType::from(withBodies: true) & ClassType::fromCode()" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.6-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -1139,7 +1057,7 @@ "homepage": "https://nette.org/contributors" } ], - "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.1 features.", + "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.3 features.", "homepage": "https://nette.org", "keywords": [ "code", @@ -1149,39 +1067,38 @@ ], "support": { "issues": "https://github.com/nette/php-generator/issues", - "source": "https://github.com/nette/php-generator/tree/v3.6.7" + "source": "https://github.com/nette/php-generator/tree/v4.1.6" }, - "time": "2022-03-10T01:51:00+00:00" + "time": "2024-09-10T09:31:55+00:00" }, { "name": "nette/robot-loader", - "version": "v3.4.1", + "version": "v4.0.3", "source": { "type": "git", "url": "https://github.com/nette/robot-loader.git", - "reference": "e2adc334cb958164c050f485d99c44c430f51fe2" + "reference": "45d67753fb4865bb718e9a6c9be69cc9470137b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/robot-loader/zipball/e2adc334cb958164c050f485d99c44c430f51fe2", - "reference": "e2adc334cb958164c050f485d99c44c430f51fe2", + "url": "https://api.github.com/repos/nette/robot-loader/zipball/45d67753fb4865bb718e9a6c9be69cc9470137b7", + "reference": "45d67753fb4865bb718e9a6c9be69cc9470137b7", "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.4" }, "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": { @@ -1216,38 +1133,38 @@ ], "support": { "issues": "https://github.com/nette/robot-loader/issues", - "source": "https://github.com/nette/robot-loader/tree/v3.4.1" + "source": "https://github.com/nette/robot-loader/tree/v4.0.3" }, - "time": "2021-08-25T15:53:54+00:00" + "time": "2024-06-18T20:26:39+00:00" }, { "name": "nette/routing", - "version": "v3.0.2", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/nette/routing.git", - "reference": "5532e7e3612e13def357f089c1a5c25793a16843" + "reference": "5b0782d3b50af68614253a373fa663ed03206a3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/routing/zipball/5532e7e3612e13def357f089c1a5c25793a16843", - "reference": "5532e7e3612e13def357f089c1a5c25793a16843", + "url": "https://api.github.com/repos/nette/routing/zipball/5b0782d3b50af68614253a373fa663ed03206a3f", + "reference": "5b0782d3b50af68614253a373fa663ed03206a3f", "shasum": "" }, "require": { - "nette/http": "^3.0", - "nette/utils": "^3.0", - "php": ">=7.1" + "nette/http": "^3.2 || ~4.0.0", + "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", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -1278,102 +1195,37 @@ ], "support": { "issues": "https://github.com/nette/routing/issues", - "source": "https://github.com/nette/routing/tree/v3.0.2" - }, - "time": "2021-02-06T04:08:30+00:00" - }, - { - "name": "nette/safe-stream", - "version": "v2.5.0", - "source": { - "type": "git", - "url": "https://github.com/nette/safe-stream.git", - "reference": "8bbbeda8415b8352642d7566dfa18169d40c2e54" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/safe-stream/zipball/8bbbeda8415b8352642d7566dfa18169d40c2e54", - "reference": "8bbbeda8415b8352642d7566dfa18169d40c2e54", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "require-dev": { - "nette/tester": "^2.0", - "phpstan/phpstan": "^0.12", - "tracy/tracy": "^2.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "files": [ - "src/loader.php" - ] - }, - "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 SafeStream: provides isolation for thread safe manipulation with files via native PHP functions.", - "homepage": "https://nette.org", - "keywords": [ - "atomic", - "filesystem", - "isolation", - "nette", - "safe", - "thread safe" - ], - "support": { - "issues": "https://github.com/nette/safe-stream/issues", - "source": "https://github.com/nette/safe-stream/tree/v2.5.0" + "source": "https://github.com/nette/routing/tree/v3.1.1" }, - "time": "2022-01-03T23:13:32+00:00" + "time": "2024-11-04T11:59:47+00:00" }, { "name": "nette/schema", - "version": "v1.2.2", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df" + "reference": "da801d52f0354f70a638673c4a0f04e16529431d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/9a39cef03a5b34c7de64f551538cbba05c2be5df", - "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df", + "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.2" + "nette/utils": "^4.0", + "php": "8.1 - 8.4" }, "require-dev": { - "nette/tester": "^2.3 || ^2.4", - "phpstan/phpstan-nette": "^0.12", - "tracy/tracy": "^2.7" + "nette/tester": "^2.5.2", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -1405,43 +1257,44 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.2" + "source": "https://github.com/nette/schema/tree/v1.3.2" }, - "time": "2021-10-15T11:40:02+00:00" + "time": "2024-10-06T23:10:23+00:00" }, { "name": "nette/security", - "version": "v3.1.5", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/nette/security.git", - "reference": "c120893f561b09494486c66594720b2abcb099b2" + "reference": "6e19bf604934aec0cd3343a307e28fd997e40e96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/security/zipball/c120893f561b09494486c66594720b2abcb099b2", - "reference": "c120893f561b09494486c66594720b2abcb099b2", + "url": "https://api.github.com/repos/nette/security/zipball/6e19bf604934aec0cd3343a307e28fd997e40e96", + "reference": "6e19bf604934aec0cd3343a307e28fd997e40e96", "shasum": "" }, "require": { - "nette/utils": "^3.2.1", - "php": ">=7.2 <8.2" + "nette/utils": "^4.0", + "php": "8.1 - 8.4" }, "conflict": { "nette/di": "<3.0-stable", "nette/http": "<3.1.3" }, "require-dev": { - "nette/di": "^3.0.1", - "nette/http": "^3.0.0", - "nette/tester": "^2.0", - "phpstan/phpstan-nette": "^0.12", - "tracy/tracy": "^2.4" + "mockery/mockery": "^1.5", + "nette/di": "^3.1", + "nette/http": "^3.2", + "nette/tester": "^2.5", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -1475,34 +1328,36 @@ ], "support": { "issues": "https://github.com/nette/security/issues", - "source": "https://github.com/nette/security/tree/v3.1.5" + "source": "https://github.com/nette/security/tree/v3.2.1" }, - "time": "2021-09-20T15:20:25+00:00" + "time": "2024-11-04T12:25:05+00:00" }, { "name": "nette/utils", - "version": "v3.2.7", + "version": "v4.0.5", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "0af4e3de4df9f1543534beab255ccf459e7a2c99" + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/0af4e3de4df9f1543534beab255ccf459e7a2c99", - "reference": "0af4e3de4df9f1543534beab255ccf459e7a2c99", + "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", "shasum": "" }, "require": { - "php": ">=7.2 <8.2" + "php": "8.0 - 8.4" }, "conflict": { - "nette/di": "<3.0.6" + "nette/finder": "<3", + "nette/schema": "<1.2.2" }, "require-dev": { - "nette/tester": "~2.0", + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.5", "phpstan/phpstan": "^1.0", - "tracy/tracy": "^2.3" + "tracy/tracy": "^2.9" }, "suggest": { "ext-gd": "to use Image", @@ -1510,13 +1365,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": { @@ -1560,44 +1414,45 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v3.2.7" + "source": "https://github.com/nette/utils/tree/v4.0.5" }, - "time": "2022-01-24T11:29:14+00:00" + "time": "2024-08-07T15:39:19+00:00" }, { "name": "nextras/migrations", - "version": "v3.1.4", + "version": "v3.3.1", "source": { "type": "git", "url": "https://github.com/nextras/migrations.git", - "reference": "1eaebea155d61752acff1a3ee6ad8ebcf535ff7f" + "reference": "c1a201d8b845edfc3bb210a9c5f19375743af4cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextras/migrations/zipball/1eaebea155d61752acff1a3ee6ad8ebcf535ff7f", - "reference": "1eaebea155d61752acff1a3ee6ad8ebcf535ff7f", + "url": "https://api.github.com/repos/nextras/migrations/zipball/c1a201d8b845edfc3bb210a9c5f19375743af4cf", + "reference": "c1a201d8b845edfc3bb210a9c5f19375743af4cf", "shasum": "" }, "require": { - "php": ">=5.4" + "php": ">=7.1" }, "require-dev": { - "dibi/dibi": "~3.0 | ~4.0", - "doctrine/cache": "~1.5", - "doctrine/dbal": "~2.5", + "dibi/dibi": "~3.0 | ~4.0 | ~5.0", + "doctrine/cache": "~1.11 | ~2.0", + "doctrine/dbal": "~2.5 | ~3.0", "doctrine/orm": "~2.5", "ext-openssl": "*", - "mockery/mockery": "~0.9 | ~1.0", - "nette/database": "~2.2", - "nette/di": "~2.3.12 | ~2.4", - "nette/tester": "~1.7 | ~2.0", - "nette/utils": "~2.3", - "nextras/dbal": "~1.0 | ~2.0 | ~3.0 | ~4.0", - "symfony/config": "~2.6 | ~3.0 | ~4.0", - "symfony/console": "~2.6 | ~3.0 | ~4.0", - "symfony/dependency-injection": "~2.6 | ~3.0 | ~4.0", - "symfony/http-kernel": "~2.6 | ~3.0 | ~4.0", - "tracy/tracy": "^2.2" + "mockery/mockery": "~1.3", + "nette/database": "~2.4 | ~3.0", + "nette/di": "~2.4.10 | ~3.0", + "nette/tester": "~2.3", + "nette/utils": "~2.3 | ~3.0 | ~4.0", + "nextras/dbal": "~1.0 | ~2.0 | ~3.0 | ~4.0 | ~5.0@dev", + "symfony/config": "~2.6 | ~3.0 | ~4.0 | ~5.0 | ~6.0 | ~7.0", + "symfony/console": "~2.6 | ~3.0 | ~4.0 | ~5.0 | ~6.0 | ~7.0", + "symfony/dependency-injection": "~2.6 | ~3.0 | ~4.0 | ~5.0 | ~6.0 | ~7.0", + "symfony/framework-bundle": "~2.6 | ~3.0 | ~4.0 | ~5.0 | ~6.0 | ~7.0", + "symfony/http-kernel": "~2.6 | ~3.0 | ~4.0 | ~5.0 | ~6.0 | ~7.0", + "tracy/tracy": "~2.6" }, "suggest": { "dibi/dibi": "to use DibiAdapter", @@ -1618,8 +1473,7 @@ "Nextras\\Migrations\\": "src/" }, "classmap": [ - "src/exceptions.php", - "src/deprecated" + "src/exceptions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1629,28 +1483,33 @@ "description": "Database migrations runner", "support": { "issues": "https://github.com/nextras/migrations/issues", - "source": "https://github.com/nextras/migrations/tree/v3.1.4" + "source": "https://github.com/nextras/migrations/tree/v3.3.1" }, - "time": "2021-12-06T19:54:05+00:00" + "time": "2024-01-25T13:14:56+00:00" }, { "name": "psr/container", - "version": "1.1.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { - "php": ">=7.2.0" + "php": ">=7.4.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -1677,58 +1536,52 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.1" + "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "time": "2021-03-05T17:36:06+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { "name": "symfony/console", - "version": "v5.4.5", + "version": "v7.1.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad" + "reference": "3284aafcac338b6e86fd955ee4d794cbe434151a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d8111acc99876953f52fe16d4c50eb60940d49ad", - "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad", + "url": "https://api.github.com/repos/symfony/console/zipball/3284aafcac338b6e86fd955ee4d794cbe434151a", + "reference": "3284aafcac338b6e86fd955ee4d794cbe434151a", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^6.4|^7.0" }, "conflict": { - "psr/log": ">=3", - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" + "symfony/dependency-injection": "<6.4", + "symfony/dotenv": "<6.4", + "symfony/event-dispatcher": "<6.4", + "symfony/lock": "<6.4", + "symfony/process": "<6.4" }, "provide": { - "psr/log-implementation": "1.0|2.0" + "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { - "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "psr/log": "^1|^2|^3", + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -1757,12 +1610,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.5" + "source": "https://github.com/symfony/console/tree/v7.1.7" }, "funding": [ { @@ -1778,29 +1631,29 @@ "type": "tidelift" } ], - "time": "2022-02-24T12:45:35+00:00" + "time": "2024-11-05T15:34:55+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8" + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8", - "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1829,7 +1682,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" }, "funding": [ { @@ -1845,24 +1698,24 @@ "type": "tidelift" } ], - "time": "2021-07-12T14:48:14+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.25.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-ctype": "*" @@ -1872,9 +1725,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1911,7 +1761,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" }, "funding": [ { @@ -1927,33 +1777,30 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.25.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1992,7 +1839,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" }, "funding": [ { @@ -2008,33 +1855,30 @@ "type": "tidelift" } ], - "time": "2021-11-23T21:10:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.25.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -2076,7 +1920,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" }, "funding": [ { @@ -2092,24 +1936,24 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.25.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -2119,9 +1963,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -2159,7 +2000,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" }, "funding": [ { @@ -2175,44 +2016,46 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.25.0", + "name": "symfony/service-contracts", + "version": "v3.5.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" + "url": "https://github.com/symfony/service-contracts.git", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "3.5-dev" }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { - "files": [ - "bootstrap.php" - ], "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" + "Symfony\\Contracts\\Service\\": "" }, - "classmap": [ - "Resources/stubs" + "exclude-from-classmap": [ + "/Test/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2229,16 +2072,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "description": "Generic abstractions related to writing services", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.25.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" }, "funding": [ { @@ -2254,212 +2099,47 @@ "type": "tidelift" } ], - "time": "2021-06-05T21:20:04+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { - "name": "symfony/polyfill-php80", - "version": "v1.25.0", + "name": "symfony/string", + "version": "v7.1.6", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" + "url": "https://github.com/symfony/string.git", + "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", + "url": "https://api.github.com/repos/symfony/string/zipball/61b72d66bf96c360a727ae6232df5ac83c71f626", + "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.2", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } + "conflict": { + "symfony/translation-contracts": "<2.5" }, + "require-dev": { + "symfony/emoji": "^7.1", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^6.4|^7.0" + }, + "type": "library", "autoload": { "files": [ - "bootstrap.php" + "Resources/functions.php" ], "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-03-04T08:16:47+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v2.5.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", - "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "suggest": { - "symfony/service-implementation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-11-04T16:48:04+00:00" - }, - { - "name": "symfony/string", - "version": "v5.4.3", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/92043b7d8383e48104e411bc9434b260dbeb5a10", - "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" - }, - "conflict": { - "symfony/translation-contracts": ">=3.0" - }, - "require-dev": { - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0|^6.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" + "Symfony\\Component\\String\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -2490,7 +2170,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.3" + "source": "https://github.com/symfony/string/tree/v7.1.6" }, "funding": [ { @@ -2506,43 +2186,44 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "tracy/tracy", - "version": "v2.9.1", + "version": "v2.10.9", "source": { "type": "git", "url": "https://github.com/nette/tracy.git", - "reference": "4180b3221ff852fe10d5eab30d80be6f6ab7221e" + "reference": "e7af75205b184ca8895bc57fafd331f8d5022d26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/tracy/zipball/4180b3221ff852fe10d5eab30d80be6f6ab7221e", - "reference": "4180b3221ff852fe10d5eab30d80be6f6ab7221e", + "url": "https://api.github.com/repos/nette/tracy/zipball/e7af75205b184ca8895bc57fafd331f8d5022d26", + "reference": "e7af75205b184ca8895bc57fafd331f8d5022d26", "shasum": "" }, "require": { "ext-json": "*", "ext-session": "*", - "php": ">=7.2 <8.2" + "php": "8.0 - 8.4" }, "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/http": "^3.0", + "nette/mail": "^3.0 || ^4.0", "nette/tester": "^2.2", - "nette/utils": "^3.0", + "nette/utils": "^3.0 || ^4.0", "phpstan/phpstan": "^1.0", "psr/log": "^1.0 || ^2.0 || ^3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.9-dev" + "dev-master": "2.10-dev" } }, "autoload": { @@ -2578,43 +2259,114 @@ ], "support": { "issues": "https://github.com/nette/tracy/issues", - "source": "https://github.com/nette/tracy/tree/v2.9.1" + "source": "https://github.com/nette/tracy/tree/v2.10.9" }, - "time": "2022-02-15T16:38:30+00:00" + "time": "2024-11-07T14:48:00+00:00" } ], "packages-dev": [ + { + "name": "contributte/qa", + "version": "v0.3.1", + "source": { + "type": "git", + "url": "https://github.com/contributte/qa.git", + "reference": "b2bfba8a847f52723d31b7ce67311f1226b70713" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/contributte/qa/zipball/b2bfba8a847f52723d31b7ce67311f1226b70713", + "reference": "b2bfba8a847f52723d31b7ce67311f1226b70713", + "shasum": "" + }, + "require": { + "php": ">=8.0", + "slevomat/coding-standard": "^8.12.1", + "squizlabs/php_codesniffer": "^3.7.2" + }, + "require-dev": { + "contributte/tester": "^0.2.0", + "symfony/process": "^6.0.0" + }, + "bin": [ + "bin/codesniffer", + "bin/codefixer" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.4.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Milan Felix Šulc", + "homepage": "https://f3l1x.io" + } + ], + "description": "Tuned & very strict coding standards for PHP projects. Trusted by Contributte, Apitte, Nettrine and many others.", + "homepage": "https://github.com/contributte/qa", + "keywords": [ + "Codestyle", + "codesniffer", + "contributte", + "qa", + "quality assurance" + ], + "support": { + "issues": "https://github.com/contributte/qa/issues", + "source": "https://github.com/contributte/qa/tree/v0.3.1" + }, + "funding": [ + { + "url": "https://contributte.org/partners.html", + "type": "custom" + }, + { + "url": "https://github.com/f3l1x", + "type": "github" + } + ], + "time": "2023-07-10T13:25:20+00:00" + }, { "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.2", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" + "url": "https://github.com/PHPCSStandards/composer-installer.git", + "reference": "4be43904336affa5c2f70744a348312336afd0da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da", + "reference": "4be43904336affa5c2f70744a348312336afd0da", "shasum": "" }, "require": { "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.3", + "php": ">=5.4", "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" }, "require-dev": { "composer/composer": "*", + "ext-json": "*", + "ext-zip": "*", "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.0" + "phpcompatibility/php-compatibility": "^9.0", + "yoast/phpunit-polyfills": "^1.0" }, "type": "composer-plugin", "extra": { - "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" }, "autoload": { "psr-4": { - "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2630,7 +2382,7 @@ }, { "name": "Contributors", - "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" + "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" } ], "description": "PHP_CodeSniffer Standards Composer Installer Plugin", @@ -2654,23 +2406,23 @@ "tests" ], "support": { - "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", - "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + "issues": "https://github.com/PHPCSStandards/composer-installer/issues", + "source": "https://github.com/PHPCSStandards/composer-installer" }, - "time": "2022-02-04T12:51:07+00:00" + "time": "2023-01-05T11:28:13+00:00" }, { "name": "dg/bypass-finals", - "version": "v1.3.1", + "version": "v1.8.0", "source": { "type": "git", "url": "https://github.com/dg/bypass-finals.git", - "reference": "495f5bc762e7bf30a13ed8253f44bb3a701767bb" + "reference": "86b00f0d900c7e15d3341e687e0df89e8c2d4632" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dg/bypass-finals/zipball/495f5bc762e7bf30a13ed8253f44bb3a701767bb", - "reference": "495f5bc762e7bf30a13ed8253f44bb3a701767bb", + "url": "https://api.github.com/repos/dg/bypass-finals/zipball/86b00f0d900c7e15d3341e687e0df89e8c2d4632", + "reference": "86b00f0d900c7e15d3341e687e0df89e8c2d4632", "shasum": "" }, "require": { @@ -2689,8 +2441,8 @@ "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" + "GPL-2.0-only", + "GPL-3.0-only" ], "authors": [ { @@ -2708,9 +2460,9 @@ ], "support": { "issues": "https://github.com/dg/bypass-finals/issues", - "source": "https://github.com/dg/bypass-finals/tree/v1.3.1" + "source": "https://github.com/dg/bypass-finals/tree/v1.8.0" }, - "time": "2021-04-09T10:42:55+00:00" + "time": "2024-07-02T22:24:43+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -2765,38 +2517,38 @@ }, { "name": "mockery/mockery", - "version": "1.5.0", + "version": "1.6.12", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac" + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", - "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699", "shasum": "" }, "require": { "hamcrest/hamcrest-php": "^2.0.1", "lib-pcre": ">=7.0", - "php": "^7.3 || ^8.0" + "php": ">=7.3" }, "conflict": { "phpunit/phpunit": "<8.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.3" + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, "autoload": { - "psr-0": { - "Mockery": "library/" + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" } }, "notification-url": "https://packagist.org/downloads/", @@ -2807,12 +2559,20 @@ { "name": "Pádraic Brady", "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" + "homepage": "https://github.com/padraic", + "role": "Author" }, { "name": "Dave Marshall", "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" } ], "description": "Mockery is a simple yet flexible PHP mock object framework", @@ -2830,27 +2590,30 @@ "testing" ], "support": { + "docs": "https://docs.mockery.io/", "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.5.0" + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" }, - "time": "2022-01-20T13:18:17+00:00" + "time": "2024-05-16T03:13:13+00:00" }, { "name": "nette/tester", - "version": "v2.4.2", + "version": "v2.5.4", "source": { "type": "git", "url": "https://github.com/nette/tester.git", - "reference": "2e788e243bb17a6889aac5411f3fabc48cc5b23a" + "reference": "c11863785779e87b40adebf150364f2e5938c111" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/tester/zipball/2e788e243bb17a6889aac5411f3fabc48cc5b23a", - "reference": "2e788e243bb17a6889aac5411f3fabc48cc5b23a", + "url": "https://api.github.com/repos/nette/tester/zipball/c11863785779e87b40adebf150364f2e5938c111", + "reference": "c11863785779e87b40adebf150364f2e5938c111", "shasum": "" }, "require": { - "php": ">=7.2 <8.2" + "php": "8.0 - 8.4" }, "require-dev": { "ext-simplexml": "*", @@ -2862,7 +2625,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.4-dev" + "dev-master": "2.5-dev" } }, "autoload": { @@ -2906,223 +2669,39 @@ ], "support": { "issues": "https://github.com/nette/tester/issues", - "source": "https://github.com/nette/tester/tree/v2.4.2" + "source": "https://github.com/nette/tester/tree/v2.5.4" }, - "time": "2022-03-24T19:02:37+00:00" - }, - { - "name": "ninjify/coding-standard", - "version": "v0.12.1", - "source": { - "type": "git", - "url": "https://github.com/ninjify/coding-standard.git", - "reference": "c655eedbe1b4f9b307e9941ad347f9078fbdd58a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ninjify/coding-standard/zipball/c655eedbe1b4f9b307e9941ad347f9078fbdd58a", - "reference": "c655eedbe1b4f9b307e9941ad347f9078fbdd58a", - "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.13.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Milan Felix Šulc", - "homepage": "https://f3l1x.io" - } - ], - "description": "Tuned & very strict coding standards for PHP projects. Trusted by Contributte, Apitte, Nettrine and many others.", - "homepage": "https://github.com/ninjify/coding-standard", - "keywords": [ - "Codestyle", - "codesniffer", - "ninjify", - "php" - ], - "support": { - "issues": "https://github.com/ninjify/coding-standard/issues", - "source": "https://github.com/ninjify/coding-standard/tree/v0.12.1" - }, - "funding": [ - { - "url": "https://contributte.org/partners.html", - "type": "custom" - }, - { - "url": "https://github.com/f3l1x", - "type": "github" - } - ], - "time": "2022-02-11T14:34:15+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": "Milan Felix Šulc", - "homepage": "https://f3l1x.io" - } - ], - "description": "Quality assurance for your PHP projects", - "homepage": "https://github.com/ninjify/qa", - "keywords": [ - "assurance", - "codesniffer", - "linter", - "nette", - "php", - "quality" - ], - "support": { - "issues": "https://github.com/ninjify/qa/issues", - "source": "https://github.com/ninjify/qa/tree/v0.13.0" - }, - "funding": [ - { - "url": "https://contributte.org/partners.html", - "type": "custom" - }, - { - "url": "https://github.com/f3l1x", - "type": "github" - } - ], - "time": "2022-01-08T13:15:44+00:00" - }, - { - "name": "php-parallel-lint/php-parallel-lint", - "version": "v1.3.2", - "source": { - "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "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.* || ^1.0", - "squizlabs/php_codesniffer": "^3.6" - }, - "suggest": { - "php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet" - }, - "bin": [ - "parallel-lint" - ], - "type": "library", - "autoload": { - "classmap": [ - "./src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "ahoj@jakubonderka.cz" - } - ], - "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.2" - }, - "time": "2022-02-21T12:50:22+00:00" + "time": "2024-10-23T23:57:10+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "1.2.0", + "version": "1.33.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e" + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" }, "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/82a311fd3690fb2bf7b64d5c98f912b3dd746140", + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^4.15", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^9.5", "symfony/process": "^5.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, "autoload": { "psr-4": { "PHPStan\\PhpDocParser\\": [ @@ -3137,22 +2716,22 @@ "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/1.33.0" }, - "time": "2021-09-16T20:46:02+00:00" + "time": "2024-10-13T11:25:22+00:00" }, { "name": "phpstan/phpstan", - "version": "1.5.0", + "version": "1.12.9", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "2be8dd6dfa09ab1a21c49956ff591979cd5ab29e" + "reference": "ceb937fb39a92deabc02d20709cf14b2c452502c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2be8dd6dfa09ab1a21c49956ff591979cd5ab29e", - "reference": "2be8dd6dfa09ab1a21c49956ff591979cd5ab29e", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ceb937fb39a92deabc02d20709cf14b2c452502c", + "reference": "ceb937fb39a92deabc02d20709cf14b2c452502c", "shasum": "" }, "require": { @@ -3176,9 +2755,16 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.5.0" + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, "funding": [ { @@ -3188,35 +2774,27 @@ { "url": "https://github.com/phpstan", "type": "github" - }, - { - "url": "https://www.patreon.com/phpstan", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" } ], - "time": "2022-03-24T18:18:00+00:00" + "time": "2024-11-10T17:10:04+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "1.0.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682" + "reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682", - "reference": "e5ccafb0dd8d835dd65d8d7a1a0d2b1b75414682", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/f94d246cc143ec5a23da868f8f7e1393b50eaa82", + "reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.0" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.12" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", @@ -3225,9 +2803,6 @@ }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "phpstan": { "includes": [ "rules.neon" @@ -3246,27 +2821,27 @@ "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", "support": { "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.0.0" + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.2.1" }, - "time": "2021-09-23T11:02:21+00:00" + "time": "2024-09-11T15:52:35+00:00" }, { "name": "phpstan/phpstan-doctrine", - "version": "1.2.11", + "version": "1.5.6", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-doctrine.git", - "reference": "580737eff27e48c1924bc019fa43343626242e91" + "reference": "8ba022846e79238872e315fff61e19b42ba2f139" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/580737eff27e48c1924bc019fa43343626242e91", - "reference": "580737eff27e48c1924bc019fa43343626242e91", + "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/8ba022846e79238872e315fff61e19b42ba2f139", + "reference": "8ba022846e79238872e315fff61e19b42ba2f139", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.4.1" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.12.6" }, "conflict": { "doctrine/collections": "<1.0", @@ -3276,28 +2851,29 @@ "doctrine/persistence": "<1.3" }, "require-dev": { - "doctrine/annotations": "^1.11.0", - "doctrine/collections": "^1.6", + "cache/array-adapter": "^1.1", + "composer/semver": "^3.3.2", + "cweagans/composer-patches": "^1.7.3", + "doctrine/annotations": "^1.11 || ^2.0", + "doctrine/collections": "^1.6 || ^2.1", "doctrine/common": "^2.7 || ^3.0", - "doctrine/dbal": "^2.13.7 || ^3.0", - "doctrine/lexer": "^1.2.1", - "doctrine/mongodb-odm": "^1.3 || ^2.1", - "doctrine/orm": "^2.11.0", - "doctrine/persistence": "^1.3.8 || ^2.2.1", + "doctrine/dbal": "^2.13.8 || ^3.3.3", + "doctrine/lexer": "^2.0 || ^3.0", + "doctrine/mongodb-odm": "^1.3 || ^2.4.3", + "doctrine/orm": "^2.16.0", + "doctrine/persistence": "^2.2.1 || ^3.2", + "gedmo/doctrine-extensions": "^3.8", "nesbot/carbon": "^2.49", "nikic/php-parser": "^4.13.2", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5.10", - "ramsey/uuid-doctrine": "^1.5.0", - "symfony/cache": "^4.4.35" + "phpstan/phpstan-phpunit": "^1.3.13", + "phpstan/phpstan-strict-rules": "^1.5.1", + "phpunit/phpunit": "^9.6.20", + "ramsey/uuid": "^4.2", + "symfony/cache": "^5.4" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.2-dev" - }, "phpstan": { "includes": [ "extension.neon", @@ -3317,41 +2893,38 @@ "description": "Doctrine extensions for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-doctrine/issues", - "source": "https://github.com/phpstan/phpstan-doctrine/tree/1.2.11" + "source": "https://github.com/phpstan/phpstan-doctrine/tree/1.5.6" }, - "time": "2022-02-23T15:14:45+00:00" + "time": "2024-11-09T17:34:01+00:00" }, { "name": "phpstan/phpstan-mockery", - "version": "1.0.0", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-mockery.git", - "reference": "1767581e025d830d9288702761ad3cc7b72ecca4" + "reference": "98cac6e256b4ee60fdeb26a7dd81bb271b454e80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-mockery/zipball/1767581e025d830d9288702761ad3cc7b72ecca4", - "reference": "1767581e025d830d9288702761ad3cc7b72ecca4", + "url": "https://api.github.com/repos/phpstan/phpstan-mockery/zipball/98cac6e256b4ee60fdeb26a7dd81bb271b454e80", + "reference": "98cac6e256b4ee60fdeb26a7dd81bb271b454e80", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.0" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.12" }, "require-dev": { - "mockery/mockery": "^1.2.4", + "mockery/mockery": "^1.6.11", "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.4", + "phpstan/phpstan-strict-rules": "^1.6", "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "phpstan": { "includes": [ "extension.neon" @@ -3370,27 +2943,27 @@ "description": "PHPStan Mockery extension", "support": { "issues": "https://github.com/phpstan/phpstan-mockery/issues", - "source": "https://github.com/phpstan/phpstan-mockery/tree/1.0.0" + "source": "https://github.com/phpstan/phpstan-mockery/tree/1.1.3" }, - "time": "2021-09-20T16:03:58+00:00" + "time": "2024-09-11T15:47:29+00:00" }, { "name": "phpstan/phpstan-nette", - "version": "1.0.0", + "version": "1.3.8", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-nette.git", - "reference": "f4654b27b107241e052755ec187a0b1964541ba6" + "reference": "bc74b8b208b47f163fe55708fcf1a0333247fa79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-nette/zipball/f4654b27b107241e052755ec187a0b1964541ba6", - "reference": "f4654b27b107241e052755ec187a0b1964541ba6", + "url": "https://api.github.com/repos/phpstan/phpstan-nette/zipball/bc74b8b208b47f163fe55708fcf1a0333247fa79", + "reference": "bc74b8b208b47f163fe55708fcf1a0333247fa79", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.0" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.11.11" }, "conflict": { "nette/application": "<2.3.0", @@ -3401,20 +2974,17 @@ "nette/utils": "<2.3.0" }, "require-dev": { + "nette/application": "^3.0", "nette/forms": "^3.0", "nette/utils": "^2.3.0 || ^3.0.0", - "nikic/php-parser": "^4.13.0", + "nikic/php-parser": "^4.13.2", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-php-parser": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "~9.5.28" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "phpstan": { "includes": [ "extension.neon", @@ -3434,39 +3004,37 @@ "description": "Nette Framework class reflection extension for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-nette/issues", - "source": "https://github.com/phpstan/phpstan-nette/tree/1.0.0" + "source": "https://github.com/phpstan/phpstan-nette/tree/1.3.8" }, - "time": "2021-09-20T16:12:57+00:00" + "time": "2024-08-25T12:11:12+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "1.1.0", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "e12d55f74a8cca18c6e684c6450767e055ba7717" + "reference": "daeec748b53de80a97498462513066834ec28f8b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/e12d55f74a8cca18c6e684c6450767e055ba7717", - "reference": "e12d55f74a8cca18c6e684c6450767e055ba7717", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/daeec748b53de80a97498462513066834ec28f8b", + "reference": "daeec748b53de80a97498462513066834ec28f8b", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.2.0" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.12.4" }, "require-dev": { "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-deprecation-rules": "^1.1", "phpstan/phpstan-phpunit": "^1.0", "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "phpstan": { "includes": [ "rules.neon" @@ -3485,48 +3053,48 @@ "description": "Extra strict and opinionated rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.1.0" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.6.1" }, - "time": "2021-11-18T09:30:29+00:00" + "time": "2024-09-20T14:04:44+00:00" }, { "name": "slevomat/coding-standard", - "version": "7.0.20", + "version": "8.15.0", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "cbfadfe34c2c29473bf1e891306b3950b3b4350b" + "reference": "7d1d957421618a3803b593ec31ace470177d7817" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/cbfadfe34c2c29473bf1e891306b3950b3b4350b", - "reference": "cbfadfe34c2c29473bf1e891306b3950b3b4350b", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/7d1d957421618a3803b593ec31ace470177d7817", + "reference": "7d1d957421618a3803b593ec31ace470177d7817", "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.2" + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", + "php": "^7.2 || ^8.0", + "phpstan/phpdoc-parser": "^1.23.1", + "squizlabs/php_codesniffer": "^3.9.0" }, "require-dev": { - "phing/phing": "2.17.2", + "phing/phing": "2.17.4", "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.4.10|1.5.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.19" + "phpstan/phpstan": "1.10.60", + "phpstan/phpstan-deprecation-rules": "1.1.4", + "phpstan/phpstan-phpunit": "1.3.16", + "phpstan/phpstan-strict-rules": "1.5.2", + "phpunit/phpunit": "8.5.21|9.6.8|10.5.11" }, "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/", @@ -3534,9 +3102,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.20" + "source": "https://github.com/slevomat/coding-standard/tree/8.15.0" }, "funding": [ { @@ -3548,20 +3120,20 @@ "type": "tidelift" } ], - "time": "2022-03-25T09:43:20+00:00" + "time": "2024-03-09T15:20:58+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.6.2", + "version": "3.10.3", "source": { "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" + "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", + "reference": "62d32998e820bddc40f99f8251958aed187a5c9c" }, "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/62d32998e820bddc40f99f8251958aed187a5c9c", + "reference": "62d32998e820bddc40f99f8251958aed187a5c9c", "shasum": "" }, "require": { @@ -3571,11 +3143,11 @@ "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": { @@ -3590,21 +3162,45 @@ "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" + } + ], + "time": "2024-09-18T10:38:58+00:00" }, { "name": "webnazakazku/mango-presenter-tester", @@ -3713,27 +3309,28 @@ }, { "name": "webnazakazku/mango-tester-http-mocks", - "version": "v0.4", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/webnazakazku/mango-tester-http-mocks.git", - "reference": "6d2dbc277c9ddf971abb78d421280ac0614008d2" + "reference": "4a026e274511ac72dc4b5ef323887de615ff041b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webnazakazku/mango-tester-http-mocks/zipball/6d2dbc277c9ddf971abb78d421280ac0614008d2", - "reference": "6d2dbc277c9ddf971abb78d421280ac0614008d2", + "url": "https://api.github.com/repos/webnazakazku/mango-tester-http-mocks/zipball/4a026e274511ac72dc4b5ef323887de615ff041b", + "reference": "4a026e274511ac72dc4b5ef323887de615ff041b", "shasum": "" }, "require": { - "nette/http": "~3.0", - "php": ">=7.1" + "nette/http": "~3.3.0", + "php": ">=8.1" }, "require-dev": { - "ninjify/qa": "^0.13", + "contributte/qa": "^0.3", "phpstan/phpstan": "^1.0", "webnazakazku/mango-tester-infrastructure": "^0.6" }, + "default-branch": true, "type": "library", "autoload": { "classmap": [ @@ -3745,7 +3342,7 @@ "MIT" ], "support": { - "source": "https://github.com/webnazakazku/mango-tester-http-mocks/tree/v0.4" + "source": "https://github.com/webnazakazku/mango-tester-http-mocks/tree/master" }, "funding": [ { @@ -3753,7 +3350,7 @@ "type": "github" } ], - "time": "2022-03-25T21:10:11+00:00" + "time": "2024-11-10T16:50:18+00:00" }, { "name": "webnazakazku/mango-tester-infrastructure", @@ -3806,12 +3403,14 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "webnazakazku/mango-tester-http-mocks": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": ">=7.2" }, - "platform-dev": [], - "plugin-api-version": "2.2.0" + "platform-dev": {}, + "plugin-api-version": "2.6.0" } diff --git a/ruleset.xml b/ruleset.xml index 874da3a..a5b937c 100644 --- a/ruleset.xml +++ b/ruleset.xml @@ -1,7 +1,9 @@ - - + + + + @@ -10,11 +12,18 @@ app=>App, tests/cases/integration/presenters=>AppTests\Presenters, tests/src=>AppTests, - "/> - + "/> + - - /tests/tmp + + + + + + + tests/*.php + + diff --git a/tests/bootstrap.php b/tests/bootstrap.php index e1245ab..3e55d85 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -4,13 +4,13 @@ DG\BypassFinals::enable(); -$configurator = new Nette\Configurator(); +$configurator = new Nette\Bootstrap\Configurator(); -// we need to override defaultExtensions because Nette\Configurator registers +// we need to override defaultExtensions because Nette\Bootstrap\Configurator registers // butch of extensions we don't need and that clash with the Mango Tester $configurator->defaultExtensions = [ - 'php' => Nette\DI\Extensions\PhpExtension::class, - 'constants' => Nette\DI\Extensions\ConstantsExtension::class, + 'php' => Nette\Bootstrap\Extensions\PhpExtension::class, + 'constants' => Nette\Bootstrap\Extensions\ConstantsExtension::class, 'extensions' => Nette\DI\Extensions\ExtensionsExtension::class, 'decorator' => Nette\DI\Extensions\DecoratorExtension::class, 'cache' => [Nette\Bridges\CacheDI\CacheExtension::class, ['%tempDir%']], @@ -28,7 +28,7 @@ ->addDirectory(__DIR__) ->register(); -$configurator->addParameters([ +$configurator->addStaticParameters([ 'appDir' => __DIR__ . '/../app', 'wwwDir' => __DIR__ . '/../www', ]); diff --git a/tests/cases/integration/presenters/HomepagePresenterTest.php b/tests/cases/integration/presenters/HomepagePresenterTest.php index 19dadef..305be2c 100644 --- a/tests/cases/integration/presenters/HomepagePresenterTest.php +++ b/tests/cases/integration/presenters/HomepagePresenterTest.php @@ -14,8 +14,7 @@ class HomepagePresenterTest extends TestCase { - /** @var PresenterTester */ - private $presenterTester; + private PresenterTester $presenterTester; public function __construct(PresenterTester $presenterTester) { diff --git a/tests/cases/integration/presenters/SignPresenterTest.php b/tests/cases/integration/presenters/SignPresenterTest.php index 090720a..b3a611c 100644 --- a/tests/cases/integration/presenters/SignPresenterTest.php +++ b/tests/cases/integration/presenters/SignPresenterTest.php @@ -4,21 +4,19 @@ use App\Model\UserManager; use Mockery\MockInterface; -use Nette; +use Nette\Database\Explorer; use Webnazakazku\MangoTester\Infrastructure\TestCase; use Webnazakazku\MangoTester\PresenterTester\PresenterTester; $testContainerFactory = require __DIR__ . '/../../../bootstrap.php'; - /** * @testCase */ class SignPresenterTest extends TestCase { - /** @var PresenterTester */ - private $presenterTester; + private PresenterTester $presenterTester; public function __construct(PresenterTester $presenterTester) { @@ -33,11 +31,11 @@ public function testSignInActionRenders(): void $testResponse = $this->presenterTester->execute($testRequest); $testResponse->assertRenders([ 'Sign In', - '
', + '', ]); } - public function testSignInFormSentOk(Nette\Database\Context $ntb): void + public function testSignInFormSentOk(Explorer $ntb): void { $ntb->table('users')->insert([ 'username' => 'dave', @@ -57,7 +55,7 @@ public function testSignInFormSentOk(Nette\Database\Context $ntb): void $testResponse->assertRedirects('Homepage'); } - public function testSignInFormSentWithWrongPassword(Nette\Database\Context $ntb): void + public function testSignInFormSentWithWrongPassword(Explorer $ntb): void { $ntb->table('users')->insert([ 'username' => 'dave', @@ -99,7 +97,7 @@ public function testSignUpActionRenders(): void $testResponse = $this->presenterTester->execute($testRequest); $testResponse->assertRenders([ 'Sign Up', - '', + '', ]); } @@ -118,7 +116,7 @@ public function testSignUpFormSentOk(): void $testResponse->assertRedirects('Homepage'); } - public function testSignUpFormSentWithDuplicateUsername(Nette\Database\Context $ntb): void + public function testSignUpFormSentWithDuplicateUsername(Explorer $ntb): void { $ntb->table('users')->insert([ 'username' => 'dave', diff --git a/tests/src/AppConfiguratorFactory.php b/tests/src/AppConfiguratorFactory.php index 65ad8d7..5888ea0 100644 --- a/tests/src/AppConfiguratorFactory.php +++ b/tests/src/AppConfiguratorFactory.php @@ -2,24 +2,23 @@ namespace AppTests; -use Nette\Configurator; -use Nette\DI\Container; -use Nette\DI\Definitions\Statement; +use Nette\Bootstrap\Configurator; +use Nette\DI\Container as DIContainer; +use Nette\DI\Definitions\Statement as DIStatement; use Webnazakazku\MangoTester\DatabaseCreator\DatabaseCreator; use Webnazakazku\MangoTester\Infrastructure\Container\IAppConfiguratorFactory; class AppConfiguratorFactory implements IAppConfiguratorFactory { - /** @var DatabaseCreator */ - private $databaseCreator; + private DatabaseCreator $databaseCreator; public function __construct(DatabaseCreator $databaseCreator) { $this->databaseCreator = $databaseCreator; } - public function create(Container $testContainer): Configurator + public function create(DIContainer $testContainer): Configurator { $testDatabaseName = $this->databaseCreator->getDatabaseName(); $testContainerParameters = $testContainer->getParameters(); @@ -41,7 +40,7 @@ public function create(Container $testContainer): Configurator 'services' => [ 'database.default.connection' => [ 'setup' => [ - new Statement('@databaseCreator::createTestDatabase'), + new DIStatement('@databaseCreator::createTestDatabase'), ], ], ],