From deef0277c97018bfc10309fb3c5eca1b43086619 Mon Sep 17 00:00:00 2001 From: BadPixxel Date: Tue, 22 Jun 2021 16:48:18 +0200 Subject: [PATCH] WIP: Migrate to GitLab --- .gitlab-ci.yml | 101 + app/AppKernel.php | 9 +- app/autoload.php | 4 +- composer.json | 22 +- composer.lock | 4032 ++++++++++++----- grumphp.yml | 17 +- src/Block/WidgetBlock.php | 41 +- src/Block/WidgetCollectionBlock.php | 45 +- src/Controller/CollectionController.php | 92 +- src/Controller/DemoController.php | 156 +- src/Controller/EditController.php | 122 +- src/Controller/ListController.php | 47 +- src/Controller/ViewController.php | 89 +- src/DependencyInjection/Configuration.php | 7 +- .../SplashWidgetsExtension.php | 4 +- src/Entity/Widget.php | 4 +- src/Entity/WidgetCache.php | 4 +- src/Entity/WidgetCollection.php | 4 +- src/Event/ListingEvent.php | 4 +- src/Form/WidgetDatesType.php | 4 +- src/Form/WidgetOptionsType.php | 4 +- src/Models/Blocks/BaseBlock.php | 36 +- src/Models/Blocks/MorrisAreaBlock.php | 4 +- src/Models/Blocks/MorrisBarBlock.php | 4 +- src/Models/Blocks/MorrisBaseBlock.php | 4 +- src/Models/Blocks/MorrisDonutBlock.php | 4 +- src/Models/Blocks/MorrisLineBlock.php | 4 +- src/Models/Blocks/NotificationsBlock.php | 4 +- src/Models/Blocks/SparkBarChartBlock.php | 4 +- src/Models/Blocks/SparkInfoBlock.php | 4 +- src/Models/Blocks/SparkLineChartBlock.php | 4 +- src/Models/Blocks/TableBlock.php | 4 +- src/Models/Blocks/TextBlock.php | 4 +- src/Models/Demo/Blocks/Dates.php | 9 +- src/Models/Demo/Blocks/MorrisArea.php | 4 +- src/Models/Demo/Blocks/MorrisBar.php | 4 +- src/Models/Demo/Blocks/MorrisDonut.php | 4 +- src/Models/Demo/Blocks/MorrisLine.php | 4 +- src/Models/Demo/Blocks/Notifications.php | 4 +- src/Models/Demo/Blocks/SparkBar.php | 4 +- src/Models/Demo/Blocks/SparkInfos.php | 4 +- src/Models/Demo/Blocks/SparkLine.php | 4 +- src/Models/Demo/Blocks/Table.php | 6 +- src/Models/Demo/Blocks/Text.php | 4 +- .../Interfaces/WidgetProviderInterface.php | 4 +- src/Models/Traits/AccessTrait.php | 4 +- src/Models/Traits/ActionsTrait.php | 4 +- src/Models/Traits/BlocksTrait.php | 4 +- src/Models/Traits/CacheTrait.php | 20 +- src/Models/Traits/CollectionTrait.php | 4 +- src/Models/Traits/DefinitionTrait.php | 4 +- src/Models/Traits/LifecycleTrait.php | 4 +- src/Models/Traits/OptionsTrait.php | 13 +- src/Models/Traits/ParametersTrait.php | 4 +- src/Models/Traits/PositionTrait.php | 4 +- src/Models/WidgetBase.php | 9 +- src/Models/WidgetCacheBase.php | 4 +- src/Models/WidgetCollectionBase.php | 4 +- src/Repository/WidgetCacheRepository.php | 9 +- src/Resources/config/services.yml | 26 +- src/Services/CollectionService.php | 79 +- src/Services/Demo/SamplesFactoryService.php | 20 +- src/Services/FactoryService.php | 30 +- src/Services/ManagerService.php | 85 +- src/SplashWidgetsBundle.php | 4 +- tests/Blocks/Test.php | 4 +- .../A001InitialisationControllerTest.php | 17 +- .../A002WidgetFactoryServiceTest.php | 21 +- .../A003WidgetManagerServiceTest.php | 51 +- tests/Controller/B001ViewControllerTest.php | 4 +- tests/Controller/B002EditControllerTest.php | 44 +- tests/Controller/D001DemoControllerTest.php | 4 +- tests/Services/SamplesFactoryService.php | 4 +- tests/Traits/ContainerAwareTrait.php | 14 +- tests/Traits/UrlCheckerTrait.php | 37 +- tests/grumphp/phpstan.neon | 5 +- web/app.php | 4 +- web/app_test.php | 4 +- 78 files changed, 3727 insertions(+), 1768 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7d81740 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,101 @@ +################################################################################ +# +# This file is part of SplashSync Project. +# +# Copyright (C) Splash Sync +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# For the full copyright and license information, please view the LICENSE +# file that was distributed with this source code. +# +# @author Bernard Paquier +# +################################################################################ + +################################################################ +# Set any variables we need +variables: + COMPOSER_MEMORY_LIMIT: -1 + SYMFONY_DEPRECATIONS_HELPER: disabled + +################################################################ +# Defined Pipeline Stages +stages: + - tests +# - deploy + +################################################################ +# Functional Tests +################################################################ + +.core_tests: &core_tests + stage: tests + tags: + - Dedicated + ################################################################################ + # Install & Configure Environment + before_script: + # Setup Travis + - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/ci/configure.sh | sh + # Deploy Symfony Files + - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/symfony/deploy.sh | sh + # Setup Symfony Version & Create Database + - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/symfony/configure.sh | sh + # Install Symfony + - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/symfony/install.sh | sh + + ################################################################################ + # Run Test Script + script: + # Execute Grumphp Testsuite + - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/ci/grumphp.sh | sh + # Execute PhpUnit Tests + - vendor/bin/phpunit + + ################################################################################ + # Run After Script + after_script: + - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/ci/after.sh | sh + +tests:php-7.4: + image: registry.gitlab.com/badpixxel-projects/php-sdk:php-7.4 + <<: *core_tests + +tests:php-7.3: + image: registry.gitlab.com/badpixxel-projects/php-sdk:php-7.3 + <<: *core_tests + +tests:php-7.2: + image: registry.gitlab.com/badpixxel-projects/php-sdk:php-7.2 + <<: *core_tests + +#tests:php-8.0: +# image: registry.gitlab.com/badpixxel-projects/php-sdk:php-8.0 +# allow_failure: true +# <<: *core_tests + +################################################################ +# Build Documentation +################################################################ +#pages: +# image: registry.gitlab.com/badpixxel-projects/php-sdk:jekyll +# stage: deploy +# tags: +# - Dedicated +# services: +# - docker:dind +# ################################################################################ +# # Run Test Script +# script: +# # Deploy Symfony Files +# - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/symfony/deploy.sh | sh +# # Run Composer to Build deps +# - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/ci/composer.sh | bash +# # Build Documentation +# - php vendor/bin/grumphp run --tasks=build-docs +# artifacts: +# paths: +# - public diff --git a/app/AppKernel.php b/app/AppKernel.php index 2bf402e..8ab6b28 100755 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,6 +18,8 @@ /** * Widgets Demo Symfony App Kernel + * + * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class AppKernel extends Kernel { @@ -60,7 +60,8 @@ public function registerBundles() $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); } - if (('dev' === $this->getEnvironment()) && class_exists("\\Symfony\\Bundle\\WebServerBundle\\WebServerBundle")) { + if (('dev' === $this->getEnvironment()) + && class_exists("\\Symfony\\Bundle\\WebServerBundle\\WebServerBundle")) { $bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle(); } } diff --git a/app/autoload.php b/app/autoload.php index e2177aa..4814f48 100755 --- a/app/autoload.php +++ b/app/autoload.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/composer.json b/composer.json index 8934e59..5d93113 100755 --- a/composer.json +++ b/composer.json @@ -30,6 +30,8 @@ "require": { "php": "~7.2", + "ext-json": "*", + "symfony/monolog-bundle": "^2.0|^3.0", "doctrine/orm": "^2.5", @@ -55,24 +57,8 @@ "splash/php-bundle": "dev-master", "splash/console": "dev-master", - - "composer/composer": "^1.5", - "j13k/yaml-lint": "^1.1", - "jakub-onderka/php-parallel-lint": "^1.0", - "phpmd/phpmd": "*", - "phpro/grumphp": "^0.16", - "sclable/xml-lint": "^0.2.4", - "sebastian/phpcpd": ">3.0", - "seld/jsonlint": "^1.7", - "sensiolabs/security-checker": "*", - "squizlabs/php_codesniffer": "^3.2", - "escapestudios/symfony2-coding-standard": "^3.4", - "friendsofphp/php-cs-fixer": "*", - - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-doctrine": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-symfony": "^0.12" + + "badpixxel/php-sdk": "dev-main" }, "scripts": { diff --git a/composer.lock b/composer.lock index d16d29b..31efdee 100755 --- a/composer.lock +++ b/composer.lock @@ -4,38 +4,109 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "825ed2a6ced61ac313919d3cfa47c31c", + "content-hash": "e922e723db8679127fd12a14bf19a55e", "packages": [ + { + "name": "composer/package-versions-deprecated", + "version": "1.11.99.2", + "source": { + "type": "git", + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "c6522afe5540d5fc46675043d3ed5a45a740b27c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/c6522afe5540d5fc46675043d3ed5a45a740b27c", + "reference": "c6522afe5540d5fc46675043d3ed5a45a740b27c", + "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" + }, + "type": "composer-plugin", + "extra": { + "class": "PackageVersions\\Installer", + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "PackageVersions\\": "src/PackageVersions" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "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/composer/package-versions-deprecated/issues", + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.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": "2021-05-24T07:46:03+00:00" + }, { "name": "doctrine/annotations", - "version": "1.10.4", + "version": "1.13.1", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "bfe91e31984e2ba76df1c1339681770401ec262f" + "reference": "e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/bfe91e31984e2ba76df1c1339681770401ec262f", - "reference": "bfe91e31984e2ba76df1c1339681770401ec262f", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f", + "reference": "e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f", "shasum": "" }, "require": { "doctrine/lexer": "1.*", "ext-tokenizer": "*", - "php": "^7.1 || ^8.0" + "php": "^7.1 || ^8.0", + "psr/cache": "^1 || ^2 || ^3" }, "require-dev": { - "doctrine/cache": "1.*", + "doctrine/cache": "^1.11 || ^2.0", + "doctrine/coding-standard": "^6.0 || ^8.1", "phpstan/phpstan": "^0.12.20", - "phpunit/phpunit": "^7.5 || ^9.1.5" + "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", + "symfony/cache": "^4.4 || ^5.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" @@ -68,50 +139,53 @@ } ], "description": "Docblock Annotations Parser", - "homepage": "http://www.doctrine-project.org", + "homepage": "https://www.doctrine-project.org/projects/annotations.html", "keywords": [ "annotations", "docblock", "parser" ], - "time": "2020-08-10T19:35:50+00:00" + "support": { + "issues": "https://github.com/doctrine/annotations/issues", + "source": "https://github.com/doctrine/annotations/tree/1.13.1" + }, + "time": "2021-05-16T18:07:53+00:00" }, { "name": "doctrine/cache", - "version": "1.10.2", + "version": "1.11.3", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "13e3381b25847283a91948d04640543941309727" + "reference": "3bb5588cec00a0268829cc4a518490df6741af9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/13e3381b25847283a91948d04640543941309727", - "reference": "13e3381b25847283a91948d04640543941309727", + "url": "https://api.github.com/repos/doctrine/cache/zipball/3bb5588cec00a0268829cc4a518490df6741af9d", + "reference": "3bb5588cec00a0268829cc4a518490df6741af9d", "shasum": "" }, "require": { "php": "~7.1 || ^8.0" }, "conflict": { - "doctrine/common": ">2.2,<2.4" + "doctrine/common": ">2.2,<2.4", + "psr/cache": ">=3" }, "require-dev": { "alcaeus/mongo-php-adapter": "^1.1", - "doctrine/coding-standard": "^6.0", + "cache/integration-tests": "dev-master", + "doctrine/coding-standard": "^8.0", "mongodb/mongodb": "^1.1", - "phpunit/phpunit": "^7.0", - "predis/predis": "~1.0" + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "predis/predis": "~1.0", + "psr/cache": "^1.0 || ^2.0", + "symfony/cache": "^4.4 || ^5.2" }, "suggest": { "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" @@ -156,6 +230,10 @@ "redis", "xcache" ], + "support": { + "issues": "https://github.com/doctrine/cache/issues", + "source": "https://github.com/doctrine/cache/tree/1.11.3" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -170,7 +248,7 @@ "type": "tidelift" } ], - "time": "2020-07-07T18:54:01+00:00" + "time": "2021-05-25T09:01:55+00:00" }, { "name": "doctrine/collections", @@ -235,6 +313,10 @@ "iterators", "php" ], + "support": { + "issues": "https://github.com/doctrine/collections/issues", + "source": "https://github.com/doctrine/collections/tree/1.6.7" + }, "time": "2020-07-27T17:53:49+00:00" }, { @@ -318,6 +400,10 @@ "doctrine", "php" ], + "support": { + "issues": "https://github.com/doctrine/common/issues", + "source": "https://github.com/doctrine/common/tree/2.13.x" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -336,33 +422,33 @@ }, { "name": "doctrine/dbal", - "version": "2.11.0", + "version": "2.13.1", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "0d4e1a8b29dd987704842f0465aded378f441dca" + "reference": "c800380457948e65bbd30ba92cc17cda108bf8c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/0d4e1a8b29dd987704842f0465aded378f441dca", - "reference": "0d4e1a8b29dd987704842f0465aded378f441dca", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/c800380457948e65bbd30ba92cc17cda108bf8c9", + "reference": "c800380457948e65bbd30ba92cc17cda108bf8c9", "shasum": "" }, "require": { "doctrine/cache": "^1.0", + "doctrine/deprecations": "^0.5.3", "doctrine/event-manager": "^1.0", "ext-pdo": "*", - "php": "^7.3" + "php": "^7.1 || ^8" }, "require-dev": { - "doctrine/coding-standard": "^8.1", - "jetbrains/phpstorm-stubs": "^2019.1", - "nikic/php-parser": "^4.4", - "phpstan/phpstan": "^0.12.40", - "phpunit/phpunit": "^9.3", - "psalm/plugin-phpunit": "^0.10.0", + "doctrine/coding-standard": "8.2.0", + "jetbrains/phpstorm-stubs": "2020.2", + "phpstan/phpstan": "0.12.81", + "phpunit/phpunit": "^7.5.20|^8.5|9.5.0", + "squizlabs/php_codesniffer": "3.6.0", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", - "vimeo/psalm": "^3.14.2" + "vimeo/psalm": "4.6.4" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -371,11 +457,6 @@ "bin/doctrine-dbal" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\DBAL\\": "lib/Doctrine/DBAL" @@ -426,6 +507,10 @@ "sqlserver", "sqlsrv" ], + "support": { + "issues": "https://github.com/doctrine/dbal/issues", + "source": "https://github.com/doctrine/dbal/tree/2.13.1" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -440,24 +525,67 @@ "type": "tidelift" } ], - "time": "2020-09-20T23:24:53+00:00" + "time": "2021-04-17T17:30:19+00:00" + }, + { + "name": "doctrine/deprecations", + "version": "v0.5.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "9504165960a1f83cc1480e2be1dd0a0478561314" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/9504165960a1f83cc1480e2be1dd0a0478561314", + "reference": "9504165960a1f83cc1480e2be1dd0a0478561314", + "shasum": "" + }, + "require": { + "php": "^7.1|^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^6.0|^7.0|^8.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0", + "psr/log": "^1.0" + }, + "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/v0.5.3" + }, + "time": "2021-03-21T12:59:47+00:00" }, { "name": "doctrine/doctrine-bundle", - "version": "1.12.10", + "version": "1.12.13", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "2ee4c25a847e744e93d7fc2895e059ad9ef7d10c" + "reference": "85460b85edd8f61a16ad311e7ffc5d255d3c937c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/2ee4c25a847e744e93d7fc2895e059ad9ef7d10c", - "reference": "2ee4c25a847e744e93d7fc2895e059ad9ef7d10c", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/85460b85edd8f61a16ad311e7ffc5d255d3c937c", + "reference": "85460b85edd8f61a16ad311e7ffc5d255d3c937c", "shasum": "" }, "require": { - "doctrine/dbal": "^2.5.12", + "doctrine/dbal": "^2.5.12|^3.0", "doctrine/doctrine-cache-bundle": "~1.2", "doctrine/persistence": "^1.3.3", "jdorn/sql-formatter": "^1.2.16", @@ -496,7 +624,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "1.12.x-dev" + "dev-master": "2.3.x-dev" } }, "autoload": { @@ -534,6 +662,10 @@ "orm", "persistence" ], + "support": { + "issues": "https://github.com/doctrine/DoctrineBundle/issues", + "source": "https://github.com/doctrine/DoctrineBundle/tree/1.12.13" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -548,7 +680,7 @@ "type": "tidelift" } ], - "time": "2020-05-25T19:50:59+00:00" + "time": "2020-11-14T13:38:44+00:00" }, { "name": "doctrine/doctrine-cache-bundle", @@ -639,6 +771,11 @@ "cache", "caching" ], + "support": { + "issues": "https://github.com/doctrine/DoctrineCacheBundle/issues", + "source": "https://github.com/doctrine/DoctrineCacheBundle/tree/1.4.0" + }, + "abandoned": true, "time": "2019-11-29T11:22:01+00:00" }, { @@ -715,6 +852,10 @@ "event system", "events" ], + "support": { + "issues": "https://github.com/doctrine/event-manager/issues", + "source": "https://github.com/doctrine/event-manager/tree/1.1.x" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -733,26 +874,26 @@ }, { "name": "doctrine/inflector", - "version": "1.4.3", + "version": "1.4.4", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "4650c8b30c753a76bf44fb2ed00117d6f367490c" + "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/4650c8b30c753a76bf44fb2ed00117d6f367490c", - "reference": "4650c8b30c753a76bf44fb2ed00117d6f367490c", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", + "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^7.0", - "phpstan/phpstan": "^0.11", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-strict-rules": "^0.11", + "doctrine/coding-standard": "^8.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "type": "library", @@ -807,6 +948,10 @@ "uppercase", "words" ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/1.4.4" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -821,40 +966,35 @@ "type": "tidelift" } ], - "time": "2020-05-29T07:19:59+00:00" + "time": "2021-04-16T17:34:40+00:00" }, { "name": "doctrine/instantiator", - "version": "1.3.1", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "f350df0268e904597e3bd9c4685c53e0e333feea" + "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f350df0268e904597e3bd9c4685c53e0e333feea", - "reference": "f350df0268e904597e3bd9c4685c53e0e333feea", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", + "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^6.0", + "doctrine/coding-standard": "^8.0", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.13", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-shim": "^0.11", - "phpunit/phpunit": "^7.0" + "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", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" @@ -868,7 +1008,7 @@ { "name": "Marco Pivetta", "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" + "homepage": "https://ocramius.github.io/" } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", @@ -877,6 +1017,10 @@ "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", @@ -891,7 +1035,7 @@ "type": "tidelift" } ], - "time": "2020-05-29T17:27:14+00:00" + "time": "2020-11-10T18:47:58+00:00" }, { "name": "doctrine/lexer", @@ -953,6 +1097,10 @@ "parser", "php" ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.1" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -971,20 +1119,21 @@ }, { "name": "doctrine/orm", - "version": "v2.7.3", + "version": "2.7.5", "source": { "type": "git", "url": "https://github.com/doctrine/orm.git", - "reference": "d95e03ba660d50d785a9925f41927fef0ee553cf" + "reference": "01187c9260cd085529ddd1273665217cae659640" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/orm/zipball/d95e03ba660d50d785a9925f41927fef0ee553cf", - "reference": "d95e03ba660d50d785a9925f41927fef0ee553cf", + "url": "https://api.github.com/repos/doctrine/orm/zipball/01187c9260cd085529ddd1273665217cae659640", + "reference": "01187c9260cd085529ddd1273665217cae659640", "shasum": "" }, "require": { - "doctrine/annotations": "^1.8", + "composer/package-versions-deprecated": "^1.8", + "doctrine/annotations": "^1.11.1", "doctrine/cache": "^1.9.1", "doctrine/collections": "^1.5", "doctrine/common": "^2.11 || ^3.0", @@ -995,14 +1144,13 @@ "doctrine/lexer": "^1.0", "doctrine/persistence": "^1.3.3 || ^2.0", "ext-pdo": "*", - "ocramius/package-versions": "^1.2", "php": "^7.1", "symfony/console": "^3.0|^4.0|^5.0" }, "require-dev": { - "doctrine/coding-standard": "^5.0", + "doctrine/coding-standard": "^6.0", "phpstan/phpstan": "^0.12.18", - "phpunit/phpunit": "^7.5", + "phpunit/phpunit": "^8.0", "symfony/yaml": "^3.4|^4.0|^5.0", "vimeo/psalm": "^3.11" }, @@ -1055,21 +1203,11 @@ "database", "orm" ], - "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/orm", - "type": "tidelift" - } - ], - "time": "2020-05-26T16:03:49+00:00" + "support": { + "issues": "https://github.com/doctrine/orm/issues", + "source": "https://github.com/doctrine/orm/tree/2.7.5" + }, + "time": "2020-12-03T08:52:14+00:00" }, { "name": "doctrine/persistence", @@ -1153,6 +1291,10 @@ "orm", "persistence" ], + "support": { + "issues": "https://github.com/doctrine/persistence/issues", + "source": "https://github.com/doctrine/persistence/tree/1.3.x" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -1171,32 +1313,32 @@ }, { "name": "doctrine/reflection", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/doctrine/reflection.git", - "reference": "55e71912dfcd824b2fdd16f2d9afe15684cfce79" + "reference": "fa587178be682efe90d005e3a322590d6ebb59a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/reflection/zipball/55e71912dfcd824b2fdd16f2d9afe15684cfce79", - "reference": "55e71912dfcd824b2fdd16f2d9afe15684cfce79", + "url": "https://api.github.com/repos/doctrine/reflection/zipball/fa587178be682efe90d005e3a322590d6ebb59a5", + "reference": "fa587178be682efe90d005e3a322590d6ebb59a5", "shasum": "" }, "require": { "doctrine/annotations": "^1.0", "ext-tokenizer": "*", - "php": "^7.1" + "php": "^7.1 || ^8.0" }, "conflict": { "doctrine/common": "<2.9" }, "require-dev": { - "doctrine/coding-standard": "^5.0", + "doctrine/coding-standard": "^6.0 || ^8.2.0", "doctrine/common": "^2.10", - "phpstan/phpstan": "^0.11.0", - "phpstan/phpstan-phpunit": "^0.11.0", - "phpunit/phpunit": "^7.0" + "phpstan/phpstan": "^0.11.0 || ^0.12.20", + "phpstan/phpstan-phpunit": "^0.11.0 || ^0.12.16", + "phpunit/phpunit": "^7.5 || ^9.1.5" }, "type": "library", "extra": { @@ -1245,7 +1387,94 @@ "reflection", "static" ], - "time": "2020-03-27T11:06:43+00:00" + "support": { + "issues": "https://github.com/doctrine/reflection/issues", + "source": "https://github.com/doctrine/reflection/tree/1.2.2" + }, + "abandoned": "roave/better-reflection", + "time": "2020-10-27T21:46:55+00:00" + }, + { + "name": "friendsofphp/proxy-manager-lts", + "version": "v1.0.5", + "source": { + "type": "git", + "url": "https://github.com/FriendsOfPHP/proxy-manager-lts.git", + "reference": "006aa5d32f887a4db4353b13b5b5095613e0611f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FriendsOfPHP/proxy-manager-lts/zipball/006aa5d32f887a4db4353b13b5b5095613e0611f", + "reference": "006aa5d32f887a4db4353b13b5b5095613e0611f", + "shasum": "" + }, + "require": { + "laminas/laminas-code": "~3.4.1|^4.0", + "php": ">=7.1", + "symfony/filesystem": "^4.4.17|^5.0|^6.0" + }, + "conflict": { + "laminas/laminas-stdlib": "<3.2.1", + "zendframework/zend-stdlib": "<3.2.1" + }, + "replace": { + "ocramius/proxy-manager": "^2.1" + }, + "require-dev": { + "ext-phar": "*", + "symfony/phpunit-bridge": "^5.2|^6.0" + }, + "type": "library", + "extra": { + "thanks": { + "name": "ocramius/proxy-manager", + "url": "https://github.com/Ocramius/ProxyManager" + } + }, + "autoload": { + "psr-4": { + "ProxyManager\\": "src/ProxyManager" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.io/" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + } + ], + "description": "Adding support for a wider range of PHP versions to ocramius/proxy-manager", + "homepage": "https://github.com/FriendsOfPHP/proxy-manager-lts", + "keywords": [ + "aop", + "lazy loading", + "proxy", + "proxy pattern", + "service proxies" + ], + "support": { + "issues": "https://github.com/FriendsOfPHP/proxy-manager-lts/issues", + "source": "https://github.com/FriendsOfPHP/proxy-manager-lts/tree/v1.0.5" + }, + "funding": [ + { + "url": "https://github.com/Ocramius", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ocramius/proxy-manager", + "type": "tidelift" + } + ], + "time": "2021-05-22T16:11:15+00:00" }, { "name": "jdorn/sql-formatter", @@ -1295,29 +1524,35 @@ "highlight", "sql" ], + "support": { + "issues": "https://github.com/jdorn/sql-formatter/issues", + "source": "https://github.com/jdorn/sql-formatter/tree/master" + }, "time": "2014-01-12T16:20:24+00:00" }, { "name": "jms/metadata", - "version": "2.3.0", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/metadata.git", - "reference": "6eb35fce7142234946d58d13e1aa829e9b78b095" + "reference": "b5c52549807b2d855b3d7e36ec164c00eb547338" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/6eb35fce7142234946d58d13e1aa829e9b78b095", - "reference": "6eb35fce7142234946d58d13e1aa829e9b78b095", + "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/b5c52549807b2d855b3d7e36ec164c00eb547338", + "reference": "b5c52549807b2d855b3d7e36ec164c00eb547338", "shasum": "" }, "require": { - "php": "^7.2" + "php": "^7.2|^8.0" }, "require-dev": { "doctrine/cache": "^1.0", - "doctrine/coding-standard": "^4.0", - "phpunit/phpunit": "^7.0", + "doctrine/coding-standard": "^8.0", + "mikey179/vfsstream": "^1.6.7", + "phpunit/phpunit": "^8.5|^9.0", + "psr/container": "^1.0", "symfony/cache": "^3.1|^4.0|^5.0", "symfony/dependency-injection": "^3.1|^4.0|^5.0" }, @@ -1353,20 +1588,24 @@ "xml", "yaml" ], - "time": "2020-06-06T16:52:59+00:00" + "support": { + "issues": "https://github.com/schmittjoh/metadata/issues", + "source": "https://github.com/schmittjoh/metadata/tree/2.5.0" + }, + "time": "2021-03-07T19:20:09+00:00" }, { "name": "jms/serializer", - "version": "3.9.0", + "version": "3.12.3", "source": { "type": "git", "url": "https://github.com/schmittjoh/serializer.git", - "reference": "4fe470c179ae8da9e243dd8fac6c0fc2302d9378" + "reference": "f908d17afd08f0aab9c083322022682b41483c5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/4fe470c179ae8da9e243dd8fac6c0fc2302d9378", - "reference": "4fe470c179ae8da9e243dd8fac6c0fc2302d9378", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/f908d17afd08f0aab9c083322022682b41483c5b", + "reference": "f908d17afd08f0aab9c083322022682b41483c5b", "shasum": "" }, "require": { @@ -1374,16 +1613,18 @@ "doctrine/instantiator": "^1.0.3", "doctrine/lexer": "^1.1", "jms/metadata": "^2.0", - "php": "^7.2" + "php": "^7.2||^8.0", + "phpstan/phpdoc-parser": "^0.4 || ^0.5" }, "require-dev": { - "doctrine/coding-standard": "^5.0", + "doctrine/coding-standard": "^8.1", "doctrine/orm": "~2.1", "doctrine/persistence": "^1.3.3|^2.0|^3.0", "doctrine/phpcr-odm": "^1.3|^2.0", "ext-pdo_sqlite": "*", "jackalope/jackalope-doctrine-dbal": "^1.1.5", "ocramius/proxy-manager": "^1.0|^2.0", + "phpstan/phpstan": "^0.12.65", "phpunit/phpunit": "^8.0||^9.0", "psr/container": "^1.0", "symfony/dependency-injection": "^3.0|^4.0|^5.0", @@ -1403,7 +1644,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.9-dev" + "dev-master": "3.12-dev" } }, "autoload": { @@ -1434,26 +1675,30 @@ "serialization", "xml" ], + "support": { + "issues": "https://github.com/schmittjoh/serializer/issues", + "source": "https://github.com/schmittjoh/serializer/tree/3.12.3" + }, "funding": [ { "url": "https://github.com/goetas", "type": "github" } ], - "time": "2020-08-26T07:23:26+00:00" + "time": "2021-04-25T11:03:24+00:00" }, { "name": "knplabs/knp-menu", - "version": "2.6.0", + "version": "2.6.1", "source": { "type": "git", "url": "https://github.com/KnpLabs/KnpMenu.git", - "reference": "b6aade272c345b6fbd07fce5929a761cba0909b8" + "reference": "56ffccc3ed8f7b69ec6e6d587e9f840c0a270739" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/KnpMenu/zipball/b6aade272c345b6fbd07fce5929a761cba0909b8", - "reference": "b6aade272c345b6fbd07fce5929a761cba0909b8", + "url": "https://api.github.com/repos/KnpLabs/KnpMenu/zipball/56ffccc3ed8f7b69ec6e6d587e9f840c0a270739", + "reference": "56ffccc3ed8f7b69ec6e6d587e9f840c0a270739", "shasum": "" }, "require": { @@ -1507,7 +1752,11 @@ "menu", "tree" ], - "time": "2019-09-02T10:16:14+00:00" + "support": { + "issues": "https://github.com/KnpLabs/KnpMenu/issues", + "source": "https://github.com/KnpLabs/KnpMenu/tree/2.6.1" + }, + "time": "2021-02-19T07:45:31+00:00" }, { "name": "knplabs/knp-menu-bundle", @@ -1566,36 +1815,43 @@ "keywords": [ "menu" ], + "support": { + "issues": "https://github.com/KnpLabs/KnpMenuBundle/issues", + "source": "https://github.com/KnpLabs/KnpMenuBundle/tree/master" + }, "time": "2019-09-19T08:51:48+00:00" }, { "name": "knplabs/knp-time-bundle", - "version": "v1.13.0", + "version": "v1.16.0", "source": { "type": "git", "url": "https://github.com/KnpLabs/KnpTimeBundle.git", - "reference": "af883db02080083444034b0d95f1103d181574ef" + "reference": "5937765753967d691ffde7ea23770a74df9b11ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/KnpTimeBundle/zipball/af883db02080083444034b0d95f1103d181574ef", - "reference": "af883db02080083444034b0d95f1103d181574ef", + "url": "https://api.github.com/repos/KnpLabs/KnpTimeBundle/zipball/5937765753967d691ffde7ea23770a74df9b11ba", + "reference": "5937765753967d691ffde7ea23770a74df9b11ba", "shasum": "" }, "require": { - "php": "^7.1.3", - "symfony/config": "~3.4|^4.3|^5.0", - "symfony/dependency-injection": "~3.4|^4.3|^5.0", + "php": ">=7.2.5", + "symfony/config": "^4.3|^5.0", + "symfony/dependency-injection": "^4.3|^5.0", "symfony/translation": "^4.3|^5.0" }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, "require-dev": { "symfony/framework-bundle": "^4.3|^5.0", - "symfony/phpunit-bridge": "^4.3|^5.0", - "symfony/templating": "~3.4|^4.3|^5.0", + "symfony/phpunit-bridge": "^5.2", + "symfony/templating": "^4.3|^5.0", "symfony/twig-bundle": "^4.3|^5.0" }, "suggest": { - "symfony/twig-bundle": "to use the Twig time_diff function" + "symfony/twig-bundle": "to use the Twig `time_diff()` function or `|ago` filter" }, "type": "symfony-bundle", "extra": { @@ -1622,7 +1878,7 @@ "homepage": "http://github.com/KnpLabs/KnpTimeBundle/contributors" } ], - "description": "Knplabs time bundle makes your dates look sensible and descriptive", + "description": "Making your dates look sensible and descriptive", "homepage": "http://github.com/KnpLabs/KnpTimeBundle", "keywords": [ "bundle", @@ -1632,131 +1888,129 @@ "knplabs", "time" ], - "time": "2020-08-14T14:19:03+00:00" + "support": { + "issues": "https://github.com/KnpLabs/KnpTimeBundle/issues", + "source": "https://github.com/KnpLabs/KnpTimeBundle/tree/v1.16.0" + }, + "time": "2021-03-02T16:13:12+00:00" }, { - "name": "monolog/monolog", - "version": "1.25.5", + "name": "laminas/laminas-code", + "version": "4.4.0", "source": { "type": "git", - "url": "https://github.com/Seldaek/monolog.git", - "reference": "1817faadd1846cd08be9a49e905dc68823bc38c0" + "url": "https://github.com/laminas/laminas-code.git", + "reference": "2b0bb59ade31a045fd3ff0097dc558bb896f6596" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1817faadd1846cd08be9a49e905dc68823bc38c0", - "reference": "1817faadd1846cd08be9a49e905dc68823bc38c0", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/2b0bb59ade31a045fd3ff0097dc558bb896f6596", + "reference": "2b0bb59ade31a045fd3ff0097dc558bb896f6596", "shasum": "" }, "require": { - "php": ">=5.3.0", - "psr/log": "~1.0" + "php": "^7.4 || ~8.0.0" }, - "provide": { - "psr/log-implementation": "1.0.0" + "conflict": { + "phpspec/prophecy": "<1.9.0" }, "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", - "doctrine/couchdb": "~1.0@dev", - "graylog2/gelf-php": "~1.0", - "php-amqplib/php-amqplib": "~2.4", - "php-console/php-console": "^3.1.3", - "php-parallel-lint/php-parallel-lint": "^1.0", - "phpunit/phpunit": "~4.5", - "ruflin/elastica": ">=0.90 <3.0", - "sentry/sentry": "^0.13", - "swiftmailer/swiftmailer": "^5.3|^6.0" + "doctrine/annotations": "^1.10.4", + "ext-phar": "*", + "laminas/laminas-coding-standard": "^2.1.4", + "laminas/laminas-stdlib": "^3.3.0", + "phpunit/phpunit": "^9.4.2", + "psalm/plugin-phpunit": "^0.14.0", + "vimeo/psalm": "^4.3.1" }, "suggest": { - "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", - "doctrine/couchdb": "Allow sending log messages to a CouchDB server", - "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", - "ext-mongo": "Allow sending log messages to a MongoDB server", - "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", - "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", - "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", - "php-console/php-console": "Allow sending log messages to Google Chrome", - "rollbar/rollbar": "Allow sending log messages to Rollbar", - "ruflin/elastica": "Allow sending log messages to an Elastic Search server", - "sentry/sentry": "Allow sending log messages to a Sentry server" + "doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features", + "laminas/laminas-stdlib": "Laminas\\Stdlib component", + "laminas/laminas-zendframework-bridge": "A bridge with Zend Framework" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { "psr-4": { - "Monolog\\": "src/Monolog" + "Laminas\\Code\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } + "BSD-3-Clause" ], - "description": "Sends your logs to files, sockets, inboxes, databases and various web services", - "homepage": "http://github.com/Seldaek/monolog", + "description": "Extensions to the PHP Reflection API, static code scanning, and code generation", + "homepage": "https://laminas.dev", "keywords": [ - "log", - "logging", - "psr-3" - ], + "code", + "laminas", + "laminasframework" + ], + "support": { + "chat": "https://laminas.dev/chat", + "docs": "https://docs.laminas.dev/laminas-code/", + "forum": "https://discourse.laminas.dev", + "issues": "https://github.com/laminas/laminas-code/issues", + "rss": "https://github.com/laminas/laminas-code/releases.atom", + "source": "https://github.com/laminas/laminas-code" + }, "funding": [ { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", - "type": "tidelift" + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" } ], - "time": "2020-07-23T08:35:51+00:00" + "time": "2021-06-17T13:39:43+00:00" }, { - "name": "ocramius/package-versions", - "version": "1.9.0", + "name": "monolog/monolog", + "version": "1.26.1", "source": { "type": "git", - "url": "https://github.com/Ocramius/PackageVersions.git", - "reference": "94c9d42a466c57f91390cdd49c81313264f49d85" + "url": "https://github.com/Seldaek/monolog.git", + "reference": "c6b00f05152ae2c9b04a448f99c7590beb6042f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/94c9d42a466c57f91390cdd49c81313264f49d85", - "reference": "94c9d42a466c57f91390cdd49c81313264f49d85", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c6b00f05152ae2c9b04a448f99c7590beb6042f5", + "reference": "c6b00f05152ae2c9b04a448f99c7590beb6042f5", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1.0 || ^2.0", - "php": "^7.4.0" + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "provide": { + "psr/log-implementation": "1.0.0" }, "require-dev": { - "composer/composer": "^1.9.3 || ^2.0@dev", - "doctrine/coding-standard": "^7.0.2", - "ext-zip": "^1.15.0", - "infection/infection": "^0.15.3", - "phpunit/phpunit": "^9.1.1", - "vimeo/psalm": "^3.9.3" + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "graylog2/gelf-php": "~1.0", + "php-amqplib/php-amqplib": "~2.4", + "php-console/php-console": "^3.1.3", + "phpstan/phpstan": "^0.12.59", + "phpunit/phpunit": "~4.5", + "ruflin/elastica": ">=0.90 <3.0", + "sentry/sentry": "^0.13", + "swiftmailer/swiftmailer": "^5.3|^6.0" }, - "type": "composer-plugin", - "extra": { - "class": "PackageVersions\\Installer", - "branch-alias": { - "dev-master": "1.99.x-dev" - } + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "sentry/sentry": "Allow sending log messages to a Sentry server" }, + "type": "library", "autoload": { "psr-4": { - "PackageVersions\\": "src/PackageVersions" + "Monolog\\": "src/Monolog" } }, "notification-url": "https://packagist.org/downloads/", @@ -1765,67 +2019,82 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "http://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/1.26.1" + }, "funding": [ { - "url": "https://github.com/Ocramius", + "url": "https://github.com/Seldaek", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/ocramius/package-versions", + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", "type": "tidelift" } ], - "time": "2020-06-22T14:15:44+00:00" + "time": "2021-05-28T08:32:12+00:00" }, { - "name": "paragonie/random_compat", - "version": "v9.99.99", + "name": "phpstan/phpdoc-parser", + "version": "0.5.5", "source": { "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "ea0b17460ec38e20d7eb64e7ec49b5d44af5d28c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", - "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/ea0b17460ec38e20d7eb64e7ec49b5d44af5d28c", + "reference": "ea0b17460ec38e20d7eb64e7ec49b5d44af5d28c", "shasum": "" }, "require": { - "php": "^7" + "php": "^7.1 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "4.*|5.*", - "vimeo/psalm": "^1" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.87", + "phpstan/phpstan-strict-rules": "^0.12.5", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.5-dev" + } + }, + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "polyfill", - "pseudorandom", - "random" - ], - "time": "2018-07-02T15:55:56+00:00" + "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/0.5.5" + }, + "time": "2021-06-11T13:24:46+00:00" }, { "name": "psr/cache", @@ -1871,31 +2140,29 @@ "psr", "psr-6" ], + "support": { + "source": "https://github.com/php-fig/cache/tree/master" + }, "time": "2016-08-06T20:24:11+00:00" }, { "name": "psr/container", - "version": "1.0.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=7.2.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -1908,7 +2175,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common Container Interface (PHP FIG PSR-11)", @@ -1920,7 +2187,11 @@ "container-interop", "psr" ], - "time": "2017-02-14T16:28:37+00:00" + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/1.1.1" + }, + "time": "2021-03-05T17:36:06+00:00" }, { "name": "psr/link", @@ -1969,20 +2240,23 @@ "psr-13", "rest" ], + "support": { + "source": "https://github.com/php-fig/link/tree/master" + }, "time": "2016-10-28T16:06:13+00:00" }, { "name": "psr/log", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", "shasum": "" }, "require": { @@ -2006,7 +2280,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for logging libraries", @@ -2016,7 +2290,10 @@ "psr", "psr-3" ], - "time": "2020-03-23T09:12:05+00:00" + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.4" + }, + "time": "2021-05-03T11:20:27+00:00" }, { "name": "sonata-project/block-bundle", @@ -2104,6 +2381,10 @@ "block", "sonata" ], + "support": { + "issues": "https://github.com/sonata-project/SonataBlockBundle/issues", + "source": "https://github.com/sonata-project/SonataBlockBundle/tree/3.20.0" + }, "time": "2020-06-23T19:31:57+00:00" }, { @@ -2173,6 +2454,10 @@ "mongodb", "redis" ], + "support": { + "issues": "https://github.com/sonata-project/cache/issues", + "source": "https://github.com/sonata-project/cache/tree/2.x" + }, "time": "2017-12-08T09:22:44+00:00" }, { @@ -2245,6 +2530,10 @@ "doctrine2", "json" ], + "support": { + "issues": "https://github.com/sonata-project/sonata-doctrine-extensions/issues", + "source": "https://github.com/sonata-project/sonata-doctrine-extensions/tree/1.9.1" + }, "time": "2020-08-09T21:39:55+00:00" }, { @@ -2325,6 +2614,10 @@ "form", "symfony" ], + "support": { + "issues": "https://github.com/sonata-project/form-extensions/issues", + "source": "https://github.com/sonata-project/form-extensions/tree/1.6.0" + }, "time": "2020-08-05T19:56:22+00:00" }, { @@ -2402,6 +2695,9 @@ "interoperability", "standards" ], + "support": { + "source": "https://github.com/symfony/contracts/tree/v1.1.10" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2420,30 +2716,30 @@ }, { "name": "symfony/monolog-bundle", - "version": "v3.5.0", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bundle.git", - "reference": "dd80460fcfe1fa2050a7103ad818e9d0686ce6fd" + "reference": "4054b2e940a25195ae15f0a49ab0c51718922eb4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/dd80460fcfe1fa2050a7103ad818e9d0686ce6fd", - "reference": "dd80460fcfe1fa2050a7103ad818e9d0686ce6fd", + "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/4054b2e940a25195ae15f0a49ab0c51718922eb4", + "reference": "4054b2e940a25195ae15f0a49ab0c51718922eb4", "shasum": "" }, "require": { "monolog/monolog": "~1.22 || ~2.0", - "php": ">=5.6", - "symfony/config": "~3.4 || ~4.0 || ^5.0", - "symfony/dependency-injection": "~3.4.10 || ^4.0.10 || ^5.0", - "symfony/http-kernel": "~3.4 || ~4.0 || ^5.0", - "symfony/monolog-bridge": "~3.4 || ~4.0 || ^5.0" + "php": ">=7.1.3", + "symfony/config": "~4.4 || ^5.0", + "symfony/dependency-injection": "^4.4 || ^5.0", + "symfony/http-kernel": "~4.4 || ^5.0", + "symfony/monolog-bridge": "~4.4 || ^5.0" }, "require-dev": { - "symfony/console": "~3.4 || ~4.0 || ^5.0", - "symfony/phpunit-bridge": "^3.4.19 || ^4.0 || ^5.0", - "symfony/yaml": "~3.4 || ~4.0 || ^5.0" + "symfony/console": "~4.4 || ^5.0", + "symfony/phpunit-bridge": "^5.1", + "symfony/yaml": "~4.4 || ^5.0" }, "type": "symfony-bundle", "extra": { @@ -2470,33 +2766,51 @@ }, { "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "homepage": "https://symfony.com/contributors" } ], "description": "Symfony MonologBundle", - "homepage": "http://symfony.com", + "homepage": "https://symfony.com", "keywords": [ "log", "logging" ], - "time": "2019-11-13T13:11:14+00:00" + "support": { + "issues": "https://github.com/symfony/monolog-bundle/issues", + "source": "https://github.com/symfony/monolog-bundle/tree/v3.7.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-03-31T07:20:47+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.18.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "1c302646f6efc070cd46856e600e5e0684d6b454" + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1c302646f6efc070cd46856e600e5e0684d6b454", - "reference": "1c302646f6efc070cd46856e600e5e0684d6b454", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-ctype": "For best performance" @@ -2504,7 +2818,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2541,6 +2855,9 @@ "polyfill", "portable" ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2555,33 +2872,32 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/polyfill-intl-icu", - "version": "v1.18.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-icu.git", - "reference": "4e45a6e39041a9cc78835b11abc47874ae302a55" + "reference": "4a80a521d6176870b6445cfb469c130f9cae1dda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/4e45a6e39041a9cc78835b11abc47874ae302a55", - "reference": "4e45a6e39041a9cc78835b11abc47874ae302a55", + "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/4a80a521d6176870b6445cfb469c130f9cae1dda", + "reference": "4a80a521d6176870b6445cfb469c130f9cae1dda", "shasum": "" }, "require": { - "php": ">=5.3.3", - "symfony/intl": "~2.3|~3.0|~4.0|~5.0" + "php": ">=7.1" }, "suggest": { - "ext-intl": "For best performance" + "ext-intl": "For best performance and support of other locales than \"en\"" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2591,6 +2907,15 @@ "autoload": { "files": [ "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Icu\\": "" + }, + "classmap": [ + "Resources/stubs" + ], + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2617,6 +2942,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-icu/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2631,26 +2959,25 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-05-24T10:04:56+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.18.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251" + "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251", - "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/65bd267525e82759e7d8c4e8ceea44f398838e65", + "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65", "shasum": "" }, "require": { - "php": ">=5.3.3", + "php": ">=7.1", "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php70": "^1.10", "symfony/polyfill-php72": "^1.10" }, "suggest": { @@ -2659,7 +2986,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2702,6 +3029,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2716,24 +3046,24 @@ "type": "tidelift" } ], - "time": "2020-08-04T06:02:08+00:00" + "time": "2021-05-27T09:27:20+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.18.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e" + "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e", - "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", + "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-intl": "For best performance" @@ -2741,7 +3071,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2783,6 +3113,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2797,24 +3130,24 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.18.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a" + "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a", - "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2df51500adbaebdc4c38dea4c89a2e131c45c8a1", + "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-mbstring": "For best performance" @@ -2822,7 +3155,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2860,6 +3193,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2874,30 +3210,29 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-05-27T09:27:20+00:00" }, { - "name": "symfony/polyfill-php70", - "version": "v1.18.1", + "name": "symfony/polyfill-php72", + "version": "v1.23.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3" + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "9a142215a36a3888e30d0a9eeea9766764e96976" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3", - "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976", + "reference": "9a142215a36a3888e30d0a9eeea9766764e96976", "shasum": "" }, "require": { - "paragonie/random_compat": "~1.0|~2.0|~9.99", - "php": ">=5.3.3" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2906,13 +3241,10 @@ }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" + "Symfony\\Polyfill\\Php72\\": "" }, "files": [ "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2929,7 +3261,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -2937,6 +3269,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-php72/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2951,29 +3286,29 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-05-27T09:17:38+00:00" }, { - "name": "symfony/polyfill-php72", - "version": "v1.18.1", + "name": "symfony/polyfill-php73", + "version": "v1.23.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "639447d008615574653fb3bc60d1986d7172eaae" + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae", - "reference": "639447d008615574653fb3bc60d1986d7172eaae", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010", + "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2982,10 +3317,13 @@ }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" + "Symfony\\Polyfill\\Php73\\": "" }, "files": [ "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3002,7 +3340,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -3010,6 +3348,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3024,29 +3365,29 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.18.1", + "name": "symfony/polyfill-php80", + "version": "v1.23.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fffa1a52a023e782cdcc221d781fe1ec8f87fcca", - "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/eca0bf41ed421bed1b57c4958bab16aa86b757d0", + "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3055,7 +3396,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" + "Symfony\\Polyfill\\Php80\\": "" }, "files": [ "bootstrap.php" @@ -3069,6 +3410,10 @@ "MIT" ], "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -3078,7 +3423,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -3086,6 +3431,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3100,29 +3448,29 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { - "name": "symfony/polyfill-php80", - "version": "v1.18.1", + "name": "symfony/polyfill-php81", + "version": "v1.23.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981" + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "e66119f3de95efc359483f810c4c3e6436279436" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/d87d5766cbf48d72388a9f6b85f280c8ad51f981", - "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/e66119f3de95efc359483f810c4c3e6436279436", + "reference": "e66119f3de95efc359483f810c4c3e6436279436", "shasum": "" }, "require": { - "php": ">=7.0.8" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3131,7 +3479,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" + "Symfony\\Polyfill\\Php81\\": "" }, "files": [ "bootstrap.php" @@ -3145,10 +3493,6 @@ "MIT" ], "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -3158,7 +3502,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -3166,6 +3510,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-php81/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3180,28 +3527,29 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-05-21T13:25:03+00:00" }, { "name": "symfony/symfony", - "version": "v4.4.13", + "version": "v4.4.25", "source": { "type": "git", "url": "https://github.com/symfony/symfony.git", - "reference": "9b8314080fb15e84e030f94488d9e1fa17adb846" + "reference": "c71e9ba222f7a970e92399c1fb5d82af18c77dd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/symfony/zipball/9b8314080fb15e84e030f94488d9e1fa17adb846", - "reference": "9b8314080fb15e84e030f94488d9e1fa17adb846", + "url": "https://api.github.com/repos/symfony/symfony/zipball/c71e9ba222f7a970e92399c1fb5d82af18c77dd4", + "reference": "c71e9ba222f7a970e92399c1fb5d82af18c77dd4", "shasum": "" }, "require": { "doctrine/event-manager": "~1.0", "doctrine/persistence": "^1.3|^2", "ext-xml": "*", + "friendsofphp/proxy-manager-lts": "^1.0.2", "php": ">=7.1.3", - "psr/cache": "~1.0", + "psr/cache": "^1.0|^2.0", "psr/container": "^1.0", "psr/link": "^1.0", "psr/log": "~1.0", @@ -3213,16 +3561,34 @@ "symfony/polyfill-php72": "~1.5", "symfony/polyfill-php73": "^1.11", "symfony/polyfill-php80": "^1.15", - "twig/twig": "^1.41|^2.10|^3.0" + "symfony/polyfill-php81": "^1.22", + "twig/twig": "^1.43|^2.13|^3.0.4" }, "conflict": { + "egulias/email-validator": "~3.0.0", "masterminds/html5": "<2.6", "monolog/monolog": ">=2", "ocramius/proxy-manager": "<2.1", - "phpdocumentor/reflection-docblock": "<3.0||>=3.2.0,<3.2.2", - "phpdocumentor/type-resolver": "<0.3.0", + "phpdocumentor/reflection-docblock": "<3.0|>=3.2.0,<3.2.2", + "phpdocumentor/type-resolver": "<0.3.0|1.3.*", "phpunit/phpunit": "<5.4.3" }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/cache-implementation": "1.0|2.0", + "psr/container-implementation": "1.0", + "psr/event-dispatcher-implementation": "1.0", + "psr/http-client-implementation": "1.0", + "psr/link-implementation": "1.0", + "psr/log-implementation": "1.0", + "psr/simple-cache-implementation": "1.0", + "symfony/cache-implementation": "1.0|2.0", + "symfony/event-dispatcher-implementation": "1.1", + "symfony/http-client-implementation": "1.1|2.0", + "symfony/service-implementation": "1.0|2.0", + "symfony/translation-implementation": "1.0|2.0" + }, "replace": { "symfony/amazon-mailer": "self.version", "symfony/asset": "self.version", @@ -3290,20 +3656,17 @@ "require-dev": { "cache/integration-tests": "dev-master", "composer/package-versions-deprecated": "^1.8", - "doctrine/annotations": "~1.0", - "doctrine/cache": "~1.6", + "doctrine/annotations": "^1.10.4", + "doctrine/cache": "^1.6|^2.0", "doctrine/collections": "~1.0", "doctrine/data-fixtures": "^1.1", - "doctrine/dbal": "~2.4|^3.0", - "doctrine/doctrine-bundle": "^1.5|^2.0", - "doctrine/orm": "~2.4,>=2.4.5", - "doctrine/reflection": "~1.0", - "egulias/email-validator": "~1.2,>=1.2.8|~2.0", - "guzzlehttp/promises": "^1.3.1", + "doctrine/dbal": "^2.6|^3.0", + "doctrine/orm": "^2.6.3", + "egulias/email-validator": "^2.1.10|^3.1", + "guzzlehttp/promises": "^1.4", "masterminds/html5": "^2.6", "monolog/monolog": "^1.25.1", "nyholm/psr7": "^1.0", - "ocramius/proxy-manager": "^2.1", "paragonie/sodium_compat": "^1.8", "php-http/httplug": "^1.0|^2.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", @@ -3312,16 +3675,11 @@ "psr/simple-cache": "^1.0", "symfony/phpunit-bridge": "^5.2", "symfony/security-acl": "~2.8|~3.0", - "twig/cssinliner-extra": "^2.12", - "twig/inky-extra": "^2.12", - "twig/markdown-extra": "^2.12" + "twig/cssinliner-extra": "^2.12|^3", + "twig/inky-extra": "^2.12|^3", + "twig/markdown-extra": "^2.12|^3" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/", @@ -3357,6 +3715,10 @@ "keywords": [ "framework" ], + "support": { + "issues": "https://github.com/symfony/symfony/issues", + "source": "https://github.com/symfony/symfony/tree/v4.4.25" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3371,35 +3733,35 @@ "type": "tidelift" } ], - "time": "2020-09-02T08:11:15+00:00" + "time": "2021-06-01T07:12:23+00:00" }, { "name": "symfony/webpack-encore-bundle", - "version": "v1.7.3", + "version": "v1.12.0", "source": { "type": "git", "url": "https://github.com/symfony/webpack-encore-bundle.git", - "reference": "5c0f659eceae87271cce54bbdfb05ed8ec9007bd" + "reference": "9943a59f8551b7a8181e19a2b4efa60e5907c667" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/webpack-encore-bundle/zipball/5c0f659eceae87271cce54bbdfb05ed8ec9007bd", - "reference": "5c0f659eceae87271cce54bbdfb05ed8ec9007bd", + "url": "https://api.github.com/repos/symfony/webpack-encore-bundle/zipball/9943a59f8551b7a8181e19a2b4efa60e5907c667", + "reference": "9943a59f8551b7a8181e19a2b4efa60e5907c667", "shasum": "" }, "require": { - "php": "^7.1.3", - "symfony/asset": "^3.4 || ^4.0 || ^5.0", - "symfony/config": "^3.4 || ^4.0 || ^5.0", - "symfony/dependency-injection": "^3.4 || ^4.0 || ^5.0", - "symfony/http-kernel": "^3.4 || ^4.0 || ^5.0", + "php": ">=7.1.3", + "symfony/asset": "^4.4 || ^5.0", + "symfony/config": "^4.4 || ^5.0", + "symfony/dependency-injection": "^4.4 || ^5.0", + "symfony/http-kernel": "^4.4 || ^5.0", "symfony/service-contracts": "^1.0 || ^2.0" }, "require-dev": { - "symfony/framework-bundle": "^3.4 || ^4.0 || ^5.0", - "symfony/phpunit-bridge": "^4.3.5 || ^5.0", - "symfony/twig-bundle": "^3.4 || ^4.0 || ^5.0", - "symfony/web-link": "^3.4 || ^4.0 || ^5.0" + "symfony/framework-bundle": "^4.4 || ^5.0", + "symfony/phpunit-bridge": "^4.4 || ^5.0", + "symfony/twig-bundle": "^4.4 || ^5.0", + "symfony/web-link": "^4.4 || ^5.0" }, "type": "symfony-bundle", "extra": { @@ -3424,24 +3786,42 @@ } ], "description": "Integration with your Symfony app & Webpack Encore!", - "time": "2020-01-31T15:31:59+00:00" + "support": { + "issues": "https://github.com/symfony/webpack-encore-bundle/issues", + "source": "https://github.com/symfony/webpack-encore-bundle/tree/v1.12.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-06-18T19:13:11+00:00" }, { "name": "twig/twig", - "version": "v2.13.1", + "version": "v2.14.6", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "57e96259776ddcacf1814885fc3950460c8e18ef" + "reference": "27e5cf2b05e3744accf39d4c68a3235d9966d260" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/57e96259776ddcacf1814885fc3950460c8e18ef", - "reference": "57e96259776ddcacf1814885fc3950460c8e18ef", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/27e5cf2b05e3744accf39d4c68a3235d9966d260", + "reference": "27e5cf2b05e3744accf39d4c68a3235d9966d260", "shasum": "" }, "require": { - "php": ">=7.1.3", + "php": ">=7.2.5", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-mbstring": "^1.3" }, @@ -3452,7 +3832,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.13-dev" + "dev-master": "2.14-dev" } }, "autoload": { @@ -3489,6 +3869,10 @@ "keywords": [ "templating" ], + "support": { + "issues": "https://github.com/twigphp/Twig/issues", + "source": "https://github.com/twigphp/Twig/tree/v2.14.6" + }, "funding": [ { "url": "https://github.com/fabpot", @@ -3499,44 +3883,50 @@ "type": "tidelift" } ], - "time": "2020-08-05T15:09:04+00:00" + "time": "2021-05-16T12:12:47+00:00" } ], "packages-dev": [ { - "name": "composer/ca-bundle", - "version": "1.2.8", + "name": "amphp/amp", + "version": "v2.5.2", "source": { "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "8a7ecad675253e4654ea05505233285377405215" + "url": "https://github.com/amphp/amp.git", + "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/8a7ecad675253e4654ea05505233285377405215", - "reference": "8a7ecad675253e4654ea05505233285377405215", + "url": "https://api.github.com/repos/amphp/amp/zipball/efca2b32a7580087adb8aabbff6be1dc1bb924a9", + "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9", "shasum": "" }, "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": ">=7" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8", - "psr/log": "^1.0", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0" + "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" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { "psr-4": { - "Composer\\CaBundle\\": "src" - } + "Amp\\": "lib" + }, + "files": [ + "lib/functions.php", + "lib/Internal/functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3544,8 +3934,602 @@ ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" + }, + { + "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": "http://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.5.2" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-01-10T17:06:37+00:00" + }, + { + "name": "amphp/byte-stream", + "version": "v1.8.1", + "source": { + "type": "git", + "url": "https://github.com/amphp/byte-stream.git", + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", + "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" + } + }, + "autoload": { + "psr-4": { + "Amp\\ByteStream\\": "lib" + }, + "files": [ + "lib/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A stream abstraction to make working with non-blocking I/O simple.", + "homepage": "http://amphp.org/byte-stream", + "keywords": [ + "amp", + "amphp", + "async", + "io", + "non-blocking", + "stream" + ], + "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" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-03-30T17:13:30+00:00" + }, + { + "name": "amphp/parallel", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/parallel.git", + "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/parallel/zipball/2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", + "reference": "2c1039bf7ca137eae4d954b14c09a7535d7d4e1c", + "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" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.1", + "phpunit/phpunit": "^8 || ^7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Parallel\\": "lib" + }, + "files": [ + "lib/Context/functions.php", + "lib/Sync/functions.php", + "lib/Worker/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" + } + ], + "description": "Parallel processing component for Amp.", + "homepage": "https://github.com/amphp/parallel", + "keywords": [ + "async", + "asynchronous", + "concurrent", + "multi-processing", + "multi-threading" + ], + "support": { + "issues": "https://github.com/amphp/parallel/issues", + "source": "https://github.com/amphp/parallel/tree/master" + }, + "time": "2020-04-27T15:12:37+00:00" + }, + { + "name": "amphp/parallel-functions", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/parallel-functions.git", + "reference": "af9795d51abfafc3676cbe7e17965479491abaad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/parallel-functions/zipball/af9795d51abfafc3676cbe7e17965479491abaad", + "reference": "af9795d51abfafc3676cbe7e17965479491abaad", + "shasum": "" + }, + "require": { + "amphp/amp": "^2.0.3", + "amphp/parallel": "^1.1", + "opis/closure": "^3.0.7", + "php": ">=7" + }, + "require-dev": { + "amphp/phpunit-util": "^1.0", + "friendsofphp/php-cs-fixer": "^2.9", + "phpunit/phpunit": "^6.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\ParallelFunctions\\": "src" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Parallel processing made simple.", + "support": { + "issues": "https://github.com/amphp/parallel-functions/issues", + "source": "https://github.com/amphp/parallel-functions/tree/master" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2020-07-10T17:05:35+00:00" + }, + { + "name": "amphp/parser", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/parser.git", + "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/parser/zipball/f83e68f03d5b8e8e0365b8792985a7f341c57ae1", + "reference": "f83e68f03d5b8e8e0365b8792985a7f341c57ae1", + "shasum": "" + }, + "require": { + "php": ">=7" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.3", + "phpunit/phpunit": "^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Parser\\": "lib" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + }, + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + } + ], + "description": "A generator parser to make streaming parsers simple.", + "homepage": "https://github.com/amphp/parser", + "keywords": [ + "async", + "non-blocking", + "parser", + "stream" + ], + "support": { + "issues": "https://github.com/amphp/parser/issues", + "source": "https://github.com/amphp/parser/tree/is-valid" + }, + "time": "2017-06-06T05:29:10+00:00" + }, + { + "name": "amphp/process", + "version": "v1.1.1", + "source": { + "type": "git", + "url": "https://github.com/amphp/process.git", + "reference": "b88c6aef75c0b22f6f021141dd2d5e7c5db4c124" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/process/zipball/b88c6aef75c0b22f6f021141dd2d5e7c5db4c124", + "reference": "b88c6aef75c0b22f6f021141dd2d5e7c5db4c124", + "shasum": "" + }, + "require": { + "amphp/amp": "^2", + "amphp/byte-stream": "^1.4", + "php": ">=7" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1", + "phpunit/phpunit": "^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Process\\": "lib" + }, + "files": [ + "lib/functions.php" + ] + }, + "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", + "support": { + "issues": "https://github.com/amphp/process/issues", + "source": "https://github.com/amphp/process/tree/v1.1.1" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-03-30T20:04:22+00:00" + }, + { + "name": "amphp/serialization", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/serialization.git", + "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/serialization/zipball/693e77b2fb0b266c3c7d622317f881de44ae94a1", + "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "phpunit/phpunit": "^9 || ^8 || ^7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Serialization\\": "src" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Serialization tools for IPC and data storage in PHP.", + "homepage": "https://github.com/amphp/serialization", + "keywords": [ + "async", + "asynchronous", + "serialization", + "serialize" + ], + "support": { + "issues": "https://github.com/amphp/serialization/issues", + "source": "https://github.com/amphp/serialization/tree/master" + }, + "time": "2020-03-25T21:39:07+00:00" + }, + { + "name": "amphp/sync", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/sync.git", + "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/sync/zipball/613047ac54c025aa800a9cde5b05c3add7327ed4", + "reference": "613047ac54c025aa800a9cde5b05c3add7327ed4", + "shasum": "" + }, + "require": { + "amphp/amp": "^2.2", + "php": ">=7.1" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.1", + "phpunit/phpunit": "^9 || ^8 || ^7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Sync\\": "src" + }, + "files": [ + "src/functions.php", + "src/ConcurrentIterator/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" + } + ], + "description": "Mutex, Semaphore, and other synchronization tools for Amp.", + "homepage": "https://github.com/amphp/sync", + "keywords": [ + "async", + "asynchronous", + "mutex", + "semaphore", + "synchronization" + ], + "support": { + "issues": "https://github.com/amphp/sync/issues", + "source": "https://github.com/amphp/sync/tree/v1.4.0" + }, + "time": "2020-05-07T18:57:50+00:00" + }, + { + "name": "badpixxel/php-sdk", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/BadPixxel/Php-Sdk.git", + "reference": "1c39c8f9b030687a94961a9521c7d0a1aee26356" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/BadPixxel/Php-Sdk/zipball/1c39c8f9b030687a94961a9521c7d0a1aee26356", + "reference": "1c39c8f9b030687a94961a9521c7d0a1aee26356", + "shasum": "" + }, + "require": { + "composer/composer": "^1.0 || ^2.0", + "friendsofphp/php-cs-fixer": ">2.10", + "friendsoftwig/twigcs": "^4.0", + "j13k/yaml-lint": "^1.1", + "php": "^7.2", + "php-parallel-lint/php-parallel-lint": "^1.0", + "phpmd/phpmd": "^2.6", + "phpro/grumphp": "^0.19|^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-doctrine": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpstan/phpstan-symfony": "^0.12", + "phpunit/phpunit": "~7.0|~8.0|~9.0", + "sclable/xml-lint": "^0.3", + "sebastian/phpcpd": ">3.0", + "seld/jsonlint": "^1.7", + "squizlabs/php_codesniffer": "^3.2" + }, + "default-branch": true, + "type": "package", + "autoload": { + "psr-4": { + "BadPixxel\\PhpSdk\\": "./src" + }, + "files": [ + "grumphp/src/Configuration/GrumPHPExtension.php" + ], + "exclude-from-classmap": [ + "/tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Splash Sync", + "email": "contact@splashsync.com" + }, + { + "name": "BadPixxel", + "email": "eshop.bpaquier@gmail.com" + } + ], + "description": "Development Kit for Php Packages", + "support": { + "issues": "https://github.com/BadPixxel/Php-Sdk/issues", + "source": "https://github.com/BadPixxel/Php-Sdk/tree/main" + }, + "time": "2021-05-12T08:49:43+00:00" + }, + { + "name": "composer/ca-bundle", + "version": "1.2.10", + "source": { + "type": "git", + "url": "https://github.com/composer/ca-bundle.git", + "reference": "9fdb22c2e97a614657716178093cd1da90a64aa8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/9fdb22c2e97a614657716178093cd1da90a64aa8", + "reference": "9fdb22c2e97a614657716178093cd1da90a64aa8", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "ext-pcre": "*", + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.55", + "psr/log": "^1.0", + "symfony/phpunit-bridge": "^4.2 || ^5", + "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\CaBundle\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", "homepage": "http://seld.be" } ], @@ -3557,6 +4541,11 @@ "ssl", "tls" ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/ca-bundle/issues", + "source": "https://github.com/composer/ca-bundle/tree/1.2.10" + }, "funding": [ { "url": "https://packagist.com", @@ -3571,61 +4560,137 @@ "type": "tidelift" } ], - "time": "2020-08-23T12:54:47+00:00" + "time": "2021-06-07T13:58:28+00:00" }, { "name": "composer/composer", - "version": "1.10.13", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "47c841ba3b2d3fc0b4b13282cf029ea18b66d78b" + "reference": "fc5c4573aafce3a018eb7f1f8f91cea423970f2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/47c841ba3b2d3fc0b4b13282cf029ea18b66d78b", - "reference": "47c841ba3b2d3fc0b4b13282cf029ea18b66d78b", + "url": "https://api.github.com/repos/composer/composer/zipball/fc5c4573aafce3a018eb7f1f8f91cea423970f2e", + "reference": "fc5c4573aafce3a018eb7f1f8f91cea423970f2e", "shasum": "" }, "require": { "composer/ca-bundle": "^1.0", - "composer/semver": "^1.0", + "composer/metadata-minifier": "^1.0", + "composer/semver": "^3.0", "composer/spdx-licenses": "^1.2", - "composer/xdebug-handler": "^1.1", + "composer/xdebug-handler": "^2.0", "justinrainbow/json-schema": "^5.2.10", - "php": "^5.3.2 || ^7.0", + "php": "^5.3.2 || ^7.0 || ^8.0", "psr/log": "^1.0", + "react/promise": "^1.2 || ^2.7", "seld/jsonlint": "^1.4", "seld/phar-utils": "^1.0", - "symfony/console": "^2.7 || ^3.0 || ^4.0 || ^5.0", - "symfony/filesystem": "^2.7 || ^3.0 || ^4.0 || ^5.0", - "symfony/finder": "^2.7 || ^3.0 || ^4.0 || ^5.0", - "symfony/process": "^2.7 || ^3.0 || ^4.0 || ^5.0" - }, - "conflict": { - "symfony/console": "2.8.38" + "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", + "symfony/filesystem": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", + "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", + "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0" }, "require-dev": { "phpspec/prophecy": "^1.10", - "symfony/phpunit-bridge": "^4.2" + "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0" }, "suggest": { "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", "ext-zip": "Enabling the zip extension allows you to unzip archives", "ext-zlib": "Allow gzip compression of HTTP requests" }, - "bin": [ - "bin/composer" - ], + "bin": [ + "bin/composer" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\": "src/Composer" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "https://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.", + "homepage": "https://getcomposer.org/", + "keywords": [ + "autoload", + "dependency", + "package" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/composer/issues", + "source": "https://github.com/composer/composer/tree/2.1.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": "2021-06-09T14:31:20+00:00" + }, + { + "name": "composer/metadata-minifier", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/metadata-minifier.git", + "reference": "c549d23829536f0d0e984aaabbf02af91f443207" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", + "reference": "c549d23829536f0d0e984aaabbf02af91f443207", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "composer/composer": "^2", + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.10-dev" + "dev-main": "1.x-dev" } }, "autoload": { "psr-4": { - "Composer\\": "src/Composer" + "Composer\\MetadataMinifier\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -3633,24 +4698,21 @@ "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" } ], - "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.", - "homepage": "https://getcomposer.org/", + "description": "Small utility library that handles metadata minification and expansion.", "keywords": [ - "autoload", - "dependency", - "package" + "composer", + "compression" ], + "support": { + "issues": "https://github.com/composer/metadata-minifier/issues", + "source": "https://github.com/composer/metadata-minifier/tree/1.0.0" + }, "funding": [ { "url": "https://packagist.com", @@ -3665,32 +4727,33 @@ "type": "tidelift" } ], - "time": "2020-09-09T09:46:34+00:00" + "time": "2021-04-07T13:37:33+00:00" }, { "name": "composer/semver", - "version": "1.7.0", + "version": "3.2.5", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "114f819054a2ea7db03287f5efb757e2af6e4079" + "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/114f819054a2ea7db03287f5efb757e2af6e4079", - "reference": "114f819054a2ea7db03287f5efb757e2af6e4079", + "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9", + "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.5 || ^5.0.5" + "phpstan/phpstan": "^0.12.54", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -3726,6 +4789,11 @@ "validation", "versioning" ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.2.5" + }, "funding": [ { "url": "https://packagist.com", @@ -3740,20 +4808,20 @@ "type": "tidelift" } ], - "time": "2020-09-09T09:34:06+00:00" + "time": "2021-05-24T12:41:47+00:00" }, { "name": "composer/spdx-licenses", - "version": "1.5.4", + "version": "1.5.5", "source": { "type": "git", "url": "https://github.com/composer/spdx-licenses.git", - "reference": "6946f785871e2314c60b4524851f3702ea4f2223" + "reference": "de30328a7af8680efdc03e396aad24befd513200" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/6946f785871e2314c60b4524851f3702ea4f2223", - "reference": "6946f785871e2314c60b4524851f3702ea4f2223", + "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/de30328a7af8680efdc03e396aad24befd513200", + "reference": "de30328a7af8680efdc03e396aad24befd513200", "shasum": "" }, "require": { @@ -3765,7 +4833,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "1.x-dev" } }, "autoload": { @@ -3800,6 +4868,11 @@ "spdx", "validator" ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/spdx-licenses/issues", + "source": "https://github.com/composer/spdx-licenses/tree/1.5.5" + }, "funding": [ { "url": "https://packagist.com", @@ -3814,20 +4887,20 @@ "type": "tidelift" } ], - "time": "2020-07-15T15:35:07+00:00" + "time": "2020-12-03T16:04:16+00:00" }, { "name": "composer/xdebug-handler", - "version": "1.4.3", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ebd27a9866ae8254e873866f795491f02418c5a5" + "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ebd27a9866ae8254e873866f795491f02418c5a5", - "reference": "ebd27a9866ae8254e873866f795491f02418c5a5", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", + "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", "shasum": "" }, "require": { @@ -3835,7 +4908,8 @@ "psr/log": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8" + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "autoload": { @@ -3858,6 +4932,11 @@ "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/2.0.1" + }, "funding": [ { "url": "https://packagist.com", @@ -3872,35 +4951,67 @@ "type": "tidelift" } ], - "time": "2020-08-19T10:27:58+00:00" + "time": "2021-05-05T19:37:51+00:00" }, { - "name": "escapestudios/symfony2-coding-standard", - "version": "3.11.0", + "name": "friendsofphp/php-cs-fixer", + "version": "v3.0.0", "source": { "type": "git", - "url": "https://github.com/djoos/Symfony-coding-standard.git", - "reference": "78e3b0b6832c88cf7c0240b4abcd61430030d8c3" + "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", + "reference": "c15377bdfa8d1ecf186f1deadec39c89984e1167" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/djoos/Symfony-coding-standard/zipball/78e3b0b6832c88cf7c0240b4abcd61430030d8c3", - "reference": "78e3b0b6832c88cf7c0240b4abcd61430030d8c3", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/c15377bdfa8d1ecf186f1deadec39c89984e1167", + "reference": "c15377bdfa8d1ecf186f1deadec39c89984e1167", "shasum": "" }, "require": { - "squizlabs/php_codesniffer": "^3.3.1" - }, - "conflict": { - "squizlabs/php_codesniffer": "<3 || >=4" + "composer/semver": "^3.2", + "composer/xdebug-handler": "^2.0", + "doctrine/annotations": "^1.12", + "ext-json": "*", + "ext-tokenizer": "*", + "php": "^7.1.3 || ^8.0", + "php-cs-fixer/diff": "^2.0", + "symfony/console": "^4.4.20 || ^5.1.3", + "symfony/event-dispatcher": "^4.4.20 || ^5.0", + "symfony/filesystem": "^4.4.20 || ^5.0", + "symfony/finder": "^4.4.20 || ^5.0", + "symfony/options-resolver": "^4.4.20 || ^5.0", + "symfony/polyfill-php72": "^1.22", + "symfony/process": "^4.4.20 || ^5.0", + "symfony/stopwatch": "^4.4.20 || ^5.0" }, "require-dev": { - "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0" + "justinrainbow/json-schema": "^5.2", + "keradus/cli-executor": "^1.4", + "mikey179/vfsstream": "^1.6.8", + "php-coveralls/php-coveralls": "^2.4.3", + "php-cs-fixer/accessible-object": "^1.1", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", + "phpspec/prophecy": "^1.10.3", + "phpspec/prophecy-phpunit": "^1.1 || ^2.0", + "phpunit/phpunit": "^7.5.20 || ^8.5.14 || ^9.5", + "phpunitgoodpractices/polyfill": "^1.5", + "phpunitgoodpractices/traits": "^1.9.1", + "symfony/phpunit-bridge": "^5.2.4", + "symfony/yaml": "^4.4.20 || ^5.0" }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" + "suggest": { + "ext-dom": "For handling output formats in XML", + "ext-mbstring": "For handling non-UTF8 characters.", + "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." + }, + "bin": [ + "php-cs-fixer" + ], + "type": "application", + "autoload": { + "psr-4": { + "PhpCsFixer\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3909,97 +5020,58 @@ ], "authors": [ { - "name": "David Joos", - "email": "iam@davidjoos.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { - "name": "Community contributors", - "homepage": "https://github.com/djoos/Symfony-coding-standard/graphs/contributors" + "name": "Dariusz Rumiński", + "email": "dariusz.ruminski@gmail.com" } ], - "description": "CodeSniffer ruleset for the Symfony 2+ coding standard", - "homepage": "https://github.com/djoos/Symfony-coding-standard", - "keywords": [ - "Coding Standard", - "Symfony2", - "phpcs", - "symfony" + "description": "A tool to automatically fix PHP code style", + "support": { + "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.0.0" + }, + "funding": [ + { + "url": "https://github.com/keradus", + "type": "github" + } ], - "time": "2020-01-22T10:27:47+00:00" + "time": "2021-05-03T21:51:58+00:00" }, { - "name": "friendsofphp/php-cs-fixer", - "version": "v2.16.4", + "name": "friendsoftwig/twigcs", + "version": "v4.1.0", "source": { "type": "git", - "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "1023c3458137ab052f6ff1e09621a721bfdeca13" + "url": "https://github.com/friendsoftwig/twigcs.git", + "reference": "ad7e235fe3cc7842b5919f109afaacc56bb3ff49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/1023c3458137ab052f6ff1e09621a721bfdeca13", - "reference": "1023c3458137ab052f6ff1e09621a721bfdeca13", + "url": "https://api.github.com/repos/friendsoftwig/twigcs/zipball/ad7e235fe3cc7842b5919f109afaacc56bb3ff49", + "reference": "ad7e235fe3cc7842b5919f109afaacc56bb3ff49", "shasum": "" }, "require": { - "composer/semver": "^1.4", - "composer/xdebug-handler": "^1.2", - "doctrine/annotations": "^1.2", - "ext-json": "*", - "ext-tokenizer": "*", - "php": "^5.6 || ^7.0", - "php-cs-fixer/diff": "^1.3", - "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", - "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0", - "symfony/filesystem": "^3.0 || ^4.0 || ^5.0", - "symfony/finder": "^3.0 || ^4.0 || ^5.0", - "symfony/options-resolver": "^3.0 || ^4.0 || ^5.0", - "symfony/polyfill-php70": "^1.0", - "symfony/polyfill-php72": "^1.4", - "symfony/process": "^3.0 || ^4.0 || ^5.0", - "symfony/stopwatch": "^3.0 || ^4.0 || ^5.0" + "php": "^7.0", + "symfony/console": "^3.4 || ^4.3 || ^5.0", + "symfony/filesystem": "^3.4 || ^4.3 || ^5.0", + "symfony/finder": "^3.4 || ^4.3 || ^5.0" }, "require-dev": { - "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0", - "justinrainbow/json-schema": "^5.0", - "keradus/cli-executor": "^1.2", - "mikey179/vfsstream": "^1.6", - "php-coveralls/php-coveralls": "^2.1", - "php-cs-fixer/accessible-object": "^1.0", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.1", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.1", - "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.1", - "phpunitgoodpractices/traits": "^1.8", - "symfony/phpunit-bridge": "^5.1", - "symfony/yaml": "^3.0 || ^4.0 || ^5.0" - }, - "suggest": { - "ext-dom": "For handling output formats in XML", - "ext-mbstring": "For handling non-UTF8 characters.", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "For IsIdenticalString constraint.", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "For XmlMatchesXsd constraint.", - "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." + "phpunit/phpunit": "^6.5 || ^7.2" }, "bin": [ - "php-cs-fixer" + "bin/twigcs" ], - "type": "application", + "type": "library", "autoload": { "psr-4": { - "PhpCsFixer\\": "src/" - }, - "classmap": [ - "tests/Test/AbstractFixerTestCase.php", - "tests/Test/AbstractIntegrationCaseFactory.php", - "tests/Test/AbstractIntegrationTestCase.php", - "tests/Test/Assert/AssertTokensTrait.php", - "tests/Test/IntegrationCase.php", - "tests/Test/IntegrationCaseFactory.php", - "tests/Test/IntegrationCaseFactoryInterface.php", - "tests/Test/InternalIntegrationCaseFactory.php", - "tests/Test/IsIdenticalConstraint.php", - "tests/TestCase.php" - ] + "FriendsOfTwig\\Twigcs\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4007,35 +5079,29 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Dariusz Rumiński", - "email": "dariusz.ruminski@gmail.com" - } - ], - "description": "A tool to automatically fix PHP code style", - "funding": [ - { - "url": "https://github.com/keradus", - "type": "github" + "name": "Tristan Maindron", + "email": "tmaindron@gmail.com" } ], - "time": "2020-06-27T23:57:46+00:00" + "description": "Checkstyle automation for Twig", + "support": { + "issues": "https://github.com/friendsoftwig/twigcs/issues", + "source": "https://github.com/friendsoftwig/twigcs/tree/v4.1.0" + }, + "time": "2021-02-04T13:07:32+00:00" }, { "name": "gitonomy/gitlib", - "version": "v1.2.2", + "version": "v1.2.3", "source": { "type": "git", "url": "https://github.com/gitonomy/gitlib.git", - "reference": "d1fe4676bf1347c08dec84a14a4c5e7110740d72" + "reference": "d22f212b97fdb631ac73dfae65c194dc4cb0d227" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/gitonomy/gitlib/zipball/d1fe4676bf1347c08dec84a14a4c5e7110740d72", - "reference": "d1fe4676bf1347c08dec84a14a4c5e7110740d72", + "url": "https://api.github.com/repos/gitonomy/gitlib/zipball/d22f212b97fdb631ac73dfae65c194dc4cb0d227", + "reference": "d22f212b97fdb631ac73dfae65c194dc4cb0d227", "shasum": "" }, "require": { @@ -4082,35 +5148,44 @@ } ], "description": "Library for accessing git", + "support": { + "issues": "https://github.com/gitonomy/gitlib/issues", + "source": "https://github.com/gitonomy/gitlib/tree/v1.2.3" + }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/gitonomy/gitlib", "type": "tidelift" } ], - "time": "2020-07-30T14:54:11+00:00" + "time": "2020-12-29T16:48:45+00:00" }, { "name": "j13k/yaml-lint", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/j13k/yaml-lint.git", - "reference": "c24631e10d3abdde7b1f6869dce60831e12a98f4" + "reference": "e3b6e970e1a341a2e09fc3b47188ce7f648ef8e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/j13k/yaml-lint/zipball/c24631e10d3abdde7b1f6869dce60831e12a98f4", - "reference": "c24631e10d3abdde7b1f6869dce60831e12a98f4", + "url": "https://api.github.com/repos/j13k/yaml-lint/zipball/e3b6e970e1a341a2e09fc3b47188ce7f648ef8e8", + "reference": "e3b6e970e1a341a2e09fc3b47188ce7f648ef8e8", "shasum": "" }, "require": { - "symfony/yaml": "^2|^3|^4" + "symfony/yaml": "^2|^3|^4|^5" }, "bin": [ "bin/yaml-lint" ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, "autoload": { "psr-4": { "J13k\\YamlLint\\": "src/" @@ -4137,56 +5212,11 @@ "yaml", "yml" ], - "time": "2018-03-27T06:36:29+00:00" - }, - { - "name": "jakub-onderka/php-parallel-lint", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/JakubOnderka/PHP-Parallel-Lint.git", - "reference": "04fbd3f5fb1c83f08724aa58a23db90bd9086ee8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Parallel-Lint/zipball/04fbd3f5fb1c83f08724aa58a23db90bd9086ee8", - "reference": "04fbd3f5fb1c83f08724aa58a23db90bd9086ee8", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "~0.3", - "nette/tester": "~1.3", - "squizlabs/php_codesniffer": "~2.7" - }, - "suggest": { - "jakub-onderka/php-console-highlighter": "Highlight syntax in code snippet" - }, - "bin": [ - "parallel-lint" - ], - "type": "library", - "autoload": { - "classmap": [ - "./" - ] + "support": { + "issues": "https://github.com/j13k/yaml-lint/issues", + "source": "https://github.com/j13k/yaml-lint/tree/1.1.4" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "ahoj@jakubonderka.cz" - } - ], - "description": "This tool check syntax of PHP files about 20x faster than serial check.", - "homepage": "https://github.com/JakubOnderka/PHP-Parallel-Lint", - "abandoned": "php-parallel-lint/php-parallel-lint", - "time": "2018-02-24T15:31:20+00:00" + "time": "2021-03-11T08:48:25+00:00" }, { "name": "justinrainbow/json-schema", @@ -4252,20 +5282,24 @@ "json", "schema" ], + "support": { + "issues": "https://github.com/justinrainbow/json-schema/issues", + "source": "https://github.com/justinrainbow/json-schema/tree/5.2.10" + }, "time": "2020-05-27T16:41:55+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.10.1", + "version": "1.10.2", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5" + "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5", - "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", + "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", "shasum": "" }, "require": { @@ -4300,26 +5334,167 @@ "object", "object graph" ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", "type": "tidelift" } ], - "time": "2020-06-29T13:22:24+00:00" + "time": "2020-11-13T09:40:50+00:00" + }, + { + "name": "ondram/ci-detector", + "version": "3.5.1", + "source": { + "type": "git", + "url": "https://github.com/OndraM/ci-detector.git", + "reference": "594e61252843b68998bddd48078c5058fe9028bd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/OndraM/ci-detector/zipball/594e61252843b68998bddd48078c5058fe9028bd", + "reference": "594e61252843b68998bddd48078c5058fe9028bd", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.2", + "lmc/coding-standard": "^1.3 || ^2.0", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpstan/extension-installer": "^1.0.3", + "phpstan/phpstan": "^0.12.0", + "phpstan/phpstan-phpunit": "^0.12.1", + "phpunit/phpunit": "^7.1 || ^8.0 || ^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "OndraM\\CiDetector\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ondřej Machulda", + "email": "ondrej.machulda@gmail.com" + } + ], + "description": "Detect continuous integration environment and provide unified access to properties of current build", + "keywords": [ + "CircleCI", + "Codeship", + "Wercker", + "adapter", + "appveyor", + "aws", + "aws codebuild", + "bamboo", + "bitbucket", + "buddy", + "ci-info", + "codebuild", + "continuous integration", + "continuousphp", + "drone", + "github", + "gitlab", + "interface", + "jenkins", + "teamcity", + "travis" + ], + "support": { + "issues": "https://github.com/OndraM/ci-detector/issues", + "source": "https://github.com/OndraM/ci-detector/tree/main" + }, + "time": "2020-09-04T11:21:14+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" + ], + "support": { + "issues": "https://github.com/opis/closure/issues", + "source": "https://github.com/opis/closure/tree/3.6.2" + }, + "time": "2021-04-09T13:42:10+00:00" }, { "name": "pdepend/pdepend", - "version": "2.8.0", + "version": "2.9.1", "source": { "type": "git", "url": "https://github.com/pdepend/pdepend.git", - "reference": "c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38" + "reference": "1632f0cee84512ffd6dde71e58536b3b06528c41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pdepend/pdepend/zipball/c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38", - "reference": "c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38", + "url": "https://api.github.com/repos/pdepend/pdepend/zipball/1632f0cee84512ffd6dde71e58536b3b06528c41", + "reference": "1632f0cee84512ffd6dde71e58536b3b06528c41", "shasum": "" }, "require": { @@ -4329,9 +5504,9 @@ "symfony/filesystem": "^2.3.0|^3|^4|^5" }, "require-dev": { - "easy-doc/easy-doc": "0.0.0 || ^1.2.3", + "easy-doc/easy-doc": "0.0.0|^1.2.3", "gregwar/rst": "^1.0", - "phpunit/phpunit": "^4.8.35|^5.7", + "phpunit/phpunit": "^4.8.36|^5.7.27", "squizlabs/php_codesniffer": "^2.0.0" }, "bin": [ @@ -4353,38 +5528,43 @@ "BSD-3-Clause" ], "description": "Official version of pdepend to be handled with Composer", + "support": { + "issues": "https://github.com/pdepend/pdepend/issues", + "source": "https://github.com/pdepend/pdepend/tree/2.9.1" + }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend", "type": "tidelift" } ], - "time": "2020-06-20T10:53:13+00:00" + "time": "2021-04-15T21:36:28+00:00" }, { "name": "phar-io/manifest", - "version": "1.0.3", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4" + "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", - "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", + "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", "shasum": "" }, "require": { "ext-dom": "*", "ext-phar": "*", - "phar-io/version": "^2.0", - "php": "^5.6 || ^7.0" + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -4414,24 +5594,28 @@ } ], "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "time": "2018-07-08T19:23:20+00:00" + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/master" + }, + "time": "2020-06-27T14:33:11+00:00" }, { "name": "phar-io/version", - "version": "2.0.1", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6" + "reference": "bae7c545bef187884426f042434e561ab1ddb182" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6", - "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6", + "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", + "reference": "bae7c545bef187884426f042434e561ab1ddb182", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^7.2 || ^8.0" }, "type": "library", "autoload": { @@ -4461,58 +5645,120 @@ } ], "description": "Library for handling version information and constraints", - "time": "2018-07-08T19:19:57+00:00" + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.1.0" + }, + "time": "2021-02-23T14:00:09+00:00" }, { "name": "php-cs-fixer/diff", + "version": "v2.0.2", + "source": { + "type": "git", + "url": "https://github.com/PHP-CS-Fixer/diff.git", + "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/29dc0d507e838c4580d018bd8b5cb412474f7ec3", + "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", + "symfony/process": "^3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "sebastian/diff v3 backport support for PHP 5.6+", + "homepage": "https://github.com/PHP-CS-Fixer", + "keywords": [ + "diff" + ], + "support": { + "issues": "https://github.com/PHP-CS-Fixer/diff/issues", + "source": "https://github.com/PHP-CS-Fixer/diff/tree/v2.0.2" + }, + "time": "2020-10-14T08:32:19+00:00" + }, + { + "name": "php-parallel-lint/php-parallel-lint", "version": "v1.3.0", "source": { "type": "git", - "url": "https://github.com/PHP-CS-Fixer/diff.git", - "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756" + "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", + "reference": "772a954e5f119f6f5871d015b23eabed8cbdadfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/78bb099e9c16361126c86ce82ec4405ebab8e756", - "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/772a954e5f119f6f5871d015b23eabed8cbdadfb", + "reference": "772a954e5f119f6f5871d015b23eabed8cbdadfb", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "ext-json": "*", + "php": ">=5.3.0" + }, + "replace": { + "grogy/php-parallel-lint": "*", + "jakub-onderka/php-parallel-lint": "*" }, "require-dev": { - "phpunit/phpunit": "^5.7.23 || ^6.4.3", - "symfony/process": "^3.3" + "nette/tester": "^1.3 || ^2.0", + "php-parallel-lint/php-console-highlighter": "~0.3", + "squizlabs/php_codesniffer": "^3.5" + }, + "suggest": { + "php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet" }, + "bin": [ + "parallel-lint" + ], "type": "library", "autoload": { "classmap": [ - "src/" + "./" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "BSD-2-Clause" ], "authors": [ { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "SpacePossum" + "name": "Jakub Onderka", + "email": "ahoj@jakubonderka.cz" } ], - "description": "sebastian/diff v2 backport support for PHP5.6", - "homepage": "https://github.com/PHP-CS-Fixer", - "keywords": [ - "diff" - ], - "time": "2018-02-15T16:58:55+00:00" + "description": "This tool check syntax of PHP files about 20x faster than serial check.", + "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", + "support": { + "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", + "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.0" + }, + "time": "2021-04-07T14:42:48+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -4561,6 +5807,10 @@ "reflection", "static analysis" ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + }, "time": "2020-06-27T09:03:43+00:00" }, { @@ -4613,6 +5863,10 @@ } ], "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/master" + }, "time": "2020-09-03T19:13:55+00:00" }, { @@ -4658,26 +5912,30 @@ } ], "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.4.0" + }, "time": "2020-09-17T18:55:26+00:00" }, { "name": "phpmd/phpmd", - "version": "2.9.0", + "version": "2.10.1", "source": { "type": "git", "url": "https://github.com/phpmd/phpmd.git", - "reference": "2a346575a45a6f00e631f4d7f3f71b6a05e0d46d" + "reference": "bd5ef43d1dcaf7272605027c959c1c5ff3761f7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/2a346575a45a6f00e631f4d7f3f71b6a05e0d46d", - "reference": "2a346575a45a6f00e631f4d7f3f71b6a05e0d46d", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/bd5ef43d1dcaf7272605027c959c1c5ff3761f7a", + "reference": "bd5ef43d1dcaf7272605027c959c1c5ff3761f7a", "shasum": "" }, "require": { - "composer/xdebug-handler": "^1.0", + "composer/xdebug-handler": "^1.0 || ^2.0", "ext-xml": "*", - "pdepend/pdepend": "^2.7.1", + "pdepend/pdepend": "^2.9.1", "php": ">=5.3.9" }, "require-dev": { @@ -4685,7 +5943,7 @@ "ext-json": "*", "ext-simplexml": "*", "gregwar/rst": "^1.0", - "mikey179/vfsstream": "^1.6.4", + "mikey179/vfsstream": "^1.6.8", "phpunit/phpunit": "^4.8.36 || ^5.7.27", "squizlabs/php_codesniffer": "^2.0" }, @@ -4730,76 +5988,88 @@ "phpmd", "pmd" ], + "support": { + "irc": "irc://irc.freenode.org/phpmd", + "issues": "https://github.com/phpmd/phpmd/issues", + "source": "https://github.com/phpmd/phpmd/tree/2.10.1" + }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", "type": "tidelift" } ], - "time": "2020-09-02T09:12:27+00:00" + "time": "2021-05-11T17:16:16+00:00" }, { "name": "phpro/grumphp", - "version": "v0.16.2", + "version": "v1.3.3", "source": { "type": "git", "url": "https://github.com/phpro/grumphp.git", - "reference": "616caf2df4a9bf3c1bfd2d70ac3528a3b7b4f8c8" + "reference": "991ce1f59c525a2784a03a93d1082ece70b5bba8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpro/grumphp/zipball/616caf2df4a9bf3c1bfd2d70ac3528a3b7b4f8c8", - "reference": "616caf2df4a9bf3c1bfd2d70ac3528a3b7b4f8c8", + "url": "https://api.github.com/repos/phpro/grumphp/zipball/991ce1f59c525a2784a03a93d1082ece70b5bba8", + "reference": "991ce1f59c525a2784a03a93d1082ece70b5bba8", "shasum": "" }, "require": { - "composer-plugin-api": "~1.0", - "doctrine/collections": "~1.2", + "amphp/amp": "^2.4", + "amphp/parallel": "^1.4", + "amphp/parallel-functions": "^1.0", + "composer-plugin-api": "~1.0 || ~2.0", + "doctrine/collections": "^1.6.7", "ext-json": "*", "gitonomy/gitlib": "^1.0.3", "monolog/monolog": "~1.16 || ^2.0", - "php": "^7.1", + "ondram/ci-detector": "^3.5", + "opis/closure": "^3.5", + "php": "^7.3 || ^8.0", + "psr/container": "^1.0", "seld/jsonlint": "~1.1", - "symfony/config": "~3.4 || ~4.0", - "symfony/console": "~3.4 || ~4.0", - "symfony/dependency-injection": "~3.4 || ~4.0", - "symfony/event-dispatcher": "~3.4 || ~4.0", - "symfony/filesystem": "~3.4 || ~4.0", - "symfony/finder": "~3.4 || ~4.0", - "symfony/options-resolver": "~3.4 || ~4.0", - "symfony/process": "~3.4 || ~4.0", - "symfony/yaml": "~3.4 || ~4.0" + "symfony/config": "~4.4 || ~5.0", + "symfony/console": "~4.4 || ~5.0", + "symfony/dependency-injection": "~4.4 || ~5.0", + "symfony/dotenv": "~4.4 || ~5.0", + "symfony/event-dispatcher": "~4.4 || ~5.0", + "symfony/filesystem": "~4.4 || ~5.0", + "symfony/finder": "~4.4 || ~5.0", + "symfony/options-resolver": "~4.4 || ~5.0", + "symfony/process": "~4.4 || ~5.0", + "symfony/yaml": "~4.4 || ~5.0" }, "require-dev": { - "brianium/paratest": "^2.2.0", - "composer/composer": "^1.8.5", - "friendsofphp/php-cs-fixer": "~2", - "jakub-onderka/php-parallel-lint": "^0.9.2", - "localheinz/composer-normalize": "^1.2", - "nikic/php-parser": "^3.0", - "phpspec/phpspec": "^5.1", - "phpunit/phpunit": "^7.5.12", - "sensiolabs/security-checker": "^5.0", - "squizlabs/php_codesniffer": "~2.9" + "brianium/paratest": "^6.1.1", + "composer/composer": "^1.10.22 || ^2.0.13", + "nikic/php-parser": "~4.0", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpspec/phpspec": "^6.2", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.2" }, "suggest": { "atoum/atoum": "Lets GrumPHP run your unit tests.", "behat/behat": "Lets GrumPHP validate your project features.", "brianium/paratest": "Lets GrumPHP run PHPUnit in parallel.", "codeception/codeception": "Lets GrumPHP run your project's full stack tests", - "codegyre/robo": "Lets GrumPHP run your automated PHP tasks.", + "consolidation/robo": "Lets GrumPHP run your automated PHP tasks.", "designsecurity/progpilot": "Lets GrumPHP be sure that there are no vulnerabilities in your code.", "doctrine/orm": "Lets GrumPHP validate your Doctrine mapping files.", + "enlightn/security-checker": "Lets GrumPHP be sure that there are no known security issues.", + "ergebnis/composer-normalize": "Lets GrumPHP tidy and normalize your composer.json file.", "friendsofphp/php-cs-fixer": "Lets GrumPHP automatically fix your codestyle.", "friendsoftwig/twigcs": "Lets GrumPHP check Twig coding standard.", "infection/infection": "Lets GrumPHP evaluate the quality your unit tests", - "jakub-onderka/php-parallel-lint": "Lets GrumPHP quickly lint your entire code base.", - "localheinz/composer-normalize": "Lets GrumPHP tidy and normalize your composer.json file.", "maglnet/composer-require-checker": "Lets GrumPHP analyze composer dependencies.", "malukenho/kawaii-gherkin": "Lets GrumPHP lint your Gherkin files.", + "nette/tester": "Lets GrumPHP run your unit tests with nette tester.", "nikic/php-parser": "Lets GrumPHP run static analyses through your PHP files.", + "pestphp/pest": "Lets GrumPHP run your unit test with Pest PHP", "phan/phan": "Lets GrumPHP unleash a static analyzer on your code", "phing/phing": "Lets GrumPHP run your automated PHP tasks.", + "php-parallel-lint/php-parallel-lint": "Lets GrumPHP quickly lint your entire code base.", "phpmd/phpmd": "Lets GrumPHP sort out the mess in your code", "phpspec/phpspec": "Lets GrumPHP spec your code.", "phpstan/phpstan": "Lets GrumPHP discover bugs in your code without running it.", @@ -4807,11 +6077,10 @@ "povils/phpmnd": "Lets GrumPHP help you detect magic numbers in PHP code.", "roave/security-advisories": "Lets GrumPHP be sure that there are no known security issues.", "sebastian/phpcpd": "Lets GrumPHP find duplicated code.", - "sensiolabs/security-checker": "Lets GrumPHP be sure that there are no known security issues.", "squizlabs/php_codesniffer": "Lets GrumPHP sniff on your code.", "sstalle/php7cc": "Lets GrumPHP check PHP 5.3 - 5.6 code compatibility with PHP 7.", "symfony/phpunit-bridge": "Lets GrumPHP run your unit tests with the phpunit-bridge of Symfony.", - "symplify/easycodingstandard": "Lets GrumPHP check coding standard.", + "symplify/easy-coding-standard": "Lets GrumPHP check coding standard.", "vimeo/psalm": "Lets GrumPHP discover errors in your code without running it." }, "bin": [ @@ -4841,32 +6110,36 @@ } ], "description": "A composer plugin that enables source code quality checks.", - "time": "2019-10-29T05:23:01+00:00" + "support": { + "issues": "https://github.com/phpro/grumphp/issues", + "source": "https://github.com/phpro/grumphp/tree/v1.3.3" + }, + "time": "2021-05-12T14:14:35+00:00" }, { "name": "phpspec/prophecy", - "version": "1.11.1", + "version": "1.13.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "b20034be5efcdab4fb60ca3a29cba2949aead160" + "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/b20034be5efcdab4fb60ca3a29cba2949aead160", - "reference": "b20034be5efcdab4fb60ca3a29cba2949aead160", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea", + "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea", "shasum": "" }, "require": { "doctrine/instantiator": "^1.2", - "php": "^7.2", - "phpdocumentor/reflection-docblock": "^5.0", + "php": "^7.2 || ~8.0, <8.1", + "phpdocumentor/reflection-docblock": "^5.2", "sebastian/comparator": "^3.0 || ^4.0", "sebastian/recursion-context": "^3.0 || ^4.0" }, "require-dev": { "phpspec/phpspec": "^6.0", - "phpunit/phpunit": "^8.0" + "phpunit/phpunit": "^8.0 || ^9.0" }, "type": "library", "extra": { @@ -4904,20 +6177,24 @@ "spy", "stub" ], - "time": "2020-07-08T12:44:21+00:00" + "support": { + "issues": "https://github.com/phpspec/prophecy/issues", + "source": "https://github.com/phpspec/prophecy/tree/1.13.0" + }, + "time": "2021-03-17T13:42:18+00:00" }, { "name": "phpstan/phpstan", - "version": "0.12.43", + "version": "0.12.90", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "54221b44766cb4bdfe40d1828d5bba5dd79c38c6" + "reference": "f0e4b56630fc3d4eb5be86606d07212ac212ede4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/54221b44766cb4bdfe40d1828d5bba5dd79c38c6", - "reference": "54221b44766cb4bdfe40d1828d5bba5dd79c38c6", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f0e4b56630fc3d4eb5be86606d07212ac212ede4", + "reference": "f0e4b56630fc3d4eb5be86606d07212ac212ede4", "shasum": "" }, "require": { @@ -4946,11 +6223,19 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", + "support": { + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/0.12.90" + }, "funding": [ { "url": "https://github.com/ondrejmirtes", "type": "github" }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, { "url": "https://www.patreon.com/phpstan", "type": "patreon" @@ -4960,25 +6245,25 @@ "type": "tidelift" } ], - "time": "2020-09-19T21:19:38+00:00" + "time": "2021-06-18T07:15:38+00:00" }, { "name": "phpstan/phpstan-doctrine", - "version": "0.12.19", + "version": "0.12.39", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-doctrine.git", - "reference": "78376cbf68e0c30c2ff16d6e38f3acf1fdd386b4" + "reference": "c35261fe7fe54bd0338c7ab43e85db20b7dc483c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/78376cbf68e0c30c2ff16d6e38f3acf1fdd386b4", - "reference": "78376cbf68e0c30c2ff16d6e38f3acf1fdd386b4", + "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/c35261fe7fe54bd0338c7ab43e85db20b7dc483c", + "reference": "c35261fe7fe54bd0338c7ab43e85db20b7dc483c", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.33" + "phpstan/phpstan": "^0.12.85" }, "conflict": { "doctrine/collections": "<1.0", @@ -4988,21 +6273,19 @@ "doctrine/persistence": "<1.3" }, "require-dev": { - "consistence/coding-standard": "^3.0.1", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/collections": "^1.0", + "doctrine/annotations": "^1.11.0", + "doctrine/collections": "^1.6", "doctrine/common": "^2.7 || ^3.0", + "doctrine/dbal": "^2.13.1", "doctrine/mongodb-odm": "^1.3 || ^2.1", - "doctrine/orm": "^2.5", + "doctrine/orm": "^2.9.1", "doctrine/persistence": "^1.1 || ^2.0", - "ergebnis/composer-normalize": "^2.0.2", - "jakub-onderka/php-parallel-lint": "^1.0", - "phing/phing": "^2.16.0", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0", - "ramsey/uuid-doctrine": "^1.5.0", - "slevomat/coding-standard": "^4.5.2" + "nesbot/carbon": "^2.49", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-phpunit": "^0.12.16", + "phpstan/phpstan-strict-rules": "^0.12.5", + "phpunit/phpunit": "^9.5", + "ramsey/uuid-doctrine": "^1.5.0" }, "type": "phpstan-extension", "extra": { @@ -5026,39 +6309,37 @@ "MIT" ], "description": "Doctrine extensions for PHPStan", - "time": "2020-07-21T14:46:27+00:00" + "support": { + "issues": "https://github.com/phpstan/phpstan-doctrine/issues", + "source": "https://github.com/phpstan/phpstan-doctrine/tree/0.12.39" + }, + "time": "2021-06-10T12:42:07+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "0.12.16", + "version": "0.12.20", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "1dd916d181b0539dea5cd37e91546afb8b107e17" + "reference": "efc009981af383eb3303f0ca9868c29acad7ce74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/1dd916d181b0539dea5cd37e91546afb8b107e17", - "reference": "1dd916d181b0539dea5cd37e91546afb8b107e17", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/efc009981af383eb3303f0ca9868c29acad7ce74", + "reference": "efc009981af383eb3303f0ca9868c29acad7ce74", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.33" + "phpstan/phpstan": "^0.12.86" }, "conflict": { "phpunit/phpunit": "<7.0" }, "require-dev": { - "consistence/coding-standard": "^3.5", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "ergebnis/composer-normalize": "^2.0.2", - "jakub-onderka/php-parallel-lint": "^1.0", - "phing/phing": "^2.16.0", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "satooshi/php-coveralls": "^1.0", - "slevomat/coding-standard": "^4.7.2" + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-strict-rules": "^0.12.6", + "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { @@ -5082,46 +6363,96 @@ "MIT" ], "description": "PHPUnit extensions and rules for PHPStan", - "time": "2020-08-05T13:28:50+00:00" + "support": { + "issues": "https://github.com/phpstan/phpstan-phpunit/issues", + "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.20" + }, + "time": "2021-06-17T08:28:30+00:00" + }, + { + "name": "phpstan/phpstan-strict-rules", + "version": "0.12.9", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan-strict-rules.git", + "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/0705fefc7c9168529fd130e341428f5f10f4f01d", + "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "phpstan/phpstan": "^0.12.66" + }, + "require-dev": { + "phing/phing": "^2.16.3", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-phpunit": "^0.12.16", + "phpunit/phpunit": "^7.5.20" + }, + "type": "phpstan-extension", + "extra": { + "branch-alias": { + "dev-master": "0.12-dev" + }, + "phpstan": { + "includes": [ + "rules.neon" + ] + } + }, + "autoload": { + "psr-4": { + "PHPStan\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Extra strict and opinionated rules for PHPStan", + "support": { + "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/0.12.9" + }, + "time": "2021-01-13T08:50:28+00:00" }, { "name": "phpstan/phpstan-symfony", - "version": "0.12.7", + "version": "0.12.37", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-symfony.git", - "reference": "86bb993d4f343fd6ee5570633d3fbd08b4d4bc4a" + "reference": "45e2ae29f6f53f5039b3d5c401dfc26724d8f5bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/86bb993d4f343fd6ee5570633d3fbd08b4d4bc4a", - "reference": "86bb993d4f343fd6ee5570633d3fbd08b4d4bc4a", + "url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/45e2ae29f6f53f5039b3d5c401dfc26724d8f5bb", + "reference": "45e2ae29f6f53f5039b3d5c401dfc26724d8f5bb", "shasum": "" }, "require": { "ext-simplexml": "*", "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.26" + "phpstan/phpstan": "^0.12.86" }, "conflict": { "symfony/framework-bundle": "<3.0" }, "require-dev": { - "consistence/coding-standard": "^3.0.1", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "ergebnis/composer-normalize": "^2.0.2", - "jakub-onderka/php-parallel-lint": "^1.0", - "phing/phing": "^2.16.0", - "phpstan/phpstan-phpunit": "^0.12.8", - "phpstan/phpstan-strict-rules": "^0.12.2", - "phpunit/phpunit": "^7.5.20", - "slevomat/coding-standard": "^4.5.2", - "squizlabs/php_codesniffer": "^3.3.2", - "symfony/console": "^4.0", - "symfony/framework-bundle": "^4.0", - "symfony/http-foundation": "^4.0", - "symfony/messenger": "^4.2", - "symfony/serializer": "^4.0" + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-phpunit": "^0.12.16", + "phpstan/phpstan-strict-rules": "^0.12.5", + "phpunit/phpunit": "^9.5", + "symfony/config": "^4.2 || ^5.0", + "symfony/console": "^4.0 || ^5.0", + "symfony/framework-bundle": "^4.4 || ^5.0", + "symfony/http-foundation": "^4.0 || ^5.0", + "symfony/messenger": "^4.2 || ^5.0", + "symfony/serializer": "^4.0 || ^5.0" }, "type": "phpstan-extension", "extra": { @@ -5152,44 +6483,48 @@ } ], "description": "Symfony Framework extensions and rules for PHPStan", - "time": "2020-07-21T14:56:43+00:00" + "support": { + "issues": "https://github.com/phpstan/phpstan-symfony/issues", + "source": "https://github.com/phpstan/phpstan-symfony/tree/0.12.37" + }, + "time": "2021-06-16T13:00:16+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "6.1.4", + "version": "7.0.14", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d" + "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/807e6013b00af69b6c5d9ceb4282d0393dbb9d8d", - "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bb7c9a210c72e4709cdde67f8b7362f672f2225c", + "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c", "shasum": "" }, "require": { "ext-dom": "*", "ext-xmlwriter": "*", - "php": "^7.1", - "phpunit/php-file-iterator": "^2.0", + "php": ">=7.2", + "phpunit/php-file-iterator": "^2.0.2", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^3.0", + "phpunit/php-token-stream": "^3.1.1 || ^4.0", "sebastian/code-unit-reverse-lookup": "^1.0.1", - "sebastian/environment": "^3.1 || ^4.0", + "sebastian/environment": "^4.2.2", "sebastian/version": "^2.0.1", - "theseer/tokenizer": "^1.1" + "theseer/tokenizer": "^1.1.3" }, "require-dev": { - "phpunit/phpunit": "^7.0" + "phpunit/phpunit": "^8.2.2" }, "suggest": { - "ext-xdebug": "^2.6.0" + "ext-xdebug": "^2.7.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "6.1-dev" + "dev-master": "7.0-dev" } }, "autoload": { @@ -5215,27 +6550,37 @@ "testing", "xunit" ], - "time": "2018-10-31T16:06:48+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.14" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-12-02T13:39:03+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "050bedf145a257b1ff02746c31894800e5122946" + "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946", - "reference": "050bedf145a257b1ff02746c31894800e5122946", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/4b49fb70f067272b659ef0174ff9ca40fdaa6357", + "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357", "shasum": "" }, "require": { - "php": "^7.1" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "^7.1" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { @@ -5265,7 +6610,17 @@ "filesystem", "iterator" ], - "time": "2018-09-13T20:33:42+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T08:25:21+00:00" }, { "name": "phpunit/php-text-template", @@ -5306,27 +6661,31 @@ "keywords": [ "template" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1" + }, "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", - "version": "2.1.2", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "1038454804406b0b5f5f520358e78c1c2f71501e" + "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/1038454804406b0b5f5f520358e78c1c2f71501e", - "reference": "1038454804406b0b5f5f520358e78c1c2f71501e", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2454ae1765516d20c4ffe103d85a58a9a3bd5662", + "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662", "shasum": "" }, "require": { - "php": "^7.1" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "^7.0" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { @@ -5355,33 +6714,43 @@ "keywords": [ "timer" ], - "time": "2019-06-07T04:22:29+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/2.1.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T08:20:02+00:00" }, { "name": "phpunit/php-token-stream", - "version": "3.1.1", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff" + "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/995192df77f63a59e47f025390d2d1fdf8f425ff", - "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff", + "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": { @@ -5404,58 +6773,67 @@ "keywords": [ "tokenizer" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", + "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], "abandoned": true, - "time": "2019-09-17T06:23:10+00:00" + "time": "2020-08-04T08:28:15+00:00" }, { "name": "phpunit/phpunit", - "version": "7.5.3", + "version": "8.5.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "2cb759721e53bc05f56487f628c6b9fbb6c18746" + "reference": "cc66f2fc61296be66c99931a862200e7456b9a01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2cb759721e53bc05f56487f628c6b9fbb6c18746", - "reference": "2cb759721e53bc05f56487f628c6b9fbb6c18746", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cc66f2fc61296be66c99931a862200e7456b9a01", + "reference": "cc66f2fc61296be66c99931a862200e7456b9a01", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.1", + "doctrine/instantiator": "^1.3.1", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "myclabs/deep-copy": "^1.7", - "phar-io/manifest": "^1.0.2", - "phar-io/version": "^2.0", - "php": "^7.1", - "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^6.0.7", - "phpunit/php-file-iterator": "^2.0.1", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.0", + "phar-io/manifest": "^2.0.1", + "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-text-template": "^1.2.1", - "phpunit/php-timer": "^2.0", - "sebastian/comparator": "^3.0", - "sebastian/diff": "^3.0", - "sebastian/environment": "^4.0", - "sebastian/exporter": "^3.1", - "sebastian/global-state": "^2.0", + "phpunit/php-timer": "^2.1.2", + "sebastian/comparator": "^3.0.2", + "sebastian/diff": "^3.0.2", + "sebastian/environment": "^4.2.3", + "sebastian/exporter": "^3.1.2", + "sebastian/global-state": "^3.0.0", "sebastian/object-enumerator": "^3.0.3", - "sebastian/resource-operations": "^2.0", + "sebastian/resource-operations": "^2.0.1", + "sebastian/type": "^1.1.3", "sebastian/version": "^2.0.1" }, - "conflict": { - "phpunit/phpunit-mock-objects": "*" - }, "require-dev": { "ext-pdo": "*" }, "suggest": { "ext-soap": "*", "ext-xdebug": "*", - "phpunit/php-invoker": "^2.0" + "phpunit/php-invoker": "^2.0.0" }, "bin": [ "phpunit" @@ -5463,7 +6841,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "7.5-dev" + "dev-master": "8.5-dev" } }, "autoload": { @@ -5489,29 +6867,145 @@ "testing", "xunit" ], - "time": "2019-02-01T05:24:07+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.16" + }, + "funding": [ + { + "url": "https://phpunit.de/donate.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-06-05T04:46:20+00:00" + }, + { + "name": "psr/simple-cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/master" + }, + "time": "2017-10-23T01:57:42+00:00" + }, + { + "name": "react/promise", + "version": "v2.8.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/promise.git", + "reference": "f3cff96a19736714524ca0dd1d4130de73dbbbc4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/promise/zipball/f3cff96a19736714524ca0dd1d4130de73dbbbc4", + "reference": "f3cff96a19736714524ca0dd1d4130de73dbbbc4", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^7.0 || ^6.5 || ^5.7 || ^4.8.36" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Promise\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com" + } + ], + "description": "A lightweight implementation of CommonJS Promises/A for PHP", + "keywords": [ + "promise", + "promises" + ], + "support": { + "issues": "https://github.com/reactphp/promise/issues", + "source": "https://github.com/reactphp/promise/tree/v2.8.0" + }, + "time": "2020-05-12T15:16:56+00:00" }, { "name": "sclable/xml-lint", - "version": "0.2.4", + "version": "0.3.0", "source": { "type": "git", "url": "https://github.com/sclable/xml-lint.git", - "reference": "6a9e88dec4b3960f1afc3a9ab96d31be94d10b2f" + "reference": "b5a7ff19144faa4244122b8b1d6a865f2e6a0814" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sclable/xml-lint/zipball/6a9e88dec4b3960f1afc3a9ab96d31be94d10b2f", - "reference": "6a9e88dec4b3960f1afc3a9ab96d31be94d10b2f", + "url": "https://api.github.com/repos/sclable/xml-lint/zipball/b5a7ff19144faa4244122b8b1d6a865f2e6a0814", + "reference": "b5a7ff19144faa4244122b8b1d6a865f2e6a0814", "shasum": "" }, "require": { - "symfony/console": "^2.7|3.*|4.*", - "symfony/finder": "^2.7|3.*|4.*" + "php": "7.2.*|7.3.*|7.4.*", + "symfony/console": "3.4.*|4.4.*|5.*", + "symfony/finder": "3.4.*|4.4.*|5.*" }, "require-dev": { "behat/behat": "^3.0", - "phpunit/phpunit": "^4.8" + "phpunit/phpunit": "^9.1" }, "bin": [ "bin/xmllint" @@ -5540,27 +7034,31 @@ "xml schema", "xsd" ], - "time": "2018-03-22T08:31:23+00:00" + "support": { + "issues": "https://github.com/sclable/xml-lint/issues", + "source": "https://github.com/sclable/xml-lint/tree/0.3.0" + }, + "time": "2020-04-27T06:39:16+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18" + "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", - "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619", + "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": ">=5.6" }, "require-dev": { - "phpunit/phpunit": "^5.7 || ^6.0" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { @@ -5585,29 +7083,39 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2017-03-04T06:30:41+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T08:15:22+00:00" }, { "name": "sebastian/comparator", - "version": "3.0.2", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da" + "reference": "1071dfcef776a57013124ff35e1fc41ccd294758" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da", - "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1071dfcef776a57013124ff35e1fc41ccd294758", + "reference": "1071dfcef776a57013124ff35e1fc41ccd294758", "shasum": "" }, "require": { - "php": "^7.1", + "php": ">=7.1", "sebastian/diff": "^3.0", "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "^7.1" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { @@ -5625,6 +7133,10 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, { "name": "Jeff Welch", "email": "whatthejeff@gmail.com" @@ -5636,10 +7148,6 @@ { "name": "Bernhard Schussek", "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" } ], "description": "Provides the functionality to compare PHP values for equality", @@ -5649,24 +7157,34 @@ "compare", "equality" ], - "time": "2018-07-12T15:12:46+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T08:04:30+00:00" }, { "name": "sebastian/diff", - "version": "3.0.2", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29" + "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29", - "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/14f72dd46eaf2f2293cbe79c93cc0bc43161a211", + "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211", "shasum": "" }, "require": { - "php": "^7.1" + "php": ">=7.1" }, "require-dev": { "phpunit/phpunit": "^7.5 || ^8.0", @@ -5688,13 +7206,13 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" } ], "description": "Diff implementation", @@ -5705,24 +7223,34 @@ "unidiff", "unified diff" ], - "time": "2019-02-04T06:01:07+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:59:04+00:00" }, { "name": "sebastian/environment", - "version": "4.2.3", + "version": "4.2.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368" + "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/464c90d7bdf5ad4e8a6aea15c091fec0603d4368", - "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/d47bbbad83711771f167c72d4e3f25f7fcc1f8b0", + "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0", "shasum": "" }, "require": { - "php": "^7.1" + "php": ">=7.1" }, "require-dev": { "phpunit/phpunit": "^7.5" @@ -5758,24 +7286,34 @@ "environment", "hhvm" ], - "time": "2019-11-20T08:46:58+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/4.2.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:53:42+00:00" }, { "name": "sebastian/exporter", - "version": "3.1.2", + "version": "3.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e" + "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/68609e1261d215ea5b21b7987539cbfbe156ec3e", - "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e", + "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e", "shasum": "" }, "require": { - "php": "^7.0", + "php": ">=7.0", "sebastian/recursion-context": "^3.0" }, "require-dev": { @@ -5825,7 +7363,17 @@ "export", "exporter" ], - "time": "2019-09-14T09:02:43+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:47:53+00:00" }, { "name": "sebastian/finder-facade", @@ -5871,28 +7419,35 @@ ], "description": "FinderFacade is a convenience wrapper for Symfony's Finder component.", "homepage": "https://github.com/sebastianbergmann/finder-facade", + "support": { + "issues": "https://github.com/sebastianbergmann/finder-facade/issues", + "source": "https://github.com/sebastianbergmann/finder-facade/tree/2.0.0" + }, "abandoned": true, "time": "2020-02-08T06:07:58+00:00" }, { "name": "sebastian/global-state", - "version": "2.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" + "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", - "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/474fb9edb7ab891665d3bfc6317f42a0a150454b", + "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b", "shasum": "" }, "require": { - "php": "^7.0" + "php": ">=7.2", + "sebastian/object-reflector": "^1.1.1", + "sebastian/recursion-context": "^3.0" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "ext-dom": "*", + "phpunit/phpunit": "^8.0" }, "suggest": { "ext-uopz": "*" @@ -5900,7 +7455,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -5923,24 +7478,34 @@ "keywords": [ "global state" ], - "time": "2017-04-27T15:39:26+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:43:24+00:00" }, { "name": "sebastian/object-enumerator", - "version": "3.0.3", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5" + "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5", - "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", + "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", "shasum": "" }, "require": { - "php": "^7.0", + "php": ">=7.0", "sebastian/object-reflector": "^1.1.1", "sebastian/recursion-context": "^3.0" }, @@ -5970,24 +7535,34 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-08-03T12:35:26+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:40:27+00:00" }, { "name": "sebastian/object-reflector", - "version": "1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "773f97c67f28de00d397be301821b06708fca0be" + "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be", - "reference": "773f97c67f28de00d397be301821b06708fca0be", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", + "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", "shasum": "" }, "require": { - "php": "^7.0" + "php": ">=7.0" }, "require-dev": { "phpunit/phpunit": "^6.0" @@ -6015,7 +7590,17 @@ ], "description": "Allows reflection of object attributes, including inherited and non-public ones", "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "time": "2017-03-29T09:07:27+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:37:18+00:00" }, { "name": "sebastian/phpcpd", @@ -6066,24 +7651,28 @@ ], "description": "Copy/Paste Detector (CPD) for PHP code.", "homepage": "https://github.com/sebastianbergmann/phpcpd", + "support": { + "issues": "https://github.com/sebastianbergmann/phpcpd/issues", + "source": "https://github.com/sebastianbergmann/phpcpd/tree/5.0.1" + }, "time": "2020-02-20T11:57:08+00:00" }, { "name": "sebastian/recursion-context", - "version": "3.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8" + "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8", - "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb", + "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb", "shasum": "" }, "require": { - "php": "^7.0" + "php": ">=7.0" }, "require-dev": { "phpunit/phpunit": "^6.0" @@ -6104,14 +7693,14 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, { "name": "Adam Harvey", "email": "aharvey@php.net" @@ -6119,24 +7708,34 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2017-03-03T06:23:57+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:34:24+00:00" }, { "name": "sebastian/resource-operations", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9" + "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9", - "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/31d35ca87926450c44eae7e2611d45a7a65ea8b3", + "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3", "shasum": "" }, "require": { - "php": "^7.1" + "php": ">=7.1" }, "type": "library", "extra": { @@ -6161,7 +7760,74 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2018-10-04T04:07:39+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "abandoned": true, + "time": "2020-11-30T07:30:19+00:00" + }, + { + "name": "sebastian/type", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/0150cfbc4495ed2df3872fb31b26781e4e077eb4", + "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/1.1.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:25:11+00:00" }, { "name": "sebastian/version", @@ -6204,20 +7870,24 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/master" + }, "time": "2016-10-03T07:35:21+00:00" }, { "name": "seld/jsonlint", - "version": "1.8.2", + "version": "1.8.3", "source": { "type": "git", "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337" + "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/590cfec960b77fd55e39b7d9246659e95dd6d337", - "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9ad6ce79c342fbd44df10ea95511a1b24dee5b57", + "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57", "shasum": "" }, "require": { @@ -6253,6 +7923,10 @@ "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", @@ -6263,7 +7937,7 @@ "type": "tidelift" } ], - "time": "2020-08-25T06:56:57+00:00" + "time": "2020-11-11T09:19:24+00:00" }, { "name": "seld/phar-utils", @@ -6307,55 +7981,11 @@ "keywords": [ "phar" ], - "time": "2020-07-07T18:42:57+00:00" - }, - { - "name": "sensiolabs/security-checker", - "version": "v6.0.3", - "source": { - "type": "git", - "url": "https://github.com/sensiolabs/security-checker.git", - "reference": "a576c01520d9761901f269c4934ba55448be4a54" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/a576c01520d9761901f269c4934ba55448be4a54", - "reference": "a576c01520d9761901f269c4934ba55448be4a54", - "shasum": "" - }, - "require": { - "php": ">=7.1.3", - "symfony/console": "^2.8|^3.4|^4.2|^5.0", - "symfony/http-client": "^4.3|^5.0", - "symfony/mime": "^4.3|^5.0", - "symfony/polyfill-ctype": "^1.11" - }, - "bin": [ - "security-checker" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.0-dev" - } - }, - "autoload": { - "psr-4": { - "SensioLabs\\Security\\": "SensioLabs/Security" - } + "support": { + "issues": "https://github.com/Seldaek/phar-utils/issues", + "source": "https://github.com/Seldaek/phar-utils/tree/master" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien.potencier@gmail.com" - } - ], - "description": "A security checker for your composer.lock", - "time": "2019-11-01T13:20:14+00:00" + "time": "2020-07-07T18:42:57+00:00" }, { "name": "sonata-project/admin-bundle", @@ -6469,38 +8099,46 @@ "bootstrap", "sonata" ], + "support": { + "issues": "https://github.com/sonata-project/SonataAdminBundle/issues", + "source": "https://github.com/sonata-project/SonataAdminBundle/tree/3.x" + }, "time": "2020-08-22T16:21:57+00:00" }, { "name": "sonata-project/exporter", - "version": "2.3.0", + "version": "2.6.2", "source": { "type": "git", "url": "https://github.com/sonata-project/exporter.git", - "reference": "d2fb26e7a8c8bf86e5d7a2aed563375e28f6762e" + "reference": "ac62024a6d4d3ddff8da98d43119a0f3ec1ef59a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sonata-project/exporter/zipball/d2fb26e7a8c8bf86e5d7a2aed563375e28f6762e", - "reference": "d2fb26e7a8c8bf86e5d7a2aed563375e28f6762e", + "url": "https://api.github.com/repos/sonata-project/exporter/zipball/ac62024a6d4d3ddff8da98d43119a0f3ec1ef59a", + "reference": "ac62024a6d4d3ddff8da98d43119a0f3ec1ef59a", "shasum": "" }, "require": { - "php": "^7.2" + "php": "^7.3 || ^8.0" + }, + "conflict": { + "doctrine/mongodb-odm": "<2.0" }, "require-dev": { "doctrine/dbal": "^2.5", + "doctrine/mongodb-odm": "^2.0", "doctrine/orm": "^2.4.5", - "matthiasnoback/symfony-config-test": "^4.0", + "matthiasnoback/symfony-config-test": "^4.2", "matthiasnoback/symfony-dependency-injection-test": "^4.0", "propel/propel1": "^1.6", - "symfony/config": "^3.4 || ^4.3 || ^5.0", - "symfony/dependency-injection": "^3.4 || ^4.3 || ^5.0", - "symfony/http-foundation": "^3.4 || ^4.3 || ^5.0", - "symfony/http-kernel": "^3.4 || ^4.3 || ^5.0", - "symfony/phpunit-bridge": "^4.3.8 || ^5.0", - "symfony/property-access": "^3.4 || ^4.3 || ^5.0", - "symfony/routing": "^3.4 || ^4.3 || ^5.0" + "symfony/config": "^4.4 || ^5.2", + "symfony/dependency-injection": "^4.4 || ^5.2", + "symfony/http-foundation": "^4.4 || ^5.2", + "symfony/http-kernel": "^4.4 || ^5.2", + "symfony/phpunit-bridge": "^5.2", + "symfony/property-access": "^4.4 || ^5.2", + "symfony/routing": "^4.4 || ^5.2" }, "suggest": { "propel/propel1": "To export propel collections", @@ -6515,7 +8153,8 @@ }, "autoload": { "psr-4": { - "Sonata\\Exporter\\": "src/" + "Sonata\\Exporter\\": "src/", + "Sonata\\Exporter\\Bridge\\Symfony\\": "src/Bridge/Symfony/" } }, "notification-url": "https://packagist.org/downloads/", @@ -6532,31 +8171,55 @@ "description": "Lightweight Exporter library", "homepage": "https://github.com/sonata-project/Exporter", "keywords": [ + "bundle", "client", "csv", "data", "export", + "symfony-bundle", "xls" ], - "time": "2020-07-14T21:36:10+00:00" + "support": { + "issues": "https://github.com/sonata-project/exporter/issues", + "source": "https://github.com/sonata-project/exporter/tree/2.6.2" + }, + "funding": [ + { + "url": "https://github.com/OskarStark", + "type": "github" + }, + { + "url": "https://github.com/VincentLanglet", + "type": "github" + }, + { + "url": "https://github.com/core23", + "type": "github" + }, + { + "url": "https://github.com/wbloszyk", + "type": "github" + } + ], + "time": "2021-04-09T12:02:14+00:00" }, { "name": "sonata-project/twig-extensions", - "version": "1.4.1", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/sonata-project/twig-extensions.git", - "reference": "8da644925839610128c74ce9c8f5c23b7c4b5efd" + "reference": "888776b703a2e3bf25e9d3911d515742e47d845e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sonata-project/twig-extensions/zipball/8da644925839610128c74ce9c8f5c23b7c4b5efd", - "reference": "8da644925839610128c74ce9c8f5c23b7c4b5efd", + "url": "https://api.github.com/repos/sonata-project/twig-extensions/zipball/888776b703a2e3bf25e9d3911d515742e47d845e", + "reference": "888776b703a2e3bf25e9d3911d515742e47d845e", "shasum": "" }, "require": { - "php": "^7.2", - "sonata-project/doctrine-extensions": "^1.9", + "php": "^7.3 || ^8.0", + "sonata-project/doctrine-extensions": "^1.9.1", "symfony/config": "^4.4 || ^5.1", "symfony/translation": "^4.4 || ^5.1", "symfony/twig-bridge": "^4.4 || ^5.1", @@ -6566,15 +8229,14 @@ "sonata-project/core-bundle": ">=3.13" }, "require-dev": { - "jms/serializer-bundle": "^3.3", - "matthiasnoback/symfony-config-test": "^4.0", + "matthiasnoback/symfony-config-test": "^4.2", "matthiasnoback/symfony-dependency-injection-test": "^4.0", "symfony/browser-kit": "^4.4 || ^5.1", "symfony/dependency-injection": "^4.4 || ^5.1", - "symfony/framework-bundle": "^4.4 || ^5.0", + "symfony/framework-bundle": "^4.4 || ^5.1", "symfony/http-foundation": "^4.4 || ^5.1", "symfony/http-kernel": "^4.4 || ^5.1", - "symfony/phpunit-bridge": "^5.1", + "symfony/phpunit-bridge": "^5.1.8", "symfony/twig-bundle": "^4.4 || ^5.1" }, "type": "library", @@ -6611,7 +8273,29 @@ "twig", "twig-extensions" ], - "time": "2020-08-09T21:35:09+00:00" + "support": { + "issues": "https://github.com/sonata-project/twig-extensions/issues", + "source": "https://github.com/sonata-project/twig-extensions/tree/1.6.0" + }, + "funding": [ + { + "url": "https://github.com/OskarStark", + "type": "github" + }, + { + "url": "https://github.com/VincentLanglet", + "type": "github" + }, + { + "url": "https://github.com/core23", + "type": "github" + }, + { + "url": "https://github.com/wbloszyk", + "type": "github" + } + ], + "time": "2021-05-18T20:48:34+00:00" }, { "name": "splash/console", @@ -6619,42 +8303,31 @@ "source": { "type": "git", "url": "https://github.com/SplashSync/Php-Console.git", - "reference": "8693dda627c90184106f56b197388a1eecaba248" + "reference": "420f0865dd1c6c0f3d8ecb13af416a0939544cb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SplashSync/Php-Console/zipball/8693dda627c90184106f56b197388a1eecaba248", - "reference": "8693dda627c90184106f56b197388a1eecaba248", + "url": "https://api.github.com/repos/SplashSync/Php-Console/zipball/420f0865dd1c6c0f3d8ecb13af416a0939544cb0", + "reference": "420f0865dd1c6c0f3d8ecb13af416a0939544cb0", "shasum": "" }, "require": { - "php": "~7.1", - "symfony/console": "~3.4|~4.0" + "php": "~7.2", + "symfony/console": "^4.0" }, "require-dev": { - "composer/composer": "^1.5", + "badpixxel/php-sdk": "dev-main", "doctrine/doctrine-bundle": "^1.6", "doctrine/orm": "^2.5", - "friendsofphp/php-cs-fixer": ">2.10", - "j13k/yaml-lint": "^1.1", - "jakub-onderka/php-parallel-lint": "^1.0", "monolog/monolog": "^1.0", - "phpmd/phpmd": "^2.6", - "phpro/grumphp": "^0.16", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "~7.0|~8.0", - "sclable/xml-lint": "^0.2.4", - "sebastian/phpcpd": ">3.0", - "seld/jsonlint": "^1.7", - "sensiolabs/security-checker": "^5.0", + "psr/simple-cache": "*", "splash/faker": "dev-master", "splash/php-bundle": "dev-master", "splash/phpcore": "dev-master", - "squizlabs/php_codesniffer": "^3.2", "symfony/monolog-bundle": "*", - "symfony/symfony": "~3.4" + "symfony/symfony": "^4.0" }, + "default-branch": true, "bin": [ "bin/splash" ], @@ -6679,7 +8352,11 @@ } ], "description": "Console Application for All Splash Php Applications", - "time": "2020-07-27T18:34:04+00:00" + "support": { + "issues": "https://github.com/SplashSync/Php-Console/issues", + "source": "https://github.com/SplashSync/Php-Console/tree/master" + }, + "time": "2021-05-09T13:57:29+00:00" }, { "name": "splash/php-bundle", @@ -6687,46 +8364,32 @@ "source": { "type": "git", "url": "https://github.com/SplashSync/Php-Bundle.git", - "reference": "9335deae61c3b620f8d17fda5afc5e808905f735" + "reference": "c461ae2d5a09bc132ce4d8f0fc5620f94a8db3f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SplashSync/Php-Bundle/zipball/9335deae61c3b620f8d17fda5afc5e808905f735", - "reference": "9335deae61c3b620f8d17fda5afc5e808905f735", + "url": "https://api.github.com/repos/SplashSync/Php-Bundle/zipball/c461ae2d5a09bc132ce4d8f0fc5620f94a8db3f9", + "reference": "c461ae2d5a09bc132ce4d8f0fc5620f94a8db3f9", "shasum": "" }, "require": { - "php": "^7.1", - "splash/phpcore": "dev-master" + "php": "^7.2", + "psr/simple-cache": "*", + "splash/phpcore": "@stable" }, "require-dev": { - "composer/composer": "^1.5", + "badpixxel/php-sdk": "dev-main", "doctrine/doctrine-bundle": "^1.9", "doctrine/orm": "^2.4", - "escapestudios/symfony2-coding-standard": "^3.4", - "friendsofphp/php-cs-fixer": "*", - "j13k/yaml-lint": "^1.1", - "jakub-onderka/php-parallel-lint": "^1.0", "monolog/monolog": "^1.0", - "phpmd/phpmd": "~2.7.0", - "phpro/grumphp": "^0.16", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-doctrine": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-symfony": "^0.12", - "phpunit/phpunit": ">6", - "sclable/xml-lint": "^0.2.4", - "sebastian/phpcpd": ">3.0", - "seld/jsonlint": "^1.7", "sensio/framework-extra-bundle": "*", - "sensiolabs/security-checker": "*", "splash/console": "dev-master", "splash/faker": "dev-master", - "squizlabs/php_codesniffer": "^3.2", "symfony/monolog-bundle": "*", "symfony/phpunit-bridge": "*", - "symfony/symfony": "~3.4|~4.0.0|~4.2.0" + "symfony/symfony": "~4.4" }, + "default-branch": true, "type": "symfony-bundle", "autoload": { "psr-4": { @@ -6752,44 +8415,32 @@ } ], "description": "Splash Core Bundle for Symfony Applications", - "time": "2020-09-02T20:04:06+00:00" + "support": { + "issues": "https://github.com/SplashSync/Php-Bundle/issues", + "source": "https://github.com/SplashSync/Php-Bundle/tree/1.2.0" + }, + "time": "2021-04-19T09:22:54+00:00" }, { "name": "splash/phpcore", - "version": "dev-master", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/SplashSync/Php-Core.git", - "reference": "6186a6d2663241d9d2cdcc535ff4450473a19d24" + "reference": "2d553b5fc08a0c2d8e6eeb55a222f50ec1621888" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SplashSync/Php-Core/zipball/6186a6d2663241d9d2cdcc535ff4450473a19d24", - "reference": "6186a6d2663241d9d2cdcc535ff4450473a19d24", + "url": "https://api.github.com/repos/SplashSync/Php-Core/zipball/2d553b5fc08a0c2d8e6eeb55a222f50ec1621888", + "reference": "2d553b5fc08a0c2d8e6eeb55a222f50ec1621888", "shasum": "" }, "require": { - "php": "^7.1" - }, - "conflict": { - "phpunit/phpunit": ">7.5.3|~8.0" + "php": "^7.2" }, "require-dev": { - "composer/composer": "^1.5", - "friendsofphp/php-cs-fixer": ">2.10", - "j13k/yaml-lint": "^1.1", - "jakub-onderka/php-parallel-lint": "^1.0", - "phpmd/phpmd": "^2.6", - "phpro/grumphp": "^0.16", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "~5.0|~6.0|~7.0", - "sclable/xml-lint": "^0.2.4", - "sebastian/phpcpd": ">3.0", - "seld/jsonlint": "^1.7", - "sensiolabs/security-checker": "^5.0", - "splash/console": "dev-master", - "squizlabs/php_codesniffer": "^3.2" + "badpixxel/php-sdk": "dev-main", + "splash/console": "dev-master" }, "type": "package", "autoload": { @@ -6816,20 +8467,24 @@ } ], "description": "Splash Fundation Module for All Php Applications", - "time": "2020-09-04T09:29:07+00:00" + "support": { + "issues": "https://github.com/SplashSync/Php-Core/issues", + "source": "https://github.com/SplashSync/Php-Core/tree/1.7.0" + }, + "time": "2021-04-23T12:31:26+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.6", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "e97627871a7eab2f70e59166072a6b767d5834e0" + "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/e97627871a7eab2f70e59166072a6b767d5834e0", - "reference": "e97627871a7eab2f70e59166072a6b767d5834e0", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", "shasum": "" }, "require": { @@ -6867,20 +8522,25 @@ "phpcs", "standards" ], - "time": "2020-08-10T04:50:15+00:00" + "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/phpunit-bridge", - "version": "v3.4.44", + "version": "v3.4.47", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "03f831108f7cea087be83cc6dd07d3419542a5ba" + "reference": "120273ad5d03a8deee08ca9260e2598f288f2bac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/03f831108f7cea087be83cc6dd07d3419542a5ba", - "reference": "03f831108f7cea087be83cc6dd07d3419542a5ba", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/120273ad5d03a8deee08ca9260e2598f288f2bac", + "reference": "120273ad5d03a8deee08ca9260e2598f288f2bac", "shasum": "" }, "require": { @@ -6897,9 +8557,6 @@ ], "type": "symfony-bridge", "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - }, "thanks": { "name": "phpunit/phpunit", "url": "https://github.com/sebastianbergmann/phpunit" @@ -6932,6 +8589,9 @@ ], "description": "Symfony PHPUnit Bridge", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/phpunit-bridge/tree/v3.4.47" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -6946,24 +8606,24 @@ "type": "tidelift" } ], - "time": "2020-07-22T22:00:00+00:00" + "time": "2020-11-13T16:28:59+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.18.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5" + "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b740103edbdcc39602239ee8860f0f45a8eb9aa5", - "reference": "b740103edbdcc39602239ee8860f0f45a8eb9aa5", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/24b72c6baa32c746a4d0840147c9715e42bb68ab", + "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-intl": "For best performance" @@ -6971,7 +8631,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7010,6 +8670,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -7024,37 +8687,41 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2021-05-27T09:17:38+00:00" }, { "name": "symfony/security-acl", - "version": "v3.1.0", + "version": "v3.1.2", "source": { "type": "git", "url": "https://github.com/symfony/security-acl.git", - "reference": "6113f4c17648b0d3cc41e4bb78ee0aed3c88166b" + "reference": "3090d19879577c2993314c68a2cf6c5723744049" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-acl/zipball/6113f4c17648b0d3cc41e4bb78ee0aed3c88166b", - "reference": "6113f4c17648b0d3cc41e4bb78ee0aed3c88166b", + "url": "https://api.github.com/repos/symfony/security-acl/zipball/3090d19879577c2993314c68a2cf6c5723744049", + "reference": "3090d19879577c2993314c68a2cf6c5723744049", "shasum": "" }, "require": { "php": ">=7.1.3", "symfony/security-core": "^3.4|^4.4|^5.0" }, + "conflict": { + "doctrine/dbal": "<2.13.1|~3.0.0" + }, "require-dev": { - "doctrine/common": "~2.2", - "doctrine/dbal": "~2.2", - "doctrine/persistence": "^1.3.3", + "doctrine/common": "^2.2|^3", + "doctrine/dbal": "^2.13.1|^3.1", + "doctrine/persistence": "^1.3.3|^2", "psr/log": "~1.0", - "symfony/phpunit-bridge": "^3.4|^4.4|^5.0" + "symfony/finder": "^3.4|^4.4|^5.0", + "symfony/phpunit-bridge": "^5.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -7081,6 +8748,10 @@ ], "description": "Symfony Security Component - ACL (Access Control List)", "homepage": "https://symfony.com", + "support": { + "issues": "https://github.com/symfony/security-acl/issues", + "source": "https://github.com/symfony/security-acl/tree/v3.1.2" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -7095,20 +8766,20 @@ "type": "tidelift" } ], - "time": "2020-08-07T07:02:56+00:00" + "time": "2021-04-28T18:28:16+00:00" }, { "name": "symfony/string", - "version": "v5.1.5", + "version": "v5.3.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "0de4cc1e18bb596226c06a82e2e7e9bc6001a63a" + "reference": "0732e97e41c0a590f77e231afc16a327375d50b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/0de4cc1e18bb596226c06a82e2e7e9bc6001a63a", - "reference": "0de4cc1e18bb596226c06a82e2e7e9bc6001a63a", + "url": "https://api.github.com/repos/symfony/string/zipball/0732e97e41c0a590f77e231afc16a327375d50b0", + "reference": "0732e97e41c0a590f77e231afc16a327375d50b0", "shasum": "" }, "require": { @@ -7126,11 +8797,6 @@ "symfony/var-exporter": "^4.4|^5.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\String\\": "" @@ -7156,7 +8822,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony String component", + "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", @@ -7166,6 +8832,9 @@ "utf-8", "utf8" ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.3.2" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -7180,7 +8849,7 @@ "type": "tidelift" } ], - "time": "2020-08-17T07:48:54+00:00" + "time": "2021-06-06T09:51:56+00:00" }, { "name": "theseer/fdomdocument", @@ -7220,6 +8889,10 @@ ], "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", "homepage": "https://github.com/theseer/fDOMDocument", + "support": { + "issues": "https://github.com/theseer/fDOMDocument/issues", + "source": "https://github.com/theseer/fDOMDocument/tree/master" + }, "time": "2017-06-30T11:53:12+00:00" }, { @@ -7260,6 +8933,10 @@ } ], "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" + }, "funding": [ { "url": "https://github.com/theseer", @@ -7270,21 +8947,22 @@ }, { "name": "twig/string-extra", - "version": "v3.0.5", + "version": "v3.3.1", "source": { "type": "git", "url": "https://github.com/twigphp/string-extra.git", - "reference": "8e9b436d25b9473e9dc163c83cff1eb9f5dd68c4" + "reference": "b98a7cee2a44cf69c88a978834394bd17b694957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/string-extra/zipball/8e9b436d25b9473e9dc163c83cff1eb9f5dd68c4", - "reference": "8e9b436d25b9473e9dc163c83cff1eb9f5dd68c4", + "url": "https://api.github.com/repos/twigphp/string-extra/zipball/b98a7cee2a44cf69c88a978834394bd17b694957", + "reference": "b98a7cee2a44cf69c88a978834394bd17b694957", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/string": "^5.0", + "symfony/translation-contracts": "^1.1|^2", "twig/twig": "^2.4|^3.0" }, "require-dev": { @@ -7293,13 +8971,16 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.12-dev" + "dev-master": "3.2-dev" } }, "autoload": { "psr-4": { - "Twig\\Extra\\String\\": "src/" - } + "Twig\\Extra\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7321,19 +9002,10 @@ "twig", "unicode" ], + "support": { + "source": "https://github.com/twigphp/string-extra/tree/v3.3.1" + }, "funding": [ - { - "url": "https://certification.symfony.com/", - "type": "custom" - }, - { - "url": "https://live.symfony.com/", - "type": "custom" - }, - { - "url": "https://symfony.com/cloud/", - "type": "custom" - }, { "url": "https://github.com/fabpot", "type": "github" @@ -7343,34 +9015,39 @@ "type": "tidelift" } ], - "time": "2020-05-21T09:54:27+00:00" + "time": "2021-05-12T07:45:40+00:00" }, { "name": "webmozart/assert", - "version": "1.9.1", + "version": "1.10.0", "source": { "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + "url": "https://github.com/webmozarts/assert.git", + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0 || ^8.0", + "php": "^7.2 || ^8.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<3.9.1" + "vimeo/psalm": "<4.6.1 || 4.6.2" }, "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^7.5.13" + "phpunit/phpunit": "^8.5.13" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -7392,14 +9069,19 @@ "check", "validate" ], - "time": "2020-07-08T17:02:28+00:00" + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.10.0" + }, + "time": "2021-03-09T10:59:23+00:00" } ], "aliases": [], "minimum-stability": "dev", "stability-flags": { "splash/php-bundle": 20, - "splash/console": 20 + "splash/console": 20, + "badpixxel/php-sdk": 20 }, "prefer-stable": true, "prefer-lowest": false, @@ -7407,5 +9089,5 @@ "php": "~7.2" }, "platform-dev": [], - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.0.0" } diff --git a/grumphp.yml b/grumphp.yml index 7a0825a..f4fe12f 100755 --- a/grumphp.yml +++ b/grumphp.yml @@ -15,15 +15,14 @@ # ################################################################################ +############################################# +# Override Default Config. parameters: - # Config fro PhpStan + mode: "badpixxel" + # Php Stan stan_config: "./tests/grumphp/phpstan.neon" - # For Building Splash Module - mod-enable: false - # For Building Splash Manifest - yml-enable: false - -############################################# -# Import Config. from Generic Bundle + +############################################# +# Import Generic + Splash Console Configs imports: - - { resource: "./vendor/splash/php-bundle/src/Resources/grumphp/grumphp.base.yml" } \ No newline at end of file + - { resource: "./vendor/badpixxel/php-sdk/grumphp/generic.yml" } \ No newline at end of file diff --git a/src/Block/WidgetBlock.php b/src/Block/WidgetBlock.php index 0c9d5f8..4c24689 100755 --- a/src/Block/WidgetBlock.php +++ b/src/Block/WidgetBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,6 +13,7 @@ namespace Splash\Widgets\Block; +use Exception; use Sonata\AdminBundle\Form\FormMapper; use Sonata\BlockBundle\Block\BlockContextInterface; use Sonata\BlockBundle\Block\Service\AbstractAdminBlockService; @@ -56,8 +55,12 @@ class WidgetBlock extends AbstractAdminBlockService * @param ManagerService $widgetsManager * @param FactoryService $widgetFactory */ - public function __construct(string $name, EngineInterface $templating, ManagerService $widgetsManager, FactoryService $widgetFactory) - { + public function __construct( + string $name, + EngineInterface $templating, + ManagerService $widgetsManager, + FactoryService $widgetFactory + ) { parent::__construct($name, $templating); $this->manager = $widgetsManager; @@ -93,8 +96,10 @@ public function buildEditForm(FormMapper $formMapper, BlockInterface $block): vo /** * {@inheritdoc} + * + * @throws Exception */ - public function execute(BlockContextInterface $blockContext, Response $response = null) + public function execute(BlockContextInterface $blockContext, Response $response = null): ?Response { //============================================================================== // Get Block Settings @@ -102,11 +107,17 @@ public function execute(BlockContextInterface $blockContext, Response $response //============================================================================== // Merge Passed Rendering Options to Widget Options - $options = array_merge($this->manager->getWidgetOptions($settings["service"], $settings["type"]), $settings["options"]); + $options = array_merge( + $this->manager->getWidgetOptions($settings["service"], $settings["type"]), + $settings["options"] + ); //============================================================================== // Merge Passed Parameters - $parameters = array_merge($this->manager->getWidgetParameters($settings["service"], $settings["type"]), $settings["parameters"]); + $parameters = array_merge( + $this->manager->getWidgetParameters($settings["service"], $settings["type"]), + $settings["parameters"] + ); //============================================================================== // Render Response @@ -121,10 +132,16 @@ public function execute(BlockContextInterface $blockContext, Response $response /** * {@inheritdoc} */ - public function getBlockMetadata($code = null) + public function getBlockMetadata($code = null): Metadata { - return new Metadata($this->getName(), (!is_null($code) ? $code : $this->getName()), null, 'SplashWidgetsBundle', array( - 'class' => 'fa fa-television', - )); + return new Metadata( + $this->getName(), + (!is_null($code) ? $code : $this->getName()), + null, + 'SplashWidgetsBundle', + array( + 'class' => 'fa fa-television', + ) + ); } } diff --git a/src/Block/WidgetCollectionBlock.php b/src/Block/WidgetCollectionBlock.php index 4f80f6a..fa678aa 100755 --- a/src/Block/WidgetCollectionBlock.php +++ b/src/Block/WidgetCollectionBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,7 +14,8 @@ namespace Splash\Widgets\Block; use Doctrine\ORM\EntityManager; -use Doctrine\ORM\EntityRepository; +use Doctrine\ORM\ORMException; +use Doctrine\Persistence\ObjectRepository; use Exception; use Sonata\AdminBundle\Form\FormMapper; use Sonata\BlockBundle\Block\BlockContextInterface; @@ -45,7 +44,7 @@ class WidgetCollectionBlock extends AbstractAdminBlockService /** * Widget Collections Repository * - * @var EntityRepository + * @var ObjectRepository */ private $repository; @@ -61,9 +60,15 @@ class WidgetCollectionBlock extends AbstractAdminBlockService * @param EngineInterface $templating * @param EntityManager $manager * @param RequestStack $requestStack + * + * @throws Exception */ - public function __construct(string $name, EngineInterface $templating, EntityManager $manager, RequestStack $requestStack) - { + public function __construct( + string $name, + EngineInterface $templating, + EntityManager $manager, + RequestStack $requestStack + ) { parent::__construct($name, $templating); $this->manager = $manager; @@ -93,7 +98,8 @@ public function configureSettings(OptionsResolver $resolver): void } /** - * {@inheritdoc} + * @param FormMapper $formMapper + * @param BlockInterface $block * * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ @@ -112,14 +118,17 @@ public function buildEditForm(FormMapper $formMapper, BlockInterface $block): vo /** * {@inheritdoc} + * + * @throws ORMException */ - public function execute(BlockContextInterface $blockContext, Response $response = null) + public function execute(BlockContextInterface $blockContext, Response $response = null): ?Response { //============================================================================== // Get Block Settings $settings = $blockContext->getSettings(); //============================================================================== // Load Collection from DataBase + /** @var null|WidgetCollection $collection */ $collection = $this->repository->findOneBy(array("type" => $settings["collection"])); //============================================================================== // Create Collection if not found @@ -133,13 +142,13 @@ public function execute(BlockContextInterface $blockContext, Response $response $this->manager->flush(); //============================================================================== // Is Edit Mode? - $edit = ($settings["editable"] & ($this->request->get("widget-edit") == $collection->getId())) ? true : false; + $edit = (bool)(($settings["editable"] & ($this->request->get("widget-edit") == $collection->getId()))); foreach ($collection->getWidgets() as &$widget) { // Merge Edition Options $widget->mergeOptions(array( "Editable" => $settings["editable"], - "EditMode" => (($this->request->get("widget-edit") == $collection->getId()) ? true : false), + "EditMode" => $this->request->get("widget-edit") == $collection->getId(), )); // Merge Global Options $widget->mergeOptions($settings["options"]); @@ -160,10 +169,16 @@ public function execute(BlockContextInterface $blockContext, Response $response /** * {@inheritdoc} */ - public function getBlockMetadata($code = null) + public function getBlockMetadata($code = null): Metadata { - return new Metadata($this->getName(), (!is_null($code) ? $code : $this->getName()), null, 'SplashWidgetsBundle', array( - 'class' => 'fa fa-television', - )); + return new Metadata( + $this->getName(), + (!is_null($code) ? $code : $this->getName()), + null, + 'SplashWidgetsBundle', + array( + 'class' => 'fa fa-television', + ) + ); } } diff --git a/src/Controller/CollectionController.php b/src/Controller/CollectionController.php index b1596b9..9239a90 100755 --- a/src/Controller/CollectionController.php +++ b/src/Controller/CollectionController.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,8 +13,11 @@ namespace Splash\Widgets\Controller; +use Exception; use Splash\Widgets\Entity\WidgetCollection; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; +use Splash\Widgets\Services\CollectionService; +use Splash\Widgets\Services\ManagerService; +use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -24,7 +25,7 @@ /** * Manage Widgets Collections */ -class CollectionController extends Controller +class CollectionController extends AbstractController { /** * Widget Collection @@ -36,7 +37,7 @@ class CollectionController extends Controller /** * Class Initialisation * - * @param int $collectionId Widget Collection Id + * @param null|int $collectionId Widget Collection Id * * @return bool */ @@ -44,7 +45,7 @@ public function initialize(int $collectionId = null) : bool { //============================================================================== // Load Collection - $collection = $this->get("doctrine") + $collection = $this->getDoctrine() ->getManager() ->getRepository(WidgetCollection::class) ->find($collectionId); @@ -134,16 +135,16 @@ public function reorderAction(Request $request, int $collectionId) : Response return new Response("Splash Widgets : Init Failed", 500); } //============================================================================== - // Retreive New Order from Post + // Retrieve New Order from Post $orderArray = $request->request->get("ordering"); //============================================================================== // Apply if (!$this->collection->reorder($orderArray)) { - return new Response("Widget Collection ReOrder Failled", 400); + return new Response("Widget Collection ReOrder Failed", 400); } //============================================================================== // Save Changes - $this->getDoctrine()->getManager()->Flush(); + $this->getDoctrine()->getManager()->flush(); return new Response("Widget Collection ReOrder Done", 200); } @@ -151,14 +152,21 @@ public function reorderAction(Request $request, int $collectionId) : Response /** * Update Collection Dates Preset from Ajax Request * - * @param Request $request - * @param int $collectionId - * @param string $preset + * @param Request $request + * @param ManagerService $manager + * @param int $collectionId + * @param string $preset + * + * @throws Exception * * @return Response */ - public function presetAction(Request $request, int $collectionId, string $preset = "M") : Response - { + public function presetAction( + Request $request, + ManagerService $manager, + int $collectionId, + string $preset = "M" + ) : Response { //============================================================================== // Init & Safety Check if (!$this->initialize($collectionId)) { @@ -166,26 +174,23 @@ public function presetAction(Request $request, int $collectionId, string $preset } //============================================================================== - // Update CVollection Itself + // Update Collection Itself $this->collection->setPreset($preset); foreach ($this->collection->getWidgets() as $widget) { if (!$widget->isPreset($preset)) { continue; } - $this - ->get("splash.widgets.manager") - ->setWidgetParameter( - $this->collection->getService(), - $widget->getId()."@".$this->collection->getid(), - "DatePreset", - $preset - ) - ; + $manager->setWidgetParameter( + $this->collection->getService(), + $widget->getId()."@".$this->collection->getid(), + "DatePreset", + $preset + ); } //============================================================================== // Save Changes - $this->getDoctrine()->getManager()->Flush(); + $this->getDoctrine()->getManager()->flush(); return $this->redirectToReferer($request); } @@ -193,15 +198,23 @@ public function presetAction(Request $request, int $collectionId, string $preset /** * Add Widget to Collection from Ajax Request * - * @param Request $request - * @param int $collectionId - * @param string $service - * @param string $type + * @param Request $request + * @param ManagerService $manager + * @param int $collectionId + * @param string $service + * @param string $type + * + * @throws Exception * * @return Response */ - public function addAction(Request $request, int $collectionId, string $service, string $type) : Response - { + public function addAction( + Request $request, + ManagerService $manager, + int $collectionId, + string $service, + string $type + ) : Response { //============================================================================== // Init & Safety Check if (!$this->initialize($collectionId)) { @@ -209,7 +222,7 @@ public function addAction(Request $request, int $collectionId, string $service, } //============================================================================== // Load Widget - $widget = $this->get("splash.widgets.manager")->getWidget($service, $type); + $widget = $manager->getWidget($service, $type); if (is_null($widget)) { return $this->redirectToReferer($request); } @@ -226,18 +239,17 @@ public function addAction(Request $request, int $collectionId, string $service, /** * Remove Widget from Collection from Ajax Request * - * @param string $service - * @param string $type + * @param CollectionService $manager + * @param string $service + * @param string $type * * @return Response */ - public function removeAction(string $service, string $type) : Response + public function removeAction(CollectionService $manager, string $service, string $type) : Response { //============================================================================== // Init & Safety Check - $manager = $this->has($service) - ? $this->get($service) - : $this->get("splash.widgets.collection"); + $manager = $this->has($service) ? $this->get($service) : $manager; if (empty($manager) || !method_exists($manager, "getDefinition")) { return new Response("Splash Widgets : Init Failed", 500); } @@ -250,7 +262,7 @@ public function removeAction(string $service, string $type) : Response //============================================================================== // Add Widget To Collection $widget->getParent()->removeWidget($widget); - $this->getDoctrine()->getManager()->Remove($widget); + $this->getDoctrine()->getManager()->remove($widget); //============================================================================== // Save Changes $this->getDoctrine()->getManager()->Flush(); diff --git a/src/Controller/DemoController.php b/src/Controller/DemoController.php index 148eef3..ee4e596 100755 --- a/src/Controller/DemoController.php +++ b/src/Controller/DemoController.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,10 +13,11 @@ namespace Splash\Widgets\Controller; +use Exception; use Splash\Widgets\Entity\Widget; use Splash\Widgets\Entity\WidgetCollection; +use Splash\Widgets\Services\FactoryService; use Splash\Widgets\Services\ManagerService; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -28,43 +27,20 @@ class DemoController extends EditController { /** - * Widget Manager Service - * - * @var ManagerService - */ - private $manager; - - /** - * Class Initialization + * @param ManagerService $manager * - * @param string $service + * @throws Exception * - * @return bool - */ - public function initialize(string $service = null) : bool - { - parent::initialize((string) $service); - //====================================================================// - // Get Widget Manager Service - $this->manager = $this->get("splash.widgets.manager"); - - return true; - } - - /** * @return Response */ - public function indexAction() : Response + public function indexAction(ManagerService $manager) : Response { - //============================================================================== - // Init & Safety Check - $this->initialize(); //============================================================================== // Load Demo Widgets from Channel List - $widgets = $this->manager->getList(ManagerService::DEMO_WIDGETS); + $widgets = $manager->getList(ManagerService::DEMO_WIDGETS); //============================================================================== // Init Demo Widgets Collection - $demoCollection = $this->getDemoCollection(); + $demoCollection = $this->getDemoCollection($manager); return $this->render('@SplashWidgets/Demo/index.html.twig', array( 'Widgets' => $widgets, @@ -73,16 +49,17 @@ public function indexAction() : Response } /** + * @param ManagerService $manager + * + * @throws Exception + * * @return Response */ - public function listAction() : Response + public function listAction(ManagerService $manager) : Response { - //============================================================================== - // Init & Safety Check - $this->initialize(); //============================================================================== // Load Demo Widgets from Channel List - $widgets = $this->manager->getList(ManagerService::DEMO_WIDGETS); + $widgets = $manager->getList(ManagerService::DEMO_WIDGETS); return $this->render('@SplashWidgets/Demo/List/index.html.twig', array( 'Widgets' => $widgets, @@ -90,48 +67,52 @@ public function listAction() : Response } /** + * @param ManagerService $manager + * + * @throws Exception + * * @return Response */ - public function forcedAction() : Response + public function forcedAction(ManagerService $manager) : Response { - //============================================================================== - // Init & Safety Check - $this->initialize(); - return $this->render('@SplashWidgets/Demo/Single/forced.html.twig', array( - 'Widgets' => $this->manager->getList(ManagerService::DEMO_WIDGETS), + 'Widgets' => $manager->getList(ManagerService::DEMO_WIDGETS), )); } /** + * @param ManagerService $manager + * + * @throws Exception + * * @return Response */ - public function delayedAction() : Response + public function delayedAction(ManagerService $manager) : Response { - //============================================================================== - // Init & Safety Check - $this->initialize(); - return $this->render('@SplashWidgets/Demo/Single/delayed.html.twig', array( - 'Widgets' => $this->manager->getList(ManagerService::DEMO_WIDGETS), + 'Widgets' => $manager->getList(ManagerService::DEMO_WIDGETS), )); } /** - * @param Request $request - * @param string $widgetType + * @param Request $request + * @param ManagerService $manager + * @param FactoryService $factory + * @param string $widgetType + * + * @throws Exception * * @return Response */ - public function editAction(Request $request, string $widgetType = "Text") : Response - { - //============================================================================== - // Init & Safety Check - $this->initialize(); - + public function editAction( + Request $request, + ManagerService $manager, + FactoryService $factory, + string $widgetType = "Text" + ) : Response { //============================================================================== // Load Demo Widget from Demo Factory - $widget = $this->manager->getWidget("splash.widgets.demo.factory", $widgetType); + $widget = $manager->getWidget("splash.widgets.demo.factory", $widgetType); if (!$widget) { return $this->redirectToRoute("splash_widgets_demo_list"); } @@ -139,25 +120,26 @@ public function editAction(Request $request, string $widgetType = "Text") : Resp //============================================================================== // Import Form Data & Prepare Data for Form Display - $params = $this->prepare($request, "splash.widgets.demo.factory", $widgetType, $widget); + $params = $this->prepare($request, $manager, $factory, "splash.widgets.demo.factory", $widgetType, $widget); return $this->render('@SplashWidgets/Demo/Single/edit.html.twig', $params); } /** + * @param ManagerService $manager + * + * @throws Exception + * * @return Response */ - public function collectionAction() : Response + public function collectionAction(ManagerService $manager) : Response { - //============================================================================== - // Init & Safety Check - $this->Initialize(); //============================================================================== // Load Demo Widgets from Channel List - $widgets = $this->manager->getList(ManagerService::DEMO_WIDGETS); + $widgets = $manager->getList(ManagerService::DEMO_WIDGETS); //============================================================================== // Init Demo Widgets Collection - $demoCollection = $this->getDemoCollection(); + $demoCollection = $this->getDemoCollection($manager); return $this->render('@SplashWidgets/Demo/Collection/index.html.twig', array( 'Widgets' => $widgets, @@ -167,19 +149,20 @@ public function collectionAction() : Response } /** + * @param ManagerService $manager + * + * @throws Exception + * * @return Response */ - public function collectionEditAction() : Response + public function collectionEditAction(ManagerService $manager) : Response { - //============================================================================== - // Init & Safety Check - $this->Initialize(); //============================================================================== // Load Demo Widgets from Channel List - $widgets = $this->manager->getList(ManagerService::DEMO_WIDGETS); + $widgets = $manager->getList(ManagerService::DEMO_WIDGETS); //============================================================================== // Init Demo Widgets Collection - $demoCollection = $this->getDemoCollection(); + $demoCollection = $this->getDemoCollection($manager); return $this->render('@SplashWidgets/Demo/Collection/index.html.twig', array( 'Widgets' => $widgets, @@ -189,34 +172,39 @@ public function collectionEditAction() : Response } /** - * @return mixed + * @param ManagerService $manager + * + * @throws Exception + * + * @return WidgetCollection */ - private function getDemoCollection() + private function getDemoCollection(ManagerService $manager): WidgetCollection { + $entityManager = $this->getDoctrine()->getManager(); //============================================================================== // Load Collection - $demoCollection = $this->get("doctrine") - ->getManager() + /** @var null|WidgetCollection $demoCollection */ + $demoCollection = $entityManager ->getRepository(WidgetCollection::class) - ->findOneBy(array("type" => "demo-collection")); + ->findOneBy(array("type" => "demo-collection")) + ; - //============================================================================== - // Create Demo Collection if (!$demoCollection) { + //============================================================================== + // Create Demo Collection $demoCollection = new WidgetCollection(); $demoCollection ->setName("Bundle Demonstration") - ->setType("demo-collection"); - + ->setType("demo-collection") + ; //============================================================================== // Load Demo Widgets from Channel List - $widgets = $this->manager->getList(ManagerService::DEMO_WIDGETS); - + $widgets = $manager->getList(ManagerService::DEMO_WIDGETS); foreach ($widgets as $widget) { $demoCollection->addWidget($widget); } - - $entityManager = $this->get("doctrine")->getManager(); + //============================================================================== + // Save Demo Collection $entityManager->persist($demoCollection); $entityManager->flush(); } diff --git a/src/Controller/EditController.php b/src/Controller/EditController.php index e3eea66..b8f7ca5 100755 --- a/src/Controller/EditController.php +++ b/src/Controller/EditController.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,12 +13,15 @@ namespace Splash\Widgets\Controller; +use Exception; use Splash\Widgets\Entity\Widget; use Splash\Widgets\Form\WidgetDatesType; use Splash\Widgets\Form\WidgetOptionsType; use Splash\Widgets\Services\FactoryService; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; +use Splash\Widgets\Services\ManagerService; +use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\Form\Extension\Core\Type\FormType; +use Symfony\Component\Form\FormFactory; use Symfony\Component\Form\FormInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -28,15 +29,8 @@ /** * Manage Widget Parameters Edition */ -class EditController extends Controller +class EditController extends AbstractController { - /** - * WidgetFactory Service - * - * @var FactoryService - */ - private $factory; - /** * Class Initialization * @@ -46,8 +40,6 @@ class EditController extends Controller */ public function initialize(string $service) : bool { - $this->factory = $this->get("splash.widgets.factory"); - return !empty($service); } @@ -58,14 +50,23 @@ public function initialize(string $service) : bool /** * Displays a Modal with Form to edit a Widget. * - * @param Request $request - * @param string $service - * @param string $type + * @param Request $request + * @param ManagerService $manager + * @param FactoryService $factory + * @param string $service + * @param string $type + * + * @throws Exception * * @return Response */ - public function modalAction(Request $request, string $service, string $type) : Response - { + public function modalAction( + Request $request, + ManagerService $manager, + FactoryService $factory, + string $service, + string $type + ) : Response { //============================================================================== // Init & Safety Check if (false == $this->initialize($service)) { @@ -73,7 +74,7 @@ public function modalAction(Request $request, string $service, string $type) : R } //============================================================================== // Import Form Data & Prepare Data for Form Display - $params = $this->prepare($request, $service, $type); + $params = $this->prepare($request, $manager, $factory, $service, $type); //============================================================================== // Render Widget Edit Modal return $this->render('SplashWidgetsBundle:Edit:modal.html.twig', $params); @@ -86,14 +87,23 @@ public function modalAction(Request $request, string $service, string $type) : R /** * Displays a Panel with Form to edit a Widget. * - * @param Request $request - * @param string $service - * @param string $type + * @param Request $request + * @param ManagerService $manager + * @param FactoryService $factory + * @param string $service + * @param string $type + * + * @throws Exception * * @return Response */ - public function panelAction(Request $request, string $service, string $type) : Response - { + public function panelAction( + Request $request, + ManagerService $manager, + FactoryService $factory, + string $service, + string $type + ) : Response { //============================================================================== // Init & Safety Check if (false == $this->initialize($service)) { @@ -101,7 +111,7 @@ public function panelAction(Request $request, string $service, string $type) : R } //============================================================================== // Import Form Data & Prepare Data for Form Display - $params = $this->prepare($request, $service, $type); + $params = $this->prepare($request, $manager, $factory, $service, $type); //============================================================================== // Render Widget Edit Well return $this->render('SplashWidgetsBundle:Edit:panel.html.twig', $params); @@ -114,18 +124,25 @@ public function panelAction(Request $request, string $service, string $type) : R /** * Prepare Data to Display Edit form on a Widget * - * @param Request $request - * @param string $service - * @param string $type - * @param Widget $widget + * @param Request $request + * @param ManagerService $manager + * @param FactoryService $factory + * @param string $service + * @param string $type + * @param null|Widget $widget + * + * @throws Exception * * @return array */ - protected function prepare(Request $request, string $service, string $type, Widget $widget = null) : array - { - //============================================================================== - // Connect to Widgets Manager - $manager = $this->get("splash.widgets.manager"); + protected function prepare( + Request $request, + ManagerService $manager, + FactoryService $factory, + string $service, + string $type, + Widget $widget = null + ) : array { //============================================================================== // Read Current Widget Options $options = $manager->getWidgetOptions($service, $type); @@ -135,7 +152,7 @@ protected function prepare(Request $request, string $service, string $type, Widg //============================================================================== // Create Widget Object for Form if (null == $widget) { - $widget = $this->factory + $widget = $factory ->create() ->setOptions($options) ->setParameters($parameters) @@ -148,7 +165,7 @@ protected function prepare(Request $request, string $service, string $type, Widg : null; //============================================================================== // Create Edit Form - $editForm = $this->createEditForm($widget, $service, $type, $action); + $editForm = $this->createEditForm($manager, $widget, $service, $type, $action); //============================================================================== // Handle User Posted Data $editForm->handleRequest($request); @@ -171,19 +188,32 @@ protected function prepare(Request $request, string $service, string $type, Widg /** * Creates a form to edit a Remote Widget/Item Parameters. * - * @param Widget $widget The entity - * @param string $service - * @param string $type - * @param null|string $action + * @param ManagerService $manager + * @param Widget $widget The entity + * @param string $service + * @param string $type + * @param null|string $action + * + * @throws Exception * * @return FormInterface */ - private function createEditForm(Widget $widget, string $service, string $type, ?string $action) : FormInterface - { + private function createEditForm( + ManagerService $manager, + Widget $widget, + string $service, + string $type, + ?string $action + ) : FormInterface { //====================================================================// // Create Form Builder - $builder = $this->get('form.factory') - ->createNamedBuilder('splash_widgets_settings_form', FormType::class, $widget); + /** @var FormFactory $formFactory */ + $formFactory = $this->get('form.factory'); + $builder = $formFactory->createNamedBuilder( + 'splash_widgets_settings_form', + FormType::class, + $widget + ); if ($action) { $builder->setAction($action); } @@ -202,7 +232,7 @@ private function createEditForm(Widget $widget, string $service, string $type, ? //====================================================================// // Import Widget Option Form Fields - $this->get("splash.widgets.manager")->populateWidgetForm($paramForm, $service, $type); + $manager->populateWidgetForm($paramForm, $service, $type); return $builder->getForm(); } diff --git a/src/Controller/ListController.php b/src/Controller/ListController.php index 089fec3..c91dda6 100755 --- a/src/Controller/ListController.php +++ b/src/Controller/ListController.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,13 +13,15 @@ namespace Splash\Widgets\Controller; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; +use Exception; +use Splash\Widgets\Services\ManagerService; +use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; /** - * Build & Display Lists of Avaimlable Widgets + * Build & Display Lists of Available Widgets */ -class ListController extends Controller +class ListController extends AbstractController { /** * Class Initialization @@ -29,7 +29,7 @@ class ListController extends Controller * * @return bool */ - public function initialize() + public function initialize(): bool { return true; } @@ -41,12 +41,15 @@ public function initialize() /** * Render List of Collection Available Widgets * - * @param int $collectionId Widgets Collection Identifier - * @param string $channel Widgets Listening Channel Name + * @param ManagerService $manager + * @param int $collectionId Widgets Collection Identifier + * @param string $channel Widgets Listening Channel Name + * + * @throws Exception * * @return Response */ - public function panelAction(int $collectionId, string $channel) : Response + public function panelAction(ManagerService $manager, int $collectionId, string $channel) : Response { //============================================================================== // Init & Safety Check @@ -55,7 +58,7 @@ public function panelAction(int $collectionId, string $channel) : Response } //============================================================================== // Read List of Available Widgets & Prepare Response Array - $params = $this->prepare($collectionId, $channel); + $params = $this->prepare($manager, $collectionId, $channel); //============================================================================== // Render Panel List return $this->render('SplashWidgetsBundle:List:panel.html.twig', $params); @@ -68,12 +71,15 @@ public function panelAction(int $collectionId, string $channel) : Response /** * Render Modal List of Collection available Widgets * - * @param int $collectionId Widgets Collection Identifier - * @param string $channel Widgets Listening Channel Name + * @param ManagerService $manager + * @param int $collectionId Widgets Collection Identifier + * @param string $channel Widgets Listening Channel Name + * + * @throws Exception * * @return Response */ - public function modalAction(int $collectionId, string $channel) : Response + public function modalAction(ManagerService $manager, int $collectionId, string $channel) : Response { //============================================================================== // Init & Safety Check @@ -82,7 +88,7 @@ public function modalAction(int $collectionId, string $channel) : Response } //============================================================================== // Import Form Data & Prepare Data for Form Display - $params = $this->prepare($collectionId, $channel); + $params = $this->prepare($manager, $collectionId, $channel); //============================================================================== //Render Modal List return $this->render('SplashWidgetsBundle:List:modal.html.twig', $params); @@ -91,16 +97,19 @@ public function modalAction(int $collectionId, string $channel) : Response /** * Read List of Available Widgets & Prepare Response Array * - * @param int $collectionId Widgets Collection Identifier - * @param string $channel Widgets Listening Channel Name + * @param ManagerService $manager + * @param int $collectionId Widgets Collection Identifier + * @param string $channel Widgets Listening Channel Name + * + * @throws Exception * * @return array */ - private function prepare(int $collectionId, string $channel) : array + private function prepare(ManagerService $manager, int $collectionId, string $channel) : array { //============================================================================== // Get List of Widgets - $widgets = $this->get("splash.widgets.manager")->getList("splash.widgets.list.".$channel); + $widgets = $manager->getList("splash.widgets.list.".$channel); //============================================================================== // Prepare Tabs List diff --git a/src/Controller/ViewController.php b/src/Controller/ViewController.php index 4256908..7f7462d 100755 --- a/src/Controller/ViewController.php +++ b/src/Controller/ViewController.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,9 +13,12 @@ namespace Splash\Widgets\Controller; +use Exception; use Splash\Widgets\Entity\Widget; use Splash\Widgets\Entity\WidgetCache; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; +use Splash\Widgets\Services\FactoryService; +use Splash\Widgets\Services\ManagerService; +use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; /** @@ -26,27 +27,37 @@ * - Delayed: Load Widget Basic infos & Ask for Ajax Rendering * - Ajax: Render Widget Contents from Ajax Request */ -class ViewController extends Controller +class ViewController extends AbstractController { /** * Render Widget without Using Cache & Ajax Loading * - * @param string $service Widget Provider Service Name - * @param string $type Widget Type Name - * @param string $options Widget Rendering Options - * @param string $parameters Widget Parameters + * @param ManagerService $manager + * @param FactoryService $factory + * @param string $service Widget Provider Service Name + * @param string $type Widget Type Name + * @param null|string $options Widget Rendering Options + * @param null|string $parameters Widget Parameters + * + * @throws Exception * * @return Response */ - public function forcedAction(string $service, string $type, string $options = null, string $parameters = null) : Response - { + public function forcedAction( + ManagerService $manager, + FactoryService $factory, + string $service, + string $type, + string $options = null, + string $parameters = null + ) : Response { //============================================================================== // Read Widget Contents - $widget = $this->get("splash.widgets.manager")->getWidget($service, $type, self::jsonToArray($parameters)); + $widget = $manager->getWidget($service, $type, self::jsonToArray($parameters)); //============================================================================== // Validate Widget Contents if (is_null($widget)) { - $widget = $this->get("splash.widgets.factory")->buildErrorWidget($service, $type, "An Error Occured During Widget Loading"); + $widget = $factory->buildErrorWidget($service, $type, "An Error Occurred During Widget Loading"); } //============================================================================== // Setup Widget Options @@ -64,20 +75,28 @@ public function forcedAction(string $service, string $type, string $options = nu /** * Render Widget Using Cache & Ajax Loading * - * @param string $service Widget Provider Service Name - * @param string $type Widget Type Name - * @param string $options Widget Rendering Options - * @param string $parameters Widget Parameters + * @param ManagerService $manager + * @param string $service Widget Provider Service Name + * @param string $type Widget Type Name + * @param null|string $options Widget Rendering Options + * @param null|string $parameters Widget Parameters + * + * @throws Exception * * @return Response */ - public function delayedAction(string $service, string $type, string $options = null, string $parameters = null) : Response - { + public function delayedAction( + ManagerService $manager, + string $service, + string $type, + string $options = null, + string $parameters = null + ) : Response { //============================================================================== // Load Default Widget Options $widgetOptions = empty($service) ? Widget::getDefaultOptions() - : $this->get("splash.widgets.manager")->getWidgetOptions($service, $type); + : $manager->getWidgetOptions($service, $type); //============================================================================== // Fetch Passed Options @@ -92,7 +111,7 @@ public function delayedAction(string $service, string $type, string $options = n //============================================================================== // Load From cache if Available - $cache = $this->get("splash.widgets.manager")->getCache($service, $type, $widgetOptions, $widgetParameters); + $cache = $manager->getCache($service, $type, $widgetOptions, $widgetParameters); if ($cache) { //============================================================================== // Setup Widget Options @@ -120,22 +139,32 @@ public function delayedAction(string $service, string $type, string $options = n /** * @abstract Render Widget Contents * - * @param string $service Widget Provider Service Name - * @param string $type Widget Type Name - * @param string $options Widget Rendering Options - * @param string $parameters Widget Parameters + * @param ManagerService $manager + * @param FactoryService $factory + * @param string $service Widget Provider Service Name + * @param string $type Widget Type Name + * @param null|string $options Widget Rendering Options + * @param null|string $parameters Widget Parameters + * + * @throws Exception * * @return Response */ - public function ajaxAction(string $service, string $type, string $options = null, string $parameters = null) : Response - { + public function ajaxAction( + ManagerService $manager, + FactoryService $factory, + string $service, + string $type, + string $options = null, + string $parameters = null + ) : Response { //============================================================================== // Decode Widget Parameters $widgetParameters = is_null($parameters) ? array() : json_decode($parameters, true); //============================================================================== // Read Widget Contents - $widget = $this->get("splash.widgets.manager")->getWidget($service, $type, $widgetParameters); + $widget = $manager->getWidget($service, $type, $widgetParameters); //============================================================================== // Fetch Widget Options @@ -146,7 +175,7 @@ public function ajaxAction(string $service, string $type, string $options = null //============================================================================== // Validate Widget Contents if (!($widget instanceof Widget)) { - $widget = $this->get("splash.widgets.factory")->buildErrorWidget($service, $type, "An Error Occured During Widget Loading"); + $widget = $factory->buildErrorWidget($service, $type, "An Error Occurred During Widget Loading"); return $this->render('SplashWidgetsBundle:Widget:contents.html.twig', array( "WidgetId" => WidgetCache::buildDiscriminator($widgetOptions, $widgetParameters), @@ -170,7 +199,7 @@ public function ajaxAction(string $service, string $type, string $options = null "Widget" => $widget, "Options" => $widgetOptions, )); - $this->get("splash.widgets.manager")->setCacheContents($widget, $contents); + $manager->setCacheContents($widget, $contents); } //============================================================================== diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 35a6ca3..45daf4d 100755 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,8 +18,6 @@ /** * This is the class that validates and merges configuration from your app/config files - * - * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class} */ class Configuration implements ConfigurationInterface { @@ -33,6 +29,7 @@ public function getConfigTreeBuilder() $treeBuilder = new TreeBuilder(); $rootNode = $treeBuilder->root('splash_widgets'); + // @phpstan-ignore-next-line $rootNode ->children() ->arrayNode('cache') diff --git a/src/DependencyInjection/SplashWidgetsExtension.php b/src/DependencyInjection/SplashWidgetsExtension.php index 9214835..195af20 100755 --- a/src/DependencyInjection/SplashWidgetsExtension.php +++ b/src/DependencyInjection/SplashWidgetsExtension.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Entity/Widget.php b/src/Entity/Widget.php index e5d651f..bab7177 100755 --- a/src/Entity/Widget.php +++ b/src/Entity/Widget.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Entity/WidgetCache.php b/src/Entity/WidgetCache.php index 390499b..592d542 100755 --- a/src/Entity/WidgetCache.php +++ b/src/Entity/WidgetCache.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Entity/WidgetCollection.php b/src/Entity/WidgetCollection.php index 5a17b4f..d661780 100755 --- a/src/Entity/WidgetCollection.php +++ b/src/Entity/WidgetCollection.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Event/ListingEvent.php b/src/Event/ListingEvent.php index d93dcb2..dee6010 100644 --- a/src/Event/ListingEvent.php +++ b/src/Event/ListingEvent.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Form/WidgetDatesType.php b/src/Form/WidgetDatesType.php index 2ed6f60..053ed98 100755 --- a/src/Form/WidgetDatesType.php +++ b/src/Form/WidgetDatesType.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Form/WidgetOptionsType.php b/src/Form/WidgetOptionsType.php index 4fdc4de..2784456 100755 --- a/src/Form/WidgetOptionsType.php +++ b/src/Form/WidgetOptionsType.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/BaseBlock.php b/src/Models/Blocks/BaseBlock.php index b653031..4ddf84a 100755 --- a/src/Models/Blocks/BaseBlock.php +++ b/src/Models/Blocks/BaseBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -24,7 +22,31 @@ /** * Widget Content Model * - * @author Bernard Paquier + * @method self setTitle(string $title) + * @method self setText(string $text) + * @method self setFaIcon(string $faIcon) + * @method self setGlyphIcon(string $glyphIcon) + * @method self setParameters(array $values) + * @method self setError(string $error) + * @method self setWarning(string $warning) + * @method self setInfo(string $info) + * @method self setSuccess(string $message) + * + * Table Blocks + * @method self addRow(array $columns) + * @method self setValue(string $value) + * @method self setValues(array $values) + * + * SparkInfos + * @method self setSeparator(bool $hasSeparator) + * @method self setChart(array $values) + * @method self setPie(array $values) + * + * Morris Charts + * @method self setDataSet(array $dataSet) + * @method self setLabels(array $data) + * @method self setYKeys(array $data) + * @method self setChartOptions(array $data) */ class BaseBlock { @@ -51,7 +73,7 @@ class BaseBlock /** * Define Standard Options for this Widget Block - * Uncomment to override défault options + * Uncomment to override default options * * @var array */ @@ -229,9 +251,9 @@ public function setOptions($options = null) : self /** * Get Widget Contents Block Options * - * @return Array + * @return array */ - public function getOptions() + public function getOptions(): array { return $this->options; } diff --git a/src/Models/Blocks/MorrisAreaBlock.php b/src/Models/Blocks/MorrisAreaBlock.php index 3be841c..745033e 100755 --- a/src/Models/Blocks/MorrisAreaBlock.php +++ b/src/Models/Blocks/MorrisAreaBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/MorrisBarBlock.php b/src/Models/Blocks/MorrisBarBlock.php index 6ebf882..7eb30c2 100755 --- a/src/Models/Blocks/MorrisBarBlock.php +++ b/src/Models/Blocks/MorrisBarBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/MorrisBaseBlock.php b/src/Models/Blocks/MorrisBaseBlock.php index a391034..c696335 100755 --- a/src/Models/Blocks/MorrisBaseBlock.php +++ b/src/Models/Blocks/MorrisBaseBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/MorrisDonutBlock.php b/src/Models/Blocks/MorrisDonutBlock.php index 8f5bb8a..1cef250 100755 --- a/src/Models/Blocks/MorrisDonutBlock.php +++ b/src/Models/Blocks/MorrisDonutBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/MorrisLineBlock.php b/src/Models/Blocks/MorrisLineBlock.php index e41248c..112478f 100755 --- a/src/Models/Blocks/MorrisLineBlock.php +++ b/src/Models/Blocks/MorrisLineBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/NotificationsBlock.php b/src/Models/Blocks/NotificationsBlock.php index 880b595..9a70d50 100755 --- a/src/Models/Blocks/NotificationsBlock.php +++ b/src/Models/Blocks/NotificationsBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/SparkBarChartBlock.php b/src/Models/Blocks/SparkBarChartBlock.php index 5d13202..07455bc 100755 --- a/src/Models/Blocks/SparkBarChartBlock.php +++ b/src/Models/Blocks/SparkBarChartBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/SparkInfoBlock.php b/src/Models/Blocks/SparkInfoBlock.php index e7a663d..7c13c47 100755 --- a/src/Models/Blocks/SparkInfoBlock.php +++ b/src/Models/Blocks/SparkInfoBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/SparkLineChartBlock.php b/src/Models/Blocks/SparkLineChartBlock.php index 0bb33c6..1d572f0 100755 --- a/src/Models/Blocks/SparkLineChartBlock.php +++ b/src/Models/Blocks/SparkLineChartBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/TableBlock.php b/src/Models/Blocks/TableBlock.php index d3740a6..8ea8656 100755 --- a/src/Models/Blocks/TableBlock.php +++ b/src/Models/Blocks/TableBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Blocks/TextBlock.php b/src/Models/Blocks/TextBlock.php index ae5881a..4b1abb2 100755 --- a/src/Models/Blocks/TextBlock.php +++ b/src/Models/Blocks/TextBlock.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/Dates.php b/src/Models/Demo/Blocks/Dates.php index ef4419c..8ca03e8 100755 --- a/src/Models/Demo/Blocks/Dates.php +++ b/src/Models/Demo/Blocks/Dates.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -53,7 +51,10 @@ public static function build(FactoryService $factory, array $parameters) : void //============================================================================== // Create Text Block ->addBlock("TextBlock", self::blockTextOptions()) - ->setText("

