From 939468e2b59acf732bef7cb8dba5ee4cc6a6b208 Mon Sep 17 00:00:00 2001 From: m4nu Date: Tue, 14 Mar 2023 19:41:13 -0500 Subject: [PATCH 01/28] Add Support for Phalcon V5 and PHP 8 --- README.md | 6 +- composer.json | 10 +- composer.lock | 6276 ++++++++--------- phalcon | 8 +- src/Bootstrap.php | 8 +- src/Builder/Component/AbstractComponent.php | 4 +- src/Builder/Component/Model.php | 17 +- src/Builder/Component/Scaffold.php | 36 +- src/Builder/Exception/BuilderException.php | 3 +- src/Builder/Path.php | 2 +- src/Builder/Project/ProjectAware.php | 2 +- src/Builder/Project/ProjectBuilder.php | 2 +- src/Builder/Project/Simple.php | 3 +- src/Commands/Builtin/AllModels.php | 4 +- src/Commands/Builtin/Controller.php | 2 +- src/Commands/Builtin/Migration.php | 2 +- src/Commands/Builtin/Model.php | 9 +- src/Commands/Builtin/Scaffold.php | 2 +- src/Commands/Builtin/Serve.php | 2 +- src/Commands/Builtin/Webtools.php | 2 - src/Commands/Command.php | 4 +- src/Commands/CommandsException.php | 3 +- src/Exception/ProviderException.php | 3 +- src/Mvc/Controller/Base.php | 18 +- src/Mvc/Controller/CodemirrorTrait.php | 4 +- src/Providers/ConfigProvider.php | 2 +- src/Providers/DataCacheProvider.php | 2 +- src/Providers/FlashSessionProvider.php | 2 +- src/Providers/ModelsCacheProvider.php | 2 +- src/Providers/RegistryProvider.php | 4 +- src/Providers/UrlProvider.php | 4 +- src/Providers/ViewCacheProvider.php | 2 +- src/Providers/ViewProvider.php | 2 +- src/Providers/VoltProvider.php | 2 +- src/Scanners/Config.php | 2 +- src/Script/ScriptException.php | 3 +- src/Utils.php | 2 +- src/Utils/DbUtils.php | 2 +- src/Utils/FsUtils.php | 6 +- src/Utils/SystemInfo.php | 12 +- src/Validation/Validator/Namespaces.php | 4 +- src/Version.php | 6 +- src/Web/Tools/Controllers/ErrorController.php | 4 +- .../Tools/Controllers/ModelsController.php | 6 +- .../Tools/Controllers/ScaffoldController.php | 6 +- templates/module/Module.php | 4 +- templates/project/cli/config.php | 2 +- templates/project/cli/loader.php | 4 +- templates/project/micro/config.php | 2 +- templates/project/micro/loader.php | 4 +- templates/project/micro/services.php | 2 +- templates/project/micro/views/index.phtml | 44 +- templates/project/micro/views/index.volt | 43 +- templates/project/modules/Module_cli.php | 4 +- templates/project/modules/Module_web.php | 4 +- templates/project/modules/config.php | 2 +- templates/project/modules/loader.php | 6 +- templates/project/modules/services_web.php | 4 +- templates/project/modules/views/index.phtml | 37 +- templates/project/modules/views/index.volt | 37 +- .../project/modules/views/index/index.phtml | 4 +- .../project/modules/views/index/index.volt | 4 +- templates/project/simple/config.php | 2 +- templates/project/simple/loader.php | 4 +- templates/project/simple/services.php | 4 +- templates/project/simple/views/index.phtml | 37 +- templates/project/simple/views/index.volt | 37 +- .../project/simple/views/index/index.phtml | 4 +- .../project/simple/views/index/index.volt | 4 +- tests/_data/acceptance/mysql/config.php | 2 +- tests/_data/acceptance/pgsql/config.php | 2 +- tests/_data/console/app/mysql/config.php | 2 +- tests/_data/console/app/postgresql/config.php | 2 +- tests/_data/fixtures/Traits/DiTrait.php | 10 +- tests/unit/UtilsTest.php | 14 +- 75 files changed, 3254 insertions(+), 3584 deletions(-) diff --git a/README.md b/README.md index 1115b2fc9..e4e954e6c 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ with Phalcon framework. ## Requirements -* PHP >= 7.2 -* Phalcon >= 4.0.0 +* PHP >= 7.4.1 +* Phalcon >= 5.0.0 ## Installing via Composer @@ -116,7 +116,7 @@ This command should display something similar to: ```sh $ phalcon --help -Phalcon DevTools (4.1.0) +Phalcon DevTools (5.0.0) Help: Lists the commands available in Phalcon DevTools diff --git a/composer.json b/composer.json index 5a0d01102..0f39644a8 100644 --- a/composer.json +++ b/composer.json @@ -22,18 +22,18 @@ "forum": "https://forum.phalcon.io" }, "require": { - "php": ">=7.2", + "php": ">=7.4.1", "ext-pdo": "*", - "ext-phalcon": "^4.0.0", + "ext-phalcon": "^5.0.0", "psy/psysh": "~0.9", "nikic/php-parser": "^4.2.4", - "phalcon/migrations": "^2.0", + "phalcon/migrations": "^3.0", "vlucas/phpdotenv": "^3.6|^4.0|^5.0" }, "require-dev": { - "humbug/box": "^3.8", + "humbug/box": "^3.11", "codeception/codeception": "^4.1", - "phpdocumentor/reflection-docblock": "^4.3", + "phpdocumentor/reflection-docblock": "^5.2", "phpunit/phpunit": "^8.0", "codeception/specify": "^1.2", "codeception/verify": "^1.2", diff --git a/composer.lock b/composer.lock index 38b856690..3189d2000 100644 --- a/composer.lock +++ b/composer.lock @@ -4,72 +4,187 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e04fa6d01edb933f490ddb3528b52ec9", + "content-hash": "533c8a892e6097ed317a507b62ac53f5", "packages": [ { - "name": "dnoegel/php-xdg-base-dir", - "version": "v0.1.1", + "name": "composer/package-versions-deprecated", + "version": "1.11.99.5", "source": { "type": "git", - "url": "https://github.com/dnoegel/php-xdg-base-dir.git", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", "shasum": "" }, "require": { - "php": ">=5.3.2" + "composer-plugin-api": "^1.1.0 || ^2.0", + "php": "^7 || ^8" + }, + "replace": { + "ocramius/package-versions": "1.11.99" }, "require-dev": { - "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" + "composer/composer": "^1.9.3 || ^2.0@dev", + "ext-zip": "^1.13", + "phpunit/phpunit": "^6.5 || ^7" + }, + "type": "composer-plugin", + "extra": { + "class": "PackageVersions\\Installer", + "branch-alias": { + "dev-master": "1.x-dev" + } }, - "type": "library", "autoload": { "psr-4": { - "XdgBaseDir\\": "src/" + "PackageVersions\\": "src/PackageVersions" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "implementation of xdg base directory specification for php", + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be" + } + ], + "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", "support": { - "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", - "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" + "issues": "https://github.com/composer/package-versions-deprecated/issues", + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" }, - "time": "2019-12-04T15:06:13+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-01-17T14:14:24+00:00" }, { - "name": "graham-campbell/result-type", - "version": "v1.0.1", + "name": "fidry/console", + "version": "0.5.5", "source": { "type": "git", - "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb" + "url": "https://github.com/theofidry/console.git", + "reference": "bc1fe03f600c63f12ec0a39c6b746c1a1fb77bf7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/7e279d2cd5d7fbb156ce46daada972355cea27bb", - "reference": "7e279d2cd5d7fbb156ce46daada972355cea27bb", + "url": "https://api.github.com/repos/theofidry/console/zipball/bc1fe03f600c63f12ec0a39c6b746c1a1fb77bf7", + "reference": "bc1fe03f600c63f12ec0a39c6b746c1a1fb77bf7", "shasum": "" }, "require": { - "php": "^7.0|^8.0", - "phpoption/phpoption": "^1.7.3" + "php": "^7.4.0 || ^8.0.0", + "symfony/console": "^4.4 || ^5.4 || ^6.1", + "symfony/event-dispatcher-contracts": "^1.0 || ^2.5 || ^3.0", + "symfony/service-contracts": "^1.0 || ^2.5 || ^3.0", + "thecodingmachine/safe": "^1.3 || ^2.0", + "webmozart/assert": "^1.11" + }, + "conflict": { + "symfony/dependency-injection": "<5.3.0", + "symfony/framework-bundle": "<5.3.0", + "symfony/http-kernel": "<5.3.0" }, "require-dev": { - "phpunit/phpunit": "^6.5|^7.5|^8.5|^9.0" + "bamarni/composer-bin-plugin": "^1.4", + "composer/semver": "^3.3", + "ergebnis/composer-normalize": "^2.28", + "infection/infection": "^0.26", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.4.3", + "symfony/dependency-injection": "^4.4 || ^5.4 || ^6.1", + "symfony/framework-bundle": "^4.4 || ^5.4 || ^6.1", + "symfony/http-kernel": "^4.4 || ^5.4 || ^6.1", + "symfony/phpunit-bridge": "^4.4.47 || ^5.4 || ^6.0", + "symfony/yaml": "^4.4 || ^5.4 || ^6.1", + "webmozarts/strict-phpunit": "^7.3" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": false, + "forward-command": false + }, "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Fidry\\Console\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Théo Fidry", + "email": "theo.fidry@gmail.com" + } + ], + "description": "Library to create CLI applications", + "keywords": [ + "cli", + "console", + "symfony" + ], + "support": { + "issues": "https://github.com/theofidry/console/issues", + "source": "https://github.com/theofidry/console/tree/0.5.5" + }, + "funding": [ + { + "url": "https://github.com/theofidry", + "type": "github" } + ], + "time": "2022-12-18T10:49:34+00:00" + }, + { + "name": "graham-campbell/result-type", + "version": "v1.1.1", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831", + "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.1" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" }, + "type": "library", "autoload": { "psr-4": { "GrahamCampbell\\ResultType\\": "src/" @@ -82,7 +197,8 @@ "authors": [ { "name": "Graham Campbell", - "email": "graham@alt-three.com" + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], "description": "An Implementation Of The Result Type", @@ -95,7 +211,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.1" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.1" }, "funding": [ { @@ -107,189 +223,475 @@ "type": "tidelift" } ], - "time": "2020-04-13T13:17:36+00:00" + "time": "2023-02-25T20:23:15+00:00" }, { - "name": "nikic/php-parser", - "version": "v4.10.4", + "name": "humbug/php-scoper", + "version": "0.17.7", "source": { "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e" + "url": "https://github.com/humbug/php-scoper.git", + "reference": "0760c02bd666e0dc4918e4e7fb1c4c53c47bcf54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e", - "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e", + "url": "https://api.github.com/repos/humbug/php-scoper/zipball/0760c02bd666e0dc4918e4e7fb1c4c53c47bcf54", + "reference": "0760c02bd666e0dc4918e4e7fb1c4c53c47bcf54", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=7.0" + "composer/package-versions-deprecated": "^1.8", + "fidry/console": "^0.5.0", + "jetbrains/phpstorm-stubs": "^v2022.1", + "nikic/php-parser": "^4.12", + "php": "^8.1", + "symfony/console": "^5.2 || ^6.0", + "symfony/filesystem": "^5.2 || ^6.0", + "symfony/finder": "^5.2 || ^6.0", + "symfony/polyfill-php80": "^1.23", + "symfony/polyfill-php81": "^1.24", + "thecodingmachine/safe": "^1.3 || ^2.0" + }, + "replace": { + "symfony/polyfill-php73": "*" }, "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "bamarni/composer-bin-plugin": "^1.1", + "ergebnis/composer-normalize": "^2.28", + "humbug/box": "^4.0", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.0" }, "bin": [ - "bin/php-parse" + "bin/php-scoper" ], "type": "library", "extra": { + "bamarni-bin": { + "bin-links": false + }, "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "1.0-dev" } }, "autoload": { + "files": [ + "src/functions.php" + ], "psr-4": { - "PhpParser\\": "lib/PhpParser" + "Humbug\\PhpScoper\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Nikita Popov" + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + }, + { + "name": "Théo Fidry", + "email": "theo.fidry@gmail.com" + }, + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com" } ], - "description": "A PHP parser written in PHP", + "description": "Prefixes all PHP namespaces in a file or directory.", + "support": { + "issues": "https://github.com/humbug/php-scoper/issues", + "source": "https://github.com/humbug/php-scoper/tree/0.17.7" + }, + "time": "2022-11-03T19:10:41+00:00" + }, + { + "name": "jetbrains/phpstorm-stubs", + "version": "v2022.3", + "source": { + "type": "git", + "url": "https://github.com/JetBrains/phpstorm-stubs.git", + "reference": "6b568c153cea002dc6fad96285c3063d07cab18d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/6b568c153cea002dc6fad96285c3063d07cab18d", + "reference": "6b568c153cea002dc6fad96285c3063d07cab18d", + "shasum": "" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "@stable", + "nikic/php-parser": "@stable", + "php": "^8.0", + "phpdocumentor/reflection-docblock": "@stable", + "phpunit/phpunit": "@stable" + }, + "type": "library", + "autoload": { + "files": [ + "PhpStormStubsMap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "PHP runtime & extensions header files for PhpStorm", + "homepage": "https://www.jetbrains.com/phpstorm", "keywords": [ - "parser", - "php" + "autocomplete", + "code", + "inference", + "inspection", + "jetbrains", + "phpstorm", + "stubs", + "type" ], "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4" + "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2022.3" }, - "time": "2020-12-20T10:01:03+00:00" + "time": "2022-10-17T09:21:37+00:00" }, { - "name": "phalcon/cli-options-parser", - "version": "v1.2.1", + "name": "nette/php-generator", + "version": "v3.6.9", "source": { "type": "git", - "url": "https://github.com/phalcon/cli-options-parser.git", - "reference": "9487c84fb320c6b6882c76d4388d039316d234b9" + "url": "https://github.com/nette/php-generator.git", + "reference": "d31782f7bd2ae84ad06f863391ec3fb77ca4d0a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phalcon/cli-options-parser/zipball/9487c84fb320c6b6882c76d4388d039316d234b9", - "reference": "9487c84fb320c6b6882c76d4388d039316d234b9", + "url": "https://api.github.com/repos/nette/php-generator/zipball/d31782f7bd2ae84ad06f863391ec3fb77ca4d0a6", + "reference": "d31782f7bd2ae84ad06f863391ec3fb77ca4d0a6", "shasum": "" }, "require": { - "php": ">=7.0 <8.0" + "nette/utils": "^3.1.2", + "php": ">=7.2 <8.3" }, "require-dev": { - "phpunit/phpunit": ">=5.3 <8.0", - "squizlabs/php_codesniffer": "3.*" + "nette/tester": "^2.4", + "nikic/php-parser": "^4.13", + "phpstan/phpstan": "^0.12", + "tracy/tracy": "^2.8" + }, + "suggest": { + "nikic/php-parser": "to use ClassType::withBodiesFrom() & GlobalFunction::withBodyFrom()" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "3.6-dev" } }, "autoload": { - "psr-4": { - "Phalcon\\Cop\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" ], "authors": [ { - "name": "Phalcon Team", - "email": "team@phalconphp.com", - "homepage": "https://phalconphp.com/en/team" + "name": "David Grudl", + "homepage": "https://davidgrudl.com" }, { - "name": "Contributors", - "homepage": "https://github.com/phalcon/cli-options-parser/graphs/contributors" + "name": "Nette Community", + "homepage": "https://nette.org/contributors" } ], - "description": "Command line arguments/options parser.", - "homepage": "https://phalconphp.com", + "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.1 features.", + "homepage": "https://nette.org", "keywords": [ - "argparse", - "cli", - "command", - "command-line", - "getopt", - "line", - "option", - "optparse", - "parser", - "terminal" + "code", + "nette", + "php", + "scaffolding" ], "support": { - "forum": "https://forum.phalconphp.com/", - "issues": "https://github.com/phalcon/cli-options-parser/issues", - "source": "https://github.com/phalcon/cli-options-parser" + "issues": "https://github.com/nette/php-generator/issues", + "source": "https://github.com/nette/php-generator/tree/v3.6.9" }, - "funding": [ - { - "url": "https://github.com/phalcon", - "type": "github" - }, - { - "url": "https://opencollective.com/phalcon", - "type": "open_collective" - } - ], - "time": "2020-03-14T18:48:08+00:00" + "time": "2022-10-04T11:49:47+00:00" }, { - "name": "phalcon/migrations", - "version": "v2.1.6", + "name": "nette/utils", + "version": "v3.2.9", "source": { "type": "git", - "url": "https://github.com/phalcon/migrations.git", - "reference": "fec5c239a9abf718778e577cdd9eceb880ea624e" + "url": "https://github.com/nette/utils.git", + "reference": "c91bac3470c34b2ecd5400f6e6fdf0b64a836a5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phalcon/migrations/zipball/fec5c239a9abf718778e577cdd9eceb880ea624e", - "reference": "fec5c239a9abf718778e577cdd9eceb880ea624e", + "url": "https://api.github.com/repos/nette/utils/zipball/c91bac3470c34b2ecd5400f6e6fdf0b64a836a5c", + "reference": "c91bac3470c34b2ecd5400f6e6fdf0b64a836a5c", "shasum": "" }, "require": { - "ext-phalcon": "^4.0.5", - "phalcon/cli-options-parser": "^1.2", - "php": ">=7.2" + "php": ">=7.2 <8.3" + }, + "conflict": { + "nette/di": "<3.0.6" }, "require-dev": { - "codeception/codeception": "^4.1", - "codeception/module-asserts": "^1.0.0", - "codeception/module-cli": "^1.0", - "codeception/module-db": "^1.0", - "codeception/module-phpbrowser": "^1.0.0", - "ext-pdo": "*", - "fzaninotto/faker": "^1.9", - "humbug/box": "^3.8", - "phalcon/ide-stubs": "^4.0.0", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.1", - "vlucas/phpdotenv": "^4.1" + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "~2.0", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.3" }, "suggest": { - "robmorgan/phinx": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app." + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "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" }, - "bin": [ - "phalcon-migrations" - ], "type": "library", - "autoload": { - "psr-4": { - "Phalcon\\Migrations\\": "src/" + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" } }, - "notification-url": "https://packagist.org/downloads/", - "license": [ + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v3.2.9" + }, + "time": "2023-01-18T03:26:20+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.15.4", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290", + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4" + }, + "time": "2023-03-05T19:49:14+00:00" + }, + { + "name": "phalcon/cli-options-parser", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/phalcon/cli-options-parser.git", + "reference": "1c5a7d0db23a88d8ba14646af75464cbbd115251" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phalcon/cli-options-parser/zipball/1c5a7d0db23a88d8ba14646af75464cbbd115251", + "reference": "1c5a7d0db23a88d8ba14646af75464cbbd115251", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5.8", + "squizlabs/php_codesniffer": "3.*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Phalcon\\Cop\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Phalcon Team", + "email": "team@phalconphp.com", + "homepage": "https://phalconphp.com/en/team" + }, + { + "name": "Contributors", + "homepage": "https://github.com/phalcon/cli-options-parser/graphs/contributors" + } + ], + "description": "Command line arguments/options parser.", + "homepage": "https://phalconphp.com", + "keywords": [ + "argparse", + "cli", + "command", + "command-line", + "getopt", + "line", + "option", + "optparse", + "parser", + "terminal" + ], + "support": { + "forum": "https://forum.phalconphp.com/", + "issues": "https://github.com/phalcon/cli-options-parser/issues", + "source": "https://github.com/phalcon/cli-options-parser" + }, + "funding": [ + { + "url": "https://github.com/phalcon", + "type": "github" + }, + { + "url": "https://opencollective.com/phalcon", + "type": "open_collective" + } + ], + "time": "2021-08-03T02:44:01+00:00" + }, + { + "name": "phalcon/migrations", + "version": "v3.0.0", + "source": { + "type": "git", + "url": "https://github.com/phalcon/migrations.git", + "reference": "84f509fcdd62b5d4cb029490120d0a45690a12b0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phalcon/migrations/zipball/84f509fcdd62b5d4cb029490120d0a45690a12b0", + "reference": "84f509fcdd62b5d4cb029490120d0a45690a12b0", + "shasum": "" + }, + "require": { + "ext-phalcon": ">=5.0.1", + "nette/php-generator": "^3.5", + "phalcon/cli-options-parser": "^1.2", + "php": ">=7.4" + }, + "require-dev": { + "codeception/codeception": "^4.1", + "codeception/module-asserts": "^1.0.0", + "codeception/module-cli": "^1.0", + "codeception/module-db": "^1.0", + "codeception/module-phpbrowser": "^1.0.0", + "ext-pdo": "*", + "fakerphp/faker": "^1.15", + "humbug/box": "^3.8", + "phalcon/ide-stubs": "^5.0.1", + "phpstan/phpstan": "^1.8", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.6", + "vlucas/phpdotenv": "^4.1" + }, + "suggest": { + "robmorgan/phinx": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app." + }, + "bin": [ + "phalcon-migrations" + ], + "type": "library", + "autoload": { + "psr-4": { + "Phalcon\\Migrations\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ "BSD-3-Clause" ], "authors": [ @@ -326,33 +728,37 @@ "type": "open_collective" } ], - "time": "2021-03-22T20:21:52+00:00" + "time": "2022-09-26T07:15:01+00:00" }, { "name": "phpoption/phpoption", - "version": "1.7.5", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525" + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/994ecccd8f3283ecf5ac33254543eb0ac946d525", - "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dd3a383e599f49777d8b628dadbb90cae435b87e", + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0 || ^8.0 || ^9.0" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "1.9-dev" } }, "autoload": { @@ -367,11 +773,13 @@ "authors": [ { "name": "Johannes M. Schmitt", - "email": "schmittjoh@gmail.com" + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" }, { "name": "Graham Campbell", - "email": "graham@alt-three.com" + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], "description": "Option Type for PHP", @@ -383,7 +791,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.7.5" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.1" }, "funding": [ { @@ -395,26 +803,31 @@ "type": "tidelift" } ], - "time": "2020-07-20T17:29:33+00:00" + "time": "2023-02-25T19:38:58+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/" @@ -441,43 +854,93 @@ ], "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-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" }, - "time": "2021-03-05T17:36:06+00:00" + "time": "2019-01-08T18:20:26+00:00" }, { "name": "psy/psysh", - "version": "v0.10.7", + "version": "v0.11.12", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "a395af46999a12006213c0c8346c9445eb31640c" + "reference": "52cb7c47d403c31c0adc9bf7710fc355f93c20f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/a395af46999a12006213c0c8346c9445eb31640c", - "reference": "a395af46999a12006213c0c8346c9445eb31640c", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/52cb7c47d403c31c0adc9bf7710fc355f93c20f7", + "reference": "52cb7c47d403c31c0adc9bf7710fc355f93c20f7", "shasum": "" }, "require": { - "dnoegel/php-xdg-base-dir": "0.1.*", "ext-json": "*", "ext-tokenizer": "*", - "nikic/php-parser": "~4.0|~3.0|~2.0|~1.3", - "php": "^8.0 || ^7.0 || ^5.5.9", - "symfony/console": "~5.0|~4.0|~3.0|^2.4.2|~2.3.10", - "symfony/var-dumper": "~5.0|~4.0|~3.0|~2.7" + "nikic/php-parser": "^4.0 || ^3.1", + "php": "^8.0 || ^7.0.8", + "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4" + }, + "conflict": { + "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.2", - "hoa/console": "3.17.*" + "bamarni/composer-bin-plugin": "^1.2" }, "suggest": { "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", "ext-pdo-sqlite": "The doc command requires SQLite to work.", "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", - "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.", - "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit." + "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history." }, "bin": [ "bin/psysh" @@ -485,7 +948,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.10.x-dev" + "dev-main": "0.11.x-dev" } }, "autoload": { @@ -517,48 +980,52 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.10.7" + "source": "https://github.com/bobthecow/psysh/tree/v0.11.12" }, - "time": "2021-03-14T02:14:56+00:00" + "time": "2023-01-29T21:24:40+00:00" }, { "name": "symfony/console", - "version": "v4.4.21", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "1ba4560dbbb9fcf5ae28b61f71f49c678086cf23" + "reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/1ba4560dbbb9fcf5ae28b61f71f49c678086cf23", - "reference": "1ba4560dbbb9fcf5ae28b61f71f49c678086cf23", + "url": "https://api.github.com/repos/symfony/console/zipball/c77433ddc6cdc689caf48065d9ea22ca0853fbd9", + "reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9", "shasum": "" }, "require": { - "php": ">=7.1.3", + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.8", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2" + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" }, "conflict": { - "symfony/dependency-injection": "<3.4", - "symfony/event-dispatcher": "<4.3|>=5", + "psr/log": ">=3", + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", "symfony/lock": "<4.4", - "symfony/process": "<3.3" + "symfony/process": "<4.4" }, "provide": { - "psr/log-implementation": "1.0" + "psr/log-implementation": "1.0|2.0" }, "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^3.4|^4.0|^5.0", - "symfony/dependency-injection": "^3.4|^4.0|^5.0", - "symfony/event-dispatcher": "^4.3", - "symfony/lock": "^4.4|^5.0", - "symfony/process": "^3.4|^4.0|^5.0", - "symfony/var-dumper": "^4.3|^5.0" + "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", @@ -591,8 +1058,14 @@ ], "description": "Eases the creation of beautiful and testable command line interfaces", "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], "support": { - "source": "https://github.com/symfony/console/tree/v4.4.21" + "source": "https://github.com/symfony/console/tree/v5.4.21" }, "funding": [ { @@ -608,44 +1081,38 @@ "type": "tidelift" } ], - "time": "2021-03-26T09:23:24+00:00" + "time": "2023-02-25T16:59:41+00:00" }, { - "name": "symfony/polyfill-ctype", - "version": "v1.22.1", + "name": "symfony/deprecation-contracts", + "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "c6c942b1ac76c82448322025e084cadc56048b4e" + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e", - "reference": "c6c942b1ac76c82448322025e084cadc56048b4e", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", + "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", "shasum": "" }, "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-ctype": "For best performance" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "3.3-dev" }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, "files": [ - "bootstrap.php" + "function.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -654,24 +1121,18 @@ ], "authors": [ { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for ctype functions", + "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.1" }, "funding": [ { @@ -687,45 +1148,43 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2023-03-01T10:25:55+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "v1.22.1", + "name": "symfony/event-dispatcher-contracts", + "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "5232de97ee3b75b0360528dae24e73db49566ab1" + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1", - "reference": "5232de97ee3b75b0360528dae24e73db49566ab1", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", + "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1", + "psr/event-dispatcher": "^1" }, "suggest": { - "ext-mbstring": "For best performance" + "symfony/event-dispatcher-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "3.3-dev" }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, - "files": [ - "bootstrap.php" - ] + "Symfony\\Contracts\\EventDispatcher\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -741,17 +1200,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Mbstring extension", + "description": "Generic abstractions related to dispatching event", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.1" }, "funding": [ { @@ -767,41 +1227,35 @@ "type": "tidelift" } ], - "time": "2021-01-22T09:19:47+00:00" + "time": "2023-03-01T10:32:47+00:00" }, { - "name": "symfony/polyfill-php72", - "version": "v1.22.1", + "name": "symfony/filesystem", + "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9" + "url": "https://github.com/symfony/filesystem.git", + "reference": "e75960b1bbfd2b8c9e483e0d74811d555ca3de9f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9", - "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/e75960b1bbfd2b8c9e483e0d74811d555ca3de9f", + "reference": "e75960b1bbfd2b8c9e483e0d74811d555ca3de9f", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8", + "symfony/polyfill-php80": "^1.16" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.22-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" + "Symfony\\Component\\Filesystem\\": "" }, - "files": [ - "bootstrap.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -810,24 +1264,18 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.22.1" + "source": "https://github.com/symfony/filesystem/tree/v5.4.21" }, "funding": [ { @@ -843,44 +1291,34 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.22.1", + "name": "symfony/finder", + "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + "url": "https://github.com/symfony/finder.git", + "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "url": "https://api.github.com/repos/symfony/finder/zipball/078e9a5e1871fcfe6a5ce421b539344c21afef19", + "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.22-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" + "Symfony\\Component\\Finder\\": "" }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -889,24 +1327,18 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1" + "source": "https://github.com/symfony/finder/tree/v5.4.21" }, "funding": [ { @@ -922,29 +1354,35 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2023-02-16T09:33:00+00:00" }, { - "name": "symfony/polyfill-php80", - "version": "v1.22.1", + "name": "symfony/polyfill-ctype", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -952,15 +1390,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, "files": [ "bootstrap.php" ], - "classmap": [ - "Resources/stubs" - ] + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -968,28 +1403,24 @@ ], "authors": [ { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "description": "Symfony polyfill for ctype functions", "homepage": "https://symfony.com", "keywords": [ "compatibility", + "ctype", "polyfill", - "portable", - "shim" + "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" }, "funding": [ { @@ -1005,42 +1436,44 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symfony/service-contracts", - "version": "v2.2.0", + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", - "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.0" + "php": ">=7.1" }, "suggest": { - "symfony/service-implementation": "" + "ext-intl": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-main": "1.27-dev" }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Symfony\\Contracts\\Service\\": "" + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -1057,18 +1490,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Generic abstractions related to writing services", + "description": "Symfony polyfill for intl's grapheme_* functions", "homepage": "https://symfony.com", "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/master" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" }, "funding": [ { @@ -1084,56 +1517,47 @@ "type": "tidelift" } ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "symfony/var-dumper", - "version": "v4.4.21", + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/var-dumper.git", - "reference": "0da0e174f728996f5d5072d6a9f0a42259dbc806" + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/0da0e174f728996f5d5072d6a9f0a42259dbc806", - "reference": "0da0e174f728996f5d5072d6a9f0a42259dbc806", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", "shasum": "" }, "require": { - "php": ">=7.1.3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php72": "~1.5", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", - "symfony/console": "<3.4" - }, - "require-dev": { - "ext-iconv": "*", - "symfony/console": "^3.4|^4.0|^5.0", - "symfony/process": "^4.4|^5.0", - "twig/twig": "^1.43|^2.13|^3.0.4" + "php": ">=7.1" }, "suggest": { - "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + "ext-intl": "For best performance" }, - "bin": [ - "Resources/bin/var-dump-server" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { "files": [ - "Resources/functions/dump.php" + "bootstrap.php" ], "psr-4": { - "Symfony\\Component\\VarDumper\\": "" + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1150,14 +1574,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "description": "Symfony polyfill for intl's Normalizer class and related functions", "homepage": "https://symfony.com", "keywords": [ - "debug", - "dump" + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v4.4.21" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" }, "funding": [ { @@ -1173,129 +1601,127 @@ "type": "tidelift" } ], - "time": "2021-03-27T19:49:03+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "vlucas/phpdotenv", - "version": "v5.3.0", + "name": "symfony/polyfill-mbstring", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56" + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/b3eac5c7ac896e52deab4a99068e3f4ab12d9e56", - "reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "shasum": "" }, "require": { - "ext-pcre": "*", - "graham-campbell/result-type": "^1.0.1", - "php": "^7.1.3 || ^8.0", - "phpoption/phpoption": "^1.7.4", - "symfony/polyfill-ctype": "^1.17", - "symfony/polyfill-mbstring": "^1.17", - "symfony/polyfill-php80": "^1.17" + "php": ">=7.1" }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "ext-filter": "*", - "phpunit/phpunit": "^7.5.20 || ^8.5.14 || ^9.5.1" + "provide": { + "ext-mbstring": "*" }, "suggest": { - "ext-filter": "Required to use the boolean validator." + "ext-mbstring": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.3-dev" + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Dotenv\\": "src/" + "Symfony\\Polyfill\\Mbstring\\": "" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Graham Campbell", - "email": "graham@alt-three.com", - "homepage": "https://gjcampbell.co.uk/" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { - "name": "Vance Lucas", - "email": "vance@vancelucas.com", - "homepage": "https://vancelucas.com/" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", "keywords": [ - "dotenv", - "env", - "environment" + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" ], "support": { - "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.3.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" }, "funding": [ { - "url": "https://github.com/GrahamCampbell", + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2021-01-20T15:23:13+00:00" - } - ], - "packages-dev": [ + "time": "2022-11-03T14:55:06+00:00" + }, { - "name": "amphp/amp", - "version": "v2.5.2", + "name": "symfony/polyfill-php80", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/amphp/amp.git", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/efca2b32a7580087adb8aabbff6be1dc1bb924a9", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "shasum": "" }, "require": { - "php": ">=7" - }, - "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1", - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6.0.9 | ^7", - "psalm/phar": "^3.11@dev", - "react/promise": "^2" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Amp\\": "lib" + "Symfony\\Polyfill\\Php80\\": "" }, - "files": [ - "lib/functions.php", - "lib/Internal/functions.php" + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1304,86 +1730,81 @@ ], "authors": [ { - "name": "Daniel Lowrey", - "email": "rdlowrey@php.net" - }, - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" }, { - "name": "Bob Weinand", - "email": "bobwei9@hotmail.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A non-blocking concurrency framework for PHP applications.", - "homepage": "http://amphp.org/amp", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", "keywords": [ - "async", - "asynchronous", - "awaitable", - "concurrency", - "event", - "event-loop", - "future", - "non-blocking", - "promise" + "compatibility", + "polyfill", + "portable", + "shim" ], "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.5.2" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" }, "funding": [ { - "url": "https://github.com/amphp", + "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-01-10T17:06:37+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "amphp/byte-stream", - "version": "v1.8.1", + "name": "symfony/polyfill-php81", + "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/amphp/byte-stream.git", - "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", - "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", "shasum": "" }, "require": { - "amphp/amp": "^2", "php": ">=7.1" }, - "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.4", - "friendsofphp/php-cs-fixer": "^2.3", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6 || ^7 || ^8", - "psalm/phar": "^3.11.4" - }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Amp\\ByteStream\\": "lib" + "Symfony\\Polyfill\\Php81\\": "" }, - "files": [ - "lib/functions.php" + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1392,74 +1813,81 @@ ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A stream abstraction to make working with non-blocking I/O simple.", - "homepage": "http://amphp.org/byte-stream", + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "homepage": "https://symfony.com", "keywords": [ - "amp", - "amphp", - "async", - "io", - "non-blocking", - "stream" + "compatibility", + "polyfill", + "portable", + "shim" ], "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/v1.8.1" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" }, "funding": [ { - "url": "https://github.com/amphp", + "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-03-30T17:13:30+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { - "name": "amphp/parallel", - "version": "v1.4.0", + "name": "symfony/service-contracts", + "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/amphp/parallel.git", - "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c" + "url": "https://github.com/symfony/service-contracts.git", + "reference": "a8c9cedf55f314f3a186041d19537303766df09a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parallel/zipball/2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", - "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a8c9cedf55f314f3a186041d19537303766df09a", + "reference": "a8c9cedf55f314f3a186041d19537303766df09a", "shasum": "" }, "require": { - "amphp/amp": "^2", - "amphp/byte-stream": "^1.6.1", - "amphp/parser": "^1", - "amphp/process": "^1", - "amphp/serialization": "^1", - "amphp/sync": "^1.0.1", - "php": ">=7.1" + "php": ">=8.1", + "psr/container": "^2.0" }, - "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.1", - "phpunit/phpunit": "^8 || ^7" + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "suggest": { + "symfony/service-implementation": "" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.3-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, "autoload": { "psr-4": { - "Amp\\Parallel\\": "lib" + "Symfony\\Contracts\\Service\\": "" }, - "files": [ - "lib/Context/functions.php", - "lib/Sync/functions.php", - "lib/Worker/functions.php" + "exclude-from-classmap": [ + "/Test/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1468,61 +1896,84 @@ ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { - "name": "Stephen Coakley", - "email": "me@stephencoakley.com" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Parallel processing component for Amp.", - "homepage": "https://github.com/amphp/parallel", + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", "keywords": [ - "async", - "asynchronous", - "concurrent", - "multi-processing", - "multi-threading" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], "support": { - "issues": "https://github.com/amphp/parallel/issues", - "source": "https://github.com/amphp/parallel/tree/master" + "source": "https://github.com/symfony/service-contracts/tree/v3.2.1" }, - "time": "2020-04-27T15:12:37+00:00" + "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": "2023-03-01T10:32:47+00:00" }, { - "name": "amphp/parallel-functions", - "version": "v0.1.3", + "name": "symfony/string", + "version": "v6.2.7", "source": { "type": "git", - "url": "https://github.com/amphp/parallel-functions.git", - "reference": "12e6c602e067b02f78ddf5b720c17e9aa01ad4b4" + "url": "https://github.com/symfony/string.git", + "reference": "67b8c1eec78296b85dc1c7d9743830160218993d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parallel-functions/zipball/12e6c602e067b02f78ddf5b720c17e9aa01ad4b4", - "reference": "12e6c602e067b02f78ddf5b720c17e9aa01ad4b4", + "url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", + "reference": "67b8c1eec78296b85dc1c7d9743830160218993d", "shasum": "" }, "require": { - "amphp/amp": "^2.0.3", - "amphp/parallel": "^0.1.8 || ^0.2 || ^1", - "opis/closure": "^3.0.7", - "php": ">=7" + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.0" }, "require-dev": { - "amphp/phpunit-util": "^1.0", - "friendsofphp/php-cs-fixer": "^2.9", - "phpunit/phpunit": "^6.5" + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/intl": "^6.2", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { + "files": [ + "Resources/functions.php" + ], "psr-4": { - "Amp\\ParallelFunctions\\": "src" + "Symfony\\Component\\String\\": "" }, - "files": [ - "src/functions.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1531,43 +1982,92 @@ ], "authors": [ { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Parallel processing made simple.", + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], "support": { - "issues": "https://github.com/amphp/parallel-functions/issues", - "source": "https://github.com/amphp/parallel-functions/tree/master" + "source": "https://github.com/symfony/string/tree/v6.2.7" }, - "time": "2018-10-28T15:29:02+00:00" + "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": "2023-02-24T10:42:00+00:00" }, { - "name": "amphp/parser", - "version": "v1.0.0", + "name": "symfony/var-dumper", + "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/amphp/parser.git", - "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1" + "url": "https://github.com/symfony/var-dumper.git", + "reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parser/zipball/f83e68f03d5b8e8e0365b8792985a7f341c57ae1", - "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6c5ac3a1be8b849d59a1a77877ee110e1b55eb74", + "reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74", "shasum": "" }, "require": { - "php": ">=7" + "php": ">=7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "phpunit/phpunit": "<5.4.3", + "symfony/console": "<4.4" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.3", - "phpunit/phpunit": "^6" + "ext-iconv": "*", + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/uid": "^5.1|^6.0", + "twig/twig": "^2.13|^3.0.4" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" }, + "bin": [ + "Resources/bin/var-dump-server" + ], "type": "library", "autoload": { + "files": [ + "Resources/functions/dump.php" + ], "psr-4": { - "Amp\\Parser\\": "lib" - } + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1575,183 +2075,297 @@ ], "authors": [ { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A generator parser to make streaming parsers simple.", - "homepage": "https://github.com/amphp/parser", + "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", "keywords": [ - "async", - "non-blocking", - "parser", - "stream" + "debug", + "dump" ], "support": { - "issues": "https://github.com/amphp/parser/issues", - "source": "https://github.com/amphp/parser/tree/is-valid" + "source": "https://github.com/symfony/var-dumper/tree/v5.4.21" }, - "time": "2017-06-06T05:29:10+00:00" + "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": "2023-02-23T10:00:28+00:00" }, { - "name": "amphp/process", - "version": "v1.1.1", + "name": "thecodingmachine/safe", + "version": "v2.4.0", "source": { "type": "git", - "url": "https://github.com/amphp/process.git", - "reference": "b88c6aef75c0b22f6f021141dd2d5e7c5db4c124" + "url": "https://github.com/thecodingmachine/safe.git", + "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/process/zipball/b88c6aef75c0b22f6f021141dd2d5e7c5db4c124", - "reference": "b88c6aef75c0b22f6f021141dd2d5e7c5db4c124", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/e788f3d09dcd36f806350aedb77eac348fafadd3", + "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3", "shasum": "" }, "require": { - "amphp/amp": "^2", - "amphp/byte-stream": "^1.4", - "php": ">=7" + "php": "^8.0" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1", - "phpunit/phpunit": "^6" + "phpstan/phpstan": "^1.5", + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "^3.2", + "thecodingmachine/phpstan-strict-rules": "^1.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, "autoload": { - "psr-4": { - "Amp\\Process\\": "lib" - }, "files": [ - "lib/functions.php" + "deprecated/apc.php", + "deprecated/array.php", + "deprecated/datetime.php", + "deprecated/libevent.php", + "deprecated/misc.php", + "deprecated/password.php", + "deprecated/mssql.php", + "deprecated/stats.php", + "deprecated/strings.php", + "lib/special_cases.php", + "deprecated/mysqli.php", + "generated/apache.php", + "generated/apcu.php", + "generated/array.php", + "generated/bzip2.php", + "generated/calendar.php", + "generated/classobj.php", + "generated/com.php", + "generated/cubrid.php", + "generated/curl.php", + "generated/datetime.php", + "generated/dir.php", + "generated/eio.php", + "generated/errorfunc.php", + "generated/exec.php", + "generated/fileinfo.php", + "generated/filesystem.php", + "generated/filter.php", + "generated/fpm.php", + "generated/ftp.php", + "generated/funchand.php", + "generated/gettext.php", + "generated/gmp.php", + "generated/gnupg.php", + "generated/hash.php", + "generated/ibase.php", + "generated/ibmDb2.php", + "generated/iconv.php", + "generated/image.php", + "generated/imap.php", + "generated/info.php", + "generated/inotify.php", + "generated/json.php", + "generated/ldap.php", + "generated/libxml.php", + "generated/lzf.php", + "generated/mailparse.php", + "generated/mbstring.php", + "generated/misc.php", + "generated/mysql.php", + "generated/network.php", + "generated/oci8.php", + "generated/opcache.php", + "generated/openssl.php", + "generated/outcontrol.php", + "generated/pcntl.php", + "generated/pcre.php", + "generated/pgsql.php", + "generated/posix.php", + "generated/ps.php", + "generated/pspell.php", + "generated/readline.php", + "generated/rpminfo.php", + "generated/rrd.php", + "generated/sem.php", + "generated/session.php", + "generated/shmop.php", + "generated/sockets.php", + "generated/sodium.php", + "generated/solr.php", + "generated/spl.php", + "generated/sqlsrv.php", + "generated/ssdeep.php", + "generated/ssh2.php", + "generated/stream.php", + "generated/strings.php", + "generated/swoole.php", + "generated/uodbc.php", + "generated/uopz.php", + "generated/url.php", + "generated/var.php", + "generated/xdiff.php", + "generated/xml.php", + "generated/xmlrpc.php", + "generated/yaml.php", + "generated/yaz.php", + "generated/zip.php", + "generated/zlib.php" + ], + "classmap": [ + "lib/DateTime.php", + "lib/DateTimeImmutable.php", + "lib/Exceptions/", + "deprecated/Exceptions/", + "generated/Exceptions/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Bob Weinand", - "email": "bobwei9@hotmail.com" - }, - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "Asynchronous process manager.", - "homepage": "https://github.com/amphp/process", + "description": "PHP core functions that throw exceptions instead of returning FALSE on error", "support": { - "issues": "https://github.com/amphp/process/issues", - "source": "https://github.com/amphp/process/tree/v1.1.1" + "issues": "https://github.com/thecodingmachine/safe/issues", + "source": "https://github.com/thecodingmachine/safe/tree/v2.4.0" }, - "funding": [ - { - "url": "https://github.com/amphp", - "type": "github" - } - ], - "time": "2021-03-30T20:04:22+00:00" + "time": "2022-10-07T14:02:17+00:00" }, { - "name": "amphp/serialization", - "version": "v1.0.0", + "name": "vlucas/phpdotenv", + "version": "v5.5.0", "source": { "type": "git", - "url": "https://github.com/amphp/serialization.git", - "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1" + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/serialization/zipball/693e77b2fb0b266c3c7d622317f881de44ae94a1", - "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", + "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", "shasum": "" }, "require": { - "php": ">=7.1" + "ext-pcre": "*", + "graham-campbell/result-type": "^1.0.2", + "php": "^7.1.3 || ^8.0", + "phpoption/phpoption": "^1.8", + "symfony/polyfill-ctype": "^1.23", + "symfony/polyfill-mbstring": "^1.23.1", + "symfony/polyfill-php80": "^1.23.1" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "phpunit/phpunit": "^9 || ^8 || ^7" + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-filter": "*", + "phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." }, "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, + "branch-alias": { + "dev-master": "5.5-dev" + } + }, "autoload": { "psr-4": { - "Amp\\Serialization\\": "src" - }, - "files": [ - "src/functions.php" - ] + "Dotenv\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" }, { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://github.com/vlucas" } ], - "description": "Serialization tools for IPC and data storage in PHP.", - "homepage": "https://github.com/amphp/serialization", + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", "keywords": [ - "async", - "asynchronous", - "serialization", - "serialize" + "dotenv", + "env", + "environment" ], "support": { - "issues": "https://github.com/amphp/serialization/issues", - "source": "https://github.com/amphp/serialization/tree/master" + "issues": "https://github.com/vlucas/phpdotenv/issues", + "source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0" }, - "time": "2020-03-25T21:39:07+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2022-10-16T01:01:54+00:00" }, { - "name": "amphp/sync", - "version": "v1.4.0", + "name": "webmozart/assert", + "version": "1.11.0", "source": { "type": "git", - "url": "https://github.com/amphp/sync.git", - "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4" + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/sync/zipball/613047ac54c025aa800a9cde5b05c3add7327ed4", - "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, "require": { - "amphp/amp": "^2.2", - "php": ">=7.1" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.1", - "phpunit/phpunit": "^9 || ^8 || ^7" + "phpunit/phpunit": "^8.5.13" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, "autoload": { "psr-4": { - "Amp\\Sync\\": "src" - }, - "files": [ - "src/functions.php", - "src/ConcurrentIterator/functions.php" - ] + "Webmozart\\Assert\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1759,130 +2373,151 @@ ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Stephen Coakley", - "email": "me@stephencoakley.com" + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], - "description": "Mutex, Semaphore, and other synchronization tools for Amp.", - "homepage": "https://github.com/amphp/sync", + "description": "Assertions to validate method input/output with nice error messages.", "keywords": [ - "async", - "asynchronous", - "mutex", - "semaphore", - "synchronization" + "assert", + "check", + "validate" ], "support": { - "issues": "https://github.com/amphp/sync/issues", - "source": "https://github.com/amphp/sync/tree/v1.4.0" + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2020-05-07T18:57:50+00:00" - }, + "time": "2022-06-03T18:03:27+00:00" + } + ], + "packages-dev": [ { - "name": "beberlei/assert", - "version": "v3.2.7", + "name": "amphp/amp", + "version": "v2.6.2", "source": { "type": "git", - "url": "https://github.com/beberlei/assert.git", - "reference": "d63a6943fc4fd1a2aedb65994e3548715105abcf" + "url": "https://github.com/amphp/amp.git", + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/beberlei/assert/zipball/d63a6943fc4fd1a2aedb65994e3548715105abcf", - "reference": "d63a6943fc4fd1a2aedb65994e3548715105abcf", + "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", "shasum": "" }, "require": { - "ext-ctype": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-simplexml": "*", - "php": "^7" + "php": ">=7.1" }, "require-dev": { - "friendsofphp/php-cs-fixer": "*", - "phpstan/phpstan-shim": "*", - "phpunit/phpunit": ">=6.0.0 <8" - }, - "suggest": { - "ext-intl": "Needed to allow Assertion::count(), Assertion::isCountable(), Assertion::minCount(), and Assertion::maxCount() to operate on ResourceBundles" + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1", + "ext-json": "*", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^7 | ^8 | ^9", + "psalm/phar": "^3.11@dev", + "react/promise": "^2" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, "autoload": { - "psr-4": { - "Assert\\": "lib/Assert" - }, "files": [ - "lib/Assert/functions.php" - ] + "lib/functions.php", + "lib/Internal/functions.php" + ], + "psr-4": { + "Amp\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-2-Clause" + "MIT" ], "authors": [ { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de", - "role": "Lead Developer" + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" }, { - "name": "Richard Quadling", - "email": "rquadling@gmail.com", - "role": "Collaborator" - } - ], - "description": "Thin assertion library for input validation in business models.", - "keywords": [ - "assert", - "assertion", - "validation" - ], - "support": { - "issues": "https://github.com/beberlei/assert/issues", - "source": "https://github.com/beberlei/assert/tree/v3" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A non-blocking concurrency framework for PHP applications.", + "homepage": "https://amphp.org/amp", + "keywords": [ + "async", + "asynchronous", + "awaitable", + "concurrency", + "event", + "event-loop", + "future", + "non-blocking", + "promise" + ], + "support": { + "irc": "irc://irc.freenode.org/amphp", + "issues": "https://github.com/amphp/amp/issues", + "source": "https://github.com/amphp/amp/tree/v2.6.2" }, - "time": "2019-12-19T17:51:41+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2022-02-20T17:52:18+00:00" }, { - "name": "behat/gherkin", - "version": "v4.8.0", + "name": "amphp/byte-stream", + "version": "v1.8.1", "source": { "type": "git", - "url": "https://github.com/Behat/Gherkin.git", - "reference": "2391482cd003dfdc36b679b27e9f5326bd656acd" + "url": "https://github.com/amphp/byte-stream.git", + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/Gherkin/zipball/2391482cd003dfdc36b679b27e9f5326bd656acd", - "reference": "2391482cd003dfdc36b679b27e9f5326bd656acd", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", "shasum": "" }, "require": { - "php": "~7.2|~8.0" + "amphp/amp": "^2", + "php": ">=7.1" }, "require-dev": { - "cucumber/cucumber": "dev-gherkin-16.0.0", - "phpunit/phpunit": "~8|~9", - "symfony/phpunit-bridge": "~3|~4|~5", - "symfony/yaml": "~3|~4|~5" - }, - "suggest": { - "symfony/yaml": "If you want to parse features, represented in YAML files" + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.4", + "friendsofphp/php-cs-fixer": "^2.3", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^6 || ^7 || ^8", + "psalm/phar": "^3.11.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.4-dev" + "dev-master": "1.x-dev" } }, "autoload": { - "psr-0": { - "Behat\\Gherkin": "src/" + "files": [ + "lib/functions.php" + ], + "psr-4": { + "Amp\\ByteStream\\": "lib" } }, "notification-url": "https://packagist.org/downloads/", @@ -1891,88 +2526,74 @@ ], "authors": [ { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Gherkin DSL parser for PHP", - "homepage": "http://behat.org/", + "description": "A stream abstraction to make working with non-blocking I/O simple.", + "homepage": "http://amphp.org/byte-stream", "keywords": [ - "BDD", - "Behat", - "Cucumber", - "DSL", - "gherkin", - "parser" + "amp", + "amphp", + "async", + "io", + "non-blocking", + "stream" ], "support": { - "issues": "https://github.com/Behat/Gherkin/issues", - "source": "https://github.com/Behat/Gherkin/tree/v4.8.0" + "irc": "irc://irc.freenode.org/amphp", + "issues": "https://github.com/amphp/byte-stream/issues", + "source": "https://github.com/amphp/byte-stream/tree/v1.8.1" }, - "time": "2021-02-04T12:44:21+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-03-30T17:13:30+00:00" }, { - "name": "codeception/codeception", - "version": "4.1.20", + "name": "amphp/parallel", + "version": "v1.4.2", "source": { "type": "git", - "url": "https://github.com/Codeception/Codeception.git", - "reference": "d8b16e13e1781dbc3a7ae8292117d520c89a9c5a" + "url": "https://github.com/amphp/parallel.git", + "reference": "75853e1623efa5aa5e65e986ec9a97db573a5267" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/Codeception/zipball/d8b16e13e1781dbc3a7ae8292117d520c89a9c5a", - "reference": "d8b16e13e1781dbc3a7ae8292117d520c89a9c5a", + "url": "https://api.github.com/repos/amphp/parallel/zipball/75853e1623efa5aa5e65e986ec9a97db573a5267", + "reference": "75853e1623efa5aa5e65e986ec9a97db573a5267", "shasum": "" }, "require": { - "behat/gherkin": "^4.4.0", - "codeception/lib-asserts": "^1.0", - "codeception/phpunit-wrapper": ">6.0.15 <6.1.0 | ^6.6.1 | ^7.7.1 | ^8.1.1 | ^9.0", - "codeception/stub": "^2.0 | ^3.0", - "ext-curl": "*", - "ext-json": "*", - "ext-mbstring": "*", - "guzzlehttp/psr7": "~1.4", - "php": ">=5.6.0 <9.0", - "symfony/console": ">=2.7 <6.0", - "symfony/css-selector": ">=2.7 <6.0", - "symfony/event-dispatcher": ">=2.7 <6.0", - "symfony/finder": ">=2.7 <6.0", - "symfony/yaml": ">=2.7 <6.0" + "amphp/amp": "^2", + "amphp/byte-stream": "^1.6.1", + "amphp/parser": "^1", + "amphp/process": "^1", + "amphp/serialization": "^1", + "amphp/sync": "^1.0.1", + "php": ">=7.1" }, "require-dev": { - "codeception/module-asserts": "*@dev", - "codeception/module-cli": "*@dev", - "codeception/module-db": "*@dev", - "codeception/module-filesystem": "*@dev", - "codeception/module-phpbrowser": "*@dev", - "codeception/specify": "~0.3", - "codeception/util-universalframework": "*@dev", - "monolog/monolog": "~1.8", - "squizlabs/php_codesniffer": "~2.0", - "symfony/process": ">=2.7 <6.0", - "vlucas/phpdotenv": "^2.0 | ^3.0 | ^4.0 | ^5.0" - }, - "suggest": { - "codeception/specify": "BDD-style code blocks", - "codeception/verify": "BDD-style assertions", - "hoa/console": "For interactive console functionality", - "stecman/symfony-console-completion": "For BASH autocompletion", - "symfony/phpunit-bridge": "For phpunit-bridge support" + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.1", + "phpunit/phpunit": "^8 || ^7" }, - "bin": [ - "codecept" - ], "type": "library", - "extra": { - "branch-alias": [] - }, "autoload": { + "files": [ + "lib/Context/functions.php", + "lib/Sync/functions.php", + "lib/Worker/functions.php" + ], "psr-4": { - "Codeception\\": "src/Codeception", - "Codeception\\Extension\\": "ext" + "Amp\\Parallel\\": "lib" } }, "notification-url": "https://packagist.org/downloads/", @@ -1981,56 +2602,69 @@ ], "authors": [ { - "name": "Michael Bodnarchuk", - "email": "davert@mail.ua", - "homepage": "http://codegyre.com" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" } ], - "description": "BDD-style testing framework", - "homepage": "http://codeception.com/", + "description": "Parallel processing component for Amp.", + "homepage": "https://github.com/amphp/parallel", "keywords": [ - "BDD", - "TDD", - "acceptance testing", - "functional testing", - "unit testing" + "async", + "asynchronous", + "concurrent", + "multi-processing", + "multi-threading" ], "support": { - "issues": "https://github.com/Codeception/Codeception/issues", - "source": "https://github.com/Codeception/Codeception/tree/4.1.20" + "issues": "https://github.com/amphp/parallel/issues", + "source": "https://github.com/amphp/parallel/tree/v1.4.2" }, "funding": [ { - "url": "https://opencollective.com/codeception", - "type": "open_collective" + "url": "https://github.com/amphp", + "type": "github" } ], - "time": "2021-04-02T16:41:51+00:00" + "time": "2022-12-30T00:21:42+00:00" }, { - "name": "codeception/lib-asserts", - "version": "1.13.2", + "name": "amphp/parallel-functions", + "version": "v1.1.0", "source": { "type": "git", - "url": "https://github.com/Codeception/lib-asserts.git", - "reference": "184231d5eab66bc69afd6b9429344d80c67a33b6" + "url": "https://github.com/amphp/parallel-functions.git", + "reference": "04e92fcacfc921a56dfe12c23b3265e62593a7cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/lib-asserts/zipball/184231d5eab66bc69afd6b9429344d80c67a33b6", - "reference": "184231d5eab66bc69afd6b9429344d80c67a33b6", + "url": "https://api.github.com/repos/amphp/parallel-functions/zipball/04e92fcacfc921a56dfe12c23b3265e62593a7cb", + "reference": "04e92fcacfc921a56dfe12c23b3265e62593a7cb", "shasum": "" }, "require": { - "codeception/phpunit-wrapper": ">6.0.15 <6.1.0 | ^6.6.1 | ^7.7.1 | ^8.0.3 | ^9.0", - "ext-dom": "*", - "php": ">=5.6.0 <9.0" + "amphp/amp": "^2.0.3", + "amphp/parallel": "^1.4", + "amphp/serialization": "^1.0", + "laravel/serializable-closure": "^1.0", + "php": ">=7.4" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "v2.x-dev", + "amphp/phpunit-util": "^2.0", + "phpunit/phpunit": "^9.5.11" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "files": [ + "src/functions.php" + ], + "psr-4": { + "Amp\\ParallelFunctions\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2038,63 +2672,50 @@ ], "authors": [ { - "name": "Michael Bodnarchuk", - "email": "davert@mail.ua", - "homepage": "http://codegyre.com" - }, - { - "name": "Gintautas Miselis" - }, - { - "name": "Gustavo Nieves", - "homepage": "https://medium.com/@ganieves" + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Assertion methods used by Codeception core and Asserts module", - "homepage": "https://codeception.com/", - "keywords": [ - "codeception" - ], + "description": "Parallel processing made simple.", "support": { - "issues": "https://github.com/Codeception/lib-asserts/issues", - "source": "https://github.com/Codeception/lib-asserts/tree/1.13.2" + "issues": "https://github.com/amphp/parallel-functions/issues", + "source": "https://github.com/amphp/parallel-functions/tree/v1.1.0" }, - "time": "2020-10-21T16:26:20+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2022-02-03T19:32:41+00:00" }, { - "name": "codeception/lib-innerbrowser", - "version": "1.4.2", + "name": "amphp/parser", + "version": "v1.1.0", "source": { "type": "git", - "url": "https://github.com/Codeception/lib-innerbrowser.git", - "reference": "4ffb91c18e4cacd073ff2914c07e5ccaf5efe449" + "url": "https://github.com/amphp/parser.git", + "reference": "ff1de4144726c5dad5fab97f66692ebe8de3e151" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/4ffb91c18e4cacd073ff2914c07e5ccaf5efe449", - "reference": "4ffb91c18e4cacd073ff2914c07e5ccaf5efe449", + "url": "https://api.github.com/repos/amphp/parser/zipball/ff1de4144726c5dad5fab97f66692ebe8de3e151", + "reference": "ff1de4144726c5dad5fab97f66692ebe8de3e151", "shasum": "" }, "require": { - "codeception/codeception": "*@dev", - "ext-dom": "*", - "ext-json": "*", - "ext-mbstring": "*", - "php": ">=5.6.0 <9.0", - "symfony/browser-kit": ">=2.7 <6.0", - "symfony/dom-crawler": ">=2.7 <6.0" - }, - "conflict": { - "codeception/codeception": "<4.0" + "php": ">=7.4" }, "require-dev": { - "codeception/util-universalframework": "dev-master" + "amphp/php-cs-fixer-config": "^2", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.4" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Amp\\Parser\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2102,52 +2723,66 @@ ], "authors": [ { - "name": "Michael Bodnarchuk", - "email": "davert@mail.ua", - "homepage": "http://codegyre.com" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" }, { - "name": "Gintautas Miselis" + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Parent library for all Codeception framework modules and PhpBrowser", - "homepage": "https://codeception.com/", + "description": "A generator parser to make streaming parsers simple.", + "homepage": "https://github.com/amphp/parser", "keywords": [ - "codeception" + "async", + "non-blocking", + "parser", + "stream" ], "support": { - "issues": "https://github.com/Codeception/lib-innerbrowser/issues", - "source": "https://github.com/Codeception/lib-innerbrowser/tree/1.4.2" + "issues": "https://github.com/amphp/parser/issues", + "source": "https://github.com/amphp/parser/tree/v1.1.0" }, - "time": "2021-04-06T05:26:49+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2022-12-30T18:08:47+00:00" }, { - "name": "codeception/module-asserts", - "version": "1.3.1", + "name": "amphp/process", + "version": "v1.1.4", "source": { "type": "git", - "url": "https://github.com/Codeception/module-asserts.git", - "reference": "59374f2fef0cabb9e8ddb53277e85cdca74328de" + "url": "https://github.com/amphp/process.git", + "reference": "76e9495fd6818b43a20167cb11d8a67f7744ee0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/module-asserts/zipball/59374f2fef0cabb9e8ddb53277e85cdca74328de", - "reference": "59374f2fef0cabb9e8ddb53277e85cdca74328de", + "url": "https://api.github.com/repos/amphp/process/zipball/76e9495fd6818b43a20167cb11d8a67f7744ee0f", + "reference": "76e9495fd6818b43a20167cb11d8a67f7744ee0f", "shasum": "" }, "require": { - "codeception/codeception": "*@dev", - "codeception/lib-asserts": "^1.13.1", - "php": ">=5.6.0 <9.0" + "amphp/amp": "^2", + "amphp/byte-stream": "^1.4", + "php": ">=7" }, - "conflict": { - "codeception/codeception": "<4.0" + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1", + "phpunit/phpunit": "^6" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "files": [ + "lib/functions.php" + ], + "psr-4": { + "Amp\\Process\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2155,55 +2790,61 @@ ], "authors": [ { - "name": "Michael Bodnarchuk" + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" }, { - "name": "Gintautas Miselis" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" }, { - "name": "Gustavo Nieves", - "homepage": "https://medium.com/@ganieves" + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Codeception module containing various assertions", - "homepage": "https://codeception.com/", - "keywords": [ - "assertions", - "asserts", - "codeception" - ], + "description": "Asynchronous process manager.", + "homepage": "https://github.com/amphp/process", "support": { - "issues": "https://github.com/Codeception/module-asserts/issues", - "source": "https://github.com/Codeception/module-asserts/tree/1.3.1" + "issues": "https://github.com/amphp/process/issues", + "source": "https://github.com/amphp/process/tree/v1.1.4" }, - "time": "2020-10-21T16:48:15+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2022-07-06T23:50:12+00:00" }, { - "name": "codeception/module-cli", - "version": "1.1.1", + "name": "amphp/serialization", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/Codeception/module-cli.git", - "reference": "1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f" + "url": "https://github.com/amphp/serialization.git", + "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/module-cli/zipball/1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f", - "reference": "1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f", + "url": "https://api.github.com/repos/amphp/serialization/zipball/693e77b2fb0b266c3c7d622317f881de44ae94a1", + "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1", "shasum": "" }, "require": { - "codeception/codeception": "*@dev", - "php": ">=5.6.0 <9.0" + "php": ">=7.1" }, - "conflict": { - "codeception/codeception": "<4.0" + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "phpunit/phpunit": "^9 || ^8 || ^7" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "files": [ + "src/functions.php" + ], + "psr-4": { + "Amp\\Serialization\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2211,47 +2852,60 @@ ], "authors": [ { - "name": "Michael Bodnarchuk" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" } ], - "description": "Codeception module for testing basic shell commands and shell output", - "homepage": "http://codeception.com/", + "description": "Serialization tools for IPC and data storage in PHP.", + "homepage": "https://github.com/amphp/serialization", "keywords": [ - "codeception" + "async", + "asynchronous", + "serialization", + "serialize" ], "support": { - "issues": "https://github.com/Codeception/module-cli/issues", - "source": "https://github.com/Codeception/module-cli/tree/1.1.1" + "issues": "https://github.com/amphp/serialization/issues", + "source": "https://github.com/amphp/serialization/tree/master" }, - "time": "2020-12-26T16:56:19+00:00" + "time": "2020-03-25T21:39:07+00:00" }, { - "name": "codeception/module-filesystem", - "version": "1.0.3", + "name": "amphp/sync", + "version": "v1.4.2", "source": { "type": "git", - "url": "https://github.com/Codeception/module-filesystem.git", - "reference": "781be167fb1557bfc9b61e0a4eac60a32c534ec1" + "url": "https://github.com/amphp/sync.git", + "reference": "85ab06764f4f36d63b1356b466df6111cf4b89cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/module-filesystem/zipball/781be167fb1557bfc9b61e0a4eac60a32c534ec1", - "reference": "781be167fb1557bfc9b61e0a4eac60a32c534ec1", + "url": "https://api.github.com/repos/amphp/sync/zipball/85ab06764f4f36d63b1356b466df6111cf4b89cf", + "reference": "85ab06764f4f36d63b1356b466df6111cf4b89cf", "shasum": "" }, "require": { - "codeception/codeception": "^4.0", - "php": ">=5.6.0 <9.0", - "symfony/finder": ">=2.7 <6.0" + "amphp/amp": "^2.2", + "php": ">=7.1" }, - "conflict": { - "codeception/codeception": "<4.0" + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.1", + "phpunit/phpunit": "^9 || ^8 || ^7" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "files": [ + "src/functions.php", + "src/ConcurrentIterator/functions.php" + ], + "psr-4": { + "Amp\\Sync\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2259,58 +2913,70 @@ ], "authors": [ { - "name": "Michael Bodnarchuk" + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" }, { - "name": "Gintautas Miselis" + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" } ], - "description": "Codeception module for testing local filesystem", - "homepage": "http://codeception.com/", + "description": "Mutex, Semaphore, and other synchronization tools for Amp.", + "homepage": "https://github.com/amphp/sync", "keywords": [ - "codeception", - "filesystem" + "async", + "asynchronous", + "mutex", + "semaphore", + "synchronization" ], "support": { - "issues": "https://github.com/Codeception/module-filesystem/issues", - "source": "https://github.com/Codeception/module-filesystem/tree/1.0.3" + "issues": "https://github.com/amphp/sync/issues", + "source": "https://github.com/amphp/sync/tree/v1.4.2" }, - "time": "2020-10-24T14:46:40+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-10-25T18:29:10+00:00" }, { - "name": "codeception/module-phpbrowser", - "version": "1.0.2", + "name": "behat/gherkin", + "version": "v4.9.0", "source": { "type": "git", - "url": "https://github.com/Codeception/module-phpbrowser.git", - "reference": "770a6be4160a5c0c08d100dd51bff35f6056bbf1" + "url": "https://github.com/Behat/Gherkin.git", + "reference": "0bc8d1e30e96183e4f36db9dc79caead300beff4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/module-phpbrowser/zipball/770a6be4160a5c0c08d100dd51bff35f6056bbf1", - "reference": "770a6be4160a5c0c08d100dd51bff35f6056bbf1", + "url": "https://api.github.com/repos/Behat/Gherkin/zipball/0bc8d1e30e96183e4f36db9dc79caead300beff4", + "reference": "0bc8d1e30e96183e4f36db9dc79caead300beff4", "shasum": "" }, "require": { - "codeception/codeception": "^4.0", - "codeception/lib-innerbrowser": "^1.3", - "guzzlehttp/guzzle": "^6.3|^7.0", - "php": ">=5.6.0 <9.0" - }, - "conflict": { - "codeception/codeception": "<4.0" + "php": "~7.2|~8.0" }, "require-dev": { - "codeception/module-rest": "^1.0" + "cucumber/cucumber": "dev-gherkin-22.0.0", + "phpunit/phpunit": "~8|~9", + "symfony/yaml": "~3|~4|~5" }, "suggest": { - "codeception/phpbuiltinserver": "Start and stop PHP built-in web server for your tests" + "symfony/yaml": "If you want to parse features, represented in YAML files" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev" + } + }, "autoload": { - "classmap": [ - "src/" - ] + "psr-0": { + "Behat\\Gherkin": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2318,54 +2984,91 @@ ], "authors": [ { - "name": "Michael Bodnarchuk" - }, - { - "name": "Gintautas Miselis" + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" } ], - "description": "Codeception module for testing web application over HTTP", - "homepage": "http://codeception.com/", + "description": "Gherkin DSL parser for PHP", + "homepage": "http://behat.org/", "keywords": [ - "codeception", - "functional-testing", - "http" + "BDD", + "Behat", + "Cucumber", + "DSL", + "gherkin", + "parser" ], "support": { - "issues": "https://github.com/Codeception/module-phpbrowser/issues", - "source": "https://github.com/Codeception/module-phpbrowser/tree/1.0.2" + "issues": "https://github.com/Behat/Gherkin/issues", + "source": "https://github.com/Behat/Gherkin/tree/v4.9.0" }, - "time": "2020-10-24T15:29:28+00:00" + "time": "2021-10-12T13:05:09+00:00" }, { - "name": "codeception/phpunit-wrapper", - "version": "8.1.4", + "name": "codeception/codeception", + "version": "4.2.2", "source": { "type": "git", - "url": "https://github.com/Codeception/phpunit-wrapper.git", - "reference": "f41335f0b4dd17cf7bbc63e87943b3ae72a8bbc3" + "url": "https://github.com/Codeception/Codeception.git", + "reference": "b88014f3348c93f3df99dc6d0967b0dbfa804474" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/f41335f0b4dd17cf7bbc63e87943b3ae72a8bbc3", - "reference": "f41335f0b4dd17cf7bbc63e87943b3ae72a8bbc3", + "url": "https://api.github.com/repos/Codeception/Codeception/zipball/b88014f3348c93f3df99dc6d0967b0dbfa804474", + "reference": "b88014f3348c93f3df99dc6d0967b0dbfa804474", "shasum": "" }, "require": { - "php": ">=7.2", - "phpunit/php-code-coverage": "^7.0", - "phpunit/phpunit": "^8.0", - "sebastian/comparator": "^3.0", - "sebastian/diff": "^3.0" + "behat/gherkin": "^4.4.0", + "codeception/lib-asserts": "^1.0 | 2.0.*@dev", + "codeception/phpunit-wrapper": ">6.0.15 <6.1.0 | ^6.6.1 | ^7.7.1 | ^8.1.1 | ^9.0", + "codeception/stub": "^2.0 | ^3.0 | ^4.0", + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "guzzlehttp/psr7": "^1.4 | ^2.0", + "php": ">=5.6.0 <9.0", + "symfony/console": ">=2.7 <6.0", + "symfony/css-selector": ">=2.7 <6.0", + "symfony/event-dispatcher": ">=2.7 <6.0", + "symfony/finder": ">=2.7 <6.0", + "symfony/yaml": ">=2.7 <6.0" }, "require-dev": { - "codeception/specify": "*", - "vlucas/phpdotenv": "^3.0" + "codeception/module-asserts": "^1.0 | 2.0.*@dev", + "codeception/module-cli": "^1.0 | 2.0.*@dev", + "codeception/module-db": "^1.0 | 2.0.*@dev", + "codeception/module-filesystem": "^1.0 | 2.0.*@dev", + "codeception/module-phpbrowser": "^1.0 | 2.0.*@dev", + "codeception/specify": "~0.3", + "codeception/util-universalframework": "*@dev", + "monolog/monolog": "~1.8", + "squizlabs/php_codesniffer": "~2.0", + "symfony/process": ">=2.7 <6.0", + "vlucas/phpdotenv": "^2.0 | ^3.0 | ^4.0 | ^5.0" }, + "suggest": { + "codeception/specify": "BDD-style code blocks", + "codeception/verify": "BDD-style assertions", + "hoa/console": "For interactive console functionality", + "stecman/symfony-console-completion": "For BASH autocompletion", + "symfony/phpunit-bridge": "For phpunit-bridge support" + }, + "bin": [ + "codecept" + ], "type": "library", + "extra": { + "branch-alias": [] + }, "autoload": { + "files": [ + "functions.php" + ], "psr-4": { - "Codeception\\PHPUnit\\": "src/" + "Codeception\\": "src/Codeception", + "Codeception\\Extension\\": "ext" } }, "notification-url": "https://packagist.org/downloads/", @@ -2374,41 +3077,56 @@ ], "authors": [ { - "name": "Davert", - "email": "davert.php@resend.cc" + "name": "Michael Bodnarchuk", + "email": "davert@mail.ua", + "homepage": "https://codegyre.com" } ], - "description": "PHPUnit classes used by Codeception", + "description": "BDD-style testing framework", + "homepage": "https://codeception.com/", + "keywords": [ + "BDD", + "TDD", + "acceptance testing", + "functional testing", + "unit testing" + ], "support": { - "issues": "https://github.com/Codeception/phpunit-wrapper/issues", - "source": "https://github.com/Codeception/phpunit-wrapper/tree/8.1.4" + "issues": "https://github.com/Codeception/Codeception/issues", + "source": "https://github.com/Codeception/Codeception/tree/4.2.2" }, - "time": "2020-12-28T14:00:08+00:00" + "funding": [ + { + "url": "https://opencollective.com/codeception", + "type": "open_collective" + } + ], + "time": "2022-08-13T13:28:25+00:00" }, { - "name": "codeception/specify", - "version": "1.4.0", + "name": "codeception/lib-asserts", + "version": "1.13.2", "source": { "type": "git", - "url": "https://github.com/Codeception/Specify.git", - "reference": "17ae6d4d6cb201ef5461f6587ecfcff8c177f854" + "url": "https://github.com/Codeception/lib-asserts.git", + "reference": "184231d5eab66bc69afd6b9429344d80c67a33b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/Specify/zipball/17ae6d4d6cb201ef5461f6587ecfcff8c177f854", - "reference": "17ae6d4d6cb201ef5461f6587ecfcff8c177f854", + "url": "https://api.github.com/repos/Codeception/lib-asserts/zipball/184231d5eab66bc69afd6b9429344d80c67a33b6", + "reference": "184231d5eab66bc69afd6b9429344d80c67a33b6", "shasum": "" }, "require": { - "myclabs/deep-copy": "~1.1", - "php": ">=7.1.0", - "phpunit/phpunit": ">=7.0 <10.0" + "codeception/phpunit-wrapper": ">6.0.15 <6.1.0 | ^6.6.1 | ^7.7.1 | ^8.0.3 | ^9.0", + "ext-dom": "*", + "php": ">=5.6.0 <9.0" }, "type": "library", "autoload": { - "psr-0": { - "Codeception\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2417,82 +3135,115 @@ "authors": [ { "name": "Michael Bodnarchuk", - "email": "davert@codeception.com" + "email": "davert@mail.ua", + "homepage": "http://codegyre.com" + }, + { + "name": "Gintautas Miselis" }, { "name": "Gustavo Nieves", "homepage": "https://medium.com/@ganieves" } ], - "description": "BDD code blocks for PHPUnit and Codeception", + "description": "Assertion methods used by Codeception core and Asserts module", + "homepage": "https://codeception.com/", + "keywords": [ + "codeception" + ], "support": { - "issues": "https://github.com/Codeception/Specify/issues", - "source": "https://github.com/Codeception/Specify/tree/1.4.0" + "issues": "https://github.com/Codeception/lib-asserts/issues", + "source": "https://github.com/Codeception/lib-asserts/tree/1.13.2" }, - "time": "2020-08-27T20:17:29+00:00" + "time": "2020-10-21T16:26:20+00:00" }, { - "name": "codeception/stub", - "version": "3.7.0", + "name": "codeception/lib-innerbrowser", + "version": "1.5.1", "source": { "type": "git", - "url": "https://github.com/Codeception/Stub.git", - "reference": "468dd5fe659f131fc997f5196aad87512f9b1304" + "url": "https://github.com/Codeception/lib-innerbrowser.git", + "reference": "31b4b56ad53c3464fcb2c0a14d55a51a201bd3c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/Stub/zipball/468dd5fe659f131fc997f5196aad87512f9b1304", - "reference": "468dd5fe659f131fc997f5196aad87512f9b1304", + "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/31b4b56ad53c3464fcb2c0a14d55a51a201bd3c2", + "reference": "31b4b56ad53c3464fcb2c0a14d55a51a201bd3c2", "shasum": "" }, "require": { - "phpunit/phpunit": "^8.4 | ^9.0" + "codeception/codeception": "4.*@dev", + "ext-dom": "*", + "ext-json": "*", + "ext-mbstring": "*", + "php": ">=5.6.0 <9.0", + "symfony/browser-kit": ">=2.7 <6.0", + "symfony/dom-crawler": ">=2.7 <6.0" + }, + "conflict": { + "codeception/codeception": "<4.0" + }, + "require-dev": { + "codeception/util-universalframework": "dev-master" }, "type": "library", "autoload": { - "psr-4": { - "Codeception\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Flexible Stub wrapper for PHPUnit's Mock Builder", + "authors": [ + { + "name": "Michael Bodnarchuk", + "email": "davert@mail.ua", + "homepage": "http://codegyre.com" + }, + { + "name": "Gintautas Miselis" + } + ], + "description": "Parent library for all Codeception framework modules and PhpBrowser", + "homepage": "https://codeception.com/", + "keywords": [ + "codeception" + ], "support": { - "issues": "https://github.com/Codeception/Stub/issues", - "source": "https://github.com/Codeception/Stub/tree/3.7.0" + "issues": "https://github.com/Codeception/lib-innerbrowser/issues", + "source": "https://github.com/Codeception/lib-innerbrowser/tree/1.5.1" }, - "time": "2020-07-03T15:54:43+00:00" + "time": "2021-08-30T15:21:42+00:00" }, { - "name": "codeception/verify", - "version": "1.5.0", + "name": "codeception/module-asserts", + "version": "1.3.1", "source": { "type": "git", - "url": "https://github.com/Codeception/Verify.git", - "reference": "ebf833c857825207a8abec541c07bdd724ea4676" + "url": "https://github.com/Codeception/module-asserts.git", + "reference": "59374f2fef0cabb9e8ddb53277e85cdca74328de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/Verify/zipball/ebf833c857825207a8abec541c07bdd724ea4676", - "reference": "ebf833c857825207a8abec541c07bdd724ea4676", + "url": "https://api.github.com/repos/Codeception/module-asserts/zipball/59374f2fef0cabb9e8ddb53277e85cdca74328de", + "reference": "59374f2fef0cabb9e8ddb53277e85cdca74328de", "shasum": "" }, "require": { - "codeception/phpunit-wrapper": "^7.8.0 | ^8.1.2 | ^9.0.2", - "ext-dom": "*", - "php": ">= 7.1", - "phpunit/phpunit": ">= 7.0" + "codeception/codeception": "*@dev", + "codeception/lib-asserts": "^1.13.1", + "php": ">=5.6.0 <9.0" + }, + "conflict": { + "codeception/codeception": "<4.0" }, "type": "library", "autoload": { - "files": [ - "src/Codeception/function.php" - ], - "psr-4": { - "Codeception\\": "src\\Codeception" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2500,58 +3251,55 @@ ], "authors": [ { - "name": "Michael Bodnarchuk", - "email": "davert@codeception.com" + "name": "Michael Bodnarchuk" + }, + { + "name": "Gintautas Miselis" }, { "name": "Gustavo Nieves", "homepage": "https://medium.com/@ganieves" } ], - "description": "BDD assertion library for PHPUnit", + "description": "Codeception module containing various assertions", + "homepage": "https://codeception.com/", + "keywords": [ + "assertions", + "asserts", + "codeception" + ], "support": { - "issues": "https://github.com/Codeception/Verify/issues", - "source": "https://github.com/Codeception/Verify/tree/master" + "issues": "https://github.com/Codeception/module-asserts/issues", + "source": "https://github.com/Codeception/module-asserts/tree/1.3.1" }, - "time": "2020-08-29T00:28:24+00:00" + "time": "2020-10-21T16:48:15+00:00" }, { - "name": "composer/package-versions-deprecated", - "version": "1.11.99.1", + "name": "codeception/module-cli", + "version": "1.1.1", "source": { "type": "git", - "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6" + "url": "https://github.com/Codeception/module-cli.git", + "reference": "1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/7413f0b55a051e89485c5cb9f765fe24bb02a7b6", - "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6", + "url": "https://api.github.com/repos/Codeception/module-cli/zipball/1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f", + "reference": "1f841ad4a1d43e5d9e60a43c4cc9e5af8008024f", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1.0 || ^2.0", - "php": "^7 || ^8" - }, - "replace": { - "ocramius/package-versions": "1.11.99" - }, - "require-dev": { - "composer/composer": "^1.9.3 || ^2.0@dev", - "ext-zip": "^1.13", - "phpunit/phpunit": "^6.5 || ^7" + "codeception/codeception": "*@dev", + "php": ">=5.6.0 <9.0" }, - "type": "composer-plugin", - "extra": { - "class": "PackageVersions\\Installer", - "branch-alias": { - "dev-master": "1.x-dev" - } + "conflict": { + "codeception/codeception": "<4.0" }, + "type": "library", "autoload": { - "psr-4": { - "PackageVersions\\": "src/PackageVersions" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2559,484 +3307,46 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" + "name": "Michael Bodnarchuk" } ], - "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "description": "Codeception module for testing basic shell commands and shell output", + "homepage": "http://codeception.com/", + "keywords": [ + "codeception" + ], "support": { - "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.1" + "issues": "https://github.com/Codeception/module-cli/issues", + "source": "https://github.com/Codeception/module-cli/tree/1.1.1" }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2020-11-11T10:22:58+00:00" + "time": "2020-12-26T16:56:19+00:00" }, { - "name": "composer/semver", - "version": "1.7.2", + "name": "codeception/module-filesystem", + "version": "1.0.3", "source": { "type": "git", - "url": "https://github.com/composer/semver.git", - "reference": "647490bbcaf7fc4891c58f47b825eb99d19c377a" + "url": "https://github.com/Codeception/module-filesystem.git", + "reference": "781be167fb1557bfc9b61e0a4eac60a32c534ec1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/647490bbcaf7fc4891c58f47b825eb99d19c377a", - "reference": "647490bbcaf7fc4891c58f47b825eb99d19c377a", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.5 || ^5.0.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Semver\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - }, - { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" - } - ], - "description": "Semver library that offers utilities, version constraint parsing and validation.", - "keywords": [ - "semantic", - "semver", - "validation", - "versioning" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/1.7.2" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2020-12-03T15:47:16+00:00" - }, - { - "name": "composer/xdebug-handler", - "version": "1.4.6", - "source": { - "type": "git", - "url": "https://github.com/composer/xdebug-handler.git", - "reference": "f27e06cd9675801df441b3656569b328e04aa37c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f27e06cd9675801df441b3656569b328e04aa37c", - "reference": "f27e06cd9675801df441b3656569b328e04aa37c", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Composer\\XdebugHandler\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "John Stevenson", - "email": "john-stevenson@blueyonder.co.uk" - } - ], - "description": "Restarts a process without Xdebug.", - "keywords": [ - "Xdebug", - "performance" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/1.4.6" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2021-03-25T17:01:18+00:00" - }, - { - "name": "doctrine/instantiator", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^8.0", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2020-11-10T18:47:58+00:00" - }, - { - "name": "felixfbecker/advanced-json-rpc", - "version": "v3.2.0", - "source": { - "type": "git", - "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", - "reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/06f0b06043c7438959dbdeed8bb3f699a19be22e", - "reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e", - "shasum": "" - }, - "require": { - "netresearch/jsonmapper": "^1.0 || ^2.0", - "php": "^7.1 || ^8.0", - "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "AdvancedJsonRpc\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "ISC" - ], - "authors": [ - { - "name": "Felix Becker", - "email": "felix.b@outlook.com" - } - ], - "description": "A more advanced JSONRPC implementation", - "support": { - "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", - "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.0" - }, - "time": "2021-01-10T17:48:47+00:00" - }, - { - "name": "felixfbecker/language-server-protocol", - "version": "1.5.1", - "source": { - "type": "git", - "url": "https://github.com/felixfbecker/php-language-server-protocol.git", - "reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/9d846d1f5cf101deee7a61c8ba7caa0a975cd730", - "reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "require-dev": { - "phpstan/phpstan": "*", - "squizlabs/php_codesniffer": "^3.1", - "vimeo/psalm": "^4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "LanguageServerProtocol\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "ISC" - ], - "authors": [ - { - "name": "Felix Becker", - "email": "felix.b@outlook.com" - } - ], - "description": "PHP classes for the Language Server Protocol", - "keywords": [ - "language", - "microsoft", - "php", - "server" - ], - "support": { - "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", - "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/1.5.1" - }, - "time": "2021-02-22T14:02:09+00:00" - }, - { - "name": "guzzlehttp/guzzle", - "version": "7.3.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "7008573787b430c1c1f650e3722d9bba59967628" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7008573787b430c1c1f650e3722d9bba59967628", - "reference": "7008573787b430c1c1f650e3722d9bba59967628", - "shasum": "" - }, - "require": { - "ext-json": "*", - "guzzlehttp/promises": "^1.4", - "guzzlehttp/psr7": "^1.7 || ^2.0", - "php": "^7.2.5 || ^8.0", - "psr/http-client": "^1.0" - }, - "provide": { - "psr/http-client-implementation": "1.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.5 || ^9.3.5", - "psr/log": "^1.1" - }, - "suggest": { - "ext-curl": "Required for CURL handler support", - "ext-intl": "Required for Internationalized Domain Name (IDN) support", - "psr/log": "Required for using the Log middleware" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "7.3-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "psr-18", - "psr-7", - "rest", - "web service" - ], - "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.3.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://github.com/alexeyshockov", - "type": "github" - }, - { - "url": "https://github.com/gmponos", - "type": "github" - } - ], - "time": "2021-03-23T11:33:13+00:00" - }, - { - "name": "guzzlehttp/promises", - "version": "1.4.1", - "source": { - "type": "git", - "url": "https://github.com/guzzle/promises.git", - "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d", - "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d", + "url": "https://api.github.com/repos/Codeception/module-filesystem/zipball/781be167fb1557bfc9b61e0a4eac60a32c534ec1", + "reference": "781be167fb1557bfc9b61e0a4eac60a32c534ec1", "shasum": "" }, "require": { - "php": ">=5.5" + "codeception/codeception": "^4.0", + "php": ">=5.6.0 <9.0", + "symfony/finder": ">=2.7 <6.0" }, - "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "conflict": { + "codeception/codeception": "<4.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - }, - "files": [ - "src/functions_include.php" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3045,62 +3355,57 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Michael Bodnarchuk" + }, + { + "name": "Gintautas Miselis" } ], - "description": "Guzzle promises library", + "description": "Codeception module for testing local filesystem", + "homepage": "http://codeception.com/", "keywords": [ - "promise" + "codeception", + "filesystem" ], "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.4.1" + "issues": "https://github.com/Codeception/module-filesystem/issues", + "source": "https://github.com/Codeception/module-filesystem/tree/1.0.3" }, - "time": "2021-03-07T09:25:29+00:00" + "time": "2020-10-24T14:46:40+00:00" }, { - "name": "guzzlehttp/psr7", - "version": "1.8.1", + "name": "codeception/module-phpbrowser", + "version": "1.0.3", "source": { "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1" + "url": "https://github.com/Codeception/module-phpbrowser.git", + "reference": "8ba6bede11d0914e74d98691f427fd8f397f192e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/35ea11d335fd638b5882ff1725228b3d35496ab1", - "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1", + "url": "https://api.github.com/repos/Codeception/module-phpbrowser/zipball/8ba6bede11d0914e74d98691f427fd8f397f192e", + "reference": "8ba6bede11d0914e74d98691f427fd8f397f192e", "shasum": "" }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + "codeception/codeception": "^4.1", + "codeception/lib-innerbrowser": "^1.3", + "guzzlehttp/guzzle": "^6.3|^7.0", + "php": ">=5.6.0 <9.0" }, - "provide": { - "psr/http-message-implementation": "1.0" + "conflict": { + "codeception/codeception": "<4.0" }, "require-dev": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + "codeception/module-rest": "^1.0" }, "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + "codeception/phpbuiltinserver": "Start and stop PHP built-in web server for your tests" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.7-dev" - } - }, "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3109,678 +3414,598 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" + "name": "Michael Bodnarchuk" }, { - "name": "Tobias Schultze", - "homepage": "https://github.com/Tobion" + "name": "Gintautas Miselis" } ], - "description": "PSR-7 message implementation that also provides common utility methods", + "description": "Codeception module for testing web application over HTTP", + "homepage": "http://codeception.com/", "keywords": [ - "http", - "message", - "psr-7", - "request", - "response", - "stream", - "uri", - "url" + "codeception", + "functional-testing", + "http" ], "support": { - "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.8.1" + "issues": "https://github.com/Codeception/module-phpbrowser/issues", + "source": "https://github.com/Codeception/module-phpbrowser/tree/1.0.3" }, - "time": "2021-03-21T16:25:00+00:00" + "time": "2022-05-21T13:50:41+00:00" }, { - "name": "hoa/compiler", - "version": "3.17.08.08", + "name": "codeception/phpunit-wrapper", + "version": "8.1.6", "source": { "type": "git", - "url": "https://github.com/hoaproject/Compiler.git", - "reference": "aa09caf0bf28adae6654ca6ee415ee2f522672de" + "url": "https://github.com/Codeception/phpunit-wrapper.git", + "reference": "7d3479bab7e2b6349044db8af11cd05d57809f9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Compiler/zipball/aa09caf0bf28adae6654ca6ee415ee2f522672de", - "reference": "aa09caf0bf28adae6654ca6ee415ee2f522672de", + "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/7d3479bab7e2b6349044db8af11cd05d57809f9c", + "reference": "7d3479bab7e2b6349044db8af11cd05d57809f9c", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/exception": "~1.0", - "hoa/file": "~1.0", - "hoa/iterator": "~2.0", - "hoa/math": "~1.0", - "hoa/protocol": "~1.0", - "hoa/regex": "~1.0", - "hoa/visitor": "~2.0" + "php": ">=7.2", + "phpunit/php-code-coverage": "^7.0", + "phpunit/phpunit": "^8.0", + "sebastian/comparator": "^3.0", + "sebastian/diff": "^3.0" }, "require-dev": { - "hoa/json": "~2.0", - "hoa/test": "~2.0" + "codeception/specify": "*", + "vlucas/phpdotenv": "^3.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, "autoload": { "psr-4": { - "Hoa\\Compiler\\": "." + "Codeception\\PHPUnit\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" - }, - { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Davert", + "email": "davert.php@resend.cc" } ], - "description": "The Hoa\\Compiler library.", - "homepage": "https://hoa-project.net/", - "keywords": [ - "algebraic", - "ast", - "compiler", - "context-free", - "coverage", - "exhaustive", - "grammar", - "isotropic", - "language", - "lexer", - "library", - "ll1", - "llk", - "parser", - "pp", - "random", - "regular", - "rule", - "sampler", - "syntax", - "token", - "trace", - "uniform" - ], + "description": "PHPUnit classes used by Codeception", "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Compiler", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Compiler/issues", - "source": "https://central.hoa-project.net/Resource/Library/Compiler" - }, - "time": "2017-08-08T07:44:07+00:00" + "issues": "https://github.com/Codeception/phpunit-wrapper/issues", + "source": "https://github.com/Codeception/phpunit-wrapper/tree/8.1.6" + }, + "time": "2022-05-23T06:22:33+00:00" }, { - "name": "hoa/consistency", - "version": "1.17.05.02", + "name": "codeception/specify", + "version": "1.4.0", "source": { "type": "git", - "url": "https://github.com/hoaproject/Consistency.git", - "reference": "fd7d0adc82410507f332516faf655b6ed22e4c2f" + "url": "https://github.com/Codeception/Specify.git", + "reference": "17ae6d4d6cb201ef5461f6587ecfcff8c177f854" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Consistency/zipball/fd7d0adc82410507f332516faf655b6ed22e4c2f", - "reference": "fd7d0adc82410507f332516faf655b6ed22e4c2f", + "url": "https://api.github.com/repos/Codeception/Specify/zipball/17ae6d4d6cb201ef5461f6587ecfcff8c177f854", + "reference": "17ae6d4d6cb201ef5461f6587ecfcff8c177f854", "shasum": "" }, "require": { - "hoa/exception": "~1.0", - "php": ">=5.5.0" - }, - "require-dev": { - "hoa/stream": "~1.0", - "hoa/test": "~2.0" + "myclabs/deep-copy": "~1.1", + "php": ">=7.1.0", + "phpunit/phpunit": ">=7.0 <10.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, "autoload": { - "psr-4": { - "Hoa\\Consistency\\": "." - }, - "files": [ - "Prelude.php" - ] + "psr-0": { + "Codeception\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" + "name": "Michael Bodnarchuk", + "email": "davert@codeception.com" }, { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Gustavo Nieves", + "homepage": "https://medium.com/@ganieves" } ], - "description": "The Hoa\\Consistency library.", - "homepage": "https://hoa-project.net/", - "keywords": [ - "autoloader", - "callable", - "consistency", - "entity", - "flex", - "keyword", - "library" - ], + "description": "BDD code blocks for PHPUnit and Codeception", "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Consistency", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Consistency/issues", - "source": "https://central.hoa-project.net/Resource/Library/Consistency" - }, - "time": "2017-05-02T12:18:12+00:00" + "issues": "https://github.com/Codeception/Specify/issues", + "source": "https://github.com/Codeception/Specify/tree/1.4.0" + }, + "time": "2020-08-27T20:17:29+00:00" }, { - "name": "hoa/event", - "version": "1.17.01.13", + "name": "codeception/stub", + "version": "4.0.2", "source": { "type": "git", - "url": "https://github.com/hoaproject/Event.git", - "reference": "6c0060dced212ffa3af0e34bb46624f990b29c54" + "url": "https://github.com/Codeception/Stub.git", + "reference": "18a148dacd293fc7b044042f5aa63a82b08bff5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Event/zipball/6c0060dced212ffa3af0e34bb46624f990b29c54", - "reference": "6c0060dced212ffa3af0e34bb46624f990b29c54", + "url": "https://api.github.com/repos/Codeception/Stub/zipball/18a148dacd293fc7b044042f5aa63a82b08bff5d", + "reference": "18a148dacd293fc7b044042f5aa63a82b08bff5d", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/exception": "~1.0" + "php": "^7.4 | ^8.0", + "phpunit/phpunit": "^8.4 | ^9.0 | ^10.0 | 10.0.x-dev" }, "require-dev": { - "hoa/test": "~2.0" + "consolidation/robo": "^3.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" + "autoload": { + "psr-4": { + "Codeception\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Flexible Stub wrapper for PHPUnit's Mock Builder", + "support": { + "issues": "https://github.com/Codeception/Stub/issues", + "source": "https://github.com/Codeception/Stub/tree/4.0.2" + }, + "time": "2022-01-31T19:25:15+00:00" + }, + { + "name": "codeception/verify", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/Codeception/Verify.git", + "reference": "ebf833c857825207a8abec541c07bdd724ea4676" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Codeception/Verify/zipball/ebf833c857825207a8abec541c07bdd724ea4676", + "reference": "ebf833c857825207a8abec541c07bdd724ea4676", + "shasum": "" + }, + "require": { + "codeception/phpunit-wrapper": "^7.8.0 | ^8.1.2 | ^9.0.2", + "ext-dom": "*", + "php": ">= 7.1", + "phpunit/phpunit": ">= 7.0" + }, + "type": "library", "autoload": { + "files": [ + "src/Codeception/function.php" + ], "psr-4": { - "Hoa\\Event\\": "." + "Codeception\\": "src\\Codeception" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" + "name": "Michael Bodnarchuk", + "email": "davert@codeception.com" }, { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Gustavo Nieves", + "homepage": "https://medium.com/@ganieves" } ], - "description": "The Hoa\\Event library.", - "homepage": "https://hoa-project.net/", - "keywords": [ - "event", - "library", - "listener", - "observer" - ], + "description": "BDD assertion library for PHPUnit", "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Event", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Event/issues", - "source": "https://central.hoa-project.net/Resource/Library/Event" - }, - "time": "2017-01-13T15:30:50+00:00" + "issues": "https://github.com/Codeception/Verify/issues", + "source": "https://github.com/Codeception/Verify/tree/master" + }, + "time": "2020-08-29T00:28:24+00:00" }, { - "name": "hoa/exception", - "version": "1.17.01.16", + "name": "composer/pcre", + "version": "3.1.0", "source": { "type": "git", - "url": "https://github.com/hoaproject/Exception.git", - "reference": "091727d46420a3d7468ef0595651488bfc3a458f" + "url": "https://github.com/composer/pcre.git", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Exception/zipball/091727d46420a3d7468ef0595651488bfc3a458f", - "reference": "091727d46420a3d7468ef0595651488bfc3a458f", + "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/event": "~1.0" + "php": "^7.4 || ^8.0" }, "require-dev": { - "hoa/test": "~2.0" + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { "psr-4": { - "Hoa\\Exception\\": "." + "Composer\\Pcre\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" - }, - { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "The Hoa\\Exception library.", - "homepage": "https://hoa-project.net/", + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", "keywords": [ - "exception", - "library" + "PCRE", + "preg", + "regex", + "regular expression" ], "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Exception", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Exception/issues", - "source": "https://central.hoa-project.net/Resource/Library/Exception" - }, - "time": "2017-01-16T07:53:27+00:00" + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.1.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-11-17T09:50:14+00:00" }, { - "name": "hoa/file", - "version": "1.17.07.11", + "name": "composer/semver", + "version": "3.3.2", "source": { "type": "git", - "url": "https://github.com/hoaproject/File.git", - "reference": "35cb979b779bc54918d2f9a4e02ed6c7a1fa67ca" + "url": "https://github.com/composer/semver.git", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/File/zipball/35cb979b779bc54918d2f9a4e02ed6c7a1fa67ca", - "reference": "35cb979b779bc54918d2f9a4e02ed6c7a1fa67ca", + "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/event": "~1.0", - "hoa/exception": "~1.0", - "hoa/iterator": "~2.0", - "hoa/stream": "~1.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "hoa/test": "~2.0" + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { "psr-4": { - "Hoa\\File\\": "." + "Composer\\Semver\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" + } + ], + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.3.2" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" }, { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" } ], - "description": "The Hoa\\File library.", - "homepage": "https://hoa-project.net/", - "keywords": [ - "Socket", - "directory", - "file", - "finder", - "library", - "link", - "temporary" - ], - "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/File", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/File/issues", - "source": "https://central.hoa-project.net/Resource/Library/File" - }, - "time": "2017-07-11T07:42:15+00:00" + "time": "2022-04-01T19:23:25+00:00" }, { - "name": "hoa/iterator", - "version": "2.17.01.10", + "name": "composer/xdebug-handler", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/hoaproject/Iterator.git", - "reference": "d1120ba09cb4ccd049c86d10058ab94af245f0cc" + "url": "https://github.com/composer/xdebug-handler.git", + "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Iterator/zipball/d1120ba09cb4ccd049c86d10058ab94af245f0cc", - "reference": "d1120ba09cb4ccd049c86d10058ab94af245f0cc", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/exception": "~1.0" + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "hoa/test": "~2.0" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, "autoload": { "psr-4": { - "Hoa\\Iterator\\": "." + "Composer\\XdebugHandler\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" - }, - { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "John Stevenson", + "email": "john-stevenson@blueyonder.co.uk" } ], - "description": "The Hoa\\Iterator library.", - "homepage": "https://hoa-project.net/", + "description": "Restarts a process without Xdebug.", "keywords": [ - "iterator", - "library" + "Xdebug", + "performance" ], "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Iterator", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Iterator/issues", - "source": "https://central.hoa-project.net/Resource/Library/Iterator" - }, - "time": "2017-01-10T10:34:47+00:00" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-02-25T21:32:43+00:00" }, { - "name": "hoa/math", - "version": "1.17.05.16", + "name": "dnoegel/php-xdg-base-dir", + "version": "v0.1.1", "source": { "type": "git", - "url": "https://github.com/hoaproject/Math.git", - "reference": "7150785d30f5d565704912116a462e9f5bc83a0c" + "url": "https://github.com/dnoegel/php-xdg-base-dir.git", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Math/zipball/7150785d30f5d565704912116a462e9f5bc83a0c", - "reference": "7150785d30f5d565704912116a462e9f5bc83a0c", + "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", "shasum": "" }, "require": { - "hoa/compiler": "~3.0", - "hoa/consistency": "~1.0", - "hoa/exception": "~1.0", - "hoa/iterator": "~2.0", - "hoa/protocol": "~1.0", - "hoa/zformat": "~1.0" + "php": ">=5.3.2" }, "require-dev": { - "hoa/test": "~2.0" + "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, "autoload": { "psr-4": { - "Hoa\\Math\\": "." + "XdgBaseDir\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" - }, - { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" - } - ], - "description": "The Hoa\\Math library.", - "homepage": "https://hoa-project.net/", - "keywords": [ - "arrangement", - "combination", - "combinatorics", - "counting", - "library", - "math", - "permutation", - "sampler", - "set" + "MIT" ], + "description": "implementation of xdg base directory specification for php", "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Math", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Math/issues", - "source": "https://central.hoa-project.net/Resource/Library/Math" - }, - "time": "2017-05-16T08:02:17+00:00" + "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", + "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" + }, + "time": "2019-12-04T15:06:13+00:00" }, { - "name": "hoa/protocol", - "version": "1.17.01.14", + "name": "doctrine/instantiator", + "version": "1.5.0", "source": { "type": "git", - "url": "https://github.com/hoaproject/Protocol.git", - "reference": "5c2cf972151c45f373230da170ea015deecf19e2" + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Protocol/zipball/5c2cf972151c45f373230da170ea015deecf19e2", - "reference": "5c2cf972151c45f373230da170ea015deecf19e2", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/exception": "~1.0" + "php": "^7.1 || ^8.0" }, "require-dev": { - "hoa/test": "~2.0" + "doctrine/coding-standard": "^9 || ^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, "autoload": { "psr-4": { - "Hoa\\Protocol\\": "." - }, - "files": [ - "Wrapper.php" - ] + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" - }, - { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" } ], - "description": "The Hoa\\Protocol library.", - "homepage": "https://hoa-project.net/", + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ - "library", - "protocol", - "resource", - "stream", - "wrapper" + "constructor", + "instantiate" ], "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Protocol", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Protocol/issues", - "source": "https://central.hoa-project.net/Resource/Library/Protocol" - }, - "time": "2017-01-14T12:26:10+00:00" + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:15:36+00:00" }, { - "name": "hoa/regex", - "version": "1.17.01.13", + "name": "felixfbecker/advanced-json-rpc", + "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/hoaproject/Regex.git", - "reference": "7e263a61b6fb45c1d03d8e5ef77668518abd5bec" + "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Regex/zipball/7e263a61b6fb45c1d03d8e5ef77668518abd5bec", - "reference": "7e263a61b6fb45c1d03d8e5ef77668518abd5bec", + "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/exception": "~1.0", - "hoa/math": "~1.0", - "hoa/protocol": "~1.0", - "hoa/ustring": "~4.0", - "hoa/visitor": "~2.0" + "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", + "php": "^7.1 || ^8.0", + "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } + "require-dev": { + "phpunit/phpunit": "^7.0 || ^8.0" }, + "type": "library", "autoload": { "psr-4": { - "Hoa\\Regex\\": "." + "AdvancedJsonRpc\\": "lib/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "ISC" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" - }, - { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Felix Becker", + "email": "felix.b@outlook.com" } ], - "description": "The Hoa\\Regex library.", - "homepage": "https://hoa-project.net/", - "keywords": [ - "compiler", - "library", - "regex" - ], + "description": "A more advanced JSONRPC implementation", "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Regex", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Regex/issues", - "source": "https://central.hoa-project.net/Resource/Library/Regex" - }, - "time": "2017-01-13T16:10:24+00:00" + "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", + "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1" + }, + "time": "2021-06-11T22:34:44+00:00" }, { - "name": "hoa/stream", - "version": "1.17.02.21", + "name": "felixfbecker/language-server-protocol", + "version": "v1.5.2", "source": { "type": "git", - "url": "https://github.com/hoaproject/Stream.git", - "reference": "3293cfffca2de10525df51436adf88a559151d82" + "url": "https://github.com/felixfbecker/php-language-server-protocol.git", + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Stream/zipball/3293cfffca2de10525df51436adf88a559151d82", - "reference": "3293cfffca2de10525df51436adf88a559151d82", + "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/event": "~1.0", - "hoa/exception": "~1.0", - "hoa/protocol": "~1.0" + "php": ">=7.1" }, "require-dev": { - "hoa/test": "~2.0" + "phpstan/phpstan": "*", + "squizlabs/php_codesniffer": "^3.1", + "vimeo/psalm": "^4.0" }, "type": "library", "extra": { @@ -3790,283 +4015,407 @@ }, "autoload": { "psr-4": { - "Hoa\\Stream\\": "." + "LanguageServerProtocol\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "ISC" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" - }, - { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Felix Becker", + "email": "felix.b@outlook.com" } ], - "description": "The Hoa\\Stream library.", - "homepage": "https://hoa-project.net/", + "description": "PHP classes for the Language Server Protocol", "keywords": [ - "Context", - "bucket", - "composite", - "filter", - "in", - "library", - "out", - "protocol", - "stream", - "wrapper" + "language", + "microsoft", + "php", + "server" ], "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Stream", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Stream/issues", - "source": "https://central.hoa-project.net/Resource/Library/Stream" - }, - "time": "2017-02-21T16:01:06+00:00" + "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", + "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" + }, + "time": "2022-03-02T22:36:06+00:00" }, { - "name": "hoa/ustring", - "version": "4.17.01.16", + "name": "guzzlehttp/guzzle", + "version": "7.5.0", "source": { "type": "git", - "url": "https://github.com/hoaproject/Ustring.git", - "reference": "e6326e2739178799b1fe3fdd92029f9517fa17a0" + "url": "https://github.com/guzzle/guzzle.git", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Ustring/zipball/e6326e2739178799b1fe3fdd92029f9517fa17a0", - "reference": "e6326e2739178799b1fe3fdd92029f9517fa17a0", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/exception": "~1.0" + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.9 || ^2.4", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" }, "require-dev": { - "hoa/test": "~2.0" + "bamarni/composer-bin-plugin": "^1.8.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { - "ext-iconv": "ext/iconv must be present (or a third implementation) to use Hoa\\Ustring::transcode().", - "ext-intl": "To get a better Hoa\\Ustring::toAscii() and Hoa\\Ustring::compareTo()." + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, "branch-alias": { - "dev-master": "4.x-dev" + "dev-master": "7.5-dev" } }, "autoload": { + "files": [ + "src/functions_include.php" + ], "psr-4": { - "Hoa\\Ustring\\": "." + "GuzzleHttp\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" }, { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" } ], - "description": "The Hoa\\Ustring library.", - "homepage": "https://hoa-project.net/", + "description": "Guzzle is a PHP HTTP client library", "keywords": [ - "library", - "search", - "string", - "unicode" + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" ], "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Ustring", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Ustring/issues", - "source": "https://central.hoa-project.net/Resource/Library/Ustring" - }, - "time": "2017-01-16T07:08:25+00:00" + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2022-08-28T15:39:27+00:00" }, { - "name": "hoa/visitor", - "version": "2.17.01.16", + "name": "guzzlehttp/promises", + "version": "1.5.2", "source": { "type": "git", - "url": "https://github.com/hoaproject/Visitor.git", - "reference": "c18fe1cbac98ae449e0d56e87469103ba08f224a" + "url": "https://github.com/guzzle/promises.git", + "reference": "b94b2807d85443f9719887892882d0329d1e2598" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Visitor/zipball/c18fe1cbac98ae449e0d56e87469103ba08f224a", - "reference": "c18fe1cbac98ae449e0d56e87469103ba08f224a", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "reference": "b94b2807d85443f9719887892882d0329d1e2598", "shasum": "" }, "require": { - "hoa/consistency": "~1.0" + "php": ">=5.5" }, "require-dev": { - "hoa/test": "~2.0" + "symfony/phpunit-bridge": "^4.4 || ^5.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "1.5-dev" } }, "autoload": { + "files": [ + "src/functions_include.php" + ], "psr-4": { - "Hoa\\Visitor\\": "." + "GuzzleHttp\\Promise\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" }, { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" } ], - "description": "The Hoa\\Visitor library.", - "homepage": "https://hoa-project.net/", - "keywords": [ - "library", - "structure", - "visit", - "visitor" - ], - "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Visitor", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Visitor/issues", - "source": "https://central.hoa-project.net/Resource/Library/Visitor" - }, - "time": "2017-01-16T07:02:03+00:00" + "time": "2022-08-28T14:55:35+00:00" }, { - "name": "hoa/zformat", - "version": "1.17.01.10", + "name": "guzzlehttp/psr7", + "version": "2.4.4", "source": { "type": "git", - "url": "https://github.com/hoaproject/Zformat.git", - "reference": "522c381a2a075d4b9dbb42eb4592dd09520e4ac2" + "url": "https://github.com/guzzle/psr7.git", + "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hoaproject/Zformat/zipball/522c381a2a075d4b9dbb42eb4592dd09520e4ac2", - "reference": "522c381a2a075d4b9dbb42eb4592dd09520e4ac2", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", + "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", "shasum": "" }, "require": { - "hoa/consistency": "~1.0", - "hoa/exception": "~1.0" + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "2.4-dev" } }, "autoload": { "psr-4": { - "Hoa\\Zformat\\": "." + "GuzzleHttp\\Psr7\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Ivan Enderlin", - "email": "ivan.enderlin@hoa-project.net" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" }, { - "name": "Hoa community", - "homepage": "https://hoa-project.net/" + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" } ], - "description": "The Hoa\\Zformat library.", - "homepage": "https://hoa-project.net/", + "description": "PSR-7 message implementation that also provides common utility methods", "keywords": [ - "library", - "parameter", - "zformat" + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" ], "support": { - "docs": "https://central.hoa-project.net/Documentation/Library/Zformat", - "email": "support@hoa-project.net", - "forum": "https://users.hoa-project.net/", - "irc": "irc://chat.freenode.net/hoaproject", - "issues": "https://github.com/hoaproject/Zformat/issues", - "source": "https://central.hoa-project.net/Resource/Library/Zformat" - }, - "time": "2017-01-10T10:39:54+00:00" + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.4.4" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2023-03-09T13:19:02+00:00" }, { "name": "humbug/box", - "version": "3.8.3", + "version": "3.16.0", "source": { "type": "git", - "url": "https://github.com/humbug/box.git", - "reference": "43f13dee00a5ddc706d90a64fd7c5916e1588bde" + "url": "https://github.com/box-project/box.git", + "reference": "adb282ad00a20438fc881f8ec9207ed7446243b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/humbug/box/zipball/43f13dee00a5ddc706d90a64fd7c5916e1588bde", - "reference": "43f13dee00a5ddc706d90a64fd7c5916e1588bde", + "url": "https://api.github.com/repos/box-project/box/zipball/adb282ad00a20438fc881f8ec9207ed7446243b9", + "reference": "adb282ad00a20438fc881f8ec9207ed7446243b9", "shasum": "" }, "require": { - "amphp/parallel-functions": "^0.1.3", - "beberlei/assert": "^3.2", - "composer/semver": "^1.5", - "composer/xdebug-handler": "^1.3.2", + "amphp/parallel-functions": "^1.1", + "composer-plugin-api": "^2.2", + "composer/semver": "^3.2", + "composer/xdebug-handler": "^2.0 || ^3.0", "ext-phar": "*", - "hoa/compiler": "^3.17", - "humbug/php-scoper": "^0.12", + "humbug/php-scoper": "^0.17", "justinrainbow/json-schema": "^5.2.9", + "laravel/serializable-closure": "^1.0", "nikic/iter": "^2.0", "nikic/php-parser": "^4.2", - "ocramius/package-versions": "^1.4", - "opis/closure": "^3.2", - "paragonie/pharaoh": "^0.5", - "php": "^7.2", - "phpseclib/phpseclib": "^2.0", + "paragonie/pharaoh": "^0.6", + "php": "^7.4 || ^8.0", + "phpdocumentor/reflection-docblock": "^5.2", "psr/log": "^1.0", "seld/jsonlint": "^1.7", - "symfony/console": "^4.3.5", - "symfony/filesystem": "^4.2", - "symfony/finder": "^4.0", - "symfony/process": "^4.2", - "symfony/var-dumper": "^4.2", + "symfony/console": "^4.3.5 || ^5.2", + "symfony/filesystem": "^4.4 || ^5.2", + "symfony/finder": "^4.4 || ^5.2", + "symfony/process": "^4.4 || ^5.2", + "symfony/var-dumper": "^4.4 || ^5.2", + "webmozart/assert": "^1.9", "webmozart/path-util": "^2.3" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.3", - "infection/infection": "^0.10", "mikey179/vfsstream": "^1.6", - "phpunit/phpunit": "^8.1", - "symfony/phpunit-bridge": "^4.2" + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.0", + "symfony/phpunit-bridge": "^4.2 || ^5.0" }, "suggest": { "ext-openssl": "To accelerate private key generation." @@ -4084,14 +4433,14 @@ } }, "autoload": { - "psr-4": { - "KevinGH\\Box\\": "src" - }, "files": [ "src/FileSystem/file_system.php", "src/consts.php", "src/functions.php" ], + "psr-4": { + "KevinGH\\Box\\": "src" + }, "exclude-from-classmap": [ "/Test/" ] @@ -4116,61 +4465,45 @@ "phar" ], "support": { - "issues": "https://github.com/humbug/box/issues", - "source": "https://github.com/humbug/box/tree/3.8.3" + "issues": "https://github.com/box-project/box/issues", + "source": "https://github.com/box-project/box/tree/3.16.0" }, - "time": "2019-11-03T17:04:02+00:00" + "time": "2022-02-13T23:10:13+00:00" }, { - "name": "humbug/php-scoper", - "version": "0.12.3", + "name": "justinrainbow/json-schema", + "version": "5.2.12", "source": { "type": "git", - "url": "https://github.com/humbug/php-scoper.git", - "reference": "e69999927460a403f8f07bc91b1db2ff2fe934ce" + "url": "https://github.com/justinrainbow/json-schema.git", + "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/humbug/php-scoper/zipball/e69999927460a403f8f07bc91b1db2ff2fe934ce", - "reference": "e69999927460a403f8f07bc91b1db2ff2fe934ce", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", + "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", "shasum": "" }, "require": { - "nikic/php-parser": "^4.0", - "ocramius/package-versions": "^1.1", - "php": "^7.2", - "roave/better-reflection": "^3.5", - "symfony/console": "^3.2 || ^4.0", - "symfony/filesystem": "^3.2 || ^4.0", - "symfony/finder": "^3.2 || ^4.0" - }, - "replace": { - "humbug/php-scoper": "self.version" + "php": ">=5.3.3" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.1", - "humbug/box": "^3.8", - "phpunit/phpunit": "^8.0" + "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", + "json-schema/json-schema-test-suite": "1.2.0", + "phpunit/phpunit": "^4.8.35" }, "bin": [ - "bin/php-scoper" + "bin/validate-json" ], "type": "library", "extra": { - "bamarni-bin": { - "bin-links": false - }, "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "5.0.x-dev" } }, "autoload": { - "files": [ - "src/functions.php", - "src/json.php" - ], "psr-4": { - "Humbug\\PhpScoper\\": "src/" + "JsonSchema\\": "src/JsonSchema/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4179,101 +4512,66 @@ ], "authors": [ { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" + "name": "Bruno Prieto Reis", + "email": "bruno.p.reis@gmail.com" }, { - "name": "Théo Fidry", - "email": "theo.fidry@gmail.com" + "name": "Justin Rainbow", + "email": "justin.rainbow@gmail.com" }, { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com" + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + }, + { + "name": "Robert Schönthal", + "email": "seroscho@googlemail.com" } ], - "description": "Prefixes all PHP namespaces in a file or directory.", - "support": { - "issues": "https://github.com/humbug/php-scoper/issues", - "source": "https://github.com/humbug/php-scoper/tree/master" - }, - "time": "2019-06-09T17:44:41+00:00" - }, - { - "name": "jetbrains/phpstorm-stubs", - "version": "v2019.1", - "source": { - "type": "git", - "url": "https://github.com/JetBrains/phpstorm-stubs.git", - "reference": "9e309771f362e979ecfb429303ad7a402c657234" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/9e309771f362e979ecfb429303ad7a402c657234", - "reference": "9e309771f362e979ecfb429303ad7a402c657234", - "shasum": "" - }, - "require-dev": { - "nikic/php-parser": "v4.0.1", - "php": "^7.1", - "phpdocumentor/reflection-docblock": "^4.3", - "phpunit/phpunit": "7.1.4" - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "PHP runtime & extensions header files for PhpStorm", - "homepage": "https://www.jetbrains.com/phpstorm", + "description": "A library to validate a json schema.", + "homepage": "https://github.com/justinrainbow/json-schema", "keywords": [ - "autocomplete", - "code", - "inference", - "inspection", - "jetbrains", - "phpstorm", - "stubs", - "type" + "json", + "schema" ], "support": { - "source": "https://github.com/JetBrains/phpstorm-stubs/tree/v2019.1" + "issues": "https://github.com/justinrainbow/json-schema/issues", + "source": "https://github.com/justinrainbow/json-schema/tree/5.2.12" }, - "time": "2019-03-25T16:59:23+00:00" + "time": "2022-04-13T08:02:27+00:00" }, { - "name": "justinrainbow/json-schema", - "version": "5.2.10", + "name": "laravel/serializable-closure", + "version": "v1.3.0", "source": { "type": "git", - "url": "https://github.com/justinrainbow/json-schema.git", - "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b" + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "f23fe9d4e95255dacee1bf3525e0810d1a1b0f37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b", - "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/f23fe9d4e95255dacee1bf3525e0810d1a1b0f37", + "reference": "f23fe9d4e95255dacee1bf3525e0810d1a1b0f37", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.3|^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", - "json-schema/json-schema-test-suite": "1.2.0", - "phpunit/phpunit": "^4.8.35" + "nesbot/carbon": "^2.61", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11" }, - "bin": [ - "bin/validate-json" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0.x-dev" + "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "JsonSchema\\": "src/JsonSchema/" + "Laravel\\SerializableClosure\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4282,67 +4580,60 @@ ], "authors": [ { - "name": "Bruno Prieto Reis", - "email": "bruno.p.reis@gmail.com" - }, - { - "name": "Justin Rainbow", - "email": "justin.rainbow@gmail.com" - }, - { - "name": "Igor Wiedler", - "email": "igor@wiedler.ch" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" }, { - "name": "Robert Schönthal", - "email": "seroscho@googlemail.com" + "name": "Nuno Maduro", + "email": "nuno@laravel.com" } ], - "description": "A library to validate a json schema.", - "homepage": "https://github.com/justinrainbow/json-schema", + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", "keywords": [ - "json", - "schema" + "closure", + "laravel", + "serializable" ], "support": { - "issues": "https://github.com/justinrainbow/json-schema/issues", - "source": "https://github.com/justinrainbow/json-schema/tree/5.2.10" + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" }, - "time": "2020-05-27T16:41:55+00:00" + "time": "2023-01-30T18:31:20+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.10.2", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, - "replace": { - "myclabs/deep-copy": "self.version" + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, "files": [ "src/DeepCopy/deep_copy.php" - ] + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4358,7 +4649,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" }, "funding": [ { @@ -4366,20 +4657,20 @@ "type": "tidelift" } ], - "time": "2020-11-13T09:40:50+00:00" + "time": "2023-03-08T13:26:56+00:00" }, { "name": "netresearch/jsonmapper", - "version": "v2.1.0", + "version": "v4.1.0", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e" + "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/e0f1e33a71587aca81be5cffbb9746510e1fe04e", - "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", + "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", "shasum": "" }, "require": { @@ -4387,10 +4678,10 @@ "ext-pcre": "*", "ext-reflection": "*", "ext-spl": "*", - "php": ">=5.6" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "~4.8.35 || ~5.7 || ~6.4 || ~7.0", + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", "squizlabs/php_codesniffer": "~3.5" }, "type": "library", @@ -4415,36 +4706,31 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/master" + "source": "https://github.com/cweiske/jsonmapper/tree/v4.1.0" }, - "time": "2020-04-16T18:48:43+00:00" + "time": "2022-12-08T20:46:14+00:00" }, { "name": "nikic/iter", - "version": "v2.1.0", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/nikic/iter.git", - "reference": "a7f3aa313c1315e14cf1d7e520c0f781f584a42f" + "reference": "d1323929952ddcb0b06439991f93bde3816a39e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/iter/zipball/a7f3aa313c1315e14cf1d7e520c0f781f584a42f", - "reference": "a7f3aa313c1315e14cf1d7e520c0f781f584a42f", + "url": "https://api.github.com/repos/nikic/iter/zipball/d1323929952ddcb0b06439991f93bde3816a39e9", + "reference": "d1323929952ddcb0b06439991f93bde3816a39e9", "shasum": "" }, "require": { "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "~7.0" + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, "autoload": { "files": [ "src/iter.func.php", @@ -4470,9 +4756,9 @@ ], "support": { "issues": "https://github.com/nikic/iter/issues", - "source": "https://github.com/nikic/iter/tree/v2.1.0" + "source": "https://github.com/nikic/iter/tree/v2.2.0" }, - "time": "2020-09-19T15:58:13+00:00" + "time": "2021-08-02T15:04:32+00:00" }, { "name": "openlss/lib-array2xml", @@ -4516,94 +4802,29 @@ "description": "Array2XML conversion library credit to lalit.org", "homepage": "https://www.nullivex.com", "keywords": [ - "array", - "array conversion", - "xml", - "xml conversion" - ], - "support": { - "issues": "https://github.com/nullivex/lib-array2xml/issues", - "source": "https://github.com/nullivex/lib-array2xml/tree/master" - }, - "time": "2019-03-29T20:06:56+00:00" - }, - { - "name": "opis/closure", - "version": "3.6.2", - "source": { - "type": "git", - "url": "https://github.com/opis/closure.git", - "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opis/closure/zipball/06e2ebd25f2869e54a306dda991f7db58066f7f6", - "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6", - "shasum": "" - }, - "require": { - "php": "^5.4 || ^7.0 || ^8.0" - }, - "require-dev": { - "jeremeamia/superclosure": "^2.0", - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.6.x-dev" - } - }, - "autoload": { - "psr-4": { - "Opis\\Closure\\": "src/" - }, - "files": [ - "functions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marius Sarca", - "email": "marius.sarca@gmail.com" - }, - { - "name": "Sorin Sarca", - "email": "sarca_sorin@hotmail.com" - } - ], - "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", - "homepage": "https://opis.io/closure", - "keywords": [ - "anonymous functions", - "closure", - "function", - "serializable", - "serialization", - "serialize" + "array", + "array conversion", + "xml", + "xml conversion" ], "support": { - "issues": "https://github.com/opis/closure/issues", - "source": "https://github.com/opis/closure/tree/3.6.2" + "issues": "https://github.com/nullivex/lib-array2xml/issues", + "source": "https://github.com/nullivex/lib-array2xml/tree/master" }, - "time": "2021-04-09T13:42:10+00:00" + "time": "2019-03-29T20:06:56+00:00" }, { "name": "paragonie/constant_time_encoding", - "version": "v2.4.0", + "version": "v2.6.3", "source": { "type": "git", "url": "https://github.com/paragonie/constant_time_encoding.git", - "reference": "f34c2b11eb9d2c9318e13540a1dbc2a3afbd939c" + "reference": "58c3f47f650c94ec05a151692652a868995d2938" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/f34c2b11eb9d2c9318e13540a1dbc2a3afbd939c", - "reference": "f34c2b11eb9d2c9318e13540a1dbc2a3afbd939c", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938", + "reference": "58c3f47f650c94ec05a151692652a868995d2938", "shasum": "" }, "require": { @@ -4657,30 +4878,30 @@ "issues": "https://github.com/paragonie/constant_time_encoding/issues", "source": "https://github.com/paragonie/constant_time_encoding" }, - "time": "2020-12-06T15:14:20+00:00" + "time": "2022-06-14T06:56:20+00:00" }, { "name": "paragonie/pharaoh", - "version": "v0.5.0", + "version": "v0.6.0", "source": { "type": "git", "url": "https://github.com/paragonie/pharaoh.git", - "reference": "060418e946de2f39a3618ad70d9b6d0a61437b83" + "reference": "d33976a45429edc9c4282e7b0f2b6c3a3a5783fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/pharaoh/zipball/060418e946de2f39a3618ad70d9b6d0a61437b83", - "reference": "060418e946de2f39a3618ad70d9b6d0a61437b83", + "url": "https://api.github.com/repos/paragonie/pharaoh/zipball/d33976a45429edc9c4282e7b0f2b6c3a3a5783fc", + "reference": "d33976a45429edc9c4282e7b0f2b6c3a3a5783fc", "shasum": "" }, "require": { "paragonie/constant_time_encoding": "^2", "paragonie/sodium_compat": "^1.3", - "php": "^7", + "php": "^7|^8", "ulrichsg/getopt-php": "^3" }, "require-dev": { - "vimeo/psalm": "^1|^2" + "vimeo/psalm": "^1|^2|^3" }, "bin": [ "pharaoh" @@ -4717,7 +4938,7 @@ "issues": "https://github.com/paragonie/pharaoh/issues", "source": "https://github.com/paragonie/pharaoh" }, - "time": "2018-11-02T16:45:56+00:00" + "time": "2020-12-03T04:57:05+00:00" }, { "name": "paragonie/random_compat", @@ -4771,16 +4992,16 @@ }, { "name": "paragonie/sodium_compat", - "version": "v1.14.0", + "version": "v1.19.0", "source": { "type": "git", "url": "https://github.com/paragonie/sodium_compat.git", - "reference": "a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3" + "reference": "cb15e403ecbe6a6cc515f855c310eb6b1872a933" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3", - "reference": "a1cfe0b21faf9c0b61ac0c6188c4af7fd6fd0db3", + "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/cb15e403ecbe6a6cc515f855c310eb6b1872a933", + "reference": "cb15e403ecbe6a6cc515f855c310eb6b1872a933", "shasum": "" }, "require": { @@ -4851,9 +5072,9 @@ ], "support": { "issues": "https://github.com/paragonie/sodium_compat/issues", - "source": "https://github.com/paragonie/sodium_compat/tree/v1.14.0" + "source": "https://github.com/paragonie/sodium_compat/tree/v1.19.0" }, - "time": "2020-12-03T16:26:19+00:00" + "time": "2022-09-26T03:40:35+00:00" }, { "name": "phalcon/ide-stubs", @@ -4924,16 +5145,16 @@ }, { "name": "phar-io/manifest", - "version": "2.0.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133" + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", "shasum": "" }, "require": { @@ -4978,22 +5199,22 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/master" + "source": "https://github.com/phar-io/manifest/tree/2.0.3" }, - "time": "2020-06-27T14:33:11+00:00" + "time": "2021-07-20T11:28:43+00:00" }, { "name": "phar-io/version", - "version": "3.1.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "bae7c545bef187884426f042434e561ab1ddb182" + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", - "reference": "bae7c545bef187884426f042434e561ab1ddb182", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { @@ -5029,41 +5250,36 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.1.0" + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2021-02-23T14:00:09+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { "name": "phpdocumentor/reflection-common", - "version": "1.0.1", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", "shasum": "" }, "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.6" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-2.x": "2.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] + "phpDocumentor\\Reflection\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -5087,47 +5303,44 @@ ], "support": { "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/master" + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" }, - "time": "2017-09-11T18:02:19+00:00" + "time": "2020-06-27T09:03:43+00:00" }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.3.4", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c" + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c", - "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", "shasum": "" }, "require": { - "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0", - "phpdocumentor/type-resolver": "~0.4 || ^1.0.0", - "webmozart/assert": "^1.0" + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" }, "require-dev": { - "doctrine/instantiator": "^1.0.5", - "mockery/mockery": "^1.0", - "phpdocumentor/type-resolver": "0.4.*", - "phpunit/phpunit": "^6.4" + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.x-dev" + "dev-master": "5.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] + "phpDocumentor\\Reflection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -5138,48 +5351,55 @@ { "name": "Mike van Riel", "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/release/4.x" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" }, - "time": "2019-12-28T18:55:12+00:00" + "time": "2021-10-19T17:43:47+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "0.4.0", + "version": "1.6.2", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" + "reference": "48f445a408c131e38cab1c235aa6d2bb7a0bb20d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/48f445a408c131e38cab1c235aa6d2bb7a0bb20d", + "reference": "48f445a408c131e38cab1c235aa6d2bb7a0bb20d", "shasum": "" }, "require": { - "php": "^5.5 || ^7.0", - "phpdocumentor/reflection-common": "^1.0" + "php": "^7.4 || ^8.0", + "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" + "ext-tokenizer": "*", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^9.5", + "rector/rector": "^0.13.9", + "vimeo/psalm": "^4.25" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-1.x": "1.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] + "phpDocumentor\\Reflection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -5192,200 +5412,25 @@ "email": "me@mikevanriel.com" } ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/master" - }, - "time": "2017-07-14T14:27:02+00:00" - }, - { - "name": "phpseclib/phpseclib", - "version": "2.0.31", - "source": { - "type": "git", - "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "233a920cb38636a43b18d428f9a8db1f0a1a08f4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/233a920cb38636a43b18d428f9a8db1f0a1a08f4", - "reference": "233a920cb38636a43b18d428f9a8db1f0a1a08f4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phing/phing": "~2.7", - "phpunit/phpunit": "^4.8.35|^5.7|^6.0|^9.4", - "squizlabs/php_codesniffer": "~2.0" - }, - "suggest": { - "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", - "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", - "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", - "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." - }, - "type": "library", - "autoload": { - "files": [ - "phpseclib/bootstrap.php" - ], - "psr-4": { - "phpseclib\\": "phpseclib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jim Wigginton", - "email": "terrafrost@php.net", - "role": "Lead Developer" - }, - { - "name": "Patrick Monnerat", - "email": "pm@datasphere.ch", - "role": "Developer" - }, - { - "name": "Andreas Fischer", - "email": "bantu@phpbb.com", - "role": "Developer" - }, - { - "name": "Hans-Jürgen Petrich", - "email": "petrich@tronic-media.com", - "role": "Developer" - }, - { - "name": "Graham Campbell", - "email": "graham@alt-three.com", - "role": "Developer" - } - ], - "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", - "homepage": "http://phpseclib.sourceforge.net", - "keywords": [ - "BigInteger", - "aes", - "asn.1", - "asn1", - "blowfish", - "crypto", - "cryptography", - "encryption", - "rsa", - "security", - "sftp", - "signature", - "signing", - "ssh", - "twofish", - "x.509", - "x509" - ], - "support": { - "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/2.0.31" - }, - "funding": [ - { - "url": "https://github.com/terrafrost", - "type": "github" - }, - { - "url": "https://www.patreon.com/phpseclib", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib", - "type": "tidelift" - } - ], - "time": "2021-04-06T13:56:45+00:00" - }, - { - "name": "phpspec/prophecy", - "version": "v1.10.3", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "451c3cd1418cf640de218914901e51b064abb093" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", - "reference": "451c3cd1418cf640de218914901e51b064abb093", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", - "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" - }, - "require-dev": { - "phpspec/phpspec": "^2.5 || ^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10.x-dev" - } - }, - "autoload": { - "psr-4": { - "Prophecy\\": "src/Prophecy" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.10.3" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.2" }, - "time": "2020-03-05T15:02:03+00:00" + "time": "2022-10-14T12:47:21+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "7.0.14", + "version": "7.0.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c" + "reference": "819f92bba8b001d4363065928088de22f25a3a48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bb7c9a210c72e4709cdde67f8b7362f672f2225c", - "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/819f92bba8b001d4363065928088de22f25a3a48", + "reference": "819f92bba8b001d4363065928088de22f25a3a48", "shasum": "" }, "require": { @@ -5394,7 +5439,7 @@ "php": ">=7.2", "phpunit/php-file-iterator": "^2.0.2", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^3.1.1 || ^4.0", + "phpunit/php-token-stream": "^3.1.3 || ^4.0", "sebastian/code-unit-reverse-lookup": "^1.0.1", "sebastian/environment": "^4.2.2", "sebastian/version": "^2.0.1", @@ -5437,7 +5482,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.14" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.15" }, "funding": [ { @@ -5445,20 +5490,20 @@ "type": "github" } ], - "time": "2020-12-02T13:39:03+00:00" + "time": "2021-07-26T12:20:09+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "2.0.3", + "version": "2.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357" + "reference": "42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/4b49fb70f067272b659ef0174ff9ca40fdaa6357", - "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5", + "reference": "42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5", "shasum": "" }, "require": { @@ -5497,7 +5542,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.5" }, "funding": [ { @@ -5505,7 +5550,7 @@ "type": "github" } ], - "time": "2020-11-30T08:25:21+00:00" + "time": "2021-12-02T12:42:26+00:00" }, { "name": "phpunit/php-text-template", @@ -5613,29 +5658,29 @@ }, { "name": "phpunit/php-token-stream", - "version": "3.1.2", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "472b687829041c24b25f475e14c2f38a09edf1c2" + "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/472b687829041c24b25f475e14c2f38a09edf1c2", - "reference": "472b687829041c24b25f475e14c2f38a09edf1c2", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/a853a0e183b9db7eed023d7933a858fa1c8d25a3", + "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=7.1" + "php": "^7.3 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^7.0" + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -5660,7 +5705,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", - "source": "https://github.com/sebastianbergmann/php-token-stream/tree/3.1.2" + "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master" }, "funding": [ { @@ -5669,20 +5714,20 @@ } ], "abandoned": true, - "time": "2020-11-30T08:38:46+00:00" + "time": "2020-08-04T08:28:15+00:00" }, { "name": "phpunit/phpunit", - "version": "8.5.15", + "version": "8.5.33", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "038d4196d8e8cb405cd5e82cedfe413ad6eef9ef" + "reference": "7d1ff0e8c6b35db78ff13e3e05517d7cbf7aa32e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/038d4196d8e8cb405cd5e82cedfe413ad6eef9ef", - "reference": "038d4196d8e8cb405cd5e82cedfe413ad6eef9ef", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7d1ff0e8c6b35db78ff13e3e05517d7cbf7aa32e", + "reference": "7d1ff0e8c6b35db78ff13e3e05517d7cbf7aa32e", "shasum": "" }, "require": { @@ -5694,27 +5739,23 @@ "ext-xml": "*", "ext-xmlwriter": "*", "myclabs/deep-copy": "^1.10.0", - "phar-io/manifest": "^2.0.1", + "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=7.2", - "phpspec/prophecy": "^1.10.3", "phpunit/php-code-coverage": "^7.0.12", - "phpunit/php-file-iterator": "^2.0.2", + "phpunit/php-file-iterator": "^2.0.4", "phpunit/php-text-template": "^1.2.1", "phpunit/php-timer": "^2.1.2", - "sebastian/comparator": "^3.0.2", + "sebastian/comparator": "^3.0.5", "sebastian/diff": "^3.0.2", "sebastian/environment": "^4.2.3", - "sebastian/exporter": "^3.1.2", + "sebastian/exporter": "^3.1.5", "sebastian/global-state": "^3.0.0", "sebastian/object-enumerator": "^3.0.3", "sebastian/resource-operations": "^2.0.1", "sebastian/type": "^1.1.3", "sebastian/version": "^2.0.1" }, - "require-dev": { - "ext-pdo": "*" - }, "suggest": { "ext-soap": "*", "ext-xdebug": "*", @@ -5754,19 +5795,23 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.15" + "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.33" }, "funding": [ { - "url": "https://phpunit.de/donate.html", + "url": "https://phpunit.de/sponsors.html", "type": "custom" }, { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "time": "2021-03-17T07:27:54+00:00" + "time": "2023-02-27T13:04:50+00:00" }, { "name": "psr/http-client", @@ -5821,21 +5866,22 @@ "time": "2020-06-29T06:28:15+00:00" }, { - "name": "psr/http-message", + "name": "psr/http-factory", "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=7.0.0", + "psr/http-message": "^1.0" }, "type": "library", "extra": { @@ -5858,33 +5904,34 @@ "homepage": "http://www.php-fig.org/" } ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", + "description": "Common interfaces for PSR-7 HTTP message factories", "keywords": [ + "factory", "http", - "http-message", + "message", "psr", + "psr-17", "psr-7", "request", "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-factory/tree/master" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2019-04-30T12:38:16+00:00" }, { - "name": "psr/log", - "version": "1.1.3", + "name": "psr/http-message", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "shasum": "" }, "require": { @@ -5893,12 +5940,12 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Log\\": "Psr/Log/" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -5911,101 +5958,47 @@ "homepage": "http://www.php-fig.org/" } ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", "keywords": [ - "log", + "http", + "http-message", "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/1.1.3" - }, - "time": "2020-03-23T09:12:05+00:00" - }, - { - "name": "ralouphie/getallheaders", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "120b605dfeb996808c31b6477290a714d356e822" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", - "reference": "120b605dfeb996808c31b6477290a714d356e822", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/getallheaders.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" - } + "psr-7", + "request", + "response" ], - "description": "A polyfill for getallheaders.", "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" + "source": "https://github.com/php-fig/http-message/tree/master" }, - "time": "2019-03-08T08:55:37+00:00" + "time": "2016-08-06T14:39:51+00:00" }, { - "name": "roave/better-reflection", - "version": "3.5.0", + "name": "psr/log", + "version": "1.1.4", "source": { "type": "git", - "url": "https://github.com/Roave/BetterReflection.git", - "reference": "a93d26f6f08add54943d752dad1da64c464c2e69" + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/BetterReflection/zipball/a93d26f6f08add54943d752dad1da64c464c2e69", - "reference": "a93d26f6f08add54943d752dad1da64c464c2e69", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", "shasum": "" }, "require": { - "ext-json": "*", - "jetbrains/phpstorm-stubs": "2019.1", - "nikic/php-parser": "^4.2.1", - "php": ">=7.2.0,<7.5.0", - "phpdocumentor/reflection-docblock": "^4.1.1", - "phpdocumentor/type-resolver": "^0.4.0", - "roave/signature": "^1.0" - }, - "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpunit/phpunit": "^8.1.0" - }, - "suggest": { - "composer/composer": "Required to use the ComposerSourceLocator" + "php": ">=5.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { "psr-4": { - "Roave\\BetterReflection\\": "src" + "Psr\\Log\\": "Psr/Log/" } }, "notification-url": "https://packagist.org/downloads/", @@ -6014,71 +6007,65 @@ ], "authors": [ { - "name": "James Titcumb", - "email": "james@asgrim.com", - "homepage": "https://github.com/asgrim" - }, - { - "name": "Gary Hockin", - "email": "gary@roave.com", - "homepage": "https://github.com/geeh" - }, - { - "name": "Jaroslav Hanslík", - "email": "kukulich@kukulich.cz", - "homepage": "https://github.com/kukulich" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "Better Reflection - an improved code reflection API", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], "support": { - "issues": "https://github.com/Roave/BetterReflection/issues", - "source": "https://github.com/Roave/BetterReflection/tree/3.5.0" + "source": "https://github.com/php-fig/log/tree/1.1.4" }, - "time": "2019-05-28T00:00:03+00:00" + "time": "2021-05-03T11:20:27+00:00" }, { - "name": "roave/signature", - "version": "1.1.0", + "name": "ralouphie/getallheaders", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/Roave/Signature.git", - "reference": "c4e8a59946bad694ab5682a76e7884a9157a8a2c" + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/Signature/zipball/c4e8a59946bad694ab5682a76e7884a9157a8a2c", - "reference": "c4e8a59946bad694ab5682a76e7884a9157a8a2c", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", "shasum": "" }, "require": { - "php": "^7.1 || ^7.2" + "php": ">=5.6" }, "require-dev": { - "infection/infection": "^0.7.1", - "phpunit/phpunit": "^7.0", - "squizlabs/php_codesniffer": "^3.2" + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" }, "type": "library", "autoload": { - "psr-4": { - "Roave\\Signature\\": "src" - } + "files": [ + "src/getallheaders.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Sign and verify stuff", + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", "support": { - "issues": "https://github.com/Roave/Signature/issues", - "source": "https://github.com/Roave/Signature/tree/1.1.0" + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" }, - "time": "2020-10-01T07:27:11+00:00" + "time": "2019-03-08T08:55:37+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -6137,16 +6124,16 @@ }, { "name": "sebastian/comparator", - "version": "3.0.3", + "version": "3.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "1071dfcef776a57013124ff35e1fc41ccd294758" + "reference": "1dc7ceb4a24aede938c7af2a9ed1de09609ca770" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1071dfcef776a57013124ff35e1fc41ccd294758", - "reference": "1071dfcef776a57013124ff35e1fc41ccd294758", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1dc7ceb4a24aede938c7af2a9ed1de09609ca770", + "reference": "1dc7ceb4a24aede938c7af2a9ed1de09609ca770", "shasum": "" }, "require": { @@ -6199,7 +6186,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/3.0.3" + "source": "https://github.com/sebastianbergmann/comparator/tree/3.0.5" }, "funding": [ { @@ -6207,7 +6194,7 @@ "type": "github" } ], - "time": "2020-11-30T08:04:30+00:00" + "time": "2022-09-14T12:31:48+00:00" }, { "name": "sebastian/diff", @@ -6340,16 +6327,16 @@ }, { "name": "sebastian/exporter", - "version": "3.1.3", + "version": "3.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e" + "reference": "73a9676f2833b9a7c36968f9d882589cd75511e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e", - "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/73a9676f2833b9a7c36968f9d882589cd75511e6", + "reference": "73a9676f2833b9a7c36968f9d882589cd75511e6", "shasum": "" }, "require": { @@ -6358,7 +6345,7 @@ }, "require-dev": { "ext-mbstring": "*", - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { @@ -6405,7 +6392,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.5" }, "funding": [ { @@ -6413,20 +6400,20 @@ "type": "github" } ], - "time": "2020-11-30T07:47:53+00:00" + "time": "2022-09-14T06:00:17+00:00" }, { "name": "sebastian/global-state", - "version": "3.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b" + "reference": "de036ec91d55d2a9e0db2ba975b512cdb1c23921" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/474fb9edb7ab891665d3bfc6317f42a0a150454b", - "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/de036ec91d55d2a9e0db2ba975b512cdb1c23921", + "reference": "de036ec91d55d2a9e0db2ba975b512cdb1c23921", "shasum": "" }, "require": { @@ -6469,7 +6456,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/3.0.1" + "source": "https://github.com/sebastianbergmann/global-state/tree/3.0.2" }, "funding": [ { @@ -6477,7 +6464,7 @@ "type": "github" } ], - "time": "2020-11-30T07:43:24+00:00" + "time": "2022-02-10T06:55:38+00:00" }, { "name": "sebastian/object-enumerator", @@ -6811,23 +6798,24 @@ }, { "name": "seld/jsonlint", - "version": "1.8.3", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57" + "reference": "4211420d25eba80712bff236a98960ef68b866b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9ad6ce79c342fbd44df10ea95511a1b24dee5b57", - "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/4211420d25eba80712bff236a98960ef68b866b7", + "reference": "4211420d25eba80712bff236a98960ef68b866b7", "shasum": "" }, "require": { "php": "^5.3 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpstan/phpstan": "^1.5", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" }, "bin": [ "bin/jsonlint" @@ -6844,410 +6832,123 @@ ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "JSON Linter", - "keywords": [ - "json", - "linter", - "parser", - "validator" - ], - "support": { - "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.8.3" - }, - "funding": [ - { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", - "type": "tidelift" - } - ], - "time": "2020-11-11T09:19:24+00:00" - }, - { - "name": "squizlabs/php_codesniffer", - "version": "3.6.0", - "source": { - "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", - "shasum": "" - }, - "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" - }, - "bin": [ - "bin/phpcs", - "bin/phpcbf" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Greg Sherwood", - "role": "lead" - } - ], - "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", - "keywords": [ - "phpcs", - "standards" - ], - "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" - }, - "time": "2021-04-09T00:54:41+00:00" - }, - { - "name": "symfony/browser-kit", - "version": "v5.2.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/browser-kit.git", - "reference": "3ca3a57ce9860318b20a924fec5daf5c6db44d93" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/3ca3a57ce9860318b20a924fec5daf5c6db44d93", - "reference": "3ca3a57ce9860318b20a924fec5daf5c6db44d93", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/dom-crawler": "^4.4|^5.0" - }, - "require-dev": { - "symfony/css-selector": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", - "symfony/mime": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0" - }, - "suggest": { - "symfony/process": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\BrowserKit\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/browser-kit/tree/v5.2.4" - }, - "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-02-22T06:48:33+00:00" - }, - { - "name": "symfony/css-selector", - "version": "v5.2.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/css-selector.git", - "reference": "f65f217b3314504a1ec99c2d6ef69016bb13490f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/f65f217b3314504a1ec99c2d6ef69016bb13490f", - "reference": "f65f217b3314504a1ec99c2d6ef69016bb13490f", - "shasum": "" - }, - "require": { - "php": ">=7.2.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\CssSelector\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Jean-François Simon", - "email": "jeanfrancois.simon@sensiolabs.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Converts CSS selectors to XPath expressions", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/css-selector/tree/v5.2.4" - }, - "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-01-27T10:01:46+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v2.2.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5fa56b4074d1ae755beb55617ddafe6f5d78f665", - "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", + "description": "JSON Linter", + "keywords": [ + "json", + "linter", + "parser", + "validator" + ], "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/master" + "issues": "https://github.com/Seldaek/jsonlint/issues", + "source": "https://github.com/Seldaek/jsonlint/tree/1.9.0" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/Seldaek", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", "type": "tidelift" } ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2022-04-01T13:37:23+00:00" }, { - "name": "symfony/dom-crawler", - "version": "v5.2.4", + "name": "squizlabs/php_codesniffer", + "version": "3.7.2", "source": { "type": "git", - "url": "https://github.com/symfony/dom-crawler.git", - "reference": "400e265163f65aceee7e904ef532e15228de674b" + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/400e265163f65aceee7e904ef532e15228de674b", - "reference": "400e265163f65aceee7e904ef532e15228de674b", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "^1.15" - }, - "conflict": { - "masterminds/html5": "<2.6" + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" }, "require-dev": { - "masterminds/html5": "^2.6", - "symfony/css-selector": "^4.4|^5.0" - }, - "suggest": { - "symfony/css-selector": "" + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\DomCrawler\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Greg Sherwood", + "role": "lead" } ], - "description": "Eases DOM navigation for HTML and XML documents", - "homepage": "https://symfony.com", + "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", + "keywords": [ + "phpcs", + "standards", + "static analysis" + ], "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v5.2.4" + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "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-02-15T18:55:04+00:00" + "time": "2023-02-22T23:07:41+00:00" }, { - "name": "symfony/event-dispatcher", - "version": "v4.4.20", + "name": "symfony/browser-kit", + "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "c352647244bd376bf7d31efbd5401f13f50dad0c" + "url": "https://github.com/symfony/browser-kit.git", + "reference": "a866ca7e396f15d7efb6d74a8a7d364d4e05b704" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c352647244bd376bf7d31efbd5401f13f50dad0c", - "reference": "c352647244bd376bf7d31efbd5401f13f50dad0c", + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/a866ca7e396f15d7efb6d74a8a7d364d4e05b704", + "reference": "a866ca7e396f15d7efb6d74a8a7d364d4e05b704", "shasum": "" }, "require": { - "php": ">=7.1.3", - "symfony/event-dispatcher-contracts": "^1.1" - }, - "conflict": { - "symfony/dependency-injection": "<3.4" - }, - "provide": { - "psr/event-dispatcher-implementation": "1.0", - "symfony/event-dispatcher-implementation": "1.1" + "php": ">=7.2.5", + "symfony/dom-crawler": "^4.4|^5.0|^6.0", + "symfony/polyfill-php80": "^1.16" }, "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^3.4|^4.0|^5.0", - "symfony/dependency-injection": "^3.4|^4.0|^5.0", - "symfony/error-handler": "~3.4|~4.4", - "symfony/expression-language": "^3.4|^4.0|^5.0", - "symfony/http-foundation": "^3.4|^4.0|^5.0", - "symfony/service-contracts": "^1.1|^2", - "symfony/stopwatch": "^3.4|^4.0|^5.0" + "symfony/css-selector": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/mime": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0" }, "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" + "symfony/process": "" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" + "Symfony\\Component\\BrowserKit\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -7267,10 +6968,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v4.4.20" + "source": "https://github.com/symfony/browser-kit/tree/v5.4.21" }, "funding": [ { @@ -7286,43 +6987,34 @@ "type": "tidelift" } ], - "time": "2021-01-27T09:09:26+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { - "name": "symfony/event-dispatcher-contracts", - "version": "v1.1.9", + "name": "symfony/css-selector", + "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7" + "url": "https://github.com/symfony/css-selector.git", + "reference": "95f3c7468db1da8cc360b24fa2a26e7cefcb355d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/84e23fdcd2517bf37aecbd16967e83f0caee25a7", - "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/95f3c7468db1da8cc360b24fa2a26e7cefcb355d", + "reference": "95f3c7468db1da8cc360b24fa2a26e7cefcb355d", "shasum": "" }, "require": { - "php": ">=7.1.3" - }, - "suggest": { - "psr/event-dispatcher": "", - "symfony/event-dispatcher-implementation": "" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, "autoload": { "psr-4": { - "Symfony\\Contracts\\EventDispatcher\\": "" - } + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7330,26 +7022,22 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Generic abstractions related to dispatching event", + "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v1.1.9" + "source": "https://github.com/symfony/css-selector/tree/v5.4.21" }, "funding": [ { @@ -7365,30 +7053,43 @@ "type": "tidelift" } ], - "time": "2020-07-06T13:19:58+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { - "name": "symfony/filesystem", - "version": "v4.4.21", + "name": "symfony/dom-crawler", + "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "940826c465be2690c9fae91b2793481e5cbd6834" + "url": "https://github.com/symfony/dom-crawler.git", + "reference": "105a7ac54ecacc1f52a99b9c4963935ca62aac8f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/940826c465be2690c9fae91b2793481e5cbd6834", - "reference": "940826c465be2690c9fae91b2793481e5cbd6834", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/105a7ac54ecacc1f52a99b9c4963935ca62aac8f", + "reference": "105a7ac54ecacc1f52a99b9c4963935ca62aac8f", "shasum": "" }, "require": { - "php": ">=7.1.3", - "symfony/polyfill-ctype": "~1.8" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "masterminds/html5": "<2.6" + }, + "require-dev": { + "masterminds/html5": "^2.6", + "symfony/css-selector": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/css-selector": "" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Filesystem\\": "" + "Symfony\\Component\\DomCrawler\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -7408,10 +7109,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides basic utilities for the filesystem", + "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v4.4.21" + "source": "https://github.com/symfony/dom-crawler/tree/v5.4.21" }, "funding": [ { @@ -7427,29 +7128,53 @@ "type": "tidelift" } ], - "time": "2021-03-28T09:59:32+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { - "name": "symfony/finder", - "version": "v4.4.20", + "name": "symfony/event-dispatcher", + "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "2543795ab1570df588b9bbd31e1a2bd7037b94f6" + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "f0ae1383a8285dfc6752b8d8602790953118ff5a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/2543795ab1570df588b9bbd31e1a2bd7037b94f6", - "reference": "2543795ab1570df588b9bbd31e1a2bd7037b94f6", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/f0ae1383a8285dfc6752b8d8602790953118ff5a", + "reference": "f0ae1383a8285dfc6752b8d8602790953118ff5a", "shasum": "" }, "require": { - "php": ">=7.1.3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/event-dispatcher-contracts": "^2|^3", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "symfony/dependency-injection": "<4.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^4.4|^5.0|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/stopwatch": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Finder\\": "" + "Symfony\\Component\\EventDispatcher\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -7469,10 +7194,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Finds files and directories via an intuitive fluent interface", + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v4.4.20" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.21" }, "funding": [ { @@ -7488,24 +7213,25 @@ "type": "tidelift" } ], - "time": "2021-02-12T10:48:09+00:00" + "time": "2023-02-14T08:03:56+00:00" }, { "name": "symfony/process", - "version": "v4.4.20", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "7e950b6366d4da90292c2e7fa820b3c1842b965a" + "reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/7e950b6366d4da90292c2e7fa820b3c1842b965a", - "reference": "7e950b6366d4da90292c2e7fa820b3c1842b965a", + "url": "https://api.github.com/repos/symfony/process/zipball/d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", + "reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", "shasum": "" }, "require": { - "php": ">=7.1.3" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -7533,7 +7259,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v4.4.20" + "source": "https://github.com/symfony/process/tree/v5.4.21" }, "funding": [ { @@ -7549,32 +7275,32 @@ "type": "tidelift" } ], - "time": "2021-01-27T09:09:26+00:00" + "time": "2023-02-21T19:46:44+00:00" }, { "name": "symfony/yaml", - "version": "v5.2.5", + "version": "v5.4.21", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "298a08ddda623485208506fcee08817807a251dd" + "reference": "3713e20d93e46e681e51605d213027e48dab3469" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/298a08ddda623485208506fcee08817807a251dd", - "reference": "298a08ddda623485208506fcee08817807a251dd", + "url": "https://api.github.com/repos/symfony/yaml/zipball/3713e20d93e46e681e51605d213027e48dab3469", + "reference": "3713e20d93e46e681e51605d213027e48dab3469", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-ctype": "~1.8" + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<4.4" + "symfony/console": "<5.3" }, "require-dev": { - "symfony/console": "^4.4|^5.0" + "symfony/console": "^5.3|^6.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -7608,7 +7334,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.2.5" + "source": "https://github.com/symfony/yaml/tree/v5.4.21" }, "funding": [ { @@ -7624,20 +7350,20 @@ "type": "tidelift" } ], - "time": "2021-03-06T07:59:01+00:00" + "time": "2023-02-21T19:46:44+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "75a63c33a8577608444246075ea0af0d052e452a" + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a", - "reference": "75a63c33a8577608444246075ea0af0d052e452a", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", "shasum": "" }, "require": { @@ -7666,7 +7392,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/master" + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" }, "funding": [ { @@ -7674,7 +7400,7 @@ "type": "github" } ], - "time": "2020-07-12T23:59:07+00:00" + "time": "2021-07-28T10:34:58+00:00" }, { "name": "ulrichsg/getopt-php", @@ -7728,16 +7454,16 @@ }, { "name": "vimeo/psalm", - "version": "4.7.0", + "version": "4.30.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "d4377c0baf3ffbf0b1ec6998e8d1be2a40971005" + "reference": "d0bc6e25d89f649e4f36a534f330f8bb4643dd69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/d4377c0baf3ffbf0b1ec6998e8d1be2a40971005", - "reference": "d4377c0baf3ffbf0b1ec6998e8d1be2a40971005", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/d0bc6e25d89f649e4f36a534f330f8bb4643dd69", + "reference": "d0bc6e25d89f649e4f36a534f330f8bb4643dd69", "shasum": "" }, "require": { @@ -7745,8 +7471,9 @@ "amphp/byte-stream": "^1.5", "composer/package-versions-deprecated": "^1.8.0", "composer/semver": "^1.4 || ^2.0 || ^3.0", - "composer/xdebug-handler": "^1.1", + "composer/xdebug-handler": "^1.1 || ^2.0 || ^3.0", "dnoegel/php-xdg-base-dir": "^0.1.1", + "ext-ctype": "*", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -7756,11 +7483,12 @@ "felixfbecker/advanced-json-rpc": "^3.0.3", "felixfbecker/language-server-protocol": "^1.5", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.10.1", + "nikic/php-parser": "^4.13", "openlss/lib-array2xml": "^1.0", "php": "^7.1|^8", "sebastian/diff": "^3.0 || ^4.0", - "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", + "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0 || ^6.0", + "symfony/polyfill-php80": "^1.25", "webmozart/path-util": "^2.3" }, "provide": { @@ -7774,16 +7502,17 @@ "phpdocumentor/reflection-docblock": "^5", "phpmyadmin/sql-parser": "5.1.0||dev-master", "phpspec/prophecy": ">=1.9.0", + "phpstan/phpdoc-parser": "1.2.* || 1.6.4", "phpunit/phpunit": "^9.0", - "psalm/plugin-phpunit": "^0.13", - "slevomat/coding-standard": "^6.3.11", + "psalm/plugin-phpunit": "^0.16", + "slevomat/coding-standard": "^7.0", "squizlabs/php_codesniffer": "^3.5", - "symfony/process": "^4.3", - "weirdan/phpunit-appveyor-reporter": "^1.0.0", + "symfony/process": "^4.3 || ^5.0 || ^6.0", "weirdan/prophecy-shim": "^1.0 || ^2.0" }, "suggest": { - "ext-igbinary": "^2.0.5" + "ext-curl": "In order to send data to shepherd", + "ext-igbinary": "^2.0.5 is required, used to serialize caching data" }, "bin": [ "psalm", @@ -7802,13 +7531,13 @@ } }, "autoload": { - "psr-4": { - "Psalm\\": "src/Psalm/" - }, "files": [ "src/functions.php", "src/spl_object_id.php" - ] + ], + "psr-4": { + "Psalm\\": "src/Psalm/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7827,67 +7556,9 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.7.0" - }, - "time": "2021-03-29T03:54:38+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.10.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-ctype": "^1.8" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<4.6.1 || 4.6.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.5.13" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" + "source": "https://github.com/vimeo/psalm/tree/4.30.0" }, - "time": "2021-03-09T10:59:23+00:00" + "time": "2022-11-06T20:37:08+00:00" }, { "name": "webmozart/path-util", @@ -7937,6 +7608,7 @@ "issues": "https://github.com/webmozart/path-util/issues", "source": "https://github.com/webmozart/path-util/tree/2.3.0" }, + "abandoned": "symfony/filesystem", "time": "2015-12-17T08:42:14+00:00" } ], @@ -7946,10 +7618,10 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=7.2", + "php": ">=7.4.1", "ext-pdo": "*", - "ext-phalcon": "^4.0.0" + "ext-phalcon": "^5.0.0" }, "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.3.0" } diff --git a/phalcon b/phalcon index 2a1d0167c..0d07ee1eb 100755 --- a/phalcon +++ b/phalcon @@ -28,12 +28,11 @@ use Phalcon\DevTools\Script; use Phalcon\DevTools\Script\Color; use Phalcon\DevTools\Version; use Phalcon\Events\Manager as EventsManager; -use Phalcon\Exception as PhalconException; try { require dirname(__FILE__) . '/bootstrap/autoload.php'; - $vendor = sprintf('Phalcon DevTools (%s)', Version::get()); + $vendor = sprintf('Phalcon DevTools (%s)', (new Version())->get()); print PHP_EOL . Color::colorize($vendor, Color::FG_GREEN, Color::AT_BOLD) . PHP_EOL . PHP_EOL; $eventsManager = new EventsManager(); @@ -69,10 +68,7 @@ try { } else { exit(1); } -} catch (PhalconException $e) { +} catch (\Exception $e) { fwrite(STDERR, Color::error($e->getMessage()) . PHP_EOL); exit(1); -} catch (Exception $e) { - fwrite(STDERR, 'ERROR: ' . $e->getMessage() . PHP_EOL); - exit(1); } diff --git a/src/Bootstrap.php b/src/Bootstrap.php index 7cdde1e3c..350506fe9 100644 --- a/src/Bootstrap.php +++ b/src/Bootstrap.php @@ -37,12 +37,12 @@ use Phalcon\DevTools\Providers\ViewCacheProvider; use Phalcon\DevTools\Providers\ViewProvider; use Phalcon\DevTools\Providers\VoltProvider; -use Phalcon\Di; +use Phalcon\Di\Di; use Phalcon\Di\DiInterface; use Phalcon\Di\FactoryDefault; use Phalcon\Di\ServiceProviderInterface; use Phalcon\Mvc\Application as MvcApplication; -use Phalcon\Text; +use Phalcon\Support\HelperFactory; /** * @method mixed getShared($name, $parameters=null) @@ -403,7 +403,9 @@ public function setParameters(array $parameters): Bootstrap */ public function setParameter(string $parameter, $value): Bootstrap { - $method = 'set' . Text::camelize($parameter); + $helper = new HelperFactory(); + + $method = 'set' . $helper->camelize($parameter); if (method_exists($this, $method)) { $this->$method($value); diff --git a/src/Builder/Component/AbstractComponent.php b/src/Builder/Component/AbstractComponent.php index 2c618b725..61f72b511 100644 --- a/src/Builder/Component/AbstractComponent.php +++ b/src/Builder/Component/AbstractComponent.php @@ -12,12 +12,12 @@ namespace Phalcon\DevTools\Builder\Component; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\DevTools\Builder\Exception\BuilderException; use Phalcon\DevTools\Builder\Path; use Phalcon\DevTools\Script\Color; use Phalcon\DevTools\Validation\Validator\Namespaces; -use Phalcon\Validation; +use Phalcon\Filter\Validation; /** * Base class for builder components diff --git a/src/Builder/Component/Model.php b/src/Builder/Component/Model.php index 6a2ab9261..5a145b84a 100644 --- a/src/Builder/Component/Model.php +++ b/src/Builder/Component/Model.php @@ -23,9 +23,9 @@ use Phalcon\DevTools\Generator\Snippet; use Phalcon\DevTools\Options\OptionsAware as ModelOption; use Phalcon\DevTools\Utils; -use Phalcon\Text; -use Phalcon\Validation; -use Phalcon\Validation\Validator\Email as EmailValidator; +use Phalcon\Support\HelperFactory; +use Phalcon\Filter\Validation; +use Phalcon\Filter\Validation\Validator\Email as EmailValidator; use ReflectionClass; use ReflectionClassConstant; use ReflectionProperty; @@ -100,6 +100,7 @@ public function build(): void $this->path->setRootPath($this->modelOptions->getOption('directory')); } + $helper = new HelperFactory(); $methodRawCode = []; $this->setModelsDir(); $this->setModelPath(); @@ -177,9 +178,9 @@ public function build(): void $initialize[] = $snippet->getRelation( 'hasMany', $this->getFieldName($refColumns[0]), - $entityNamespace . Text::camelize($tableName, '_-'), + $entityNamespace . $helper->camelize($tableName, '_-'), $this->getFieldName($columns[0]), - "['alias' => '" . Text::camelize($tableName, '_-') . "']" + "['alias' => '" . $helper->camelize($tableName, '_-') . "']" ); } } @@ -195,7 +196,7 @@ public function build(): void $this->getFieldName($columns[0]), $this->getEntityClassName($reference, $entityNamespace), $this->getFieldName($refColumns[0]), - "['alias' => '" . Text::camelize($reference->getReferencedTable(), '_-') . "']" + "['alias' => '" . $helper->camelize($reference->getReferencedTable(), '_-') . "']" ); } @@ -212,7 +213,7 @@ public function build(): void if ($useSettersGetters) { foreach ($fields as $field) { /** @var \Phalcon\Db\Column $field */ - $methodName = Text::camelize($field->getName(), '_-'); + $methodName = $helper->camelize($field->getName(), '_-'); $possibleMethods['set' . $methodName] = true; $possibleMethods['get' . $methodName] = true; @@ -494,7 +495,7 @@ public function build(): void if ($this->isConsole()) { $msgSuccess = ($this->modelOptions->getOption('abstract') ? 'Abstract ' : ''); $msgSuccess .= 'Model "%s" was successfully created.'; - $this->notifySuccess(sprintf($msgSuccess, Text::camelize($this->modelOptions->getOption('name'), '_-'))); + $this->notifySuccess(sprintf($msgSuccess, $this->modelOptions->getOption('className'))); } } diff --git a/src/Builder/Component/Scaffold.php b/src/Builder/Component/Scaffold.php index dbc2f21bb..1e85597cf 100644 --- a/src/Builder/Component/Scaffold.php +++ b/src/Builder/Component/Scaffold.php @@ -18,7 +18,7 @@ use Phalcon\DevTools\Script\Color; use Phalcon\DevTools\Utils; use Phalcon\Di\FactoryDefault; -use Phalcon\Text; +use Phalcon\Support\HelperFactory; /** * Build CRUDs using Phalcon @@ -83,6 +83,8 @@ public function build(): bool ); } + $helper = new HelperFactory(); + $adapter = 'Mysql'; if (!empty($config->path('database.adapter'))) { $adapter = ucfirst($config->path('database.adapter')); @@ -136,8 +138,8 @@ public function build(): bool $this->options->offsetSet('viewsDir', $viewPath); $this->options->offsetSet('manager', $di->getShared('modelsManager')); - $this->options->offsetSet('className', Text::camelize($name)); - $this->options->offsetSet('fileName', Text::uncamelize($this->options->get('className'))); + $this->options->offsetSet('className', $helper->camelize($name)); + $this->options->offsetSet('fileName', $helper->uncamelize($this->options->get('className'))); $modelsNamespace = ''; if ($this->options->has('modelsNamespace') && @@ -146,7 +148,7 @@ public function build(): bool $modelsNamespace = $this->options->get('modelsNamespace'); } - $modelName = Text::camelize($name); + $modelName = $helper->camelize($name); if ($modelsNamespace) { $modelClass = '\\' . trim($modelsNamespace, '\\') . '\\' . $modelName; @@ -192,7 +194,7 @@ public function build(): bool $relationField = ''; $single = $name; - $this->options->offsetSet('name', strtolower(Text::camelize($single))); + $this->options->offsetSet('name', strtolower($helper->camelize($single))); $this->options->offsetSet('plural', $this->getPossiblePlural($name)); $this->options->offsetSet('singular', $this->getPossibleSingular($name)); $this->options->offsetSet('modelClass', $modelClass); @@ -274,10 +276,12 @@ private function captureFilterInput(string $var, $fields, bool $useGetSetters, s */ private function assignTagDefaults(string $var, $fields, bool $useGetSetters): string { + $helper = new HelperFactory(); + $code = ''; foreach ($fields as $field => $dataType) { if ($useGetSetters) { - $accessor = 'get' . Text::camelize($field) . '()'; + $accessor = 'get' . $helper->camelize($field) . '()'; } else { $accessor = $field; } @@ -298,7 +302,9 @@ private function assignTagDefaults(string $var, $fields, bool $useGetSetters): s */ private function makeField(string $attribute, int $dataType, $relationField, array $selectDefinition): string { - $id = 'field' . Text::camelize($attribute); + $helper = new HelperFactory(); + + $id = 'field' . $helper->camelize($attribute); $code = '
' . PHP_EOL . "\t" . '' . PHP_EOL . "\t" . '
' . PHP_EOL; @@ -353,7 +359,9 @@ private function makeField(string $attribute, int $dataType, $relationField, arr */ private function makeFieldVolt(string $attribute, int $dataType, $relationField, array $selectDefinition): string { - $id = 'field' . Text::camelize($attribute); + $helper = new HelperFactory(); + + $id = 'field' . $helper->camelize($attribute); $code = '
' . PHP_EOL . "\t" . '' . PHP_EOL . "\t" . '
' . PHP_EOL; @@ -451,6 +459,8 @@ private function makeFieldsVolt(string $action): string */ private function makeController(): void { + $helper = new HelperFactory(); + $controllerPath = $this->options->get('controllersDir') . $this->options->get('className') . 'Controller.php'; if (file_exists($controllerPath) && !$this->options->has('force')) { return; @@ -529,7 +539,7 @@ private function makeController(): void $code = str_replace('$pkVar$', '$' . $attributes[0], $code); if ((bool) $this->options->get('genSettersGetters')) { - $code = str_replace('$pkGet$', 'get' . Text::camelize($attributes[0]) . '()', $code); + $code = str_replace('$pkGet$', 'get' . $helper->camelize($attributes[0]) . '()', $code); } else { $code = str_replace('$pkGet$', $attributes[0], $code); } @@ -588,12 +598,14 @@ private function makeLayouts() */ private function makeLayoutsVolt() { + $helper = new HelperFactory(); + $dirPathLayouts = $this->options->get('viewsDir') . 'layouts'; if (!is_dir($dirPathLayouts)) { mkdir($dirPathLayouts, 0777, true); } - $fileName = Text::uncamelize($this->options->get('fileName')); + $fileName = $helper->uncamelize($this->options->get('fileName')); $viewPath = $dirPathLayouts . DIRECTORY_SEPARATOR . $fileName . '.volt'; if (!file_exists($viewPath) || $this->options->has('force')) { // View model layout @@ -693,6 +705,8 @@ private function makeViewVolt(string $type): void */ private function makeViewSearch(): void { + $helper = new HelperFactory(); + $dirPath = $this->options->get('viewsDir') . $this->options->get('fileName'); if (!is_dir($dirPath)) { mkdir($dirPath); @@ -723,7 +737,7 @@ private function makeViewSearch(): void if (!isset($this->options->get('allReferences')[$fieldName])) { if ($this->options->get('genSettersGetters')) { $rowCode .= '$' . Utils::lowerCamelizeWithDelimiter($this->options->get('singular'), '-', true) . - '->get' . Text::camelize($fieldName) . '()'; + '->get' . $helper->camelize($fieldName) . '()'; } else { $rowCode .= '$' . $this->options->get('singular') . '[\'' . $fieldName . '\']'; } diff --git a/src/Builder/Exception/BuilderException.php b/src/Builder/Exception/BuilderException.php index 2bf160370..2577852d9 100644 --- a/src/Builder/Exception/BuilderException.php +++ b/src/Builder/Exception/BuilderException.php @@ -12,11 +12,10 @@ namespace Phalcon\DevTools\Builder\Exception; -use Phalcon\Exception; /** * Exception Builder made */ -class BuilderException extends Exception +class BuilderException extends \Exception { } diff --git a/src/Builder/Path.php b/src/Builder/Path.php index d79d8a2bd..38e18df7f 100644 --- a/src/Builder/Path.php +++ b/src/Builder/Path.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Builder; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\Config\Adapter\Ini as ConfigIni; use Phalcon\DevTools\Builder\Exception\BuilderException; use RecursiveDirectoryIterator; diff --git a/src/Builder/Project/ProjectAware.php b/src/Builder/Project/ProjectAware.php index b570cec35..0a28a8b0d 100644 --- a/src/Builder/Project/ProjectAware.php +++ b/src/Builder/Project/ProjectAware.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Builder\Project; -use Phalcon\Config; +use Phalcon\Config\Config; /** * @property Config $options diff --git a/src/Builder/Project/ProjectBuilder.php b/src/Builder/Project/ProjectBuilder.php index ac5210f63..77567ac4e 100644 --- a/src/Builder/Project/ProjectBuilder.php +++ b/src/Builder/Project/ProjectBuilder.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Builder\Project; -use Phalcon\Config; +use Phalcon\Config\Config; /** * Abstract Builder to create application skeletons diff --git a/src/Builder/Project/Simple.php b/src/Builder/Project/Simple.php index 5ef606419..f2864681c 100644 --- a/src/Builder/Project/Simple.php +++ b/src/Builder/Project/Simple.php @@ -15,7 +15,6 @@ use Phalcon\DevTools\Builder\Component\Controller as ControllerBuilder; use Phalcon\DevTools\Builder\Exception\BuilderException; use Phalcon\DevTools\Web\Tools; -use Phalcon\Exception; /** * Builder to create Simple application skeletons @@ -54,7 +53,7 @@ class Simple extends ProjectBuilder * * @return bool * @throws BuilderException - * @throws Exception + * @throws \Exception */ public function build() { diff --git a/src/Commands/Builtin/AllModels.php b/src/Commands/Builtin/AllModels.php index 83632154c..dfe239c31 100644 --- a/src/Commands/Builtin/AllModels.php +++ b/src/Commands/Builtin/AllModels.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Commands\Builtin; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\Config\Adapter\Ini as ConfigIni; use Phalcon\DevTools\Builder\Component\AllModels as AllModelsBuilder; use Phalcon\DevTools\Builder\Exception\BuilderException; @@ -109,7 +109,7 @@ public function run(array $parameters): void 'schema' => $this->getOption('schema'), 'extends' => $this->getOption('extends'), 'namespace' => $this->getOption('namespace'), - 'directory' => $this->getOption('directory'), + 'directory' => $this->getOption('directory', null, realpath('.')), 'foreignKeys' => $this->isReceivedOption('fk'), 'defineRelations' => $this->isReceivedOption('relations'), 'genSettersGetters' => $this->isReceivedOption('get-set'), diff --git a/src/Commands/Builtin/Controller.php b/src/Commands/Builtin/Controller.php index b3ac7775f..0ead4b761 100644 --- a/src/Commands/Builtin/Controller.php +++ b/src/Commands/Builtin/Controller.php @@ -53,7 +53,7 @@ public function run(array $parameters) { $controllerBuilder = new ControllerBuilder([ 'name' => $this->getOption(['name', 1]), - 'directory' => $this->getOption('directory'), + 'directory' => $this->getOption('directory', null, realpath('.')), 'controllersDir' => $this->getOption('output'), 'namespace' => $this->getOption('namespace'), 'baseClass' => $this->getOption('base-class', null, '\\' . \Phalcon\Mvc\Controller::class), diff --git a/src/Commands/Builtin/Migration.php b/src/Commands/Builtin/Migration.php index f6be62068..9b37b70aa 100644 --- a/src/Commands/Builtin/Migration.php +++ b/src/Commands/Builtin/Migration.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Commands\Builtin; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\DevTools\Commands\Command; use Phalcon\DevTools\Commands\CommandsException; use Phalcon\DevTools\Script\Color; diff --git a/src/Commands/Builtin/Model.php b/src/Commands/Builtin/Model.php index 1ff80c0b4..d0904e5a6 100644 --- a/src/Commands/Builtin/Model.php +++ b/src/Commands/Builtin/Model.php @@ -12,14 +12,14 @@ namespace Phalcon\DevTools\Commands\Builtin; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\Config\Adapter\Ini as ConfigIni; use Phalcon\DevTools\Builder\Component\Model as ModelBuilder; use Phalcon\DevTools\Builder\Exception\BuilderException; use Phalcon\DevTools\Commands\Command; use Phalcon\DevTools\Script\Color; use Phalcon\DevTools\Utils; -use Phalcon\Text; +use Phalcon\Support\HelperFactory; /** * Model Command @@ -67,17 +67,18 @@ public function run(array $parameters): void $name = $this->getOption(['name', 1]); $className = Utils::camelize(isset($parameters[1]) ? $parameters[1] : $name, '_-'); + $helper = new HelperFactory(); $modelBuilder = new ModelBuilder( [ 'name' => $name, 'schema' => $this->getOption('schema'), 'config' => $this->getConfigObject(), 'className' => $className, - 'fileName' => Text::uncamelize($className), + 'fileName' => $helper->uncamelize($className), 'genSettersGetters' => $this->isReceivedOption('get-set'), 'genDocMethods' => $this->isReceivedOption('doc'), 'namespace' => $this->getOption('namespace'), - 'directory' => $this->getOption('directory'), + 'directory' => $this->getOption('directory', null, realpath('.')), 'modelsDir' => $this->getOption('output'), 'extends' => $this->getOption('extends'), 'excludeFields' => $this->getOption('excludefields'), diff --git a/src/Commands/Builtin/Scaffold.php b/src/Commands/Builtin/Scaffold.php index f4170b69e..b3753043e 100644 --- a/src/Commands/Builtin/Scaffold.php +++ b/src/Commands/Builtin/Scaffold.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Commands\Builtin; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\DevTools\Builder\Component\Scaffold as ScaffoldBuilder; use Phalcon\DevTools\Builder\Exception\BuilderException; use Phalcon\DevTools\Commands\Command; diff --git a/src/Commands/Builtin/Serve.php b/src/Commands/Builtin/Serve.php index aac757bc4..c642ba52d 100644 --- a/src/Commands/Builtin/Serve.php +++ b/src/Commands/Builtin/Serve.php @@ -16,7 +16,7 @@ use Phalcon\DevTools\Script\Color; use Phalcon\DevTools\Utils\SystemInfo; use Phalcon\Di\FactoryDefault; -use Phalcon\Registry; +use Phalcon\Support\Registry; /** * Serve Command diff --git a/src/Commands/Builtin/Webtools.php b/src/Commands/Builtin/Webtools.php index b3a0e83e1..bd5e4d3a2 100644 --- a/src/Commands/Builtin/Webtools.php +++ b/src/Commands/Builtin/Webtools.php @@ -16,7 +16,6 @@ use Phalcon\DevTools\Commands\CommandsException; use Phalcon\DevTools\Script\Color; use Phalcon\DevTools\Web\Tools; -use Phalcon\Exception; /** * Webtools Command @@ -43,7 +42,6 @@ public function getPossibleParams(): array * * @param array $parameters * @throws CommandsException - * @throws Exception * @throws \Exception */ public function run(array $parameters): void diff --git a/src/Commands/Command.php b/src/Commands/Command.php index 250412125..4106c9205 100644 --- a/src/Commands/Command.php +++ b/src/Commands/Command.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Commands; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\Config\Adapter\Ini as IniConfig; use Phalcon\Config\Adapter\Json as JsonConfig; use Phalcon\Config\Adapter\Yaml as YamlConfig; @@ -20,7 +20,7 @@ use Phalcon\DevTools\Script; use Phalcon\DevTools\Script\Color; use Phalcon\Events\Manager as EventsManager; -use Phalcon\Filter; +use Phalcon\Filter\Filter; abstract class Command implements CommandsInterface { diff --git a/src/Commands/CommandsException.php b/src/Commands/CommandsException.php index baf45cd8c..eefde27cf 100644 --- a/src/Commands/CommandsException.php +++ b/src/Commands/CommandsException.php @@ -12,11 +12,10 @@ namespace Phalcon\DevTools\Commands; -use Phalcon\Exception; /** * Commands Exception */ -class CommandsException extends Exception +class CommandsException extends \Exception { } diff --git a/src/Exception/ProviderException.php b/src/Exception/ProviderException.php index 3693b4237..3e039edb1 100644 --- a/src/Exception/ProviderException.php +++ b/src/Exception/ProviderException.php @@ -12,8 +12,7 @@ namespace Phalcon\DevTools\Exception; -use Phalcon\Exception; -class ProviderException extends Exception +class ProviderException extends \Exception { } diff --git a/src/Mvc/Controller/Base.php b/src/Mvc/Controller/Base.php index 51d2acdf3..4b03682ac 100644 --- a/src/Mvc/Controller/Base.php +++ b/src/Mvc/Controller/Base.php @@ -15,7 +15,7 @@ use Phalcon\Assets\Filters\Cssmin; use Phalcon\Assets\Filters\Jsmin; use Phalcon\Assets\Manager; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\DevTools\Resources\AssetsResource; use Phalcon\DevTools\Utils\DbUtils; use Phalcon\DevTools\Utils\FsUtils; @@ -29,10 +29,10 @@ use Phalcon\Mvc\Router; use Phalcon\Mvc\RouterInterface; use Phalcon\Mvc\View; -use Phalcon\Registry; -use Phalcon\Url; -use Phalcon\Url\UrlInterface; -use Phalcon\Version as PhVersion; +use Phalcon\Support\Registry; +use Phalcon\Mvc\Url; +use Phalcon\Mvc\Url\UrlInterface; +use Phalcon\support\Version as PhVersion; /** * @property Config $config @@ -71,7 +71,7 @@ protected function setCss() $this->assets ->collection('main_css') ->setTargetPath('css/webtools.css') - ->setTargetUri('css/webtools.css?v=' . Version::get()) + ->setTargetUri('css/webtools.css?v=' . (new Version())->get()) ->addCss($this->resource->path('admin-lte/css/adminlte.min.css'), true, false) ->addCss( $this->resource->path('admin-lte/plugins/overlayScrollbars/css/OverlayScrollbars.min.css'), @@ -94,7 +94,7 @@ protected function setJs() $this->assets ->collection('footer') ->setTargetPath('js/webtools.js') - ->setTargetUri('js/webtools.js?v=' . Version::get()) + ->setTargetUri('js/webtools.js?v=' . (new Version())->get()) ->addJs($this->resource->path('admin-lte/plugins/jquery/jquery.min.js'), true, false) ->addJs($this->resource->path('admin-lte/plugins/jquery-ui/jquery-ui.min.js'), true, false) ->addInlineJs("$.widget.bridge('uibutton', $.ui.button);", false, false) @@ -121,8 +121,8 @@ protected function setVars() [ 'base_uri' => $this->url->getBaseUri(), 'webtools_uri' => rtrim('/', $this->url->getBaseUri()) . '/webtools.php', - 'ptools_version' => Version::get(), - 'phalcon_version' => PhVersion::get(), + 'ptools_version' => (new Version())->get(), + 'phalcon_version' => (new PhVersion())->get(), 'phalcon_team' => 'Phalcon Team', 'lte_team' => 'Almsaeed Studio', 'phalcon_url' => 'https://phalcon.io/', diff --git a/src/Mvc/Controller/CodemirrorTrait.php b/src/Mvc/Controller/CodemirrorTrait.php index 57d360055..584481015 100644 --- a/src/Mvc/Controller/CodemirrorTrait.php +++ b/src/Mvc/Controller/CodemirrorTrait.php @@ -29,7 +29,7 @@ protected function registerResources() $this->assets ->collection('custom_css') ->setTargetPath('css/codemirror.css') - ->setTargetUri('css/codemirror.css?v=' . Version::get()) + ->setTargetUri('css/codemirror.css?v=' . (new Version())->get()) ->addCss($this->resource->path('codemirror/theme/ambiance.css')) ->addCss($this->resource->path('codemirror/lib/codemirror.css')) ->addCss($this->resource->path('codemirror/lib/codephalcon.css')) @@ -39,7 +39,7 @@ protected function registerResources() $this->assets ->collection('codemirror') ->setTargetPath('js/codemirror.js') - ->setTargetUri('js/codemirror.js?v=' . Version::get()) + ->setTargetUri('js/codemirror.js?v=' . (new Version())->get()) ->addJs($this->resource->path('codemirror/lib/codemirror.js')) ->addJs($this->resource->path('codemirror/addon/edit/matchbrackets.js')) ->addJs($this->resource->path('codemirror/addon/selection/active-line.js')) diff --git a/src/Providers/ConfigProvider.php b/src/Providers/ConfigProvider.php index 03eb3d6e1..348ad946a 100644 --- a/src/Providers/ConfigProvider.php +++ b/src/Providers/ConfigProvider.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Providers; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\DevTools\Scanners\Config as ConfigScanner; use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; diff --git a/src/Providers/DataCacheProvider.php b/src/Providers/DataCacheProvider.php index d80e3ff8e..3b205cba5 100644 --- a/src/Providers/DataCacheProvider.php +++ b/src/Providers/DataCacheProvider.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Providers; -use Phalcon\Cache; +use Phalcon\Cache\Cache; use Phalcon\Cache\AdapterFactory; use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; diff --git a/src/Providers/FlashSessionProvider.php b/src/Providers/FlashSessionProvider.php index 776573a85..ee0799f19 100644 --- a/src/Providers/FlashSessionProvider.php +++ b/src/Providers/FlashSessionProvider.php @@ -14,7 +14,7 @@ use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; -use Phalcon\Escaper; +use Phalcon\Html\Escaper; use Phalcon\Flash\Session as FlashSession; class FlashSessionProvider implements ServiceProviderInterface diff --git a/src/Providers/ModelsCacheProvider.php b/src/Providers/ModelsCacheProvider.php index 6fc411865..1108276e9 100644 --- a/src/Providers/ModelsCacheProvider.php +++ b/src/Providers/ModelsCacheProvider.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Providers; -use Phalcon\Cache; +use Phalcon\Cache\Cache; use Phalcon\Cache\AdapterFactory; use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; diff --git a/src/Providers/RegistryProvider.php b/src/Providers/RegistryProvider.php index ebde968ca..0aa7821a1 100644 --- a/src/Providers/RegistryProvider.php +++ b/src/Providers/RegistryProvider.php @@ -12,12 +12,12 @@ namespace Phalcon\DevTools\Providers; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\DevTools\Bootstrap; use Phalcon\DevTools\Utils\FsUtils; use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; -use Phalcon\Registry; +use Phalcon\Support\Registry; class RegistryProvider implements ServiceProviderInterface { diff --git a/src/Providers/UrlProvider.php b/src/Providers/UrlProvider.php index 3c8ac3e62..5d9489cf4 100644 --- a/src/Providers/UrlProvider.php +++ b/src/Providers/UrlProvider.php @@ -12,10 +12,10 @@ namespace Phalcon\DevTools\Providers; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; -use Phalcon\Url as UrlResolver; +use Phalcon\Mvc\Url as UrlResolver; class UrlProvider implements ServiceProviderInterface { diff --git a/src/Providers/ViewCacheProvider.php b/src/Providers/ViewCacheProvider.php index cc622b331..a1dabdaff 100644 --- a/src/Providers/ViewCacheProvider.php +++ b/src/Providers/ViewCacheProvider.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Providers; -use Phalcon\Cache; +use Phalcon\Cache\Cache; use Phalcon\Cache\AdapterFactory; use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; diff --git a/src/Providers/ViewProvider.php b/src/Providers/ViewProvider.php index 03e74468f..e6b8c1b3a 100644 --- a/src/Providers/ViewProvider.php +++ b/src/Providers/ViewProvider.php @@ -17,7 +17,7 @@ use Phalcon\Di\ServiceProviderInterface; use Phalcon\Mvc\View; use Phalcon\Mvc\View\Engine\Php; -use Phalcon\Registry; +use Phalcon\Support\Registry; class ViewProvider implements ServiceProviderInterface { diff --git a/src/Providers/VoltProvider.php b/src/Providers/VoltProvider.php index 5ce210b5b..b0e65c5ba 100644 --- a/src/Providers/VoltProvider.php +++ b/src/Providers/VoltProvider.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Providers; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\DevTools\Mvc\View\Engine\Volt\Extension\Php as PhpExt; use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; diff --git a/src/Scanners/Config.php b/src/Scanners/Config.php index eefcaf0d4..a31bec0ec 100644 --- a/src/Scanners/Config.php +++ b/src/Scanners/Config.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Scanners; -use Phalcon\Config as PhConfig; +use Phalcon\Config\Config as PhConfig; use Phalcon\Config\Adapter\Ini as IniConfig; use Phalcon\Config\Adapter\Json as JsonConfig; use Phalcon\Config\Adapter\Yaml as YamlConfig; diff --git a/src/Script/ScriptException.php b/src/Script/ScriptException.php index dd4353290..a1e150bb4 100644 --- a/src/Script/ScriptException.php +++ b/src/Script/ScriptException.php @@ -12,8 +12,7 @@ namespace Phalcon\DevTools\Script; -use Phalcon\Exception as PhalconException; -class ScriptException extends PhalconException +class ScriptException extends \Exception { } diff --git a/src/Utils.php b/src/Utils.php index a4dee30e8..bd197a566 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -13,7 +13,7 @@ namespace Phalcon\DevTools; use InvalidArgumentException; -use Phalcon\Config; +use Phalcon\Config\Config; class Utils { diff --git a/src/Utils/DbUtils.php b/src/Utils/DbUtils.php index f2b026f6c..2af9b5bc5 100644 --- a/src/Utils/DbUtils.php +++ b/src/Utils/DbUtils.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools\Utils; -use Phalcon\Config; +use Phalcon\Config\Config; use Phalcon\Di\Injectable; /** diff --git a/src/Utils/FsUtils.php b/src/Utils/FsUtils.php index 3d4a68c26..4080aa274 100644 --- a/src/Utils/FsUtils.php +++ b/src/Utils/FsUtils.php @@ -16,7 +16,7 @@ use DirectoryIterator; use Iterator; use Phalcon\DevTools\Exception\InvalidArgumentException; -use Phalcon\Text; +use Phalcon\Support\HelperFactory; use RuntimeException; use SplFileInfo; @@ -42,11 +42,13 @@ public function normalize(string $path): string return ''; } + $helper = new HelperFactory(); + $normalized = preg_replace('#\p{C}+|^\./#u', '', $path); $normalized = preg_replace('#/\.(?=/)|^\./|(/|^)\./?$#', '', $normalized); $normalized = str_replace(['\\', '/'], DS, $normalized); - return Text::reduceSlashes($normalized); + return $helper->reduceSlashes($normalized); } /** diff --git a/src/Utils/SystemInfo.php b/src/Utils/SystemInfo.php index 9da2b293a..9d2611543 100644 --- a/src/Utils/SystemInfo.php +++ b/src/Utils/SystemInfo.php @@ -14,10 +14,10 @@ use Phalcon\DevTools\Version; use Phalcon\Di\Injectable; -use Phalcon\Registry; -use Phalcon\Url; -use Phalcon\Url\UrlInterface; -use Phalcon\Version as PhVersion; +use Phalcon\Support\Registry; +use Phalcon\Mvc\Url; +use Phalcon\Mvc\Url\UrlInterface; +use Phalcon\support\Version as PhVersion; /** * @property Registry $registry @@ -56,8 +56,8 @@ public function getUris(): array public function getVersions(): array { return [ - 'Phalcon DevTools Version' => Version::get(), - 'Phalcon Version' => PhVersion::get(), + 'Phalcon DevTools Version' => (new Version())->get(), + 'Phalcon Version' => (new PhVersion())->get(), 'AdminLTE Version' => '3.0.1', ]; } diff --git a/src/Validation/Validator/Namespaces.php b/src/Validation/Validator/Namespaces.php index 1feb84371..c67908aff 100644 --- a/src/Validation/Validator/Namespaces.php +++ b/src/Validation/Validator/Namespaces.php @@ -13,8 +13,8 @@ namespace Phalcon\DevTools\Validation\Validator; use Phalcon\Messages\Message; -use Phalcon\Validation; -use Phalcon\Validation\AbstractValidator; +use Phalcon\Filter\Validation; +use Phalcon\Filter\Validation\AbstractValidator; /** * Check for namespace diff --git a/src/Version.php b/src/Version.php index ad7b3d736..9c711d3e1 100644 --- a/src/Version.php +++ b/src/Version.php @@ -12,7 +12,7 @@ namespace Phalcon\DevTools; -use Phalcon\Version as PhVersion; +use Phalcon\support\Version as PhVersion; /** * This class allows to get the installed version of the Developer Tools @@ -25,9 +25,9 @@ class Version extends PhVersion * @return array */ // phpcs:disable - protected static function _getVersion(): array + protected function getVersion(): array { - return [4, 1, 0, 0, 0]; + return [5, 0, 0, 1, 1]; } // phpcs:enable } diff --git a/src/Web/Tools/Controllers/ErrorController.php b/src/Web/Tools/Controllers/ErrorController.php index de05a94f3..491c4ac62 100644 --- a/src/Web/Tools/Controllers/ErrorController.php +++ b/src/Web/Tools/Controllers/ErrorController.php @@ -115,7 +115,7 @@ protected function setCss() $this->assets ->collection('main_css') ->setTargetPath('css/webtools.css') - ->setTargetUri('css/webtools.css?v=' . Version::get()) + ->setTargetUri('css/webtools.css?v=' . (new Version())->get()) ->addCss($this->resource->path('admin-lte/css/adminlte.min.css'), true, false) ->join(true) ->addFilter(new Cssmin); @@ -133,7 +133,7 @@ protected function setJs() $this->assets ->collection('js_ie') ->setTargetPath('js/webtools-ie.js') - ->setTargetUri('js/webtools-ie.js?v=' . Version::get()) + ->setTargetUri('js/webtools-ie.js?v=' . (new Version())->get()) ->addJs($this->resource->path('admin-lte/plugins/jquery/jquery.min.js'), true, false) ->addJs($this->resource->path('admin-lte/plugins/jquery-ui/jquery-ui.min.js'), true, false) ->addInlineJs("$.widget.bridge('uibutton', $.ui.button);", false, false) diff --git a/src/Web/Tools/Controllers/ModelsController.php b/src/Web/Tools/Controllers/ModelsController.php index 591ae631e..6b1a0e907 100644 --- a/src/Web/Tools/Controllers/ModelsController.php +++ b/src/Web/Tools/Controllers/ModelsController.php @@ -24,7 +24,7 @@ use Phalcon\Mvc\Dispatcher; use Phalcon\Mvc\DispatcherInterface; use Phalcon\Tag; -use Phalcon\Text; +use Phalcon\Support\HelperFactory; /** * @property Dispatcher|DispatcherInterface $dispatcher @@ -225,9 +225,11 @@ public function generateAction() $message = 'Models were created successfully.'; } else { + $helper = new HelperFactory(); + $message = sprintf( 'Model "%s" was created successfully', - Text::camelize(basename($tableName, '.php')) + $helper->camelize(basename($tableName, '.php')) ); } diff --git a/src/Web/Tools/Controllers/ScaffoldController.php b/src/Web/Tools/Controllers/ScaffoldController.php index 5a2ebf4df..4776dc4bf 100644 --- a/src/Web/Tools/Controllers/ScaffoldController.php +++ b/src/Web/Tools/Controllers/ScaffoldController.php @@ -22,7 +22,7 @@ use Phalcon\Mvc\Dispatcher; use Phalcon\Mvc\DispatcherInterface; use Phalcon\Tag; -use Phalcon\Text; +use Phalcon\Support\HelperFactory; /** * @property Dispatcher|DispatcherInterface $dispatcher @@ -63,8 +63,10 @@ public function generateAction() $scaffoldBuilder = new Scaffold(array_merge($options, ['config' => $this->config->toArray()])); $scaffoldBuilder->build(); + $helper = new HelperFactory(); + $this->flashSession->success( - sprintf('Scaffold for table "%s" was generated successfully', Text::camelize($tableName)) + sprintf('Scaffold for table "%s" was generated successfully', $helper->camelize($tableName)) ); return $this->response->redirect('/webtools.php/migrations/list'); diff --git a/templates/module/Module.php b/templates/module/Module.php index 1dfc8668d..755adcce0 100644 --- a/templates/module/Module.php +++ b/templates/module/Module.php @@ -4,7 +4,7 @@ namespace @@FQMN@@; use Phalcon\Di\DiInterface; -use Phalcon\Loader; +use Phalcon\Autoload\Loader; use Phalcon\Mvc\View; use Phalcon\Mvc\View\Engine\Php as PhpEngine; use Phalcon\Mvc\ModuleDefinitionInterface; @@ -22,7 +22,7 @@ public function registerAutoloaders(DiInterface $di = null) { $loader = new Loader(); - $loader->registerNamespaces([ + $loader->setNamespaces([ '@@FQMN@@\Controllers' => __DIR__ . '/controllers/', '@@FQMN@@\Models' => __DIR__ . '/models/' ]); diff --git a/templates/project/cli/config.php b/templates/project/cli/config.php index 98578401e..f98559910 100644 --- a/templates/project/cli/config.php +++ b/templates/project/cli/config.php @@ -1,6 +1,6 @@ [ 'adapter' => 'Mysql', 'host' => 'localhost', diff --git a/templates/project/cli/loader.php b/templates/project/cli/loader.php index c135b9ac8..691d45ebc 100644 --- a/templates/project/cli/loader.php +++ b/templates/project/cli/loader.php @@ -1,7 +1,7 @@ registerDirs([ +$loader = new \Phalcon\Autoload\Loader(); +$loader->setDirectories([ APP_PATH . '/tasks', APP_PATH . '/models' ]); diff --git a/templates/project/micro/config.php b/templates/project/micro/config.php index f0340ab35..cc12fdae2 100644 --- a/templates/project/micro/config.php +++ b/templates/project/micro/config.php @@ -7,7 +7,7 @@ defined('BASE_PATH') || define('BASE_PATH', getenv('BASE_PATH') ?: realpath(dirname(__FILE__) . '/../..')); defined('APP_PATH') || define('APP_PATH', BASE_PATH . '/app'); -return new \Phalcon\Config([ +return new \Phalcon\Config\Config([ 'database' => [ 'adapter' => 'Mysql', 'host' => 'localhost', diff --git a/templates/project/micro/loader.php b/templates/project/micro/loader.php index f5d85759a..3d0b9718a 100644 --- a/templates/project/micro/loader.php +++ b/templates/project/micro/loader.php @@ -3,9 +3,9 @@ /** * Registering an autoloader */ -$loader = new \Phalcon\Loader(); +$loader = new \Phalcon\Autoload\Loader(); -$loader->registerDirs( +$loader->setDirectories( [ $config->application->modelsDir ] diff --git a/templates/project/micro/services.php b/templates/project/micro/services.php index b44fab6be..74fc71926 100644 --- a/templates/project/micro/services.php +++ b/templates/project/micro/services.php @@ -2,7 +2,7 @@ declare(strict_types=1); use Phalcon\Mvc\View\Simple as View; -use Phalcon\Url as UrlResolver; +use Phalcon\Mvc\Url as UrlResolver; /** * Shared configuration service diff --git a/templates/project/micro/views/index.phtml b/templates/project/micro/views/index.phtml index b5c7a9499..b966a7813 100644 --- a/templates/project/micro/views/index.phtml +++ b/templates/project/micro/views/index.phtml @@ -1,28 +1,26 @@ - - - - - - - Phalcon PHP Framework - - - - -
+ + + + - + Phalcon Framework -

You're now flying with Phalcon. Great things are about to happen!

+ + + + +
-

This page is located at views/index.phtml

-
- - - - - +

Congratulations!

+ +

You're now flying with Phalcon. Great things are about to happen!

+ +

This page is located at views/index.phtml

+ +
+ + + + diff --git a/templates/project/micro/views/index.volt b/templates/project/micro/views/index.volt index 992b58bce..8952c760f 100644 --- a/templates/project/micro/views/index.volt +++ b/templates/project/micro/views/index.volt @@ -1,29 +1,26 @@ - - - - - - - Phalcon PHP Framework - - - - -
+ + + + - + Phalcon Framework -

You're now flying with Phalcon. Great things are about to happen!

+ + + + +
-

This page is located at views/index.volt

-
+

Congratulations!

- - - - - +

You're now flying with Phalcon. Great things are about to happen!

+ +

This page is located at views/index.volt

+ +
+ + + + diff --git a/templates/project/modules/Module_cli.php b/templates/project/modules/Module_cli.php index a2376a148..cb36e07e1 100644 --- a/templates/project/modules/Module_cli.php +++ b/templates/project/modules/Module_cli.php @@ -4,7 +4,7 @@ namespace @@namespace@@\Modules\Cli; use Phalcon\Di\DiInterface; -use Phalcon\Loader; +use Phalcon\Autoload\Loader; use Phalcon\Mvc\ModuleDefinitionInterface; class Module implements ModuleDefinitionInterface @@ -18,7 +18,7 @@ public function registerAutoloaders(DiInterface $di = null) { $loader = new Loader(); - $loader->registerNamespaces([ + $loader->setNamespaces([ '@@namespace@@\Modules\Cli\Tasks' => __DIR__ . '/tasks/', ]); diff --git a/templates/project/modules/Module_web.php b/templates/project/modules/Module_web.php index 7e3601d8c..6cd29f1e3 100644 --- a/templates/project/modules/Module_web.php +++ b/templates/project/modules/Module_web.php @@ -4,7 +4,7 @@ namespace @@namespace@@\Modules\Frontend; use Phalcon\Di\DiInterface; -use Phalcon\Loader; +use Phalcon\Autoload\Loader; use Phalcon\Mvc\View; use Phalcon\Mvc\View\Engine\Php as PhpEngine; use Phalcon\Mvc\ModuleDefinitionInterface; @@ -20,7 +20,7 @@ public function registerAutoloaders(DiInterface $di = null) { $loader = new Loader(); - $loader->registerNamespaces([ + $loader->setNamespaces([ '@@namespace@@\Modules\Frontend\Controllers' => __DIR__ . '/controllers/', '@@namespace@@\Modules\Frontend\Models' => __DIR__ . '/models/', ]); diff --git a/templates/project/modules/config.php b/templates/project/modules/config.php index 8c816402b..0b1b04f5d 100644 --- a/templates/project/modules/config.php +++ b/templates/project/modules/config.php @@ -6,7 +6,7 @@ defined('BASE_PATH') || define('BASE_PATH', getenv('BASE_PATH') ?: realpath(dirname(__FILE__) . '/../..')); defined('APP_PATH') || define('APP_PATH', BASE_PATH . '/app'); -return new \Phalcon\Config([ +return new \Phalcon\Config\Config([ 'version' => '1.0', 'database' => [ diff --git a/templates/project/modules/loader.php b/templates/project/modules/loader.php index 878e433a8..b653828ae 100644 --- a/templates/project/modules/loader.php +++ b/templates/project/modules/loader.php @@ -1,13 +1,13 @@ registerNamespaces([ +$loader->setNamespaces([ '@@namespace@@\Models' => APP_PATH . '/common/models/', '@@namespace@@' => APP_PATH . '/common/library/', ]); @@ -15,7 +15,7 @@ /** * Register module classes */ -$loader->registerClasses([ +$loader->setClasses([ '@@namespace@@\Modules\Frontend\Module' => APP_PATH . '/modules/frontend/Module.php', '@@namespace@@\Modules\Cli\Module' => APP_PATH . '/modules/cli/Module.php' ]); diff --git a/templates/project/modules/services_web.php b/templates/project/modules/services_web.php index c9c043f68..e8e1b043b 100644 --- a/templates/project/modules/services_web.php +++ b/templates/project/modules/services_web.php @@ -1,13 +1,13 @@ - - - - - - - Phalcon PHP Framework - - - - -
- getContent(); ?> -
- - - - - + + + + + + Phalcon Framework + + + + + +
+ getContent(); ?> +
+ + + + diff --git a/templates/project/modules/views/index.volt b/templates/project/modules/views/index.volt index 6e769782d..f4ea036b0 100644 --- a/templates/project/modules/views/index.volt +++ b/templates/project/modules/views/index.volt @@ -1,21 +1,20 @@ - - - - - - - Phalcon PHP Framework - - - - -
- {{ content() }} -
- - - - - + + + + + + Phalcon Framework + + + + + +
+ {{ content() }} +
+ + + + diff --git a/templates/project/modules/views/index/index.phtml b/templates/project/modules/views/index/index.phtml index f6c384fb7..e082aa8f7 100644 --- a/templates/project/modules/views/index/index.phtml +++ b/templates/project/modules/views/index/index.phtml @@ -1,6 +1,4 @@ - +

Congratulations!

You're now flying with Phalcon. Great things are about to happen!

diff --git a/templates/project/modules/views/index/index.volt b/templates/project/modules/views/index/index.volt index 65397ac69..b469997fe 100644 --- a/templates/project/modules/views/index/index.volt +++ b/templates/project/modules/views/index/index.volt @@ -1,6 +1,4 @@ - +

Congratulations!

You're now flying with Phalcon. Great things are about to happen!

diff --git a/templates/project/simple/config.php b/templates/project/simple/config.php index ff223d441..966c9eaa9 100644 --- a/templates/project/simple/config.php +++ b/templates/project/simple/config.php @@ -7,7 +7,7 @@ defined('BASE_PATH') || define('BASE_PATH', getenv('BASE_PATH') ?: realpath(dirname(__FILE__) . '/../..')); defined('APP_PATH') || define('APP_PATH', BASE_PATH . '/app'); -return new \Phalcon\Config([ +return new \Phalcon\Config\Config([ 'database' => [ 'adapter' => 'Mysql', 'host' => 'localhost', diff --git a/templates/project/simple/loader.php b/templates/project/simple/loader.php index 5c4d859e2..ef39228c5 100644 --- a/templates/project/simple/loader.php +++ b/templates/project/simple/loader.php @@ -1,11 +1,11 @@ registerDirs( +$loader->setDirectories( [ $config->application->controllersDir, $config->application->modelsDir diff --git a/templates/project/simple/services.php b/templates/project/simple/services.php index e7801358d..c7ad88f42 100644 --- a/templates/project/simple/services.php +++ b/templates/project/simple/services.php @@ -1,7 +1,7 @@ - - - - - - - Phalcon PHP Framework - - - - -
- getContent(); ?> -
- - - - - + + + + + + Phalcon Framework + + + + + +
+ getContent(); ?> +
+ + + + diff --git a/templates/project/simple/views/index.volt b/templates/project/simple/views/index.volt index 6e769782d..f4ea036b0 100644 --- a/templates/project/simple/views/index.volt +++ b/templates/project/simple/views/index.volt @@ -1,21 +1,20 @@ - - - - - - - Phalcon PHP Framework - - - - -
- {{ content() }} -
- - - - - + + + + + + Phalcon Framework + + + + + +
+ {{ content() }} +
+ + + + diff --git a/templates/project/simple/views/index/index.phtml b/templates/project/simple/views/index/index.phtml index f6c384fb7..e082aa8f7 100644 --- a/templates/project/simple/views/index/index.phtml +++ b/templates/project/simple/views/index/index.phtml @@ -1,6 +1,4 @@ - +

Congratulations!

You're now flying with Phalcon. Great things are about to happen!

diff --git a/templates/project/simple/views/index/index.volt b/templates/project/simple/views/index/index.volt index 65397ac69..b469997fe 100644 --- a/templates/project/simple/views/index/index.volt +++ b/templates/project/simple/views/index/index.volt @@ -1,6 +1,4 @@ - +

Congratulations!

You're now flying with Phalcon. Great things are about to happen!

diff --git a/tests/_data/acceptance/mysql/config.php b/tests/_data/acceptance/mysql/config.php index d7ab12b18..8a1409804 100644 --- a/tests/_data/acceptance/mysql/config.php +++ b/tests/_data/acceptance/mysql/config.php @@ -8,7 +8,7 @@ defined('BASE_PATH') || define('BASE_PATH', getenv('BASE_PATH') ?: realpath(dirname(__FILE__) . '/../..')); defined('APP_PATH') || define('APP_PATH', BASE_PATH . '/app'); -return new \Phalcon\Config([ +return new \Phalcon\Config\Config([ 'database' => [ 'adapter' => 'Mysql', 'host' => '127.0.0.1', diff --git a/tests/_data/acceptance/pgsql/config.php b/tests/_data/acceptance/pgsql/config.php index abc0a1888..ca50e32d6 100644 --- a/tests/_data/acceptance/pgsql/config.php +++ b/tests/_data/acceptance/pgsql/config.php @@ -7,7 +7,7 @@ defined('BASE_PATH') || define('BASE_PATH', getenv('BASE_PATH') ?: realpath(dirname(__FILE__) . '/../..')); defined('APP_PATH') || define('APP_PATH', BASE_PATH . '/app'); -return new \Phalcon\Config([ +return new \Phalcon\Config\Config([ 'database' => [ 'adapter' => 'Postgresql', 'host' => 'localhost', diff --git a/tests/_data/console/app/mysql/config.php b/tests/_data/console/app/mysql/config.php index 683a83e70..e7c745bd9 100644 --- a/tests/_data/console/app/mysql/config.php +++ b/tests/_data/console/app/mysql/config.php @@ -1,6 +1,6 @@ uncamelize * * @test * @author Sergii Svyrydenko @@ -103,16 +103,18 @@ function ($string, $expected) { */ public function shouldUncamelizeString() { + $helper = new HelperFactory(); + $this->specify( - "Method Text::uncamelize hasn't returned proper string", + "Method (new HelperFactory())->uncamelize hasn't returned proper string", function ($string, $expected) { expect($string)->equals($expected); }, [ 'examples' => [ - [Text::uncamelize('MyFooBar'), 'my_foo_bar'], - [Text::uncamelize('MyFooBar', '-'), 'my-foo-bar'], - [Text::uncamelize('MyFooBar', '_'), 'my_foo_bar'] + [$helper->uncamelize('MyFooBar'), 'my_foo_bar'], + [$helper->uncamelize('MyFooBar', '-'), 'my-foo-bar'], + [$helper->uncamelize('MyFooBar', '_'), 'my_foo_bar'] ] ] ); From 8170d9ad198c18b87603455ac047740f75c0ebbe Mon Sep 17 00:00:00 2001 From: m4nu Date: Thu, 20 Apr 2023 22:45:33 -0500 Subject: [PATCH 02/28] Upgrade phalcon/ide-stubs (^4.0.0 => ^5.0.0) --- composer.json | 2 +- composer.lock | 322 ++++++++++++++++++++++++++++++++------------------ 2 files changed, 206 insertions(+), 118 deletions(-) diff --git a/composer.json b/composer.json index 0f39644a8..146697871 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "codeception/specify": "^1.2", "codeception/verify": "^1.2", "squizlabs/php_codesniffer": "^3.5", - "phalcon/ide-stubs": "^4.0.0", + "phalcon/ide-stubs": "^5.0.0", "vimeo/psalm": "^4.6", "codeception/module-phpbrowser": "^1.0", "codeception/module-filesystem": "^1.0", diff --git a/composer.lock b/composer.lock index 3189d2000..e960c0d3c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "533c8a892e6097ed317a507b62ac53f5", + "content-hash": "ffcc87404e71418eba817c0892f3ce26", "packages": [ { "name": "composer/package-versions-deprecated", @@ -910,16 +910,16 @@ }, { "name": "psy/psysh", - "version": "v0.11.12", + "version": "v0.11.15", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "52cb7c47d403c31c0adc9bf7710fc355f93c20f7" + "reference": "5350ce0ec8ecf2c5b5cf554cd2496f97b444af85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/52cb7c47d403c31c0adc9bf7710fc355f93c20f7", - "reference": "52cb7c47d403c31c0adc9bf7710fc355f93c20f7", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/5350ce0ec8ecf2c5b5cf554cd2496f97b444af85", + "reference": "5350ce0ec8ecf2c5b5cf554cd2496f97b444af85", "shasum": "" }, "require": { @@ -980,22 +980,22 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.12" + "source": "https://github.com/bobthecow/psysh/tree/v0.11.15" }, - "time": "2023-01-29T21:24:40+00:00" + "time": "2023-04-07T21:57:09+00:00" }, { "name": "symfony/console", - "version": "v5.4.21", + "version": "v5.4.22", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9" + "reference": "3cd51fd2e6c461ca678f84d419461281bd87a0a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c77433ddc6cdc689caf48065d9ea22ca0853fbd9", - "reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9", + "url": "https://api.github.com/repos/symfony/console/zipball/3cd51fd2e6c461ca678f84d419461281bd87a0a8", + "reference": "3cd51fd2e6c461ca678f84d419461281bd87a0a8", "shasum": "" }, "require": { @@ -1060,12 +1060,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.21" + "source": "https://github.com/symfony/console/tree/v5.4.22" }, "funding": [ { @@ -1081,7 +1081,7 @@ "type": "tidelift" } ], - "time": "2023-02-25T16:59:41+00:00" + "time": "2023-03-25T09:27:28+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1935,16 +1935,16 @@ }, { "name": "symfony/string", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "67b8c1eec78296b85dc1c7d9743830160218993d" + "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", - "reference": "67b8c1eec78296b85dc1c7d9743830160218993d", + "url": "https://api.github.com/repos/symfony/string/zipball/193e83bbd6617d6b2151c37fff10fa7168ebddef", + "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef", "shasum": "" }, "require": { @@ -2001,7 +2001,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.2.7" + "source": "https://github.com/symfony/string/tree/v6.2.8" }, "funding": [ { @@ -2017,20 +2017,20 @@ "type": "tidelift" } ], - "time": "2023-02-24T10:42:00+00:00" + "time": "2023-03-20T16:06:02+00:00" }, { "name": "symfony/var-dumper", - "version": "v5.4.21", + "version": "v5.4.22", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74" + "reference": "e2edac9ce47e6df07e38143c7cfa6bdbc1a6dcc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6c5ac3a1be8b849d59a1a77877ee110e1b55eb74", - "reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e2edac9ce47e6df07e38143c7cfa6bdbc1a6dcc4", + "reference": "e2edac9ce47e6df07e38143c7cfa6bdbc1a6dcc4", "shasum": "" }, "require": { @@ -2090,7 +2090,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.4.21" + "source": "https://github.com/symfony/var-dumper/tree/v5.4.22" }, "funding": [ { @@ -2106,20 +2106,20 @@ "type": "tidelift" } ], - "time": "2023-02-23T10:00:28+00:00" + "time": "2023-03-25T09:27:28+00:00" }, { "name": "thecodingmachine/safe", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3" + "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/e788f3d09dcd36f806350aedb77eac348fafadd3", - "reference": "e788f3d09dcd36f806350aedb77eac348fafadd3", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/3115ecd6b4391662b4931daac4eba6b07a2ac1f0", + "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0", "shasum": "" }, "require": { @@ -2243,9 +2243,9 @@ "description": "PHP core functions that throw exceptions instead of returning FALSE on error", "support": { "issues": "https://github.com/thecodingmachine/safe/issues", - "source": "https://github.com/thecodingmachine/safe/tree/v2.4.0" + "source": "https://github.com/thecodingmachine/safe/tree/v2.5.0" }, - "time": "2022-10-07T14:02:17+00:00" + "time": "2023-04-05T11:54:14+00:00" }, { "name": "vlucas/phpdotenv", @@ -2559,16 +2559,16 @@ }, { "name": "amphp/parallel", - "version": "v1.4.2", + "version": "v1.4.3", "source": { "type": "git", "url": "https://github.com/amphp/parallel.git", - "reference": "75853e1623efa5aa5e65e986ec9a97db573a5267" + "reference": "3aac213ba7858566fd83d38ccb85b91b2d652cb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/parallel/zipball/75853e1623efa5aa5e65e986ec9a97db573a5267", - "reference": "75853e1623efa5aa5e65e986ec9a97db573a5267", + "url": "https://api.github.com/repos/amphp/parallel/zipball/3aac213ba7858566fd83d38ccb85b91b2d652cb0", + "reference": "3aac213ba7858566fd83d38ccb85b91b2d652cb0", "shasum": "" }, "require": { @@ -2621,7 +2621,7 @@ ], "support": { "issues": "https://github.com/amphp/parallel/issues", - "source": "https://github.com/amphp/parallel/tree/v1.4.2" + "source": "https://github.com/amphp/parallel/tree/v1.4.3" }, "funding": [ { @@ -2629,7 +2629,7 @@ "type": "github" } ], - "time": "2022-12-30T00:21:42+00:00" + "time": "2023-03-23T08:04:23+00:00" }, { "name": "amphp/parallel-functions", @@ -3870,6 +3870,49 @@ }, "time": "2019-12-04T15:06:13+00:00" }, + { + "name": "doctrine/deprecations", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "shasum": "" + }, + "require": { + "php": "^7.1|^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5|^8.5|^9.5", + "psr/log": "^1|^2|^3" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", + "support": { + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/v1.0.0" + }, + "time": "2022-05-02T15:47:09+00:00" + }, { "name": "doctrine/instantiator", "version": "1.5.0", @@ -4043,22 +4086,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.5.0", + "version": "7.5.1", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + "reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b964ca597e86b752cd994f27293e9fa6b6a95ed9", + "reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9", "shasum": "" }, "require": { "ext-json": "*", "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/psr7": "^1.9.1 || ^2.4.5", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -4151,7 +4194,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + "source": "https://github.com/guzzle/guzzle/tree/7.5.1" }, "funding": [ { @@ -4167,7 +4210,7 @@ "type": "tidelift" } ], - "time": "2022-08-28T15:39:27+00:00" + "time": "2023-04-17T16:30:08+00:00" }, { "name": "guzzlehttp/promises", @@ -4255,22 +4298,22 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.4.4", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf" + "reference": "b635f279edd83fc275f822a1188157ffea568ff6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", - "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6", + "reference": "b635f279edd83fc275f822a1188157ffea568ff6", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.1 || ^2.0", "ralouphie/getallheaders": "^3.0" }, "provide": { @@ -4290,9 +4333,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "2.4-dev" } }, "autoload": { @@ -4354,7 +4394,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.4.4" + "source": "https://github.com/guzzle/psr7/tree/2.5.0" }, "funding": [ { @@ -4370,7 +4410,7 @@ "type": "tidelift" } ], - "time": "2023-03-09T13:19:02+00:00" + "time": "2023-04-17T16:11:26+00:00" }, { "name": "humbug/box", @@ -4661,16 +4701,16 @@ }, { "name": "netresearch/jsonmapper", - "version": "v4.1.0", + "version": "v4.2.0", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f" + "reference": "f60565f8c0566a31acf06884cdaa591867ecc956" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", - "reference": "cfa81ea1d35294d64adb9c68aa4cb9e92400e53f", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/f60565f8c0566a31acf06884cdaa591867ecc956", + "reference": "f60565f8c0566a31acf06884cdaa591867ecc956", "shasum": "" }, "require": { @@ -4706,9 +4746,9 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.1.0" + "source": "https://github.com/cweiske/jsonmapper/tree/v4.2.0" }, - "time": "2022-12-08T20:46:14+00:00" + "time": "2023-04-09T17:37:40+00:00" }, { "name": "nikic/iter", @@ -5078,20 +5118,20 @@ }, { "name": "phalcon/ide-stubs", - "version": "v4.1.0", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/phalcon/ide-stubs.git", - "reference": "77384e4f42542f11b065b2a860b9bca2ea20ad5a" + "reference": "2f70d8faf7ec85763899f6cfb535fdcb6307c3f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phalcon/ide-stubs/zipball/77384e4f42542f11b065b2a860b9bca2ea20ad5a", - "reference": "77384e4f42542f11b065b2a860b9bca2ea20ad5a", + "url": "https://api.github.com/repos/phalcon/ide-stubs/zipball/2f70d8faf7ec85763899f6cfb535fdcb6307c3f8", + "reference": "2f70d8faf7ec85763899f6cfb535fdcb6307c3f8", "shasum": "" }, "require": { - "php": ">=7.2.0" + "php": ">=7.4" }, "require-dev": { "squizlabs/php_codesniffer": "3.*", @@ -5141,7 +5181,7 @@ "type": "open_collective" } ], - "time": "2020-11-13T10:58:11+00:00" + "time": "2023-03-08T15:01:52+00:00" }, { "name": "phar-io/manifest", @@ -5366,24 +5406,27 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.6.2", + "version": "1.7.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "48f445a408c131e38cab1c235aa6d2bb7a0bb20d" + "reference": "dfc078e8af9c99210337325ff5aa152872c98714" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/48f445a408c131e38cab1c235aa6d2bb7a0bb20d", - "reference": "48f445a408c131e38cab1c235aa6d2bb7a0bb20d", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/dfc078e8af9c99210337325ff5aa152872c98714", + "reference": "dfc078e8af9c99210337325ff5aa152872c98714", "shasum": "" }, "require": { + "doctrine/deprecations": "^1.0", "php": "^7.4 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" + "phpdocumentor/reflection-common": "^2.0", + "phpstan/phpdoc-parser": "^1.13" }, "require-dev": { "ext-tokenizer": "*", + "phpbench/phpbench": "^1.2", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.8", "phpstan/phpstan-phpunit": "^1.1", @@ -5415,9 +5458,54 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.2" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.1" + }, + "time": "2023-03-27T19:02:04+00:00" + }, + { + "name": "phpstan/phpdoc-parser", + "version": "1.20.0", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "10553ab3f0337ff1a71433c3417d7eb2a3eec1fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/10553ab3f0337ff1a71433c3417d7eb2a3eec1fd", + "reference": "10553ab3f0337ff1a71433c3417d7eb2a3eec1fd", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" }, - "time": "2022-10-14T12:47:21+00:00" + "require-dev": { + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^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", + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "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.20.0" + }, + "time": "2023-04-20T11:18:07+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5815,21 +5903,21 @@ }, { "name": "psr/http-client", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/http-client.git", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31", + "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31", "shasum": "" }, "require": { "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -5849,7 +5937,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP clients", @@ -5861,27 +5949,27 @@ "psr-18" ], "support": { - "source": "https://github.com/php-fig/http-client/tree/master" + "source": "https://github.com/php-fig/http-client/tree/1.0.2" }, - "time": "2020-06-29T06:28:15+00:00" + "time": "2023-04-10T20:12:12+00:00" }, { "name": "psr/http-factory", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + "reference": "e616d01114759c4c489f93b099585439f795fe35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", + "reference": "e616d01114759c4c489f93b099585439f795fe35", "shasum": "" }, "require": { "php": ">=7.0.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -5901,7 +5989,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interfaces for PSR-7 HTTP message factories", @@ -5916,31 +6004,31 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/master" + "source": "https://github.com/php-fig/http-factory/tree/1.0.2" }, - "time": "2019-04-30T12:38:16+00:00" + "time": "2023-04-10T20:10:41+00:00" }, { "name": "psr/http-message", - "version": "1.0.1", + "version": "2.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -5955,7 +6043,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP messages", @@ -5969,9 +6057,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "psr/log", @@ -7057,16 +7145,16 @@ }, { "name": "symfony/dom-crawler", - "version": "v5.4.21", + "version": "v5.4.22", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "105a7ac54ecacc1f52a99b9c4963935ca62aac8f" + "reference": "4c633facee8da59998e0c90e337a586cf07a21e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/105a7ac54ecacc1f52a99b9c4963935ca62aac8f", - "reference": "105a7ac54ecacc1f52a99b9c4963935ca62aac8f", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/4c633facee8da59998e0c90e337a586cf07a21e7", + "reference": "4c633facee8da59998e0c90e337a586cf07a21e7", "shasum": "" }, "require": { @@ -7112,7 +7200,7 @@ "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v5.4.21" + "source": "https://github.com/symfony/dom-crawler/tree/v5.4.22" }, "funding": [ { @@ -7128,20 +7216,20 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2023-03-06T21:29:33+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.21", + "version": "v5.4.22", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "f0ae1383a8285dfc6752b8d8602790953118ff5a" + "reference": "1df20e45d56da29a4b1d8259dd6e950acbf1b13f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/f0ae1383a8285dfc6752b8d8602790953118ff5a", - "reference": "f0ae1383a8285dfc6752b8d8602790953118ff5a", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1df20e45d56da29a4b1d8259dd6e950acbf1b13f", + "reference": "1df20e45d56da29a4b1d8259dd6e950acbf1b13f", "shasum": "" }, "require": { @@ -7197,7 +7285,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.21" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.22" }, "funding": [ { @@ -7213,20 +7301,20 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2023-03-17T11:31:58+00:00" }, { "name": "symfony/process", - "version": "v5.4.21", + "version": "v5.4.22", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd" + "reference": "4b850da0cc3a2a9181c1ed407adbca4733dc839b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", - "reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", + "url": "https://api.github.com/repos/symfony/process/zipball/4b850da0cc3a2a9181c1ed407adbca4733dc839b", + "reference": "4b850da0cc3a2a9181c1ed407adbca4733dc839b", "shasum": "" }, "require": { @@ -7259,7 +7347,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.21" + "source": "https://github.com/symfony/process/tree/v5.4.22" }, "funding": [ { @@ -7275,7 +7363,7 @@ "type": "tidelift" } ], - "time": "2023-02-21T19:46:44+00:00" + "time": "2023-03-06T21:29:33+00:00" }, { "name": "symfony/yaml", From a88ed09d70cc8dd0034e5ffb67fe3c38a04aa52f Mon Sep 17 00:00:00 2001 From: m4nu Date: Fri, 21 Apr 2023 00:21:21 -0500 Subject: [PATCH 03/28] Upgrade Tests Github Action to Phalcon v5 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b1cc3cca0..e7d68dff3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest env: - extensions: mbstring, intl, json, zip, phalcon-4.0.5, mysql, pgsql, xdebug-2.9.8 + extensions: mbstring, intl, json, zip, phalcon-5.2.0, mysql, pgsql, xdebug-2.9.8 key: cache-v2.0~19.03.2020 services: @@ -32,7 +32,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: [ '7.2', '7.3', '7.4' ] + php-versions: [ '7.4', '8.0', '8.1', '8.2' ] steps: - uses: actions/checkout@v1 From 547ae3090215e3928236f253e46cd67d6f0412de Mon Sep 17 00:00:00 2001 From: m4nu Date: Fri, 21 Apr 2023 01:11:59 -0500 Subject: [PATCH 04/28] PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter --- src/Builder/Exception/BuilderException.php | 1 - src/Commands/CommandsException.php | 1 - src/Exception/ProviderException.php | 1 - src/Script/ScriptException.php | 1 - 4 files changed, 4 deletions(-) diff --git a/src/Builder/Exception/BuilderException.php b/src/Builder/Exception/BuilderException.php index 2577852d9..20e229b04 100644 --- a/src/Builder/Exception/BuilderException.php +++ b/src/Builder/Exception/BuilderException.php @@ -12,7 +12,6 @@ namespace Phalcon\DevTools\Builder\Exception; - /** * Exception Builder made */ diff --git a/src/Commands/CommandsException.php b/src/Commands/CommandsException.php index eefde27cf..88b8ecd71 100644 --- a/src/Commands/CommandsException.php +++ b/src/Commands/CommandsException.php @@ -12,7 +12,6 @@ namespace Phalcon\DevTools\Commands; - /** * Commands Exception */ diff --git a/src/Exception/ProviderException.php b/src/Exception/ProviderException.php index 3e039edb1..c5990ee19 100644 --- a/src/Exception/ProviderException.php +++ b/src/Exception/ProviderException.php @@ -12,7 +12,6 @@ namespace Phalcon\DevTools\Exception; - class ProviderException extends \Exception { } diff --git a/src/Script/ScriptException.php b/src/Script/ScriptException.php index a1e150bb4..ef7f69092 100644 --- a/src/Script/ScriptException.php +++ b/src/Script/ScriptException.php @@ -12,7 +12,6 @@ namespace Phalcon\DevTools\Script; - class ScriptException extends \Exception { } From 5c1b3370db43e59079419d81133cbe30bf7416a2 Mon Sep 17 00:00:00 2001 From: m4nu Date: Fri, 21 Apr 2023 01:28:25 -0500 Subject: [PATCH 05/28] Upgrade squizlabs/php_codesniffer --- composer.json | 2 +- composer.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 146697871..b99c1d535 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "phpunit/phpunit": "^8.0", "codeception/specify": "^1.2", "codeception/verify": "^1.2", - "squizlabs/php_codesniffer": "^3.5", + "squizlabs/php_codesniffer": "^3.7", "phalcon/ide-stubs": "^5.0.0", "vimeo/psalm": "^4.6", "codeception/module-phpbrowser": "^1.0", diff --git a/composer.lock b/composer.lock index e960c0d3c..7ac4fd779 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ffcc87404e71418eba817c0892f3ce26", + "content-hash": "48717ef25e5c086c17fb82e59bd1f50f", "packages": [ { "name": "composer/package-versions-deprecated", From ca92b3c146d9560b6ce65dcc9e65e387a73270a6 Mon Sep 17 00:00:00 2001 From: m4nu Date: Sat, 22 Apr 2023 00:06:36 -0500 Subject: [PATCH 06/28] generate composer.lock from PHP 7.4 --- composer.lock | 168 ++++++++++++++++++++++++-------------------------- 1 file changed, 80 insertions(+), 88 deletions(-) diff --git a/composer.lock b/composer.lock index 7ac4fd779..f238710de 100644 --- a/composer.lock +++ b/composer.lock @@ -227,16 +227,16 @@ }, { "name": "humbug/php-scoper", - "version": "0.17.7", + "version": "0.17.5", "source": { "type": "git", "url": "https://github.com/humbug/php-scoper.git", - "reference": "0760c02bd666e0dc4918e4e7fb1c4c53c47bcf54" + "reference": "f67ae1e5360259911d6c4be871e4aeb4e6661541" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/humbug/php-scoper/zipball/0760c02bd666e0dc4918e4e7fb1c4c53c47bcf54", - "reference": "0760c02bd666e0dc4918e4e7fb1c4c53c47bcf54", + "url": "https://api.github.com/repos/humbug/php-scoper/zipball/f67ae1e5360259911d6c4be871e4aeb4e6661541", + "reference": "f67ae1e5360259911d6c4be871e4aeb4e6661541", "shasum": "" }, "require": { @@ -244,7 +244,7 @@ "fidry/console": "^0.5.0", "jetbrains/phpstorm-stubs": "^v2022.1", "nikic/php-parser": "^4.12", - "php": "^8.1", + "php": "^7.4 || ^8.0", "symfony/console": "^5.2 || ^6.0", "symfony/filesystem": "^5.2 || ^6.0", "symfony/finder": "^5.2 || ^6.0", @@ -257,8 +257,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.1", - "ergebnis/composer-normalize": "^2.28", - "humbug/box": "^4.0", + "humbug/box": "^3.16.0 || ^4.0", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.0" }, @@ -303,9 +302,9 @@ "description": "Prefixes all PHP namespaces in a file or directory.", "support": { "issues": "https://github.com/humbug/php-scoper/issues", - "source": "https://github.com/humbug/php-scoper/tree/0.17.7" + "source": "https://github.com/humbug/php-scoper/tree/0.17.5" }, - "time": "2022-11-03T19:10:41+00:00" + "time": "2022-06-26T22:25:11+00:00" }, { "name": "jetbrains/phpstorm-stubs", @@ -807,27 +806,22 @@ }, { "name": "psr/container", - "version": "2.0.2", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", "shasum": "" }, "require": { "php": ">=7.4.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -854,9 +848,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "source": "https://github.com/php-fig/container/tree/1.1.2" }, - "time": "2021-11-05T16:47:00+00:00" + "time": "2021-11-05T16:50:12+00:00" }, { "name": "psr/event-dispatcher", @@ -1085,25 +1079,25 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.2.1", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e" + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", - "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1132,7 +1126,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" }, "funding": [ { @@ -1148,24 +1142,24 @@ "type": "tidelift" } ], - "time": "2023-03-01T10:25:55+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.2.1", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd" + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", - "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1", + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=7.2.5", "psr/event-dispatcher": "^1" }, "suggest": { @@ -1174,7 +1168,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1211,7 +1205,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.1" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.2" }, "funding": [ { @@ -1227,7 +1221,7 @@ "type": "tidelift" } ], - "time": "2023-03-01T10:32:47+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/filesystem", @@ -1850,21 +1844,22 @@ }, { "name": "symfony/service-contracts", - "version": "v3.2.1", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "a8c9cedf55f314f3a186041d19537303766df09a" + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a8c9cedf55f314f3a186041d19537303766df09a", - "reference": "a8c9cedf55f314f3a186041d19537303766df09a", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "shasum": "" }, "require": { - "php": ">=8.1", - "psr/container": "^2.0" + "php": ">=7.2.5", + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1|^3" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -1875,7 +1870,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1885,10 +1880,7 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1915,7 +1907,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.2.1" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" }, "funding": [ { @@ -1931,38 +1923,38 @@ "type": "tidelift" } ], - "time": "2023-03-01T10:32:47+00:00" + "time": "2022-05-30T19:17:29+00:00" }, { "name": "symfony/string", - "version": "v6.2.8", + "version": "v5.4.22", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef" + "reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/193e83bbd6617d6b2151c37fff10fa7168ebddef", - "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef", + "url": "https://api.github.com/repos/symfony/string/zipball/8036a4c76c0dd29e60b6a7cafcacc50cf088ea62", + "reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62", "shasum": "" }, "require": { - "php": ">=8.1", + "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-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" }, "conflict": { - "symfony/translation-contracts": "<2.0" + "symfony/translation-contracts": ">=3.0" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", - "symfony/translation-contracts": "^2.0|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "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": { @@ -2001,7 +1993,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.2.8" + "source": "https://github.com/symfony/string/tree/v5.4.22" }, "funding": [ { @@ -2017,7 +2009,7 @@ "type": "tidelift" } ], - "time": "2023-03-20T16:06:02+00:00" + "time": "2023-03-14T06:11:53+00:00" }, { "name": "symfony/var-dumper", @@ -2110,46 +2102,39 @@ }, { "name": "thecodingmachine/safe", - "version": "v2.5.0", + "version": "v1.3.3", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0" + "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/3115ecd6b4391662b4931daac4eba6b07a2ac1f0", - "reference": "3115ecd6b4391662b4931daac4eba6b07a2ac1f0", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/a8ab0876305a4cdaef31b2350fcb9811b5608dbc", + "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc", "shasum": "" }, "require": { - "php": "^8.0" + "php": ">=7.2" }, "require-dev": { - "phpstan/phpstan": "^1.5", - "phpunit/phpunit": "^9.5", + "phpstan/phpstan": "^0.12", "squizlabs/php_codesniffer": "^3.2", - "thecodingmachine/phpstan-strict-rules": "^1.0" + "thecodingmachine/phpstan-strict-rules": "^0.12" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2.x-dev" + "dev-master": "0.1-dev" } }, "autoload": { "files": [ "deprecated/apc.php", - "deprecated/array.php", - "deprecated/datetime.php", "deprecated/libevent.php", - "deprecated/misc.php", - "deprecated/password.php", "deprecated/mssql.php", "deprecated/stats.php", - "deprecated/strings.php", "lib/special_cases.php", - "deprecated/mysqli.php", "generated/apache.php", "generated/apcu.php", "generated/array.php", @@ -2170,7 +2155,6 @@ "generated/fpm.php", "generated/ftp.php", "generated/funchand.php", - "generated/gettext.php", "generated/gmp.php", "generated/gnupg.php", "generated/hash.php", @@ -2180,6 +2164,7 @@ "generated/image.php", "generated/imap.php", "generated/info.php", + "generated/ingres-ii.php", "generated/inotify.php", "generated/json.php", "generated/ldap.php", @@ -2188,14 +2173,20 @@ "generated/mailparse.php", "generated/mbstring.php", "generated/misc.php", + "generated/msql.php", "generated/mysql.php", + "generated/mysqli.php", + "generated/mysqlndMs.php", + "generated/mysqlndQc.php", "generated/network.php", "generated/oci8.php", "generated/opcache.php", "generated/openssl.php", "generated/outcontrol.php", + "generated/password.php", "generated/pcntl.php", "generated/pcre.php", + "generated/pdf.php", "generated/pgsql.php", "generated/posix.php", "generated/ps.php", @@ -2206,6 +2197,7 @@ "generated/sem.php", "generated/session.php", "generated/shmop.php", + "generated/simplexml.php", "generated/sockets.php", "generated/sodium.php", "generated/solr.php", @@ -2228,13 +2220,13 @@ "generated/zip.php", "generated/zlib.php" ], - "classmap": [ - "lib/DateTime.php", - "lib/DateTimeImmutable.php", - "lib/Exceptions/", - "deprecated/Exceptions/", - "generated/Exceptions/" - ] + "psr-4": { + "Safe\\": [ + "lib/", + "deprecated/", + "generated/" + ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2243,9 +2235,9 @@ "description": "PHP core functions that throw exceptions instead of returning FALSE on error", "support": { "issues": "https://github.com/thecodingmachine/safe/issues", - "source": "https://github.com/thecodingmachine/safe/tree/v2.5.0" + "source": "https://github.com/thecodingmachine/safe/tree/v1.3.3" }, - "time": "2023-04-05T11:54:14+00:00" + "time": "2020-10-28T17:51:34+00:00" }, { "name": "vlucas/phpdotenv", From b0bfd3f46f925fd47f7fae26a985355c4d957ed4 Mon Sep 17 00:00:00 2001 From: m4nu Date: Sun, 23 Apr 2023 22:40:43 -0500 Subject: [PATCH 07/28] Upgrade Phalcon 5 namespace Phalcon\Logger\Logger --- src/Error/ErrorHandler.php | 2 +- src/Providers/LoggerProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Error/ErrorHandler.php b/src/Error/ErrorHandler.php index b705f49dc..f0585bcc8 100644 --- a/src/Error/ErrorHandler.php +++ b/src/Error/ErrorHandler.php @@ -13,7 +13,7 @@ namespace Phalcon\DevTools\Error; use Phalcon\Di\Injectable; -use Phalcon\Logger; +use Phalcon\Logger\Logger; class ErrorHandler extends Injectable { diff --git a/src/Providers/LoggerProvider.php b/src/Providers/LoggerProvider.php index 65f3528c8..50092a156 100644 --- a/src/Providers/LoggerProvider.php +++ b/src/Providers/LoggerProvider.php @@ -14,7 +14,7 @@ use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; -use Phalcon\Logger; +use Phalcon\Logger\Logger; use Phalcon\Logger\Adapter\Stream as FileLogger; use Phalcon\Logger\Adapter\Syslog; use Phalcon\Logger\Formatter\Line as LineFormatter; From 56aa894108416240cb536cd89d273ab64cb4feba Mon Sep 17 00:00:00 2001 From: M4nu Date: Fri, 12 May 2023 02:11:38 -0500 Subject: [PATCH 08/28] Upgrade Phalcon 5 - Webtools Phalcon\Tag to Phalcon\Html\TagFactory --- src/Mvc/Controller/Base.php | 2 +- src/Providers/AssetsProvider.php | 4 ++- src/Providers/DatabaseProvider.php | 2 +- src/Providers/TagProvider.php | 11 ++++--- .../Controllers/ControllersController.php | 30 +++++++++--------- src/Web/Tools/Controllers/ErrorController.php | 14 ++++----- .../Controllers/MigrationsController.php | 31 +++++++++---------- .../Tools/Controllers/ModelsController.php | 26 +++++++++------- .../Tools/Controllers/ScaffoldController.php | 14 ++++----- src/Web/Tools/Views/controllers/edit.volt | 6 ++-- src/Web/Tools/Views/controllers/generate.volt | 10 +++--- src/Web/Tools/Views/controllers/view.volt | 4 +-- src/Web/Tools/Views/layouts/base.volt | 2 +- src/Web/Tools/Views/migrations/generate.volt | 8 ++--- src/Web/Tools/Views/migrations/run.volt | 8 ++--- src/Web/Tools/Views/models/edit.volt | 6 ++-- src/Web/Tools/Views/models/generate.volt | 8 ++--- src/Web/Tools/Views/models/view.volt | 4 +-- src/Web/Tools/Views/partials/inputs.volt | 8 ++--- src/Web/Tools/Views/scaffold/generate.volt | 6 ++-- 20 files changed, 105 insertions(+), 99 deletions(-) diff --git a/src/Mvc/Controller/Base.php b/src/Mvc/Controller/Base.php index 4b03682ac..a14613f4f 100644 --- a/src/Mvc/Controller/Base.php +++ b/src/Mvc/Controller/Base.php @@ -97,7 +97,7 @@ protected function setJs() ->setTargetUri('js/webtools.js?v=' . (new Version())->get()) ->addJs($this->resource->path('admin-lte/plugins/jquery/jquery.min.js'), true, false) ->addJs($this->resource->path('admin-lte/plugins/jquery-ui/jquery-ui.min.js'), true, false) - ->addInlineJs("$.widget.bridge('uibutton', $.ui.button);", false, false) + ->addInlineJs("$.widget.bridge('uibutton', $.ui.button);", false) ->addJs($this->resource->path('admin-lte/plugins/bootstrap/js/bootstrap.bundle.min.js'), true, false) ->addJs( $this->resource->path('admin-lte/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js'), diff --git a/src/Providers/AssetsProvider.php b/src/Providers/AssetsProvider.php index 61999abf5..add8a83b6 100644 --- a/src/Providers/AssetsProvider.php +++ b/src/Providers/AssetsProvider.php @@ -13,6 +13,8 @@ namespace Phalcon\DevTools\Providers; use Phalcon\Assets\Manager as AssetsManager; +use Phalcon\Html\TagFactory; +use Phalcon\Html\Escaper; use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; @@ -31,7 +33,7 @@ class AssetsProvider implements ServiceProviderInterface public function register(DiInterface $di): void { $di->setShared($this->providerName, function () { - return new AssetsManager(); + return new AssetsManager(new TagFactory(new Escaper())); }); } } diff --git a/src/Providers/DatabaseProvider.php b/src/Providers/DatabaseProvider.php index 5ec089e16..3d4d92506 100644 --- a/src/Providers/DatabaseProvider.php +++ b/src/Providers/DatabaseProvider.php @@ -58,7 +58,7 @@ public function register(DiInterface $di): void 'password' => $config['password'], 'dbname' => $config['dbname'], 'charset' => $config['charset'], - 'port' => $config['port'], + 'port' => $config['port'] ?? null, ]; if ($config['adapter'] == 'Postgresql' || $config['adapter'] == 'Sqlite') { diff --git a/src/Providers/TagProvider.php b/src/Providers/TagProvider.php index 92ef90555..8e01d4d39 100644 --- a/src/Providers/TagProvider.php +++ b/src/Providers/TagProvider.php @@ -14,7 +14,8 @@ use Phalcon\Di\DiInterface; use Phalcon\Di\ServiceProviderInterface; -use Phalcon\Tag; +use Phalcon\Html\TagFactory; +use Phalcon\Html\Escaper; class TagProvider implements ServiceProviderInterface { @@ -31,11 +32,11 @@ class TagProvider implements ServiceProviderInterface public function register(DiInterface $di): void { $di->setShared($this->providerName, function () { - $tag = new Tag(); + $tag = new TagFactory(new Escaper()); - $tag->setDocType(Tag::HTML5); - $tag->setTitleSeparator(' :: '); - $tag->setTitle('Phalcon WebTools'); + $tag->title() + ->set('Phalcon WebTools') + ->setSeparator(' :: '); return $tag; }); diff --git a/src/Web/Tools/Controllers/ControllersController.php b/src/Web/Tools/Controllers/ControllersController.php index 75be3b1eb..26c841823 100644 --- a/src/Web/Tools/Controllers/ControllersController.php +++ b/src/Web/Tools/Controllers/ControllersController.php @@ -22,11 +22,11 @@ use Phalcon\Mvc\Controller; use Phalcon\Mvc\Dispatcher; use Phalcon\Mvc\DispatcherInterface; -use Phalcon\Tag; +use Phalcon\Html\TagFactory; /** * @property Dispatcher|DispatcherInterface $dispatcher - * @property Tag $tag + * @property TagFactory $tag * @property Session $flashSession */ class ControllersController extends Base @@ -99,14 +99,16 @@ public function editAction($file) return $this->response->redirect('/webtools.php/controllers/edit/' . $fileName); } - $this->tag->setDefault('code', file_get_contents($path)); - $this->tag->setDefault('path', $path); + $controller_code = file_get_contents($path); + $controller_path = $path; $this->view->setVars([ 'page_subtitle' => 'Editing Controller', - 'controller_path' => $controllersDir, + 'controllers_dir' => $controllersDir, 'controller_name' => $fileName, 'custom_css' => true, + 'controller_code' => $controller_code, + 'controller_path' => $controller_path ]); } @@ -133,12 +135,14 @@ public function viewAction($file) return $this->response->redirect('/webtools.php/controllers/list'); } - $this->tag->setDefault('code', file_get_contents($path)); + $controller_code = file_get_contents($path); + $this->view->setVars([ 'page_subtitle' => 'View Controller', - 'controller_path' => $controllersDir, + 'controllers_dir' => $controllersDir, 'controller_name' => $fileName, 'custom_css' => true, + 'controller_code' => $controller_code ]); } @@ -223,14 +227,12 @@ public function generateAction() ); } - $this->tag->setDefault('name', $controllerName); - $this->tag->setDefault('basePath', $basePath); - $this->tag->setDefault('baseClass', '\\' . Controller::class); - $this->tag->setDefault('controllersDir', $controllersDir); - $this->view->setVars([ - 'controller_path' => $controllersDir, - 'controller_name' => basename($controllerName, 'Controller.php') . 'Controller.php' + 'base_path' => $basePath, + 'base_class' => '\\' . Controller::class, + 'controllers_dir' => $controllersDir, + 'controller_name' => basename($controllerName, 'Controller.php') . 'Controller.php', + 'controllerName' => $controllerName ]); } } diff --git a/src/Web/Tools/Controllers/ErrorController.php b/src/Web/Tools/Controllers/ErrorController.php index 491c4ac62..b1e45730b 100644 --- a/src/Web/Tools/Controllers/ErrorController.php +++ b/src/Web/Tools/Controllers/ErrorController.php @@ -16,10 +16,10 @@ use Phalcon\Assets\Filters\Jsmin; use Phalcon\DevTools\Mvc\Controller\Base; use Phalcon\DevTools\Version; -use Phalcon\Tag; +use Phalcon\Html\TagFactory; /** - * @property Tag $tag + * @property TagFactory $tag */ class ErrorController extends Base { @@ -41,7 +41,7 @@ public function initialize() */ public function route400Action(): void { - $this->tag->prependTitle('Bad Request'); + $this->tag->title()->prepend('Bad Request'); $this->response->resetHeaders()->setStatusCode(400, null); $this->view->setVars( @@ -59,7 +59,7 @@ public function route400Action(): void */ public function route403Action(): void { - $this->tag->prependTitle('Forbidden'); + $this->tag->title()->prepend('Forbidden'); $this->response->resetHeaders()->setStatusCode(403, null); $this->view->setVars( @@ -76,7 +76,7 @@ public function route403Action(): void */ public function route404Action(): void { - $this->tag->prependTitle('Not Found'); + $this->tag->title()->prepend('Not Found'); $this->response->resetHeaders()->setStatusCode(404, null); $this->view->setVars( @@ -93,7 +93,7 @@ public function route404Action(): void */ public function route500Action(): void { - $this->tag->prependTitle('Internal Server Error'); + $this->tag->title()->prepend('Internal Server Error'); $this->response->resetHeaders()->setStatusCode(500, null); $this->view->setVars( @@ -136,7 +136,7 @@ protected function setJs() ->setTargetUri('js/webtools-ie.js?v=' . (new Version())->get()) ->addJs($this->resource->path('admin-lte/plugins/jquery/jquery.min.js'), true, false) ->addJs($this->resource->path('admin-lte/plugins/jquery-ui/jquery-ui.min.js'), true, false) - ->addInlineJs("$.widget.bridge('uibutton', $.ui.button);", false, false) + ->addInlineJs("$.widget.bridge('uibutton', $.ui.button);", false) ->addJs($this->resource->path('admin-lte/plugins/bootstrap/js/bootstrap.bundle.min.js'), true, false) ->addJs($this->resource->path('admin-lte/js/adminlte.min.js'), true, false) ->addJs($this->resource->path('js/webtools.js'), true, false) diff --git a/src/Web/Tools/Controllers/MigrationsController.php b/src/Web/Tools/Controllers/MigrationsController.php index ae1129307..bc1c4b5d7 100644 --- a/src/Web/Tools/Controllers/MigrationsController.php +++ b/src/Web/Tools/Controllers/MigrationsController.php @@ -19,11 +19,11 @@ use Phalcon\Flash\Session; use Phalcon\Http\ResponseInterface; use Phalcon\Migrations\Migrations; -use Phalcon\Tag; +use Phalcon\Html\TagFactory; /** * @property Session $flashSession - * @property Tag $tag + * @property TagFactory $tag */ class MigrationsController extends Base { @@ -125,7 +125,7 @@ public function generateAction() ); } - $this->prepareVersions(); + $old_version = $this->prepareVersions(); try { $tables = $this->dbUtils->listTables(true); @@ -134,13 +134,12 @@ public function generateAction() $this->flashSession->error($PDOException->getMessage()); } - $this->tag->setDefault('basePath', $basePath); - $this->tag->setDefault('migrationsDir', $migrationsDir); - $this->view->setVars( [ - 'migration_path' => $migrationsDir, + 'base_path' => $basePath, + 'migrations_dir' => $migrationsDir, 'tables' => $tables, + 'old_version' => $old_version ] ); } @@ -183,25 +182,23 @@ public function runAction() ); } - $this->prepareVersions(); - - $this->tag->setDefault('basePath', $basePath); - $this->tag->setDefault('migrationsDir', $migrationsDir); + $old_version = $this->prepareVersions(); $this->view->setVars( [ - 'migration_path' => $migrationsDir, + 'base_path' => $basePath, + 'migrations_dir' => $migrationsDir, + 'old_version' => $old_version ] ); } - protected function prepareVersions(): void + protected function prepareVersions(): string { $migrationsDir = $this->registry->offsetGet('directories')->migrationsDir; if (!$migrationsDir || !is_dir($migrationsDir) || !is_readable($migrationsDir)) { - $this->tag->setDefault('oldVersion', 'None'); - return; + return 'None'; } $folders = []; @@ -219,9 +216,9 @@ protected function prepareVersions(): void $foldersKeys = array_keys($folders); if (isset($foldersKeys[0])) { - $this->tag->setDefault('oldVersion', $foldersKeys[0]); + return $foldersKeys[0]; } else { - $this->tag->setDefault('oldVersion', 'None'); + return 'None'; } } } diff --git a/src/Web/Tools/Controllers/ModelsController.php b/src/Web/Tools/Controllers/ModelsController.php index 6b1a0e907..6a8bf6aa3 100644 --- a/src/Web/Tools/Controllers/ModelsController.php +++ b/src/Web/Tools/Controllers/ModelsController.php @@ -23,12 +23,12 @@ use Phalcon\Http\ResponseInterface; use Phalcon\Mvc\Dispatcher; use Phalcon\Mvc\DispatcherInterface; -use Phalcon\Tag; +use Phalcon\Html\TagFactory; use Phalcon\Support\HelperFactory; /** * @property Dispatcher|DispatcherInterface $dispatcher - * @property Tag $tag + * @property TagFactory $tag * @property Session $flashSession */ class ModelsController extends Base @@ -101,14 +101,16 @@ public function editAction($file) return $this->response->redirect('/webtools.php/models/edit/' . $fileName); } - $this->tag->setDefault('code', file_get_contents($path)); - $this->tag->setDefault('path', $path); + $model_code = file_get_contents($path); + $model_path = $path; $this->view->setVars([ 'page_subtitle'=> 'Editing Model', - 'model_path' => $modelsDir, + 'models_dir' => $modelsDir, 'model_name' => $fileName, 'custom_css' => true, + 'model_code' => $model_code, + 'model_path' => $model_path ]); } @@ -135,12 +137,14 @@ public function viewAction($file) return $this->response->redirect('/webtools.php/models/list'); } - $this->tag->setDefault('code', file_get_contents($path)); + $model_code = file_get_contents($path); + $this->view->setVars([ 'page_subtitle' => 'View Model', - 'model_path' => $modelsDir, + 'models_dir' => $modelsDir, 'model_name' => $fileName, 'custom_css' => true, + 'model_code' => $model_code, ]); } @@ -260,12 +264,12 @@ public function generateAction() $this->flashSession->error($PDOException->getMessage()); } - $this->tag->setDefault('basePath', $basePath); - $this->tag->setDefault('schema', $this->dbUtils->resolveDbSchema()); - $this->tag->setDefault('modelsDir', $modelsDir); + $schema = $this->dbUtils->resolveDbSchema(); $this->view->setVars([ - 'model_path' => $modelsDir, + 'base_path' => $basePath, + 'schema' => $schema, + 'models_dir' => $modelsDir, 'tables' => $tables, ]); } diff --git a/src/Web/Tools/Controllers/ScaffoldController.php b/src/Web/Tools/Controllers/ScaffoldController.php index 4776dc4bf..e832e535d 100644 --- a/src/Web/Tools/Controllers/ScaffoldController.php +++ b/src/Web/Tools/Controllers/ScaffoldController.php @@ -21,12 +21,12 @@ use Phalcon\Http\ResponseInterface; use Phalcon\Mvc\Dispatcher; use Phalcon\Mvc\DispatcherInterface; -use Phalcon\Tag; +use Phalcon\Html\TagFactory; use Phalcon\Support\HelperFactory; /** * @property Dispatcher|DispatcherInterface $dispatcher - * @property Tag $tag + * @property TagFactory $tag * @property Session $flashSession */ class ScaffoldController extends Base @@ -96,11 +96,7 @@ public function generateAction() ); } - $this->tag->setDefault('basePath', $basePath); - $this->tag->setDefault('controllersDir', $controllersDir); - $this->tag->setDefault('modelsDir', $modelsDir); - $this->tag->setDefault('templatesPath', $templatesPath); - $this->tag->setDefault('schema', $this->dbUtils->resolveDbSchema()); + $schema = $this->dbUtils->resolveDbSchema(); try { $tables = $this->dbUtils->listTables(); @@ -117,6 +113,10 @@ public function generateAction() 'volt' => 'Volt', 'php' => 'PHP', ], + 'base_path' => $basePath, + 'schema' => $schema, + 'controllers_dir' => $controllersDir, + 'models_dir' => $modelsDir, ]); } } diff --git a/src/Web/Tools/Views/controllers/edit.volt b/src/Web/Tools/Views/controllers/edit.volt index 940358120..be8d7acdc 100644 --- a/src/Web/Tools/Views/controllers/edit.volt +++ b/src/Web/Tools/Views/controllers/edit.volt @@ -5,14 +5,14 @@

- {{ controller_name }} - [{{ controller_path }}] + {{ controller_name }} - [{{ controllers_dir }}]

- {{ text_area("code", "cols": 50, "rows": 25, "class": "form-control") }} - {{ hidden_field("path") }} + {{ text_area("code", "value": controller_code, "cols": 50, "rows": 25, "class": "form-control") }} + {{ hidden_field("path", "value": controller_path) }}

diff --git a/src/Web/Tools/Views/controllers/generate.volt b/src/Web/Tools/Views/controllers/generate.volt index b97f9c744..67d6379a6 100644 --- a/src/Web/Tools/Views/controllers/generate.volt +++ b/src/Web/Tools/Views/controllers/generate.volt @@ -11,12 +11,12 @@
-

{{ controller_name }} - [{{ controller_path }}]

+

{{ controller_name }} - [{{ controllers_dir }}]

- {{ input("name", "Class name without suffix eg. Users") }} + {{ input("name", "Class name without suffix eg. Users", controllerName) }}
@@ -30,21 +30,21 @@
- {{ input("baseClass", "eg. BaseController") }} + {{ input("baseClass", "eg. BaseController", base_class) }}
- {{ input("basePath", "The absolute path to the project") }} + {{ input("basePath", "The absolute path to the project", base_path) }}
- {{ input("controllersDir", "The absolute path to the controller directory") }} + {{ input("controllersDir", "The absolute path to the controller directory", controllers_dir) }}
diff --git a/src/Web/Tools/Views/controllers/view.volt b/src/Web/Tools/Views/controllers/view.volt index 9d0638370..871573ec8 100644 --- a/src/Web/Tools/Views/controllers/view.volt +++ b/src/Web/Tools/Views/controllers/view.volt @@ -4,12 +4,12 @@
-

{{ controller_name }} - [{{ controller_path }}]

+

{{ controller_name }} - [{{ controllers_dir }}]

- {{ text_area("code", "cols": 50, "rows": 25, "class": "form-control") }} + {{ text_area("code", "value": controller_code, "cols": 50, "rows": 25, "class": "form-control") }}
diff --git a/src/Web/Tools/Views/layouts/base.volt b/src/Web/Tools/Views/layouts/base.volt index eaf5c2657..222ee9fe4 100644 --- a/src/Web/Tools/Views/layouts/base.volt +++ b/src/Web/Tools/Views/layouts/base.volt @@ -3,7 +3,7 @@ - {{ get_title() }} + {{ title() }} diff --git a/src/Web/Tools/Views/migrations/generate.volt b/src/Web/Tools/Views/migrations/generate.volt index 9c7e6f366..43d9f2d8a 100644 --- a/src/Web/Tools/Views/migrations/generate.volt +++ b/src/Web/Tools/Views/migrations/generate.volt @@ -9,13 +9,13 @@

Generate Migration

-

New model will be placed at: [{{ migration_path }}]

+

New model will be placed at: [{{ migrations_dir }}]

- {{ input_disabled("oldVersion") }} + {{ input_disabled("oldVersion", old_version) }}
@@ -38,7 +38,7 @@
- {{ input("basePath", "The absolute path to the project") }} + {{ input("basePath", "The absolute path to the project", base_path) }} Directory where the project was created
@@ -46,7 +46,7 @@
- {{ input("migrationsDir", "The absolute path to the model directory") }} + {{ input("migrationsDir", "The absolute path to the model directory", migrations_dir) }} The absolute path to the migrations directory
diff --git a/src/Web/Tools/Views/migrations/run.volt b/src/Web/Tools/Views/migrations/run.volt index 8d5d77d02..8845060e0 100644 --- a/src/Web/Tools/Views/migrations/run.volt +++ b/src/Web/Tools/Views/migrations/run.volt @@ -9,20 +9,20 @@

Run Migration

-

Migrations from: [{{ migration_path }}]

+

Migrations from: [{{ migrations_dir }}]

- {{ input_disabled("oldVersion") }} + {{ input_disabled("oldVersion", old_version) }}
- {{ input("basePath", "The absolute path to the project") }} + {{ input("basePath", "The absolute path to the project", base_path) }} Directory where the project was created
@@ -30,7 +30,7 @@
- {{ input("migrationsDir", "The absolute path to the model directory") }} + {{ input("migrationsDir", "The absolute path to the model directory", migrations_dir) }} The absolute path to the migrations directory
diff --git a/src/Web/Tools/Views/models/edit.volt b/src/Web/Tools/Views/models/edit.volt index 1f7a3a853..d08c1411c 100644 --- a/src/Web/Tools/Views/models/edit.volt +++ b/src/Web/Tools/Views/models/edit.volt @@ -4,13 +4,13 @@
-

{{ model_name }} - [{{ model_path }}]

+

{{ model_name }} - [{{ models_dir }}]

- {{ text_area("code", "cols": 50, "rows": 25, "class": "form-control") }} - {{ hidden_field("path") }} + {{ text_area("code", "value": model_code, "cols": 50, "rows": 25, "class": "form-control") }} + {{ hidden_field("path", "value": model_path) }}

diff --git a/src/Web/Tools/Views/models/generate.volt b/src/Web/Tools/Views/models/generate.volt index ee197a987..8f41ff47b 100644 --- a/src/Web/Tools/Views/models/generate.volt +++ b/src/Web/Tools/Views/models/generate.volt @@ -10,7 +10,7 @@
-

New model will be placed at: [{{ model_path }}]

+

New model will be placed at: [{{ models_dir }}]

@@ -22,7 +22,7 @@
- {{ input("schema", "Database name") }} + {{ input("schema", "Database name", schema) }}
@@ -36,14 +36,14 @@
- {{ input("basePath", "The absolute path to the project") }} + {{ input("basePath", "The absolute path to the project", base_path) }}
- {{ input("modelsDir", "The absolute path to the model directory") }} + {{ input("modelsDir", "The absolute path to the model directory", models_dir) }}
diff --git a/src/Web/Tools/Views/models/view.volt b/src/Web/Tools/Views/models/view.volt index 6c0962fa0..c654b528c 100644 --- a/src/Web/Tools/Views/models/view.volt +++ b/src/Web/Tools/Views/models/view.volt @@ -4,12 +4,12 @@
-

{{ model_name }} - [{{ model_path }}]

+

{{ model_name }} - [{{ models_dir }}]

- {{ text_area("code", "cols": 50, "rows": 25, "class": "form-control") }} + {{ text_area("code", "value": model_code, "cols": 50, "rows": 25, "class": "form-control") }}
diff --git a/src/Web/Tools/Views/partials/inputs.volt b/src/Web/Tools/Views/partials/inputs.volt index aa83b9f10..dcc707529 100644 --- a/src/Web/Tools/Views/partials/inputs.volt +++ b/src/Web/Tools/Views/partials/inputs.volt @@ -1,7 +1,7 @@ -{%- macro input(name, placeholder = "") %} - {% return text_field(name, "class": "form-control", "id": name, "placeholder": placeholder) %} +{%- macro input(name, placeholder = "", value = "") %} + {% return text_field(name, "class": "form-control", "id": name, "placeholder": placeholder, "value": value) %} {%- endmacro %} -{%- macro input_disabled(name) %} - {% return text_field(name, "class": "form-control disabled", "id": name, "disabled": "disabled") %} +{%- macro input_disabled(name, value="") %} + {% return text_field(name, "class": "form-control disabled", "id": name, "disabled": "disabled", "value": value) %} {%- endmacro %} diff --git a/src/Web/Tools/Views/scaffold/generate.volt b/src/Web/Tools/Views/scaffold/generate.volt index cd8f93df5..f3f51e718 100644 --- a/src/Web/Tools/Views/scaffold/generate.volt +++ b/src/Web/Tools/Views/scaffold/generate.volt @@ -20,7 +20,7 @@
- {{ input("schema", "Database name") }} + {{ input("schema", "Database name", schema) }}
@@ -41,14 +41,14 @@
- {{ input("basePath", "The absolute path to the project") }} + {{ input("basePath", "The absolute path to the project", base_path) }}
- {{ input("templatesPath", "The absolute path to the templates") }} + {{ input("templatesPath", "The absolute path to the templates", template_path) }}
From 5a8f7934378cfc0569b1ae700b3fafc9e52cd838 Mon Sep 17 00:00:00 2001 From: M4nu Date: Tue, 30 May 2023 03:50:12 -0500 Subject: [PATCH 09/28] Upgrade Phalcon 5 - Webtools Scaffold - Phalcon\Tag to Phalcon\Html\TagFactory --- src/Builder/Component/Model.php | 4 +- src/Builder/Component/Scaffold.php | 94 +++++++++---------- src/Generator/Snippet.php | 8 +- templates/scaffold/no-forms/Controller.php | 7 +- templates/scaffold/no-forms/views/edit.phtml | 8 +- templates/scaffold/no-forms/views/edit.volt | 8 +- templates/scaffold/no-forms/views/index.phtml | 6 +- templates/scaffold/no-forms/views/index.volt | 6 +- templates/scaffold/no-forms/views/new.phtml | 6 +- templates/scaffold/no-forms/views/new.volt | 6 +- .../scaffold/no-forms/views/search.phtml | 16 ++-- templates/scaffold/no-forms/views/search.volt | 16 ++-- tests/unit/Generator/SnippetTest.php | 6 +- 13 files changed, 91 insertions(+), 100 deletions(-) diff --git a/src/Builder/Component/Model.php b/src/Builder/Component/Model.php index 5a145b84a..0af3c470e 100644 --- a/src/Builder/Component/Model.php +++ b/src/Builder/Component/Model.php @@ -476,11 +476,11 @@ public function build(): void $code = $snippet->getClass( $namespace, $useDefinition, + $this->modelOptions, + $content, $classDoc, $abstract, - $this->modelOptions, $extends, - $content, $license ); diff --git a/src/Builder/Component/Scaffold.php b/src/Builder/Component/Scaffold.php index 1e85597cf..79bc4fb33 100644 --- a/src/Builder/Component/Scaffold.php +++ b/src/Builder/Component/Scaffold.php @@ -268,31 +268,6 @@ private function captureFilterInput(string $var, $fields, bool $useGetSetters, s return $code; } - /** - * @param string $var - * @param mixed $fields - * @param bool $useGetSetters - * @return string - */ - private function assignTagDefaults(string $var, $fields, bool $useGetSetters): string - { - $helper = new HelperFactory(); - - $code = ''; - foreach ($fields as $field => $dataType) { - if ($useGetSetters) { - $accessor = 'get' . $helper->camelize($field) . '()'; - } else { - $accessor = $field; - } - - $code .= '$this->tag->setDefault("' . $field . '", $' . - Utils::lowerCamelizeWithDelimiter($var, '-', true) . '->' . $accessor . ');' . PHP_EOL . "\t\t\t"; - } - - return $code; - } - /** * @param string $attribute * @param int $dataType @@ -303,6 +278,7 @@ private function assignTagDefaults(string $var, $fields, bool $useGetSetters): s private function makeField(string $attribute, int $dataType, $relationField, array $selectDefinition): string { $helper = new HelperFactory(); + $singularVar = '$' . Utils::lowerCamelizeWithDelimiter($this->options->get('singular'), '-', true); $id = 'field' . $helper->camelize($attribute); $code = '
' . PHP_EOL . "\t" . '