This is demo for Dates Selections. It shows Start & End Dates for widgets rendering.

") + ->setText( + "

This is demo for Dates Selections. " + ."It shows Start & End Dates for widgets rendering.

" + ) ->end() //============================================================================== diff --git a/src/Models/Demo/Blocks/MorrisArea.php b/src/Models/Demo/Blocks/MorrisArea.php index 86efa6d..f6d6e08 100755 --- a/src/Models/Demo/Blocks/MorrisArea.php +++ b/src/Models/Demo/Blocks/MorrisArea.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/MorrisBar.php b/src/Models/Demo/Blocks/MorrisBar.php index 1da3e40..9cfb4bc 100755 --- a/src/Models/Demo/Blocks/MorrisBar.php +++ b/src/Models/Demo/Blocks/MorrisBar.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/MorrisDonut.php b/src/Models/Demo/Blocks/MorrisDonut.php index 608ae9e..c1f2710 100755 --- a/src/Models/Demo/Blocks/MorrisDonut.php +++ b/src/Models/Demo/Blocks/MorrisDonut.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/MorrisLine.php b/src/Models/Demo/Blocks/MorrisLine.php index 61db50e..5c693ac 100755 --- a/src/Models/Demo/Blocks/MorrisLine.php +++ b/src/Models/Demo/Blocks/MorrisLine.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/Notifications.php b/src/Models/Demo/Blocks/Notifications.php index 35fa033..fe7eb98 100755 --- a/src/Models/Demo/Blocks/Notifications.php +++ b/src/Models/Demo/Blocks/Notifications.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/SparkBar.php b/src/Models/Demo/Blocks/SparkBar.php index 9a815eb..55d5683 100755 --- a/src/Models/Demo/Blocks/SparkBar.php +++ b/src/Models/Demo/Blocks/SparkBar.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/SparkInfos.php b/src/Models/Demo/Blocks/SparkInfos.php index 968a845..fd74355 100755 --- a/src/Models/Demo/Blocks/SparkInfos.php +++ b/src/Models/Demo/Blocks/SparkInfos.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/SparkLine.php b/src/Models/Demo/Blocks/SparkLine.php index a32eb02..7518ab4 100755 --- a/src/Models/Demo/Blocks/SparkLine.php +++ b/src/Models/Demo/Blocks/SparkLine.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Demo/Blocks/Table.php b/src/Models/Demo/Blocks/Table.php index bb6cd12..36d71e9 100755 --- a/src/Models/Demo/Blocks/Table.php +++ b/src/Models/Demo/Blocks/Table.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -21,6 +19,8 @@ /** * Demo Table Block definition + * + * @method self addRow(array $columns) */ class Table { diff --git a/src/Models/Demo/Blocks/Text.php b/src/Models/Demo/Blocks/Text.php index b3e5181..01ca7f7 100755 --- a/src/Models/Demo/Blocks/Text.php +++ b/src/Models/Demo/Blocks/Text.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Interfaces/WidgetProviderInterface.php b/src/Models/Interfaces/WidgetProviderInterface.php index d79eca9..2f82f66 100755 --- a/src/Models/Interfaces/WidgetProviderInterface.php +++ b/src/Models/Interfaces/WidgetProviderInterface.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Traits/AccessTrait.php b/src/Models/Traits/AccessTrait.php index ca66452..16ed33b 100755 --- a/src/Models/Traits/AccessTrait.php +++ b/src/Models/Traits/AccessTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Traits/ActionsTrait.php b/src/Models/Traits/ActionsTrait.php index a315f85..3dff9f0 100755 --- a/src/Models/Traits/ActionsTrait.php +++ b/src/Models/Traits/ActionsTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Traits/BlocksTrait.php b/src/Models/Traits/BlocksTrait.php index 23df4e5..a27e246 100755 --- a/src/Models/Traits/BlocksTrait.php +++ b/src/Models/Traits/BlocksTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Traits/CacheTrait.php b/src/Models/Traits/CacheTrait.php index 099729f..3fc7c4d 100755 --- a/src/Models/Traits/CacheTrait.php +++ b/src/Models/Traits/CacheTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -21,8 +19,6 @@ /** * Widget Cache Access Trait - Define access to a Widget Cached Informations - * - * @author Bernard Paquier */ trait CacheTrait { @@ -125,7 +121,7 @@ trait CacheTrait //============================================================================== /** - * Build Widget Disctriminator + * Build Widget Discriminator * * @param array $options Widget Options Array * @param array $parameters Widget Parameters Array @@ -142,7 +138,7 @@ public static function buildDiscriminator(array $options, array $parameters) : s //============================================================================== /** - * Set Widget Disctriminator + * Set Widget Discriminator * * @param string $discriminator * @@ -156,7 +152,7 @@ public function setDiscriminator($discriminator) : self } /** - * @abstract Get Widget Disctriminator + * Get Widget Discriminator * * @return string */ @@ -166,13 +162,13 @@ public function getDiscriminator() : string } /** - * @abstract Set Widget Cached Contents + * Set Widget Cached Contents * * @param string $contents * * @return self */ - public function setContents($contents) : self + public function setContents(string $contents) : self { $this->contents = base64_encode($contents); @@ -180,7 +176,7 @@ public function setContents($contents) : self } /** - * @abstract Get Widget Cached Contents + * Get Widget Cached Contents * * @return string */ @@ -196,7 +192,7 @@ public function getContents() : string * * @return $this */ - public function setRefreshAt($refreshAt = null) : self + public function setRefreshAt(DateTime $refreshAt = null) : self { $this->refreshAt = $refreshAt ? $refreshAt : new DateTime(); diff --git a/src/Models/Traits/CollectionTrait.php b/src/Models/Traits/CollectionTrait.php index 22850e4..539a322 100755 --- a/src/Models/Traits/CollectionTrait.php +++ b/src/Models/Traits/CollectionTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Traits/DefinitionTrait.php b/src/Models/Traits/DefinitionTrait.php index 217a7bf..b32a7fe 100755 --- a/src/Models/Traits/DefinitionTrait.php +++ b/src/Models/Traits/DefinitionTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Traits/LifecycleTrait.php b/src/Models/Traits/LifecycleTrait.php index eb8890e..0467920 100755 --- a/src/Models/Traits/LifecycleTrait.php +++ b/src/Models/Traits/LifecycleTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Traits/OptionsTrait.php b/src/Models/Traits/OptionsTrait.php index 2320ae7..56806ca 100755 --- a/src/Models/Traits/OptionsTrait.php +++ b/src/Models/Traits/OptionsTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,6 +16,7 @@ use ArrayObject; use DateTime; use Doctrine\ORM\Mapping as ORM; +use Exception; use Symfony\Component\OptionsResolver\Exception\InvalidOptionsException; use Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException; use Symfony\Component\OptionsResolver\OptionsResolver; @@ -168,11 +167,15 @@ public function setFooter(bool $state = null) : self /** * Get Widget Max Cache Date * + * @throws Exception + * * @return DateTime */ public function getCacheMaxDate() : DateTime { - if (!isset($this->options['UseCache']) || !isset($this->options['CacheLifeTime']) || !$this->options['UseCache']) { + if (!isset($this->options['UseCache']) + || !isset($this->options['CacheLifeTime']) + || !$this->options['UseCache']) { return new DateTime(); } @@ -275,7 +278,7 @@ public static function getDefaultOptions() : array 'Border' => true, 'DatePreset' => "M", 'UseCache' => true, - 'CacheLifeTime' => 10, + 'CacheLifeTime' => 120, 'Editable' => false, 'EditMode' => false, ); diff --git a/src/Models/Traits/ParametersTrait.php b/src/Models/Traits/ParametersTrait.php index aae6e7c..c81aebf 100755 --- a/src/Models/Traits/ParametersTrait.php +++ b/src/Models/Traits/ParametersTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/Traits/PositionTrait.php b/src/Models/Traits/PositionTrait.php index b7b67d6..968f1d5 100755 --- a/src/Models/Traits/PositionTrait.php +++ b/src/Models/Traits/PositionTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/WidgetBase.php b/src/Models/WidgetBase.php index 39f9209..537d97c 100755 --- a/src/Models/WidgetBase.php +++ b/src/Models/WidgetBase.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,6 +16,7 @@ use ArrayObject; use DateTime; use Doctrine\Common\Collections\ArrayCollection; +use Exception; use Splash\Widgets\Models\Traits\AccessTrait; use Splash\Widgets\Models\Traits\ActionsTrait; use Splash\Widgets\Models\Traits\BlocksTrait; @@ -48,7 +47,7 @@ class WidgetBase //============================================================================== /** - * Class Cosntructor + * Class Constructor */ public function __construct() { @@ -153,6 +152,8 @@ private function importMainContents($contents) : void * Import Widget Date Contents * * @param array|ArrayObject $contents + * + * @throws Exception */ private function importDateContents($contents) : void { diff --git a/src/Models/WidgetCacheBase.php b/src/Models/WidgetCacheBase.php index 93e5057..752a3e6 100755 --- a/src/Models/WidgetCacheBase.php +++ b/src/Models/WidgetCacheBase.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Models/WidgetCollectionBase.php b/src/Models/WidgetCollectionBase.php index 25670a1..178a063 100755 --- a/src/Models/WidgetCollectionBase.php +++ b/src/Models/WidgetCollectionBase.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Repository/WidgetCacheRepository.php b/src/Repository/WidgetCacheRepository.php index 5b357af..686c77d 100755 --- a/src/Repository/WidgetCacheRepository.php +++ b/src/Repository/WidgetCacheRepository.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,6 +15,7 @@ use DateTime; use Doctrine\ORM\EntityRepository; +use Doctrine\ORM\NonUniqueResultException; use Splash\Widgets\Entity\WidgetCache; /** @@ -31,6 +30,8 @@ class WidgetCacheRepository extends EntityRepository * @param string $type Widget Type Name * @param string $discriminator Widget Discriminator * + * @throws NonUniqueResultException + * * @return null|WidgetCache */ public function findCached(string $service, string $type, string $discriminator) : ?WidgetCache @@ -46,7 +47,7 @@ public function findCached(string $service, string $type, string $discriminator) ->setParameter(":expire", new DateTime()) ->getQuery() ->getOneOrNullResult() - ; + ; } /** diff --git a/src/Resources/config/services.yml b/src/Resources/config/services.yml index 10a17d1..4b40232 100755 --- a/src/Resources/config/services.yml +++ b/src/Resources/config/services.yml @@ -1,27 +1,31 @@ services: + _defaults: + autowire: true + + ################################################################################ + # AutoWire for Controllers + Splash\Widgets\Controller\: + resource: '../../Controller' + tags: ['controller.service_arguments'] + + # Widget Parser & Creation Service splash.widgets.factory: class: Splash\Widgets\Services\FactoryService public: true - # Auto Wiring - Splash\Widgets\Services\FactoryService: "@splash.widgets.factory" - # Widgets Manager Service splash.widgets.manager: class: Splash\Widgets\Services\ManagerService public: true - arguments: - - "@service_container" - - "@event_dispatcher" - - "@=service('doctrine.orm.entity_manager').getRepository('SplashWidgetsBundle:WidgetCache')" # Widgets Collection Service splash.widgets.collection: class: Splash\Widgets\Services\CollectionService public: true - arguments: - - "@splash.widgets.factory" - - "@=service('doctrine.orm.entity_manager').getRepository('SplashWidgetsBundle:WidgetCollection')" - - "@service_container" \ No newline at end of file + + # Auto Wiring + Splash\Widgets\Services\FactoryService: "@splash.widgets.factory" + Splash\Widgets\Services\ManagerService: "@splash.widgets.manager" + Splash\Widgets\Services\CollectionService: "@splash.widgets.collection" diff --git a/src/Services/CollectionService.php b/src/Services/CollectionService.php index 6574fae..7bb22c1 100755 --- a/src/Services/CollectionService.php +++ b/src/Services/CollectionService.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,9 +13,11 @@ namespace Splash\Widgets\Services; -use Doctrine\ORM\EntityRepository; +use Doctrine\ORM\EntityManagerInterface; +use Doctrine\Persistence\ObjectRepository; use Exception; use Splash\Widgets\Entity\Widget; +use Splash\Widgets\Entity\WidgetCollection; use Splash\Widgets\Models\Interfaces\WidgetProviderInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\Form\FormBuilderInterface; @@ -37,10 +37,17 @@ class CollectionService implements WidgetProviderInterface /** * Widgets Collections Repository * - * @var EntityRepository + * @var ObjectRepository */ private $repository; + /** + * Symfony Entity Manager + * + * @var EntityManagerInterface + */ + private $entityManager; + /** * Service Container * @@ -51,7 +58,7 @@ class CollectionService implements WidgetProviderInterface /** * Widget Collection * - * @var \Splash\Widgets\Entity\WidgetCollection + * @var WidgetCollection */ private $collection; @@ -62,20 +69,24 @@ class CollectionService implements WidgetProviderInterface /** * Class Constructor * - * @param FactoryService $widgetFactory - * @param EntityRepository $repository - * @param ContainerInterface $container + * @param EntityManagerInterface $doctrine + * @param FactoryService $widgetFactory + * @param ContainerInterface $container */ - public function __construct(FactoryService $widgetFactory, EntityRepository $repository, ContainerInterface $container) - { + public function __construct( + EntityManagerInterface $doctrine, + FactoryService $widgetFactory, + ContainerInterface $container + ) { //====================================================================// // Link to WidgetFactory Service $this->factory = $widgetFactory; //====================================================================// - // Link to Service Container + // Link to Entity Manager + $this->entityManager = $doctrine; //====================================================================// // Link to Widget Repository - $this->repository = $repository; + $this->repository = $doctrine->getRepository(WidgetCollection::class); //====================================================================// // Link to Service Container $this->container = $container; @@ -98,7 +109,9 @@ public function getDefinition(string $type) : ?Widget } //====================================================================// // Load Widget Collection - $this->collection = $this->repository->find($widgetId[1]); + /** @var WidgetCollection $collection */ + $collection = $this->repository->find($widgetId[1]); + $this->collection = $collection; //====================================================================// // Load Widget Definition from Collection return $this->collection->getWidget($widgetId[0]); @@ -107,8 +120,8 @@ public function getDefinition(string $type) : ?Widget /** * Read Widget Contents * - * @param string $type Widgets Type Identifier - * @param array $parameters Widget Parameters + * @param string $type Widgets Type Identifier + * @param null|array $parameters Widget Parameters * * @return null|Widget */ @@ -118,18 +131,30 @@ public function getWidget(string $type, array $parameters = null): ?Widget // Load Widget Definition $definition = $this->getDefinition($type); if (!$definition) { - return $this->factory->buildErrorWidget("Collections", $type, "Unable to Find Widget Definition"); + return $this->factory->buildErrorWidget( + "Collections", + $type, + "Unable to Find Widget Definition" + ); } //============================================================================== // Load Widget Provider Service if (!$this->container->has($definition->getService())) { - return $this->factory->buildErrorWidget($definition->getService(), $type, "Unable to Load Widget Provider"); + return $this->factory->buildErrorWidget( + $definition->getService(), + $type, + "Unable to Load Widget Provider" + ); } //============================================================================== // Load Widget Provider Service $sfService = $this->container->get($definition->getService()); if (!($sfService instanceof WidgetProviderInterface)) { - return $this->factory->buildErrorWidget($definition->getService(), $type, "Unable to Load Widget Provider"); + return $this->factory->buildErrorWidget( + $definition->getService(), + $type, + "Unable to Load Widget Provider" + ); } //============================================================================== // Load Widget Parameters @@ -142,15 +167,19 @@ public function getWidget(string $type, array $parameters = null): ?Widget //============================================================================== // Validate Widget Contents if (empty($widget) || !($widget instanceof Widget)) { - $widget = $this->factory->buildErrorWidget($definition->getService(), $type, "An Error Occured During Widget Loading"); + $widget = $this->factory->buildErrorWidget( + $definition->getService(), + $type, + "An Error Occurred During Widget Loading" + ); } //============================================================================== - // Overide Widget Options + // Override Widget Options if (!empty($definition->getOptions())) { $widget->setOptions($definition->getOptions()); } //============================================================================== - // Overide Widget Service & Type + // Override Widget Service & Type $widget->setService($this->collection->getService()); $widget->setType($type); @@ -195,7 +224,7 @@ public function setWidgetOptions(string $type, array $options) : bool //============================================================================== // Update Widget Options $definition->setOptions($options); - $this->container->get("doctrine")->getManager()->flush(); + $this->entityManager->flush(); return true; } @@ -237,7 +266,7 @@ public function setWidgetParameters(string $type, array $parameters) : bool } $definition->setParameters($parameters); - $this->container->get("doctrine")->getManager()->flush(); + $this->entityManager->flush(); return true; } @@ -247,6 +276,8 @@ public function setWidgetParameters(string $type, array $parameters) : bool * * @param FormBuilderInterface $builder * @param string $type Widgets Type Identifier + * + * @throws Exception */ public function populateWidgetForm(FormBuilderInterface $builder, string $type) : void { diff --git a/src/Services/Demo/SamplesFactoryService.php b/src/Services/Demo/SamplesFactoryService.php index 3d81c28..fa6e74d 100755 --- a/src/Services/Demo/SamplesFactoryService.php +++ b/src/Services/Demo/SamplesFactoryService.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -84,17 +82,21 @@ public function onListingAction(GenericEvent $event) : void /** * Build Sample Widgets Definitions * - * @param string $type - * @param string $name - * @param string $desc - * @param array $options + * @param string $type + * @param null|string $name + * @param null|string $desc + * @param array $options * * @return FactoryService * * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ - public function buildWidgetDefinition(string $type, string $name = null, string $desc = null, array $options = array()) : FactoryService - { + public function buildWidgetDefinition( + string $type, + string $name = null, + string $desc = null, + array $options = array() + ) : FactoryService { $blockClass = static::PREFIX.$type; if (class_exists($blockClass)) { diff --git a/src/Services/FactoryService.php b/src/Services/FactoryService.php index 4bf837a..604bc60 100755 --- a/src/Services/FactoryService.php +++ b/src/Services/FactoryService.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -21,6 +19,22 @@ /** * Widget Factory Service + * + * @method self setService(string $service) + * @method self setType(string $type) + * @method self setTitle(string $title) + * @method self setName(string $name) + * @method self setHeader(bool $header) + * @method self setFooter(bool $footer) + * @method self setIcon(string $icon) + * @method self setDescription(string $description) + * @method self setOrigin(string $origin) + * @method self setWidth(string $width) + * @method self setError(string $width) + * @method self setOptions(array $options) + * @method self mergeOptions(array $options) + * @method self setParameters(array $parameters) + * @method self end() */ class FactoryService { @@ -91,8 +105,8 @@ public function __call(string $name, array $args) : self /** * Create New Widget * - * @param array $options - * @param array $contents + * @param null|array $options + * @param null|array $contents * * @return $this */ @@ -175,9 +189,9 @@ public function addBlocks($blocks) : self /** * Add New Block to Widget * - * @param string $type - * @param array $options - * @param array $contents + * @param string $type + * @param null|array $options + * @param null|array $contents * * @return BaseBlock */ diff --git a/src/Services/ManagerService.php b/src/Services/ManagerService.php index 6dcc209..6df6cdf 100755 --- a/src/Services/ManagerService.php +++ b/src/Services/ManagerService.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,6 +13,7 @@ namespace Splash\Widgets\Services; +use Doctrine\ORM\EntityManagerInterface; use Exception; use ReflectionException; use ReflectionMethod; @@ -37,9 +36,9 @@ class ManagerService // GENERIC WIDGETS LISTING TAGS //====================================================================// - const ALL_WIDGETS = "splash.widgets.list.all"; // All Common Widgtets + const ALL_WIDGETS = "splash.widgets.list.all"; // All Common Widgets const USER_WIDGETS = "splash.widgets.list.user"; // All End User Widgets - const ADMIN_WIDGETS = "splash.widgets.list.admin"; // Administartor Widgets + const ADMIN_WIDGETS = "splash.widgets.list.admin"; // Administrator Widgets const STATS_WIDGETS = "splash.widgets.list.stats"; // Statistics Widgets const DEMO_WIDGETS = "splash.widgets.list.demo"; // Demo Widgets (Internal) const TEST_WIDGETS = "splash.widgets.list.test"; // Test Widgets (PhpUnit Only) @@ -73,6 +72,13 @@ class ManagerService */ private $dispatcher; + /** + * Symfony Entity Manager + * + * @var EntityManagerInterface + */ + private $entityManager; + /** * WidgetInterface Service * @@ -99,20 +105,28 @@ class ManagerService /** * Class Constructor * + * @param EntityManagerInterface $doctrine * @param ContainerInterface $serviceContainer * @param EventDispatcherInterface $eventDispatcher - * @param WidgetCacheRepository $cacheRep */ - public function __construct(ContainerInterface $serviceContainer, EventDispatcherInterface $eventDispatcher, WidgetCacheRepository $cacheRep) - { + public function __construct( + EntityManagerInterface $doctrine, + ContainerInterface $serviceContainer, + EventDispatcherInterface $eventDispatcher + ) { //====================================================================// // Link to Service Container $this->container = $serviceContainer; //====================================================================// + // Link to Entity Manager + $this->entityManager = $doctrine; + //====================================================================// // Link to Event Dispatcher Services $this->dispatcher = $eventDispatcher; //====================================================================// // Link to Widgets Cache Repository + /** @var WidgetCacheRepository $cacheRep */ + $cacheRep = $doctrine->getRepository(WidgetCache::class); $this->cacheRep = $cacheRep; } @@ -190,6 +204,8 @@ public function read(string $type, array $parameters = array()) : bool * @param string $type Widget Type Name * @param array $parameters Override Widget $Parameters * + * @throws Exception + * * @return null|Widget */ public function getWidget(string $service, string $type, array $parameters = array()) : ?Widget @@ -210,6 +226,8 @@ public function getWidget(string $service, string $type, array $parameters = arr * @param string $service Widget Provider Service Name * @param string $type Widget Type Name * + * @throws Exception + * * @return array */ public function getWidgetOptions(string $service, string $type) : array @@ -232,11 +250,13 @@ public function getWidgetOptions(string $service, string $type) : array * @param string $type Widgets Type Identifier * @param array $options Updated Options * + * @throws Exception + * * @return bool */ public function setWidgetOptions(string $service, string $type, array $options) : bool { - if (!$this->Connect($service)) { + if (!$this->connect($service)) { return false; } if ($this->service->setWidgetOptions($type, $options)) { @@ -252,11 +272,13 @@ public function setWidgetOptions(string $service, string $type, array $options) * @param string $service Widget Provider Service Name * @param string $type Widget Type Name * - * @return Array + * @throws Exception + * + * @return array */ public function getWidgetParameters(string $service, string $type): array { - if (!$this->Connect($service)) { + if (!$this->connect($service)) { return array(); } $parameters = $this->service->getWidgetParameters($type); @@ -274,11 +296,13 @@ public function getWidgetParameters(string $service, string $type): array * @param string $type Widgets Type Identifier * @param array $parameters Updated Parameters * + * @throws Exception + * * @return bool */ public function setWidgetParameters(string $service, string $type, array $parameters) : bool { - if (!$this->Connect($service)) { + if (!$this->connect($service)) { return false; } if ($this->service->setWidgetParameters($type, $parameters)) { @@ -296,6 +320,8 @@ public function setWidgetParameters(string $service, string $type, array $parame * @param string $key Parameter Key * @param mixed $value Parameter Value * + * @throws Exception + * * @return bool */ public function setWidgetParameter(string $service, string $type, string $key, $value = null) : bool @@ -315,6 +341,8 @@ public function setWidgetParameter(string $service, string $type, string $key, $ * @param string $service Widget Provider Service Name * @param string $type Widgets Type Identifier * + * @throws Exception + * * @return bool */ public function populateWidgetForm(FormBuilderInterface $builder, string $service, string $type) : bool @@ -338,6 +366,8 @@ public function populateWidgetForm(FormBuilderInterface $builder, string $servic * * @param string $mode * + * @throws Exception + * * @return array */ public function getList(string $mode = self::USER_WIDGETS) : array @@ -375,16 +405,21 @@ public function getList(string $mode = self::USER_WIDGETS) : array * @param array $options Widget Options Array * @param array $parameters Widget Parameters Array * + * @throws Exception + * * @return null|WidgetCache */ - public function getCache(string $service, string $type, array $options = array(), array $parameters = array()) : ?WidgetCache - { - return $this->cacheRep - ->findCached( - $service, - $type, - WidgetCache::buildDiscriminator($options, $parameters) - ); + public function getCache( + string $service, + string $type, + array $options = array(), + array $parameters = array() + ) : ?WidgetCache { + return $this->cacheRep->findCached( + $service, + $type, + WidgetCache::buildDiscriminator($options, $parameters) + ); } /** @@ -392,17 +427,17 @@ public function getCache(string $service, string $type, array $options = array() * * @param Widget $widget Widget Object * @param string $contents Widget Raw Contents + * + * @throws Exception */ public function setCacheContents(Widget $widget, string $contents) : void { - //====================================================================// - // Load Entity Manager - $entityManager = $this->container->get('doctrine')->getManager(); //====================================================================// // Build Discriminator $discriminator = WidgetCache::buildDiscriminator($widget->getOptions(), $widget->getParameters()); //====================================================================// // Load Widget Cache Object + /** @var null|WidgetCache $cache */ $cache = $this->cacheRep ->findOneBy(array( "service" => $widget->getService(), @@ -413,7 +448,7 @@ public function setCacheContents(Widget $widget, string $contents) : void // No Exists => Create Cache Object if (!$cache) { $cache = new WidgetCache($widget); - $entityManager->persist($cache); + $this->entityManager->persist($cache); } //====================================================================// // Setup Cache Object @@ -427,7 +462,7 @@ public function setCacheContents(Widget $widget, string $contents) : void ->setExpireAt($widget->getCacheMaxDate()); //====================================================================// // Flush Entity Manager - $entityManager->flush(); + $this->entityManager->flush(); } /** diff --git a/src/SplashWidgetsBundle.php b/src/SplashWidgetsBundle.php index d486d59..227e295 100755 --- a/src/SplashWidgetsBundle.php +++ b/src/SplashWidgetsBundle.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/tests/Blocks/Test.php b/tests/Blocks/Test.php index cd75803..59d25da 100755 --- a/tests/Blocks/Test.php +++ b/tests/Blocks/Test.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/tests/Controller/A001InitialisationControllerTest.php b/tests/Controller/A001InitialisationControllerTest.php index bc64ac1..801f568 100755 --- a/tests/Controller/A001InitialisationControllerTest.php +++ b/tests/Controller/A001InitialisationControllerTest.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -97,8 +95,15 @@ public function testCacheClear(string $environement) : void public function testEnvironements(string $environement) : void { //====================================================================// - // Create Process - $process = new Process("php bin/console debug:router --no-debug --env=".$environement); + // Create Command + $command = "php bin/console debug:router --no-debug --env=".$environement; + //====================================================================// + // Execute Test (SF 3&4 Versions) + try { + $process = Process::fromShellCommandline($command); + } catch (\Error $exception) { + $process = new Process($command); + } //====================================================================// // Clean Working Dir @@ -122,7 +127,7 @@ public function testEnvironements(string $environement) : void } /** - * Tested Environements Codes Provider + * Tested Environments Codes Provider * * @return array */ diff --git a/tests/Controller/A002WidgetFactoryServiceTest.php b/tests/Controller/A002WidgetFactoryServiceTest.php index 0bea52e..a63bf0f 100755 --- a/tests/Controller/A002WidgetFactoryServiceTest.php +++ b/tests/Controller/A002WidgetFactoryServiceTest.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,12 +13,14 @@ namespace Splash\Widgets\Tests\Controller; +use Exception; use Splash\Widgets\Models\Blocks\BaseBlock; use Splash\Widgets\Models\WidgetBase as Widget; use Splash\Widgets\Services\FactoryService; use Splash\Widgets\Services\ManagerService; use Splash\Widgets\Tests\Blocks\Test; use Splash\Widgets\Tests\Services\SamplesFactoryService as SamplesFactory; +use Splash\Widgets\Tests\Traits\ContainerAwareTrait; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; /** @@ -28,7 +28,7 @@ */ class A002WidgetFactoryServiceTest extends KernelTestCase { - use \Splash\Widgets\Tests\Traits\ContainerAwareTrait; + use ContainerAwareTrait; /** * {@inheritDoc} @@ -40,6 +40,8 @@ protected function setUp() : void /** * Check Factory Class + * + * @throws Exception */ public function testFactoryClass() : void { @@ -50,6 +52,8 @@ public function testFactoryClass() : void /** * Check Factory Functions + * + * @throws Exception */ public function testFactoryCreateProcess() : void { @@ -72,7 +76,7 @@ public function testFactoryCreateProcess() : void ->setName(Test::TITLE) ->setDescription(Test::DESCRIPTION) ->setOrigin(SamplesFactory::ORIGIN) - ; + ; //====================================================================// // Check Widget @@ -87,6 +91,8 @@ public function testFactoryCreateProcess() : void /** * Check Factory Functions + * + * @throws Exception */ public function testFactoryWidgetOptions() : void { @@ -131,7 +137,7 @@ public function testFactoryWidgetOptions() : void "Editable" => true, "EditMode" => true, )) - ; + ; //====================================================================// // Check Widget @@ -157,6 +163,8 @@ public function testFactoryWidgetOptions() : void * @dataProvider blocksNamesProvider * * @param string $name + * + * @throws Exception */ public function testFactoryWidgetBlocks(string $name) : void { @@ -175,6 +183,7 @@ public function testFactoryWidgetBlocks(string $name) : void //====================================================================// // Check Block $this->assertInstanceOf(BaseBlock::class, $block); + $this->assertTrue(class_exists($blockClassName)); $this->assertInstanceOf($blockClassName, $block); //====================================================================// diff --git a/tests/Controller/A003WidgetManagerServiceTest.php b/tests/Controller/A003WidgetManagerServiceTest.php index 36105ef..fa6daa4 100755 --- a/tests/Controller/A003WidgetManagerServiceTest.php +++ b/tests/Controller/A003WidgetManagerServiceTest.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,6 +14,7 @@ namespace Splash\Widgets\Tests\Controller; use DateTime; +use Exception; use Splash\Widgets\Entity\WidgetCache; use Splash\Widgets\Models\WidgetBase as Widget; use Splash\Widgets\Services\ManagerService; @@ -40,6 +39,8 @@ protected function setUp() : void /** * Check Manager Class + * + * @throws Exception */ public function testManagerClass() : void { @@ -53,6 +54,8 @@ public function testManagerClass() : void /** * Check Manager Listing Functions + * + * @throws Exception */ public function testManagerListing() : void { @@ -86,29 +89,33 @@ public function testManagerListing() : void /** * Check Manager Connect Functions + * + * @throws Exception */ public function testManagerConnect() : void { //====================================================================// // Get Test Factory Service $this->assertTrue( - $this->getManager()->Connect(SamplesFactory::SERVICE) + $this->getManager()->connect(SamplesFactory::SERVICE) ); //====================================================================// // Get Existant Factory Service $this->assertFalse( - $this->getManager()->Connect(SamplesFactory::SERVICE."Unknown") + $this->getManager()->connect(SamplesFactory::SERVICE."Unknown") ); //====================================================================// // Get Existant Factory Service - $this->expectException(\Exception::class); - $this->getManager()->Connect("router"); + $this->expectException(Exception::class); + $this->getManager()->connect("router"); } /** * Check Manager Reading Widgets Contents + * + * @throws Exception */ public function testManagerGetTestWidget() : void { @@ -125,6 +132,8 @@ public function testManagerGetTestWidget() : void /** * Check Manager Widgets Cache Management + * + * @throws Exception */ public function testManagerCache() : void { @@ -146,8 +155,18 @@ public function testManagerCache() : void //====================================================================// // Load Both Widgets From Cache - $cache1 = $this->getManager()->getCache($testWidget->getService(), $testWidget->getType(), $testWidget->getOptions(), array()); - $cache2 = $this->getManager()->getCache($testWidget->getService(), $testWidget->getType(), $testWidget->getOptions(), array( Test::TYPE => SamplesFactory::SERVICE)); + $cache1 = $this->getManager()->getCache( + $testWidget->getService(), + $testWidget->getType(), + $testWidget->getOptions(), + array() + ); + $cache2 = $this->getManager()->getCache( + $testWidget->getService(), + $testWidget->getType(), + $testWidget->getOptions(), + array( Test::TYPE => SamplesFactory::SERVICE) + ); //====================================================================// // Check Widgets Cache @@ -173,11 +192,21 @@ public function testManagerCache() : void //====================================================================// // ReLoad Both Widgets From Cache $this->assertNull( - $this->getManager()->getCache($testWidget->getService(), $testWidget->getType(), $testWidget->getOptions(), array()) + $this->getManager()->getCache( + $testWidget->getService(), + $testWidget->getType(), + $testWidget->getOptions(), + array() + ) ); $this->assertInstanceOf( WidgetCache::class, - $this->getManager()->getCache($testWidget->getService(), $testWidget->getType(), $testWidget->getOptions(), array( Test::TYPE => SamplesFactory::SERVICE)) + $this->getManager()->getCache( + $testWidget->getService(), + $testWidget->getType(), + $testWidget->getOptions(), + array( Test::TYPE => SamplesFactory::SERVICE) + ) ); //====================================================================// diff --git a/tests/Controller/B001ViewControllerTest.php b/tests/Controller/B001ViewControllerTest.php index fa6ef37..1589b6f 100755 --- a/tests/Controller/B001ViewControllerTest.php +++ b/tests/Controller/B001ViewControllerTest.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/tests/Controller/B002EditControllerTest.php b/tests/Controller/B002EditControllerTest.php index df1b487..7996c0a 100755 --- a/tests/Controller/B002EditControllerTest.php +++ b/tests/Controller/B002EditControllerTest.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -58,15 +56,39 @@ public function testEditModal(string $service, string $type) : void //====================================================================// // Verify Form is Here - $this->assertEquals(1, $crawler->filterXpath('//*[@name="splash_widgets_settings_form"]')->count()); - $this->assertEquals(1, $crawler->filterXpath('//*[@id="splash_widgets_settings_form_options_Width"]')->count()); - $this->assertEquals(1, $crawler->filterXpath('//*[@id="splash_widgets_settings_form_options_Color"]')->count()); - $this->assertEquals(1, $crawler->filterXpath('//*[@name="splash_widgets_settings_form[options][Header]"]')->count()); - $this->assertEquals(1, $crawler->filterXpath('//*[@name="splash_widgets_settings_form[options][Footer]"]')->count()); - $this->assertEquals(1, $crawler->filterXpath('//*[@name="splash_widgets_settings_form[options][UseCache]"]')->count()); + $this->assertEquals( + 1, + $crawler->filterXpath('//*[@name="splash_widgets_settings_form"]')->count() + ); + $this->assertEquals( + 1, + $crawler->filterXpath('//*[@id="splash_widgets_settings_form_options_Width"]')->count() + ); + $this->assertEquals( + 1, + $crawler->filterXpath('//*[@id="splash_widgets_settings_form_options_Color"]')->count() + ); + $this->assertEquals( + 1, + $crawler->filterXpath('//*[@name="splash_widgets_settings_form[options][Header]"]')->count() + ); + $this->assertEquals( + 1, + $crawler->filterXpath('//*[@name="splash_widgets_settings_form[options][Footer]"]')->count() + ); + $this->assertEquals( + 1, + $crawler->filterXpath('//*[@name="splash_widgets_settings_form[options][UseCache]"]')->count() + ); - $this->assertEquals(1, $crawler->filterXpath('//*[@id="splash_widgets_settings_form_parameters"]')->count()); - $this->assertEquals(1, $crawler->filterXpath('//*[@id="splash_widgets_settings_form_parameters_DatePreset"]')->count()); + $this->assertEquals( + 1, + $crawler->filterXpath('//*[@id="splash_widgets_settings_form_parameters"]')->count() + ); + $this->assertEquals( + 1, + $crawler->filterXpath('//*[@id="splash_widgets_settings_form_parameters_DatePreset"]')->count() + ); } /** diff --git a/tests/Controller/D001DemoControllerTest.php b/tests/Controller/D001DemoControllerTest.php index d0e5bd9..0dc8e41 100755 --- a/tests/Controller/D001DemoControllerTest.php +++ b/tests/Controller/D001DemoControllerTest.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/tests/Services/SamplesFactoryService.php b/tests/Services/SamplesFactoryService.php index 02bb589..c01f1b5 100755 --- a/tests/Services/SamplesFactoryService.php +++ b/tests/Services/SamplesFactoryService.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/tests/Traits/ContainerAwareTrait.php b/tests/Traits/ContainerAwareTrait.php index 32ffe87..93ae0de 100755 --- a/tests/Traits/ContainerAwareTrait.php +++ b/tests/Traits/ContainerAwareTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,6 +13,7 @@ namespace Splash\Widgets\Tests\Traits; +use Doctrine\Bundle\DoctrineBundle\Registry; use Doctrine\Common\Persistence\ObjectManager; use Exception; use Splash\Widgets\Services\FactoryService; @@ -72,7 +71,9 @@ protected function getContainer() : ContainerInterface protected function getEntityManager() : ObjectManager { if (!isset($this->entityManager)) { - $this->entityManager = $this->getContainer()->get('doctrine')->getManager(); + /** @var Registry $registry */ + $registry = $this->getContainer()->get('doctrine'); + $this->entityManager = $registry->getManager(); if (!($this->entityManager instanceof ObjectManager)) { throw new Exception("Unable to Load Entity Manager Service"); } @@ -91,10 +92,11 @@ protected function getEntityManager() : ObjectManager protected function getManager() : ManagerService { if (!isset($this->manager)) { - $this->manager = $this->getContainer()->get('splash.widgets.manager'); - if (!($this->manager instanceof ManagerService)) { + $manager = $this->getContainer()->get('splash.widgets.manager'); + if (!($manager instanceof ManagerService)) { throw new Exception("Unable to Load Widget Manager Service"); } + $this->manager = $manager; } return $this->manager; diff --git a/tests/Traits/UrlCheckerTrait.php b/tests/Traits/UrlCheckerTrait.php index f93c3f6..7a89588 100755 --- a/tests/Traits/UrlCheckerTrait.php +++ b/tests/Traits/UrlCheckerTrait.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -128,9 +126,9 @@ public function assertUrlFail(string $url, string $method = "GET") : Crawler /** * Verify if an Url Redirect to An Url and return Crawler * - * @param string $url - * @param string $target - * @param string $method + * @param string $url + * @param null|string $target + * @param string $method * * @return Crawler */ @@ -156,7 +154,8 @@ public function assertUrlRedirects(string $url, string $target = null, string $m $this->assertEquals( parse_url($response->getTargetUrl(), PHP_URL_PATH), parse_url($target, PHP_URL_PATH), - "This Url Should Redirect to ".$target." but redirect to : ".$url." Status Code : ".$response->getStatusCode() + "This Url Should Redirect to ".$target + ." but redirect to : ".$url." Status Code : ".$response->getStatusCode() ); } @@ -177,7 +176,7 @@ public function assertSubmitWorks($form) : void $this->client->followRedirects(); $this->client->submit($form); //====================================================================// - // Verify Submit Was Successfull + // Verify Submit Was Successful $this->client->followRedirects(); $response = $this->client->getResponse(); $this->assertInstanceOf(Response::class, $response); @@ -219,15 +218,19 @@ public function assertRouteFail(string $route, array $parameters = array(), stri /** * Verify if A Route Redirect to Another * - * @param string $route - * @param array $parameters - * @param string $target - * @param array $targetParams + * @param string $route + * @param array $parameters + * @param null|string $target + * @param array $targetParams * * @return Crawler */ - public function assertRouteRedirects(string $route, array $parameters = array(), string $target = null, array $targetParams = array()) - { + public function assertRouteRedirects( + string $route, + array $parameters = array(), + string $target = null, + array $targetParams = array() + ): Crawler { $this->ensureClientIsLoaded(); return $this->assertUrlRedirects( @@ -242,6 +245,10 @@ public function assertRouteRedirects(string $route, array $parameters = array(), private function ensureClientIsLoaded() : void { $this->assertTrue(isset($this->client), "Test Client Not Found ( this->client )"); - $this->assertInstanceOf(Client::class, $this->client, "Invalid Test Client Not Found ( ".get_class($this->client)." )"); + $this->assertInstanceOf( + Client::class, + $this->client, + "Invalid Test Client Not Found ( ".get_class($this->client)." )" + ); } } diff --git a/tests/grumphp/phpstan.neon b/tests/grumphp/phpstan.neon index 6b78f49..758b836 100755 --- a/tests/grumphp/phpstan.neon +++ b/tests/grumphp/phpstan.neon @@ -3,14 +3,15 @@ includes: - ../../vendor/phpstan/phpstan-doctrine/extension.neon - ../../vendor/phpstan/phpstan-symfony/extension.neon parameters: - bootstrap: "%currentWorkingDirectory%/vendor/splash/phpcore/Resources/grumphp/phpstan.php" + bootstrapFiles: + - "%currentWorkingDirectory%/vendor/splash/phpcore/Resources/grumphp/phpstan.php" checkMissingIterableValueType: false checkGenericClassInNonGenericObjectType: false inferPrivatePropertyTypeFromConstructor: true universalObjectCratesClasses: - ArrayObject symfony: - container_xml_path: %currentWorkingDirectory%/var/cache/dev/testContainer.xml # or srcDevDebugProjectContainer.xml for Symfony 4+ + container_xml_path: %currentWorkingDirectory%/var/cache/test/appAppKernelTestDebugContainer.xml ignoreErrors: # Splash Widgets Blocks Methods - '#Call to an undefined method [a-zA-Z0-9\\_]+BaseBlock::[a-zA-Z0-9\\_]+().#' diff --git a/web/app.php b/web/app.php index fd32755..ac1dbf6 100755 --- a/web/app.php +++ b/web/app.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/web/app_test.php b/web/app_test.php index cfa957f..958f8ae 100755 --- a/web/app_test.php +++ b/web/app_test.php @@ -1,9 +1,7 @@ + * Copyright (C) 2021 BadPixxel * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of