From 8674406a99d478d8acd6773234c0455511b0df91 Mon Sep 17 00:00:00 2001 From: Maciej Pilarczyk Date: Wed, 6 Jul 2022 15:10:19 +0200 Subject: [PATCH] Develop (#60) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bump flex to ^1.17, v1.13 (#58) https://symfony.com/blog/the-old-flex-infrastructure-is-shutting-down Co-authored-by: Maciej Pilarczyk * Support PHP 8.1 (#59) * Update symfony 5.4 * Update symfony 5.4 * v1.4.0 Co-authored-by: Emil <7682404+em411@users.noreply.github.com> Co-authored-by: Paweł Podkalicki <38037054+PawelPodkalicki@users.noreply.github.com> --- .env | 5 +- .env.test | 3 +- CHANGELOG.md | 8 +- bin/console | 2 +- composer.json | 36 +- composer.lock | 1803 ++++++++--------- config/packages/debug.yaml | 5 + config/packages/dev/debug.yaml | 4 - config/packages/dev/maker.yaml | 2 +- config/packages/dev/monolog.yaml | 19 - config/packages/doctrine.yaml | 31 +- config/packages/monolog.yaml | 61 + config/packages/prod/deprecations.yaml | 8 - config/packages/prod/doctrine.yaml | 20 - config/packages/prod/monolog.yaml | 17 - config/packages/test/doctrine.yaml | 4 - config/packages/test/monolog.yaml | 12 - config/routes.yaml | 18 +- config/services.yaml | 120 +- depfile.yaml | 40 - deptrac.yaml | 40 + public/index.php | 2 +- sonar-project.properties | 2 +- .../Command/BidStrategyDeleteCommand.php | 12 +- .../Command/BidStrategyUpdateCommand.php | 12 +- .../Command/CampaignDeleteCommand.php | 12 +- .../Command/CampaignUpdateCommand.php | 12 +- src/Application/Command/DataCleaner.php | 2 +- .../Command/EventDeleteCommand.php | 12 +- .../Command/EventUpdateCommand.php | 12 +- .../Command/PaymentFetchCommand.php | 21 +- .../Command/ReportCalculateCommand.php | 16 +- .../Command/ReportDeleteCommand.php | 10 +- .../Command/ReportFetchCommand.php | 14 +- src/Application/DTO/BasicDeleteDTO.php | 10 +- src/Application/DTO/BidStrategyDeleteDTO.php | 2 +- src/Application/DTO/BidStrategyUpdateDTO.php | 15 +- src/Application/DTO/CampaignDeleteDTO.php | 2 +- src/Application/DTO/CampaignUpdateDTO.php | 34 +- src/Application/DTO/ClickEventUpdateDTO.php | 14 +- .../DTO/ConversionEventUpdateDTO.php | 18 +- src/Application/DTO/EventUpdateDTO.php | 27 +- src/Application/DTO/PaymentFetchDTO.php | 8 +- src/Application/DTO/PaymentReportFetchDTO.php | 9 +- src/Application/DTO/ViewEventUpdateDTO.php | 14 +- .../Exception/FetchingException.php | 2 +- .../Exception/ValidationException.php | 2 +- .../Exception/DomainRepositoryException.php | 2 +- .../Exception/InvalidArgumentException.php | 2 +- src/Domain/Exception/InvalidDataException.php | 2 +- src/Domain/Model/Banner.php | 6 +- src/Domain/Model/BannerCollection.php | 2 +- src/Domain/Model/BidStrategy.php | 6 +- src/Domain/Model/BidStrategyCollection.php | 2 +- src/Domain/Model/Campaign.php | 8 +- src/Domain/Model/CampaignCollection.php | 2 +- src/Domain/Model/CampaignCost.php | 4 +- src/Domain/Model/CampaignCostCollection.php | 2 +- src/Domain/Model/ClickEvent.php | 6 +- src/Domain/Model/Conversion.php | 6 +- src/Domain/Model/ConversionCollection.php | 2 +- src/Domain/Model/ConversionEvent.php | 10 +- src/Domain/Model/Event.php | 10 +- src/Domain/Model/EventCollection.php | 6 +- src/Domain/Model/Impression.php | 6 +- src/Domain/Model/ImpressionCase.php | 6 +- src/Domain/Model/Payment.php | 10 +- src/Domain/Model/PaymentCollection.php | 2 +- src/Domain/Model/PaymentReport.php | 10 +- src/Domain/Model/PaymentReportCollection.php | 2 +- src/Domain/Model/ViewEvent.php | 6 +- .../Repository/BidStrategyRepository.php | 6 +- .../Repository/CampaignCostRepository.php | 8 +- src/Domain/Repository/CampaignRepository.php | 6 +- src/Domain/Repository/EventRepository.php | 8 +- .../Repository/PaymentReportRepository.php | 8 +- src/Domain/Repository/PaymentRepository.php | 2 +- src/Domain/Service/PaymentCalculator.php | 30 +- .../Service/PaymentCalculatorFactory.php | 10 +- src/Domain/ValueObject/BannerType.php | 4 +- src/Domain/ValueObject/Budget.php | 4 +- src/Domain/ValueObject/Context.php | 4 +- src/Domain/ValueObject/EventType.php | 4 +- src/Domain/ValueObject/Id.php | 4 +- src/Domain/ValueObject/IdCollection.php | 2 +- src/Domain/ValueObject/LimitType.php | 4 +- .../ValueObject/PaymentCalculatorConfig.php | 2 +- .../ValueObject/PaymentReportStatus.php | 4 +- src/Domain/ValueObject/PaymentStatus.php | 4 +- src/Infrastructure/Mapper/BannerMapper.php | 10 +- .../Mapper/BidStrategyMapper.php | 8 +- .../Mapper/CampaignCostMapper.php | 6 +- src/Infrastructure/Mapper/CampaignMapper.php | 14 +- .../Mapper/ClickEventMapper.php | 4 +- .../Mapper/ConversionEventMapper.php | 8 +- .../Mapper/ConversionMapper.php | 10 +- src/Infrastructure/Mapper/EventMapper.php | 4 +- src/Infrastructure/Mapper/PaymentMapper.php | 2 +- .../Mapper/PaymentReportMapper.php | 6 +- src/Infrastructure/Mapper/ViewEventMapper.php | 4 +- .../DoctrineBidStrategyRepository.php | 16 +- .../DoctrineCampaignCostRepository.php | 14 +- .../Repository/DoctrineCampaignRepository.php | 26 +- .../Repository/DoctrineEventRepository.php | 24 +- .../Repository/DoctrineModelUpdater.php | 4 +- .../DoctrinePaymentReportRepository.php | 14 +- .../Repository/DoctrinePaymentRepository.php | 8 +- src/Kernel.php | 29 +- src/Lib/DateTimeHelper.php | 4 +- src/Lib/Exception/DateTimeException.php | 2 +- src/Lib/InfoHelper.php | 4 +- src/UI/Command/HistoryClearCommand.php | 26 +- src/UI/Command/PaymentsCalculateCommand.php | 20 +- src/UI/Controller/BidStrategyController.php | 24 +- src/UI/Controller/CampaignController.php | 21 +- src/UI/Controller/EventController.php | 22 +- src/UI/Controller/InfoController.php | 4 +- src/UI/Controller/PaymentController.php | 17 +- symfony.lock | 52 +- .../Command/BidStrategyDeleteCommandTest.php | 8 +- .../Command/BidStrategyUpdateCommandTest.php | 8 +- .../Command/CampaignDeleteCommandTest.php | 8 +- .../Command/CampaignUpdateCommandTest.php | 8 +- .../Command/EventDeleteCommandTest.php | 8 +- .../Command/EventUpdateCommandTest.php | 24 +- .../Command/PaymentFetchCommandTest.php | 16 +- .../Command/ReportCalculateCommandTest.php | 26 +- .../Command/ReportDeleteCommandTest.php | 6 +- .../Command/ReportFetchCommandTest.php | 12 +- .../DTO/BidStrategyDeleteDTOTest.php | 6 +- .../DTO/BidStrategyUpdateDTOTest.php | 8 +- .../Application/DTO/CampaignDeleteDTOTest.php | 6 +- .../Application/DTO/CampaignUpdateDTOTest.php | 12 +- .../DTO/ClickEventUpdateDTOTest.php | 8 +- .../DTO/ConversionEventUpdateDTOTest.php | 10 +- tests/Application/DTO/EventUpdateDTOTest.php | 10 +- tests/Application/DTO/PaymentFetchDTOTest.php | 4 +- .../DTO/PaymentReportFetchDTOTest.php | 10 +- .../DTO/ViewEventUpdateDTOTest.php | 8 +- .../InvalidArgumentExceptionTest.php | 4 +- tests/Domain/Model/BannerCollectionTest.php | 10 +- tests/Domain/Model/BannerTest.php | 10 +- .../Model/BidStrategyCollectionTest.php | 8 +- tests/Domain/Model/BidStrategyTest.php | 8 +- tests/Domain/Model/CampaignCollectionTest.php | 16 +- tests/Domain/Model/CampaignTest.php | 18 +- tests/Domain/Model/ClickEventTest.php | 16 +- .../Domain/Model/ConversionCollectionTest.php | 10 +- tests/Domain/Model/ConversionEventTest.php | 20 +- tests/Domain/Model/ConversionTest.php | 10 +- tests/Domain/Model/EventCollectionTest.php | 20 +- tests/Domain/Model/EventTest.php | 21 +- tests/Domain/Model/ImpressionCaseTest.php | 12 +- tests/Domain/Model/ImpressionTest.php | 8 +- tests/Domain/Model/PaymentCollectionTest.php | 12 +- .../Model/PaymentReportCollectionTest.php | 8 +- tests/Domain/Model/PaymentReportTest.php | 10 +- tests/Domain/Model/PaymentTest.php | 12 +- tests/Domain/Model/ViewEventTest.php | 18 +- .../Domain/Service/PaymentCalculatorTest.php | 44 +- tests/Domain/ValueObject/BannerTypeTest.php | 6 +- tests/Domain/ValueObject/BudgetTest.php | 6 +- tests/Domain/ValueObject/ContextTest.php | 6 +- tests/Domain/ValueObject/EventTypeTest.php | 6 +- tests/Domain/ValueObject/IdCollectionTest.php | 6 +- tests/Domain/ValueObject/IdTest.php | 6 +- tests/Domain/ValueObject/LimitTypeTest.php | 6 +- .../ValueObject/PaymentReportStatusTest.php | 6 +- .../Domain/ValueObject/PaymentStatusTest.php | 6 +- .../DoctrineBidStrategyRepositoryTest.php | 16 +- .../DoctrineCampaignCostRepositoryTest.php | 12 +- .../DoctrineCampaignRepositoryTest.php | 30 +- .../DoctrineEventRepositoryTest.php | 32 +- .../DoctrinePaymentReportRepositoryTest.php | 18 +- .../DoctrinePaymentRepositoryTest.php | 12 +- .../Repository/RepositoryTestCase.php | 2 +- tests/Lib/DateTimeHelperTest.php | 6 +- tests/Lib/InfoHelperTest.php | 6 +- tests/UI/Command/CommandTestCase.php | 2 +- tests/UI/Command/HistoryClearCommandTest.php | 26 +- .../Command/PaymentsCalculateCommandTest.php | 8 +- .../Controller/BidStrategyControllerTest.php | 2 +- .../UI/Controller/CampaignControllerTest.php | 2 +- tests/UI/Controller/EventControllerTest.php | 2 +- tests/UI/Controller/InfoControllerTest.php | 2 +- .../UI/Controller/PaymentsControllerTest.php | 2 +- 186 files changed, 1831 insertions(+), 2099 deletions(-) create mode 100644 config/packages/debug.yaml delete mode 100644 config/packages/dev/debug.yaml delete mode 100644 config/packages/dev/monolog.yaml create mode 100644 config/packages/monolog.yaml delete mode 100644 config/packages/prod/deprecations.yaml delete mode 100644 config/packages/prod/doctrine.yaml delete mode 100644 config/packages/prod/monolog.yaml delete mode 100644 config/packages/test/doctrine.yaml delete mode 100644 config/packages/test/monolog.yaml delete mode 100644 depfile.yaml create mode 100644 deptrac.yaml diff --git a/.env b/.env index 5cd45aaf..cd5bb175 100644 --- a/.env +++ b/.env @@ -9,6 +9,7 @@ # Real environment variables win over .env files. # # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. +# https://symfony.com/doc/current/configuration/secrets.html # # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration @@ -31,9 +32,7 @@ APP_SECRET=00a2ba897e59fac27a0681e645119071 # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml # -# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" -DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7" -# DATABASE_URL="postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8" +DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7&charset=utf8mb4" ###< doctrine/doctrine-bundle ### LOG_FILE_PATH=%kernel.logs_dir%/%kernel.environment%.log diff --git a/.env.test b/.env.test index c72ffcbb..85df87c9 100644 --- a/.env.test +++ b/.env.test @@ -1,6 +1,7 @@ # define your env variables for the test env here -KERNEL_CLASS='Adshares\AdPay\Kernel' +KERNEL_CLASS='App\Kernel' APP_SECRET='$ecretf0rt3st' SYMFONY_DEPRECATIONS_HELPER=999999 PANTHER_APP_ENV=panther PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots +DATABASE_URL="mysql://adpay:adpay@127.0.0.1:3306/adpay_test?serverVersion=5.7&charset=utf8mb4" diff --git a/CHANGELOG.md b/CHANGELOG.md index 50b3ed6c..46b14503 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.4.0] - 2022-07-05 +### Changed +- Support PHP 8.1 +- Upgrade to Symfony 5.4 + ## [1.3.3] - 2022-02-23 ### Added - Support model type banners @@ -70,7 +75,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Rewriting from Python to PHP -[Unreleased]: https://github.com/adshares/adpay/compare/v1.3.3...HEAD +[Unreleased]: https://github.com/adshares/adpay/compare/v1.4.0...HEAD +[1.4.0]: https://github.com/adshares/adpay/compare/v1.3.3...v1.4.0 [1.3.3]: https://github.com/adshares/adpay/compare/v1.3.2...v1.3.3 [1.3.2]: https://github.com/adshares/adpay/compare/v1.3.1...v1.3.2 [1.3.1]: https://github.com/adshares/adpay/compare/v1.3.0...v1.3.1 diff --git a/bin/console b/bin/console index 6a5e5f63..c933dc53 100755 --- a/bin/console +++ b/bin/console @@ -1,7 +1,7 @@ #!/usr/bin/env php 2.2,<2.4" }, "require-dev": { - "alcaeus/mongo-php-adapter": "^1.1", "cache/integration-tests": "dev-master", - "doctrine/coding-standard": "^8.0", - "mongodb/mongodb": "^1.1", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "predis/predis": "~1.0", + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "psr/cache": "^1.0 || ^2.0 || ^3.0", - "symfony/cache": "^4.4 || ^5.2 || ^6.0@dev", - "symfony/var-exporter": "^4.4 || ^5.2 || ^6.0@dev" - }, - "suggest": { - "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" + "symfony/cache": "^4.4 || ^5.4 || ^6", + "symfony/var-exporter": "^4.4 || ^5.4 || ^6" }, "type": "library", "autoload": { @@ -232,7 +154,7 @@ ], "support": { "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/2.1.1" + "source": "https://github.com/doctrine/cache/tree/2.2.0" }, "funding": [ { @@ -248,7 +170,7 @@ "type": "tidelift" } ], - "time": "2021-07-17T14:49:29+00:00" + "time": "2022-05-20T20:07:39+00:00" }, { "name": "doctrine/collections", @@ -321,25 +243,25 @@ }, { "name": "doctrine/common", - "version": "3.2.1", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/doctrine/common.git", - "reference": "e927fc2410c8723d053b8032e591cdff76587cdb" + "reference": "c824e95d4c83b7102d8bc60595445a6f7d540f96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/e927fc2410c8723d053b8032e591cdff76587cdb", - "reference": "e927fc2410c8723d053b8032e591cdff76587cdb", + "url": "https://api.github.com/repos/doctrine/common/zipball/c824e95d4c83b7102d8bc60595445a6f7d540f96", + "reference": "c824e95d4c83b7102d8bc60595445a6f7d540f96", "shasum": "" }, "require": { - "doctrine/persistence": "^2.0", + "doctrine/persistence": "^2.0 || ^3.0", "php": "^7.1 || ^8.0" }, "require-dev": { "doctrine/coding-standard": "^9.0", - "phpstan/phpstan": "^1.2.0", + "phpstan/phpstan": "^1.4.1", "phpstan/phpstan-phpunit": "^1", "phpunit/phpunit": "^7.5.20 || ^8.5 || ^9.0", "squizlabs/php_codesniffer": "^3.0", @@ -391,7 +313,7 @@ ], "support": { "issues": "https://github.com/doctrine/common/issues", - "source": "https://github.com/doctrine/common/tree/3.2.1" + "source": "https://github.com/doctrine/common/tree/3.3.0" }, "funding": [ { @@ -407,26 +329,26 @@ "type": "tidelift" } ], - "time": "2021-12-26T22:39:45+00:00" + "time": "2022-02-05T18:28:51+00:00" }, { "name": "doctrine/dbal", - "version": "3.2.1", + "version": "3.3.7", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "4caf37acf14b513a91dd4f087f7eda424fa25542" + "reference": "9f79d4650430b582f4598fe0954ef4d52fbc0a8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/4caf37acf14b513a91dd4f087f7eda424fa25542", - "reference": "4caf37acf14b513a91dd4f087f7eda424fa25542", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/9f79d4650430b582f4598fe0954ef4d52fbc0a8a", + "reference": "9f79d4650430b582f4598fe0954ef4d52fbc0a8a", "shasum": "" }, "require": { - "composer/package-versions-deprecated": "^1.11.99", + "composer-runtime-api": "^2", "doctrine/cache": "^1.11|^2.0", - "doctrine/deprecations": "^0.5.3", + "doctrine/deprecations": "^0.5.3|^1", "doctrine/event-manager": "^1.0", "php": "^7.3 || ^8.0", "psr/cache": "^1|^2|^3", @@ -434,15 +356,15 @@ }, "require-dev": { "doctrine/coding-standard": "9.0.0", - "jetbrains/phpstorm-stubs": "2021.1", - "phpstan/phpstan": "1.3.0", - "phpstan/phpstan-strict-rules": "^1.1", - "phpunit/phpunit": "9.5.11", + "jetbrains/phpstorm-stubs": "2022.1", + "phpstan/phpstan": "1.7.13", + "phpstan/phpstan-strict-rules": "^1.2", + "phpunit/phpunit": "9.5.20", "psalm/plugin-phpunit": "0.16.1", - "squizlabs/php_codesniffer": "3.6.2", + "squizlabs/php_codesniffer": "3.7.0", "symfony/cache": "^5.2|^6.0", - "symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0", - "vimeo/psalm": "4.16.1" + "symfony/console": "^2.7|^3.0|^4.0|^5.0|^6.0", + "vimeo/psalm": "4.23.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -502,7 +424,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.2.1" + "source": "https://github.com/doctrine/dbal/tree/3.3.7" }, "funding": [ { @@ -518,29 +440,29 @@ "type": "tidelift" } ], - "time": "2022-01-05T08:52:06+00:00" + "time": "2022-06-13T21:43:03+00:00" }, { "name": "doctrine/deprecations", - "version": "v0.5.3", + "version": "v1.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "9504165960a1f83cc1480e2be1dd0a0478561314" + "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/9504165960a1f83cc1480e2be1dd0a0478561314", - "reference": "9504165960a1f83cc1480e2be1dd0a0478561314", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", "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" + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5|^8.5|^9.5", + "psr/log": "^1|^2|^3" }, "suggest": { "psr/log": "Allows logging deprecations via PSR-3 logger implementation" @@ -559,29 +481,29 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v0.5.3" + "source": "https://github.com/doctrine/deprecations/tree/v1.0.0" }, - "time": "2021-03-21T12:59:47+00:00" + "time": "2022-05-02T15:47:09+00:00" }, { "name": "doctrine/doctrine-bundle", - "version": "2.5.5", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "5c086cbbe5327937dd6f90da075f7d421b0f28bc" + "reference": "d2088fc50494e4e7441fecca54732245a613eeb6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/5c086cbbe5327937dd6f90da075f7d421b0f28bc", - "reference": "5c086cbbe5327937dd6f90da075f7d421b0f28bc", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/d2088fc50494e4e7441fecca54732245a613eeb6", + "reference": "d2088fc50494e4e7441fecca54732245a613eeb6", "shasum": "" }, "require": { "doctrine/annotations": "^1", "doctrine/cache": "^1.11 || ^2.0", - "doctrine/dbal": "^2.13.1|^3.1", - "doctrine/persistence": "^2.2", + "doctrine/dbal": "^2.13.1|^3.3.2", + "doctrine/persistence": "^2.2|^3", "doctrine/sql-formatter": "^1.0.1", "php": "^7.1 || ^8.0", "symfony/cache": "^4.3.3|^5.0|^6.0", @@ -594,16 +516,17 @@ "symfony/service-contracts": "^1.1.1|^2.0|^3" }, "conflict": { - "doctrine/orm": "<2.9", + "doctrine/orm": "<2.10|>=3.0", "twig/twig": "<1.34|>=2.0,<2.4" }, "require-dev": { "doctrine/coding-standard": "^9.0", - "doctrine/orm": "^2.9 || ^3.0", + "doctrine/orm": "^2.11 || ^3.0", "friendsofphp/proxy-manager-lts": "^1.0", "phpunit/phpunit": "^7.5 || ^8.0 || ^9.3 || ^10.0", "psalm/plugin-phpunit": "^0.16.1", "psalm/plugin-symfony": "^3", + "psr/log": "^1.1.4|^2.0|^3.0", "symfony/phpunit-bridge": "^5.2|^6.0", "symfony/property-info": "^4.3.3|^5.0|^6.0", "symfony/proxy-manager-bridge": "^3.4|^4.3.3|^5.0|^6.0", @@ -658,7 +581,7 @@ ], "support": { "issues": "https://github.com/doctrine/DoctrineBundle/issues", - "source": "https://github.com/doctrine/DoctrineBundle/tree/2.5.5" + "source": "https://github.com/doctrine/DoctrineBundle/tree/2.7.0" }, "funding": [ { @@ -674,20 +597,20 @@ "type": "tidelift" } ], - "time": "2022-01-06T08:56:31+00:00" + "time": "2022-06-10T10:55:26+00:00" }, { "name": "doctrine/doctrine-migrations-bundle", - "version": "3.2.1", + "version": "3.2.2", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineMigrationsBundle.git", - "reference": "c1b10bc1466e08bba82640e49c7bbcce0c9853c2" + "reference": "3393f411ba25ade21969c33f2053220044854d01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/c1b10bc1466e08bba82640e49c7bbcce0c9853c2", - "reference": "c1b10bc1466e08bba82640e49c7bbcce0c9853c2", + "url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/3393f411ba25ade21969c33f2053220044854d01", + "reference": "3393f411ba25ade21969c33f2053220044854d01", "shasum": "" }, "require": { @@ -727,11 +650,11 @@ }, { "name": "Doctrine Project", - "homepage": "http://www.doctrine-project.org" + "homepage": "https://www.doctrine-project.org" }, { "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "homepage": "https://symfony.com/contributors" } ], "description": "Symfony DoctrineMigrationsBundle", @@ -743,7 +666,7 @@ ], "support": { "issues": "https://github.com/doctrine/DoctrineMigrationsBundle/issues", - "source": "https://github.com/doctrine/DoctrineMigrationsBundle/tree/3.2.1" + "source": "https://github.com/doctrine/DoctrineMigrationsBundle/tree/3.2.2" }, "funding": [ { @@ -759,7 +682,7 @@ "type": "tidelift" } ], - "time": "2021-11-11T11:08:52+00:00" + "time": "2022-02-01T18:08:07+00:00" }, { "name": "doctrine/event-manager", @@ -948,29 +871,30 @@ }, { "name": "doctrine/instantiator", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.0", + "doctrine/coding-standard": "^9", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.22" }, "type": "library", "autoload": { @@ -997,7 +921,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.0" + "source": "https://github.com/doctrine/instantiator/tree/1.4.1" }, "funding": [ { @@ -1013,20 +937,20 @@ "type": "tidelift" } ], - "time": "2020-11-10T18:47:58+00:00" + "time": "2022-03-03T08:28:38+00:00" }, { "name": "doctrine/lexer", - "version": "1.2.2", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "9c50f840f257bbb941e6f4a0e94ccf5db5c3f76c" + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/9c50f840f257bbb941e6f4a0e94ccf5db5c3f76c", - "reference": "9c50f840f257bbb941e6f4a0e94ccf5db5c3f76c", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", "shasum": "" }, "require": { @@ -1034,7 +958,7 @@ }, "require-dev": { "doctrine/coding-standard": "^9.0", - "phpstan/phpstan": "1.3", + "phpstan/phpstan": "^1.3", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "vimeo/psalm": "^4.11" }, @@ -1073,7 +997,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.2" + "source": "https://github.com/doctrine/lexer/tree/1.2.3" }, "funding": [ { @@ -1089,49 +1013,52 @@ "type": "tidelift" } ], - "time": "2022-01-12T08:27:12+00:00" + "time": "2022-02-28T11:07:21+00:00" }, { "name": "doctrine/migrations", - "version": "3.4.0", + "version": "3.5.1", "source": { "type": "git", "url": "https://github.com/doctrine/migrations.git", - "reference": "e17a946a9d3693cc2f3c285e6667522ded237f71" + "reference": "c0a01ddead0ccaf0282f3f4fcaa026d11918a481" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/migrations/zipball/e17a946a9d3693cc2f3c285e6667522ded237f71", - "reference": "e17a946a9d3693cc2f3c285e6667522ded237f71", + "url": "https://api.github.com/repos/doctrine/migrations/zipball/c0a01ddead0ccaf0282f3f4fcaa026d11918a481", + "reference": "c0a01ddead0ccaf0282f3f4fcaa026d11918a481", "shasum": "" }, "require": { "composer-runtime-api": "^2", - "doctrine/dbal": "^2.11 || ^3.0", - "doctrine/deprecations": "^0.5.3", + "doctrine/dbal": "^3.3", + "doctrine/deprecations": "^0.5.3 || ^1", "doctrine/event-manager": "^1.0", "friendsofphp/proxy-manager-lts": "^1.0", - "php": "^7.2 || ^8.0", + "php": "^7.4 || ^8.0", "psr/log": "^1.1.3 || ^2 || ^3", - "symfony/console": "^3.4 || ^4.4.16 || ^5.0 || ^6.0", - "symfony/stopwatch": "^3.4 || ^4.0 || ^5.0 || ^6.0" + "symfony/console": "^4.4.16 || ^5.4 || ^6.0", + "symfony/stopwatch": "^4.4 || ^5.4 || ^6.0" + }, + "conflict": { + "doctrine/orm": "<2.12" }, "require-dev": { - "doctrine/coding-standard": "^8.0", - "doctrine/orm": "^2.6", - "doctrine/persistence": "^1.3 || ^2.0", + "doctrine/coding-standard": "^9", + "doctrine/orm": "^2.12", + "doctrine/persistence": "^2 || ^3", "doctrine/sql-formatter": "^1.0", "ergebnis/composer-normalize": "^2.9", "ext-pdo_sqlite": "*", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-deprecation-rules": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpstan/phpstan-symfony": "^0.12", - "phpunit/phpunit": "^8.5 || ^9.4", - "symfony/cache": "^3.4.26 || ^4.2.12 || ^5.0 || ^6.0", - "symfony/process": "^3.4 || ^4.0 || ^5.0 || ^6.0", - "symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0" + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-deprecation-rules": "^1", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.1", + "phpstan/phpstan-symfony": "^1.1", + "phpunit/phpunit": "^9.5", + "symfony/cache": "^4.4 || ^5.4 || ^6.0", + "symfony/process": "^4.4 || ^5.4 || ^6.0", + "symfony/yaml": "^4.4 || ^5.4 || ^6.0" }, "suggest": { "doctrine/sql-formatter": "Allows to generate formatted SQL with the diff command.", @@ -1179,7 +1106,7 @@ ], "support": { "issues": "https://github.com/doctrine/migrations/issues", - "source": "https://github.com/doctrine/migrations/tree/3.4.0" + "source": "https://github.com/doctrine/migrations/tree/3.5.1" }, "funding": [ { @@ -1195,20 +1122,20 @@ "type": "tidelift" } ], - "time": "2022-01-14T08:19:22+00:00" + "time": "2022-05-09T20:24:38+00:00" }, { "name": "doctrine/orm", - "version": "2.11.0", + "version": "2.12.3", "source": { "type": "git", "url": "https://github.com/doctrine/orm.git", - "reference": "bfed8cb6ed448f4ab1ea3fff06e4d6c44439e4ef" + "reference": "c05e1709e9ffb9abe8d37260a78975cc816ee385" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/orm/zipball/bfed8cb6ed448f4ab1ea3fff06e4d6c44439e4ef", - "reference": "bfed8cb6ed448f4ab1ea3fff06e4d6c44439e4ef", + "url": "https://api.github.com/repos/doctrine/orm/zipball/c05e1709e9ffb9abe8d37260a78975cc816ee385", + "reference": "c05e1709e9ffb9abe8d37260a78975cc816ee385", "shasum": "" }, "require": { @@ -1217,19 +1144,18 @@ "doctrine/collections": "^1.5", "doctrine/common": "^3.0.3", "doctrine/dbal": "^2.13.1 || ^3.2", - "doctrine/deprecations": "^0.5.3", + "doctrine/deprecations": "^0.5.3 || ^1", "doctrine/event-manager": "^1.1", "doctrine/inflector": "^1.4 || ^2.0", "doctrine/instantiator": "^1.3", - "doctrine/lexer": "^1.0", - "doctrine/persistence": "^2.2", + "doctrine/lexer": "^1.2.3", + "doctrine/persistence": "^2.4 || ^3", "ext-ctype": "*", - "ext-pdo": "*", "php": "^7.1 || ^8.0", "psr/cache": "^1 || ^2 || ^3", "symfony/console": "^3.0 || ^4.0 || ^5.0 || ^6.0", "symfony/polyfill-php72": "^1.23", - "symfony/polyfill-php80": "^1.15" + "symfony/polyfill-php80": "^1.16" }, "conflict": { "doctrine/annotations": "<1.13 || >= 2.0" @@ -1238,12 +1164,13 @@ "doctrine/annotations": "^1.13", "doctrine/coding-standard": "^9.0", "phpbench/phpbench": "^0.16.10 || ^1.0", - "phpstan/phpstan": "1.3.3", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", - "squizlabs/php_codesniffer": "3.6.2", + "phpstan/phpstan": "~1.4.10 || 1.7.13", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psr/log": "^1 || ^2 || ^3", + "squizlabs/php_codesniffer": "3.7.0", "symfony/cache": "^4.4 || ^5.4 || ^6.0", "symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0", - "vimeo/psalm": "4.18.1" + "vimeo/psalm": "4.23.0" }, "suggest": { "symfony/cache": "Provides cache support for Setup Tool with doctrine/cache 2.0", @@ -1292,51 +1219,50 @@ ], "support": { "issues": "https://github.com/doctrine/orm/issues", - "source": "https://github.com/doctrine/orm/tree/2.11.0" + "source": "https://github.com/doctrine/orm/tree/2.12.3" }, - "time": "2022-01-12T13:20:33+00:00" + "time": "2022-06-16T13:42:23+00:00" }, { "name": "doctrine/persistence", - "version": "2.3.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/doctrine/persistence.git", - "reference": "f8af155c1e7963f3d2b4415097d55757bbaa53d8" + "reference": "25ec98a8cbd1f850e60fdb62c0ef77c162da8704" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/persistence/zipball/f8af155c1e7963f3d2b4415097d55757bbaa53d8", - "reference": "f8af155c1e7963f3d2b4415097d55757bbaa53d8", + "url": "https://api.github.com/repos/doctrine/persistence/zipball/25ec98a8cbd1f850e60fdb62c0ef77c162da8704", + "reference": "25ec98a8cbd1f850e60fdb62c0ef77c162da8704", "shasum": "" }, "require": { - "doctrine/cache": "^1.11 || ^2.0", "doctrine/collections": "^1.0", - "doctrine/deprecations": "^0.5.3", "doctrine/event-manager": "^1.0", - "php": "^7.1 || ^8.0", + "php": "^7.2 || ^8.0", "psr/cache": "^1.0 || ^2.0 || ^3.0" }, "conflict": { - "doctrine/annotations": "<1.0 || >=2.0", - "doctrine/common": "<2.10@dev" + "doctrine/annotations": "<1.7 || >=2.0", + "doctrine/common": "<2.10" }, "require-dev": { "composer/package-versions-deprecated": "^1.11", - "doctrine/annotations": "^1.0", - "doctrine/coding-standard": "^6.0 || ^9.0", + "doctrine/annotations": "^1.7", + "doctrine/coding-standard": "^9.0", "doctrine/common": "^3.0", - "phpstan/phpstan": "1.2.0", - "phpunit/phpunit": "^7.5.20 || ^8.0 || ^9.0", - "symfony/cache": "^4.4 || ^5.0 || ^6.0", - "vimeo/psalm": "4.13.1" + "phpstan/phpstan": "1.5.0", + "phpstan/phpstan-phpunit": "^1", + "phpstan/phpstan-strict-rules": "^1.1", + "phpunit/phpunit": "^8.5 || ^9.5", + "symfony/cache": "^4.4 || ^5.4 || ^6.0", + "vimeo/psalm": "4.22.0" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common", - "Doctrine\\Persistence\\": "lib/Doctrine/Persistence" + "Doctrine\\Persistence\\": "src/Persistence" } }, "notification-url": "https://packagist.org/downloads/", @@ -1370,7 +1296,7 @@ } ], "description": "The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.", - "homepage": "https://doctrine-project.org/projects/persistence.html", + "homepage": "https://www.doctrine-project.org/projects/persistence.html", "keywords": [ "mapper", "object", @@ -1380,22 +1306,36 @@ ], "support": { "issues": "https://github.com/doctrine/persistence/issues", - "source": "https://github.com/doctrine/persistence/tree/2.3.0" + "source": "https://github.com/doctrine/persistence/tree/3.0.2" }, - "time": "2022-01-09T19:58:46+00:00" + "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%2Fpersistence", + "type": "tidelift" + } + ], + "time": "2022-05-06T06:10:05+00:00" }, { "name": "doctrine/sql-formatter", - "version": "1.1.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/doctrine/sql-formatter.git", - "reference": "20c39c2de286a9d3262cc8ed282a4ae60e265894" + "reference": "25a06c7bf4c6b8218f47928654252863ffc890a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/sql-formatter/zipball/20c39c2de286a9d3262cc8ed282a4ae60e265894", - "reference": "20c39c2de286a9d3262cc8ed282a4ae60e265894", + "url": "https://api.github.com/repos/doctrine/sql-formatter/zipball/25a06c7bf4c6b8218f47928654252863ffc890a5", + "reference": "25a06c7bf4c6b8218f47928654252863ffc890a5", "shasum": "" }, "require": { @@ -1421,7 +1361,7 @@ { "name": "Jeremy Dorn", "email": "jeremy@jeremydorn.com", - "homepage": "http://jeremydorn.com/" + "homepage": "https://jeremydorn.com/" } ], "description": "a PHP SQL highlighting library", @@ -1432,22 +1372,22 @@ ], "support": { "issues": "https://github.com/doctrine/sql-formatter/issues", - "source": "https://github.com/doctrine/sql-formatter/tree/1.1.2" + "source": "https://github.com/doctrine/sql-formatter/tree/1.1.3" }, - "time": "2021-11-05T11:11:14+00:00" + "time": "2022-05-23T21:33:49+00:00" }, { "name": "friendsofphp/proxy-manager-lts", - "version": "v1.0.5", + "version": "v1.0.12", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/proxy-manager-lts.git", - "reference": "006aa5d32f887a4db4353b13b5b5095613e0611f" + "reference": "8419f0158715b30d4b99a5bd37c6a39671994ad7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/proxy-manager-lts/zipball/006aa5d32f887a4db4353b13b5b5095613e0611f", - "reference": "006aa5d32f887a4db4353b13b5b5095613e0611f", + "url": "https://api.github.com/repos/FriendsOfPHP/proxy-manager-lts/zipball/8419f0158715b30d4b99a5bd37c6a39671994ad7", + "reference": "8419f0158715b30d4b99a5bd37c6a39671994ad7", "shasum": "" }, "require": { @@ -1464,7 +1404,7 @@ }, "require-dev": { "ext-phar": "*", - "symfony/phpunit-bridge": "^5.2|^6.0" + "symfony/phpunit-bridge": "^5.4|^6.0" }, "type": "library", "extra": { @@ -1486,7 +1426,7 @@ { "name": "Marco Pivetta", "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.io/" + "homepage": "https://ocramius.github.io/" }, { "name": "Nicolas Grekas", @@ -1504,7 +1444,7 @@ ], "support": { "issues": "https://github.com/FriendsOfPHP/proxy-manager-lts/issues", - "source": "https://github.com/FriendsOfPHP/proxy-manager-lts/tree/v1.0.5" + "source": "https://github.com/FriendsOfPHP/proxy-manager-lts/tree/v1.0.12" }, "funding": [ { @@ -1516,20 +1456,20 @@ "type": "tidelift" } ], - "time": "2021-05-22T16:11:15+00:00" + "time": "2022-05-05T09:31:05+00:00" }, { "name": "laminas/laminas-code", - "version": "4.5.1", + "version": "4.5.2", "source": { "type": "git", "url": "https://github.com/laminas/laminas-code.git", - "reference": "6fd96d4d913571a2cd056a27b123fa28cb90ac4e" + "reference": "da01fb74c08f37e20e7ae49f1e3ee09aa401ebad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-code/zipball/6fd96d4d913571a2cd056a27b123fa28cb90ac4e", - "reference": "6fd96d4d913571a2cd056a27b123fa28cb90ac4e", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/da01fb74c08f37e20e7ae49f1e3ee09aa401ebad", + "reference": "da01fb74c08f37e20e7ae49f1e3ee09aa401ebad", "shasum": "" }, "require": { @@ -1550,12 +1490,12 @@ }, "type": "library", "autoload": { - "psr-4": { - "Laminas\\Code\\": "src/" - }, "files": [ "polyfill/ReflectionEnumPolyfill.php" - ] + ], + "psr-4": { + "Laminas\\Code\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1582,20 +1522,20 @@ "type": "community_bridge" } ], - "time": "2021-12-19T18:06:55+00:00" + "time": "2022-06-06T11:26:02+00:00" }, { "name": "monolog/monolog", - "version": "2.3.5", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "fd4380d6fc37626e2f799f29d91195040137eba9" + "reference": "5579edf28aee1190a798bfa5be8bc16c563bd524" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd4380d6fc37626e2f799f29d91195040137eba9", - "reference": "fd4380d6fc37626e2f799f29d91195040137eba9", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5579edf28aee1190a798bfa5be8bc16c563bd524", + "reference": "5579edf28aee1190a798bfa5be8bc16c563bd524", "shasum": "" }, "require": { @@ -1608,18 +1548,23 @@ "require-dev": { "aws/aws-sdk-php": "^2.4.9 || ^3.0", "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^7", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", "graylog2/gelf-php": "^1.4.2", + "guzzlehttp/guzzle": "^7.4", + "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", "php-amqplib/php-amqplib": "~2.4 || ^3", "php-console/php-console": "^3.1.3", - "phpspec/prophecy": "^1.6.1", + "phpspec/prophecy": "^1.15", "phpstan/phpstan": "^0.12.91", - "phpunit/phpunit": "^8.5", + "phpunit/phpunit": "^8.5.14", "predis/predis": "^1.1", - "rollbar/rollbar": "^1.3", - "ruflin/elastica": ">=0.90@dev", - "swiftmailer/swiftmailer": "^5.3|^6.0" + "rollbar/rollbar": "^1.3 || ^2 || ^3", + "ruflin/elastica": "^7", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", @@ -1669,7 +1614,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.3.5" + "source": "https://github.com/Seldaek/monolog/tree/2.7.0" }, "funding": [ { @@ -1681,7 +1626,7 @@ "type": "tidelift" } ], - "time": "2021-10-01T21:08:31+00:00" + "time": "2022-06-09T08:59:12+00:00" }, { "name": "psr/cache", @@ -1882,16 +1827,16 @@ }, { "name": "symfony/cache", - "version": "v5.4.3", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "4178f0a19ec3f1f76e7f1a07b8187cbe3d94b825" + "reference": "c4e387b739022fd4b20abd8edb2143c44c5daa14" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/4178f0a19ec3f1f76e7f1a07b8187cbe3d94b825", - "reference": "4178f0a19ec3f1f76e7f1a07b8187cbe3d94b825", + "url": "https://api.github.com/repos/symfony/cache/zipball/c4e387b739022fd4b20abd8edb2143c44c5daa14", + "reference": "c4e387b739022fd4b20abd8edb2143c44c5daa14", "shasum": "" }, "require": { @@ -1959,7 +1904,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v5.4.3" + "source": "https://github.com/symfony/cache/tree/v5.4.10" }, "funding": [ { @@ -1975,20 +1920,20 @@ "type": "tidelift" } ], - "time": "2022-01-26T16:28:35+00:00" + "time": "2022-06-19T12:03:50+00:00" }, { "name": "symfony/cache-contracts", - "version": "v2.5.0", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "ac2e168102a2e06a2624f0379bde94cd5854ced2" + "reference": "64be4a7acb83b6f2bf6de9a02cee6dad41277ebc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/ac2e168102a2e06a2624f0379bde94cd5854ced2", - "reference": "ac2e168102a2e06a2624f0379bde94cd5854ced2", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/64be4a7acb83b6f2bf6de9a02cee6dad41277ebc", + "reference": "64be4a7acb83b6f2bf6de9a02cee6dad41277ebc", "shasum": "" }, "require": { @@ -2038,7 +1983,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/cache-contracts/tree/v2.5.2" }, "funding": [ { @@ -2054,20 +1999,20 @@ "type": "tidelift" } ], - "time": "2021-08-17T14:20:01+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/config", - "version": "v5.4.3", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "d65e1bd990c740e31feb07d2b0927b8d4df9956f" + "reference": "8f551fe22672ac7ab2c95fe46d899f960ed4d979" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/d65e1bd990c740e31feb07d2b0927b8d4df9956f", - "reference": "d65e1bd990c740e31feb07d2b0927b8d4df9956f", + "url": "https://api.github.com/repos/symfony/config/zipball/8f551fe22672ac7ab2c95fe46d899f960ed4d979", + "reference": "8f551fe22672ac7ab2c95fe46d899f960ed4d979", "shasum": "" }, "require": { @@ -2117,7 +2062,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.4.3" + "source": "https://github.com/symfony/config/tree/v5.4.9" }, "funding": [ { @@ -2133,32 +2078,33 @@ "type": "tidelift" } ], - "time": "2022-01-03T09:50:52+00:00" + "time": "2022-05-17T10:39:36+00:00" }, { "name": "symfony/console", - "version": "v5.3.13", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "402db098660083dfd23e9289bcdd351f3935b641" + "reference": "4d671ab4ddac94ee439ea73649c69d9d200b5000" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/402db098660083dfd23e9289bcdd351f3935b641", - "reference": "402db098660083dfd23e9289bcdd351f3935b641", + "url": "https://api.github.com/repos/symfony/console/zipball/4d671ab4ddac94ee439ea73649c69d9d200b5000", + "reference": "4d671ab4ddac94ee439ea73649c69d9d200b5000", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.8", + "symfony/polyfill-php73": "^1.9", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2", - "symfony/string": "^5.1" + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" }, "conflict": { + "psr/log": ">=3", "symfony/dependency-injection": "<4.4", "symfony/dotenv": "<5.1", "symfony/event-dispatcher": "<4.4", @@ -2170,12 +2116,12 @@ }, "require-dev": { "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/event-dispatcher": "^4.4|^5.0", - "symfony/lock": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0", - "symfony/var-dumper": "^4.4|^5.0" + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" }, "suggest": { "psr/log": "For using the console logger", @@ -2215,7 +2161,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.3.13" + "source": "https://github.com/symfony/console/tree/v5.4.10" }, "funding": [ { @@ -2231,20 +2177,20 @@ "type": "tidelift" } ], - "time": "2021-12-15T10:43:37+00:00" + "time": "2022-06-26T13:00:04+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.4.3", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "974580fd67f14d65b045c11b09eb149cd4b13df5" + "reference": "88d1c0d38c2e60f757fa11d89cfc885f0b7f5171" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/974580fd67f14d65b045c11b09eb149cd4b13df5", - "reference": "974580fd67f14d65b045c11b09eb149cd4b13df5", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/88d1c0d38c2e60f757fa11d89cfc885f0b7f5171", + "reference": "88d1c0d38c2e60f757fa11d89cfc885f0b7f5171", "shasum": "" }, "require": { @@ -2260,7 +2206,7 @@ "symfony/config": "<5.3", "symfony/finder": "<4.4", "symfony/proxy-manager-bridge": "<4.4", - "symfony/yaml": "<4.4" + "symfony/yaml": "<4.4.26" }, "provide": { "psr/container-implementation": "1.0", @@ -2269,7 +2215,7 @@ "require-dev": { "symfony/config": "^5.3|^6.0", "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0" + "symfony/yaml": "^4.4.26|^5.0|^6.0" }, "suggest": { "symfony/config": "", @@ -2304,7 +2250,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.4.3" + "source": "https://github.com/symfony/dependency-injection/tree/v5.4.10" }, "funding": [ { @@ -2320,20 +2266,20 @@ "type": "tidelift" } ], - "time": "2022-01-26T16:28:35+00:00" + "time": "2022-06-26T13:00:04+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.0", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8" + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8", - "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "shasum": "" }, "require": { @@ -2371,7 +2317,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" }, "funding": [ { @@ -2387,37 +2333,38 @@ "type": "tidelift" } ], - "time": "2021-07-12T14:48:14+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/doctrine-bridge", - "version": "v5.3.13", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/doctrine-bridge.git", - "reference": "aaa6c47b1226ecdb09a7d98830440737a983e2ae" + "reference": "bb76331d8e9e27843e630ad4d967dc4d23962fa3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/aaa6c47b1226ecdb09a7d98830440737a983e2ae", - "reference": "aaa6c47b1226ecdb09a7d98830440737a983e2ae", + "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/bb76331d8e9e27843e630ad4d967dc4d23962fa3", + "reference": "bb76331d8e9e27843e630ad4d967dc4d23962fa3", "shasum": "" }, "require": { "doctrine/event-manager": "~1.0", - "doctrine/persistence": "^2", + "doctrine/persistence": "^2|^3", "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2" + "symfony/service-contracts": "^1.1|^2|^3" }, "conflict": { - "doctrine/dbal": "<2.10", + "doctrine/dbal": "<2.13.1", "doctrine/lexer": "<1.1", "doctrine/orm": "<2.7.4", "phpunit/phpunit": "<5.4.3", + "symfony/cache": "<5.4", "symfony/dependency-injection": "<4.4", "symfony/form": "<5.1", "symfony/http-kernel": "<5", @@ -2432,25 +2379,26 @@ "doctrine/annotations": "^1.10.4", "doctrine/collections": "~1.0", "doctrine/data-fixtures": "^1.1", - "doctrine/dbal": "^2.10|^3.0", + "doctrine/dbal": "^2.13.1|^3.0", "doctrine/orm": "^2.7.4", - "symfony/cache": "^5.1", - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/doctrine-messenger": "^5.1", - "symfony/expression-language": "^4.4|^5.0", - "symfony/form": "^5.1.3", - "symfony/http-kernel": "^5.0", - "symfony/messenger": "^4.4|^5.0", - "symfony/property-access": "^4.4|^5.0", - "symfony/property-info": "^5.0", - "symfony/proxy-manager-bridge": "^4.4|^5.0", - "symfony/security-core": "^5.3", - "symfony/stopwatch": "^4.4|^5.0", - "symfony/translation": "^4.4|^5.0", - "symfony/uid": "^5.1", - "symfony/validator": "^5.2", - "symfony/var-dumper": "^4.4|^5.0" + "psr/log": "^1|^2|^3", + "symfony/cache": "^5.4|^6.0", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/doctrine-messenger": "^5.1|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/form": "^5.4.9|^6.0.9", + "symfony/http-kernel": "^5.0|^6.0", + "symfony/messenger": "^4.4|^5.0|^6.0", + "symfony/property-access": "^4.4|^5.0|^6.0", + "symfony/property-info": "^5.0|^6.0", + "symfony/proxy-manager-bridge": "^4.4|^5.0|^6.0", + "symfony/security-core": "^5.3|^6.0", + "symfony/stopwatch": "^4.4|^5.0|^6.0", + "symfony/translation": "^4.4|^5.0|^6.0", + "symfony/uid": "^5.1|^6.0", + "symfony/validator": "^5.2|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" }, "suggest": { "doctrine/data-fixtures": "", @@ -2486,7 +2434,7 @@ "description": "Provides integration for Doctrine with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/doctrine-bridge/tree/v5.3.13" + "source": "https://github.com/symfony/doctrine-bridge/tree/v5.4.10" }, "funding": [ { @@ -2502,28 +2450,29 @@ "type": "tidelift" } ], - "time": "2021-12-22T18:38:25+00:00" + "time": "2022-06-20T18:33:41+00:00" }, { "name": "symfony/dotenv", - "version": "v5.3.13", + "version": "v5.4.5", "source": { "type": "git", "url": "https://github.com/symfony/dotenv.git", - "reference": "6ff81d01790f6199d2278a37bef99fb4bc6c071d" + "reference": "83a2310904a4f5d4f42526227b5a578ac82232a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dotenv/zipball/6ff81d01790f6199d2278a37bef99fb4bc6c071d", - "reference": "6ff81d01790f6199d2278a37bef99fb4bc6c071d", + "url": "https://api.github.com/repos/symfony/dotenv/zipball/83a2310904a4f5d4f42526227b5a578ac82232a9", + "reference": "83a2310904a4f5d4f42526227b5a578ac82232a9", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1" + "symfony/deprecation-contracts": "^2.1|^3" }, "require-dev": { - "symfony/process": "^4.4|^5.0" + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0" }, "type": "library", "autoload": { @@ -2556,7 +2505,7 @@ "environment" ], "support": { - "source": "https://github.com/symfony/dotenv/tree/v5.3.13" + "source": "https://github.com/symfony/dotenv/tree/v5.4.5" }, "funding": [ { @@ -2572,20 +2521,20 @@ "type": "tidelift" } ], - "time": "2021-12-16T21:37:57+00:00" + "time": "2022-02-15T17:04:12+00:00" }, { "name": "symfony/error-handler", - "version": "v5.4.3", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "c4ffc2cd919950d13c8c9ce32a70c70214c3ffc5" + "reference": "c116cda1f51c678782768dce89a45f13c949455d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/c4ffc2cd919950d13c8c9ce32a70c70214c3ffc5", - "reference": "c4ffc2cd919950d13c8c9ce32a70c70214c3ffc5", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/c116cda1f51c678782768dce89a45f13c949455d", + "reference": "c116cda1f51c678782768dce89a45f13c949455d", "shasum": "" }, "require": { @@ -2627,7 +2576,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.4.3" + "source": "https://github.com/symfony/error-handler/tree/v5.4.9" }, "funding": [ { @@ -2643,20 +2592,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-05-21T13:57:48+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.3", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "dec8a9f58d20df252b9cd89f1c6c1530f747685d" + "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/dec8a9f58d20df252b9cd89f1c6c1530f747685d", - "reference": "dec8a9f58d20df252b9cd89f1c6c1530f747685d", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", "shasum": "" }, "require": { @@ -2712,7 +2661,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.9" }, "funding": [ { @@ -2728,20 +2677,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-05-05T16:45:39+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.5.0", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a" + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/66bea3b09be61613cd3b4043a65a8ec48cfa6d2a", - "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1", + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1", "shasum": "" }, "require": { @@ -2791,7 +2740,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.2" }, "funding": [ { @@ -2807,20 +2756,20 @@ "type": "tidelift" } ], - "time": "2021-07-12T14:48:14+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.3", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "0f0c4bf1840420f4aef3f32044a9dbb24682731b" + "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/0f0c4bf1840420f4aef3f32044a9dbb24682731b", - "reference": "0f0c4bf1840420f4aef3f32044a9dbb24682731b", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/36a017fa4cce1eff1b8e8129ff53513abcef05ba", + "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba", "shasum": "" }, "require": { @@ -2855,7 +2804,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.3" + "source": "https://github.com/symfony/filesystem/tree/v5.4.9" }, "funding": [ { @@ -2871,20 +2820,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-05-20T13:55:35+00:00" }, { "name": "symfony/finder", - "version": "v5.4.3", + "version": "v5.4.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "231313534dded84c7ecaa79d14bc5da4ccb69b7d" + "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/231313534dded84c7ecaa79d14bc5da4ccb69b7d", - "reference": "231313534dded84c7ecaa79d14bc5da4ccb69b7d", + "url": "https://api.github.com/repos/symfony/finder/zipball/9b630f3427f3ebe7cd346c277a1408b00249dad9", + "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9", "shasum": "" }, "require": { @@ -2918,7 +2867,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.3" + "source": "https://github.com/symfony/finder/tree/v5.4.8" }, "funding": [ { @@ -2934,20 +2883,20 @@ "type": "tidelift" } ], - "time": "2022-01-26T16:34:36+00:00" + "time": "2022-04-15T08:07:45+00:00" }, { "name": "symfony/flex", - "version": "v1.17.6", + "version": "v1.19.2", "source": { "type": "git", "url": "https://github.com/symfony/flex.git", - "reference": "7a79135e1dc66b30042b4d968ecba0908f9374bc" + "reference": "d1a692369be53445af6e391170b509d7f5d026cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/flex/zipball/7a79135e1dc66b30042b4d968ecba0908f9374bc", - "reference": "7a79135e1dc66b30042b4d968ecba0908f9374bc", + "url": "https://api.github.com/repos/symfony/flex/zipball/d1a692369be53445af6e391170b509d7f5d026cf", + "reference": "d1a692369be53445af6e391170b509d7f5d026cf", "shasum": "" }, "require": { @@ -2983,7 +2932,7 @@ "description": "Composer plugin for Symfony", "support": { "issues": "https://github.com/symfony/flex/issues", - "source": "https://github.com/symfony/flex/tree/v1.17.6" + "source": "https://github.com/symfony/flex/tree/v1.19.2" }, "funding": [ { @@ -2999,46 +2948,48 @@ "type": "tidelift" } ], - "time": "2021-11-29T15:39:37+00:00" + "time": "2022-06-14T21:13:39+00:00" }, { "name": "symfony/framework-bundle", - "version": "v5.3.15", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/framework-bundle.git", - "reference": "fef224d1904da67120fdfe9de3d070f8ba607742" + "reference": "7cbc790e067a23a47b9f0dc59e2ff0ecddbd3e14" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/fef224d1904da67120fdfe9de3d070f8ba607742", - "reference": "fef224d1904da67120fdfe9de3d070f8ba607742", + "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/7cbc790e067a23a47b9f0dc59e2ff0ecddbd3e14", + "reference": "7cbc790e067a23a47b9f0dc59e2ff0ecddbd3e14", "shasum": "" }, "require": { "ext-xml": "*", "php": ">=7.2.5", - "symfony/cache": "^5.2", - "symfony/config": "^5.3", - "symfony/dependency-injection": "^5.3", - "symfony/deprecation-contracts": "^2.1", - "symfony/error-handler": "^4.4.1|^5.0.1", - "symfony/event-dispatcher": "^5.1", - "symfony/filesystem": "^4.4|^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/http-foundation": "^5.3", - "symfony/http-kernel": "^5.3", + "symfony/cache": "^5.2|^6.0", + "symfony/config": "^5.3|^6.0", + "symfony/dependency-injection": "^5.4.5|^6.0.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/error-handler": "^4.4.1|^5.0.1|^6.0", + "symfony/event-dispatcher": "^5.1|^6.0", + "symfony/filesystem": "^4.4|^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^5.3|^6.0", + "symfony/http-kernel": "^5.4|^6.0", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "^1.16", - "symfony/routing": "^5.3" + "symfony/polyfill-php81": "^1.22", + "symfony/routing": "^5.3|^6.0" }, "conflict": { + "doctrine/annotations": "<1.13.1", + "doctrine/cache": "<1.11", "doctrine/persistence": "<1.3", "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", "phpunit/phpunit": "<5.4.3", "symfony/asset": "<5.3", - "symfony/browser-kit": "<4.4", "symfony/console": "<5.2.5", "symfony/dom-crawler": "<4.4", "symfony/dotenv": "<5.1", @@ -3046,13 +2997,13 @@ "symfony/http-client": "<4.4", "symfony/lock": "<4.4", "symfony/mailer": "<5.2", - "symfony/messenger": "<4.4", + "symfony/messenger": "<5.4", "symfony/mime": "<4.4", "symfony/property-access": "<5.3", "symfony/property-info": "<4.4", - "symfony/security-core": "<5.3", "symfony/security-csrf": "<5.3", "symfony/serializer": "<5.2", + "symfony/service-contracts": ">=3.0", "symfony/stopwatch": "<4.4", "symfony/translation": "<5.3", "symfony/twig-bridge": "<4.4", @@ -3062,40 +3013,38 @@ "symfony/workflow": "<5.2" }, "require-dev": { - "doctrine/annotations": "^1.10.4", - "doctrine/cache": "^1.0|^2.0", - "doctrine/persistence": "^1.3|^2.0", - "paragonie/sodium_compat": "^1.8", + "doctrine/annotations": "^1.13.1", + "doctrine/cache": "^1.11|^2.0", + "doctrine/persistence": "^1.3|^2|^3", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/asset": "^5.3", - "symfony/browser-kit": "^4.4|^5.0", - "symfony/console": "^5.2", - "symfony/css-selector": "^4.4|^5.0", - "symfony/dom-crawler": "^4.4.30|^5.3.7", - "symfony/dotenv": "^5.1", - "symfony/expression-language": "^4.4|^5.0", - "symfony/form": "^5.2", - "symfony/http-client": "^4.4|^5.0", - "symfony/lock": "^4.4|^5.0", - "symfony/mailer": "^5.2", - "symfony/messenger": "^5.2", - "symfony/mime": "^4.4|^5.0", - "symfony/notifier": "^5.3", - "symfony/phpunit-bridge": "^5.3", + "symfony/asset": "^5.3|^6.0", + "symfony/browser-kit": "^5.4|^6.0", + "symfony/console": "^5.4.9|^6.0.9", + "symfony/css-selector": "^4.4|^5.0|^6.0", + "symfony/dom-crawler": "^4.4.30|^5.3.7|^6.0", + "symfony/dotenv": "^5.1|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/form": "^5.2|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/mailer": "^5.2|^6.0", + "symfony/messenger": "^5.4|^6.0", + "symfony/mime": "^4.4|^5.0|^6.0", + "symfony/notifier": "^5.4|^6.0", "symfony/polyfill-intl-icu": "~1.0", - "symfony/process": "^4.4|^5.0", - "symfony/property-info": "^4.4|^5.0", - "symfony/rate-limiter": "^5.2", - "symfony/security-bundle": "^5.3", - "symfony/serializer": "^5.2", - "symfony/stopwatch": "^4.4|^5.0", - "symfony/string": "^5.0", - "symfony/translation": "^5.3", - "symfony/twig-bundle": "^4.4|^5.0", - "symfony/validator": "^5.2", - "symfony/web-link": "^4.4|^5.0", - "symfony/workflow": "^5.2", - "symfony/yaml": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/property-info": "^4.4|^5.0|^6.0", + "symfony/rate-limiter": "^5.2|^6.0", + "symfony/security-bundle": "^5.4|^6.0", + "symfony/serializer": "^5.4|^6.0", + "symfony/stopwatch": "^4.4|^5.0|^6.0", + "symfony/string": "^5.0|^6.0", + "symfony/translation": "^5.3|^6.0", + "symfony/twig-bundle": "^4.4|^5.0|^6.0", + "symfony/validator": "^5.2|^6.0", + "symfony/web-link": "^4.4|^5.0|^6.0", + "symfony/workflow": "^5.2|^6.0", + "symfony/yaml": "^4.4|^5.0|^6.0", "twig/twig": "^2.10|^3.0" }, "suggest": { @@ -3134,85 +3083,7 @@ "description": "Provides a tight integration between Symfony components and the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/framework-bundle/tree/v5.3.15" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-01-28T17:48:02+00:00" - }, - { - "name": "symfony/http-client-contracts", - "version": "v2.5.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "ec82e57b5b714dbb69300d348bd840b345e24166" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/ec82e57b5b714dbb69300d348bd840b345e24166", - "reference": "ec82e57b5b714dbb69300d348bd840b345e24166", - "shasum": "" - }, - "require": { - "php": ">=7.2.5" - }, - "suggest": { - "symfony/http-client-implementation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\HttpClient\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to HTTP clients", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/framework-bundle/tree/v5.4.10" }, "funding": [ { @@ -3228,20 +3099,20 @@ "type": "tidelift" } ], - "time": "2021-11-03T09:24:47+00:00" + "time": "2022-06-19T13:15:57+00:00" }, { "name": "symfony/http-foundation", - "version": "v5.4.3", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "ef409ff341a565a3663157d4324536746d49a0c7" + "reference": "e7793b7906f72a8cc51054fbca9dcff7a8af1c1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/ef409ff341a565a3663157d4324536746d49a0c7", - "reference": "ef409ff341a565a3663157d4324536746d49a0c7", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e7793b7906f72a8cc51054fbca9dcff7a8af1c1e", + "reference": "e7793b7906f72a8cc51054fbca9dcff7a8af1c1e", "shasum": "" }, "require": { @@ -3285,7 +3156,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.4.3" + "source": "https://github.com/symfony/http-foundation/tree/v5.4.10" }, "funding": [ { @@ -3301,36 +3172,35 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-06-19T13:13:40+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.3.15", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "e80f3c897d6cd69fa421f77e700530206d7d93b8" + "reference": "255ae3b0a488d78fbb34da23d3e0c059874b5948" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/e80f3c897d6cd69fa421f77e700530206d7d93b8", - "reference": "e80f3c897d6cd69fa421f77e700530206d7d93b8", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/255ae3b0a488d78fbb34da23d3e0c059874b5948", + "reference": "255ae3b0a488d78fbb34da23d3e0c059874b5948", "shasum": "" }, "require": { "php": ">=7.2.5", "psr/log": "^1|^2", - "symfony/deprecation-contracts": "^2.1", - "symfony/error-handler": "^4.4|^5.0", - "symfony/event-dispatcher": "^5.0", - "symfony/http-client-contracts": "^1.1|^2", - "symfony/http-foundation": "^5.3.7", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^5.0|^6.0", + "symfony/http-foundation": "^5.3.7|^6.0", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-php73": "^1.9", "symfony/polyfill-php80": "^1.16" }, "conflict": { - "symfony/browser-kit": "<4.4", + "symfony/browser-kit": "<5.4", "symfony/cache": "<5.0", "symfony/config": "<5.0", "symfony/console": "<4.4", @@ -3350,19 +3220,20 @@ }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", - "symfony/browser-kit": "^4.4|^5.0", - "symfony/config": "^5.0", - "symfony/console": "^4.4|^5.0", - "symfony/css-selector": "^4.4|^5.0", - "symfony/dependency-injection": "^5.3", - "symfony/dom-crawler": "^4.4|^5.0", - "symfony/expression-language": "^4.4|^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0", - "symfony/routing": "^4.4|^5.0", - "symfony/stopwatch": "^4.4|^5.0", - "symfony/translation": "^4.4|^5.0", - "symfony/translation-contracts": "^1.1|^2", + "symfony/browser-kit": "^5.4|^6.0", + "symfony/config": "^5.0|^6.0", + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/css-selector": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^5.3|^6.0", + "symfony/dom-crawler": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/http-client-contracts": "^1.1|^2|^3", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/routing": "^4.4|^5.0|^6.0", + "symfony/stopwatch": "^4.4|^5.0|^6.0", + "symfony/translation": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2|^3", "twig/twig": "^2.13|^3.0.4" }, "suggest": { @@ -3397,7 +3268,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.3.15" + "source": "https://github.com/symfony/http-kernel/tree/v5.4.10" }, "funding": [ { @@ -3413,33 +3284,33 @@ "type": "tidelift" } ], - "time": "2022-01-29T17:58:32+00:00" + "time": "2022-06-26T16:57:59+00:00" }, { "name": "symfony/lock", - "version": "v5.3.13", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/lock.git", - "reference": "c2ce745a8894b6da5c9a6ebe0e0c9d3eed1b5430" + "reference": "41a308008d92d30cae5615d903c4d46d95932eea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/lock/zipball/c2ce745a8894b6da5c9a6ebe0e0c9d3eed1b5430", - "reference": "c2ce745a8894b6da5c9a6ebe0e0c9d3eed1b5430", + "url": "https://api.github.com/repos/symfony/lock/zipball/41a308008d92d30cae5615d903c4d46d95932eea", + "reference": "41a308008d92d30cae5615d903c4d46d95932eea", "shasum": "" }, "require": { "php": ">=7.2.5", "psr/log": "^1|^2|^3", - "symfony/deprecation-contracts": "^2.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-php80": "^1.16" }, "conflict": { - "doctrine/dbal": "<2.10" + "doctrine/dbal": "<2.13" }, "require-dev": { - "doctrine/dbal": "^2.10|^3.0", + "doctrine/dbal": "^2.13|^3.0", "predis/predis": "~1.0" }, "type": "library", @@ -3476,7 +3347,7 @@ "semaphore" ], "support": { - "source": "https://github.com/symfony/lock/tree/v5.3.13" + "source": "https://github.com/symfony/lock/tree/v5.4.10" }, "funding": [ { @@ -3492,42 +3363,42 @@ "type": "tidelift" } ], - "time": "2021-12-28T16:36:11+00:00" + "time": "2022-06-09T13:29:56+00:00" }, { "name": "symfony/monolog-bridge", - "version": "v5.3.7", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bridge.git", - "reference": "4ace41087254f099b6743333155071438bfb12c3" + "reference": "b3b0890e76e7eb626f27b165a5c501f2754dfbbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/4ace41087254f099b6743333155071438bfb12c3", - "reference": "4ace41087254f099b6743333155071438bfb12c3", + "url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/b3b0890e76e7eb626f27b165a5c501f2754dfbbd", + "reference": "b3b0890e76e7eb626f27b165a5c501f2754dfbbd", "shasum": "" }, "require": { "monolog/monolog": "^1.25.1|^2", "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/http-kernel": "^5.3", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/http-kernel": "^5.3|^6.0", "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2" + "symfony/service-contracts": "^1.1|^2|^3" }, "conflict": { "symfony/console": "<4.4", "symfony/http-foundation": "<5.3" }, "require-dev": { - "symfony/console": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", - "symfony/mailer": "^4.4|^5.0", - "symfony/messenger": "^4.4|^5.0", - "symfony/mime": "^4.4|^5.0", - "symfony/security-core": "^4.4|^5.0", - "symfony/var-dumper": "^4.4|^5.0" + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/mailer": "^4.4|^5.0|^6.0", + "symfony/messenger": "^4.4|^5.0|^6.0", + "symfony/mime": "^4.4|^5.0|^6.0", + "symfony/security-core": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" }, "suggest": { "symfony/console": "For the possibility to show log messages in console commands depending on verbosity settings.", @@ -3560,7 +3431,7 @@ "description": "Provides integration for Monolog with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/monolog-bridge/tree/v5.3.7" + "source": "https://github.com/symfony/monolog-bridge/tree/v5.4.10" }, "funding": [ { @@ -3576,24 +3447,24 @@ "type": "tidelift" } ], - "time": "2021-08-13T15:54:02+00:00" + "time": "2022-06-19T12:03:50+00:00" }, { "name": "symfony/monolog-bundle", - "version": "v3.7.1", + "version": "v3.8.0", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bundle.git", - "reference": "fde12fc628162787a4e53877abadc30047fd868b" + "reference": "a41bbcdc1105603b6d73a7d9a43a3788f8e0fb7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/fde12fc628162787a4e53877abadc30047fd868b", - "reference": "fde12fc628162787a4e53877abadc30047fd868b", + "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/a41bbcdc1105603b6d73a7d9a43a3788f8e0fb7d", + "reference": "a41bbcdc1105603b6d73a7d9a43a3788f8e0fb7d", "shasum": "" }, "require": { - "monolog/monolog": "~1.22 || ~2.0", + "monolog/monolog": "^1.22 || ^2.0 || ^3.0", "php": ">=7.1.3", "symfony/config": "~4.4 || ^5.0 || ^6.0", "symfony/dependency-injection": "^4.4 || ^5.0 || ^6.0", @@ -3641,7 +3512,7 @@ ], "support": { "issues": "https://github.com/symfony/monolog-bundle/issues", - "source": "https://github.com/symfony/monolog-bundle/tree/v3.7.1" + "source": "https://github.com/symfony/monolog-bundle/tree/v3.8.0" }, "funding": [ { @@ -3657,20 +3528,20 @@ "type": "tidelift" } ], - "time": "2021-11-05T10:34:29+00:00" + "time": "2022-05-10T14:24:36+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" + "reference": "433d05519ce6990bf3530fba6957499d327395c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", + "reference": "433d05519ce6990bf3530fba6957499d327395c2", "shasum": "" }, "require": { @@ -3682,7 +3553,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3690,12 +3561,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3722,7 +3593,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" }, "funding": [ { @@ -3738,20 +3609,20 @@ "type": "tidelift" } ], - "time": "2021-11-23T21:10:46+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" + "reference": "219aa369ceff116e673852dce47c3a41794c14bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", + "reference": "219aa369ceff116e673852dce47c3a41794c14bd", "shasum": "" }, "require": { @@ -3763,7 +3634,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3771,12 +3642,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -3806,7 +3677,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" }, "funding": [ { @@ -3822,20 +3693,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", "shasum": "" }, "require": { @@ -3850,7 +3721,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3889,7 +3760,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" }, "funding": [ { @@ -3905,20 +3776,20 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976" + "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/bf44a9fd41feaac72b074de600314a93e2ae78e2", + "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2", "shasum": "" }, "require": { @@ -3927,7 +3798,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3965,7 +3836,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.26.0" }, "funding": [ { @@ -3981,20 +3852,20 @@ "type": "tidelift" } ], - "time": "2021-05-27T09:17:38+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" + "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", + "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", "shasum": "" }, "require": { @@ -4003,7 +3874,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -4011,12 +3882,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -4044,7 +3915,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" }, "funding": [ { @@ -4060,20 +3931,20 @@ "type": "tidelift" } ], - "time": "2021-06-05T21:20:04+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9" + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", "shasum": "" }, "require": { @@ -4082,7 +3953,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -4090,12 +3961,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -4127,7 +3998,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" }, "funding": [ { @@ -4143,20 +4014,20 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:33+00:00" + "time": "2022-05-10T07:21:04+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", "shasum": "" }, "require": { @@ -4165,7 +4036,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -4173,12 +4044,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -4206,7 +4077,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" }, "funding": [ { @@ -4222,30 +4093,30 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:11+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/proxy-manager-bridge", - "version": "v5.3.13", + "version": "v5.4.6", "source": { "type": "git", "url": "https://github.com/symfony/proxy-manager-bridge.git", - "reference": "eb35b44a9703be5701126bcea036bec40635c6fa" + "reference": "e6936de1cc8f4e6e3b2264aef186ca21695aee8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/proxy-manager-bridge/zipball/eb35b44a9703be5701126bcea036bec40635c6fa", - "reference": "eb35b44a9703be5701126bcea036bec40635c6fa", + "url": "https://api.github.com/repos/symfony/proxy-manager-bridge/zipball/e6936de1cc8f4e6e3b2264aef186ca21695aee8e", + "reference": "e6936de1cc8f4e6e3b2264aef186ca21695aee8e", "shasum": "" }, "require": { "friendsofphp/proxy-manager-lts": "^1.0.2", "php": ">=7.2.5", - "symfony/dependency-injection": "^5.0", + "symfony/dependency-injection": "^5.0|^6.0", "symfony/polyfill-php80": "^1.16" }, "require-dev": { - "symfony/config": "^4.4|^5.0" + "symfony/config": "^4.4|^5.0|^6.0" }, "type": "symfony-bridge", "autoload": { @@ -4273,7 +4144,7 @@ "description": "Provides integration for ProxyManager with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/proxy-manager-bridge/tree/v5.3.13" + "source": "https://github.com/symfony/proxy-manager-bridge/tree/v5.4.6" }, "funding": [ { @@ -4289,20 +4160,20 @@ "type": "tidelift" } ], - "time": "2021-12-22T18:26:22+00:00" + "time": "2022-03-02T12:42:23+00:00" }, { "name": "symfony/routing", - "version": "v5.4.3", + "version": "v5.4.8", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "44b29c7a94e867ccde1da604792f11a469958981" + "reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/44b29c7a94e867ccde1da604792f11a469958981", - "reference": "44b29c7a94e867ccde1da604792f11a469958981", + "url": "https://api.github.com/repos/symfony/routing/zipball/e07817bb6244ea33ef5ad31abc4a9288bef3f2f7", + "reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7", "shasum": "" }, "require": { @@ -4363,7 +4234,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v5.4.3" + "source": "https://github.com/symfony/routing/tree/v5.4.8" }, "funding": [ { @@ -4379,20 +4250,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-04-18T21:45:37+00:00" }, { "name": "symfony/runtime", - "version": "v5.3.13", + "version": "v5.4.8", "source": { "type": "git", "url": "https://github.com/symfony/runtime.git", - "reference": "e1584fa647ee4c63a2e7fcef52feb61938a7ebec" + "reference": "6dac02d816967fcdd456f96ee0190ea127177b20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/runtime/zipball/e1584fa647ee4c63a2e7fcef52feb61938a7ebec", - "reference": "e1584fa647ee4c63a2e7fcef52feb61938a7ebec", + "url": "https://api.github.com/repos/symfony/runtime/zipball/6dac02d816967fcdd456f96ee0190ea127177b20", + "reference": "6dac02d816967fcdd456f96ee0190ea127177b20", "shasum": "" }, "require": { @@ -4405,10 +4276,10 @@ }, "require-dev": { "composer/composer": "^1.0.2|^2.0", - "symfony/console": "^4.4.30|^5.3.7", - "symfony/dotenv": "^5.1", - "symfony/http-foundation": "^4.4.30|^5.3.7", - "symfony/http-kernel": "^4.4.30|^5.3.7" + "symfony/console": "^4.4.30|^5.3.7|^6.0", + "symfony/dotenv": "^5.1|^6.0", + "symfony/http-foundation": "^4.4.30|^5.3.7|^6.0", + "symfony/http-kernel": "^4.4.30|^5.3.7|^6.0" }, "type": "composer-plugin", "extra": { @@ -4440,7 +4311,7 @@ "description": "Enables decoupling PHP applications from global state", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/runtime/tree/v5.3.13" + "source": "https://github.com/symfony/runtime/tree/v5.4.8" }, "funding": [ { @@ -4456,26 +4327,26 @@ "type": "tidelift" } ], - "time": "2021-12-01T15:43:39+00:00" + "time": "2022-04-12T16:02:29+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.5.0", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc" + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", - "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "shasum": "" }, "require": { "php": ">=7.2.5", "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1" + "symfony/deprecation-contracts": "^2.1|^3" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -4523,7 +4394,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" }, "funding": [ { @@ -4539,25 +4410,25 @@ "type": "tidelift" } ], - "time": "2021-11-04T16:48:04+00:00" + "time": "2022-05-30T19:17:29+00:00" }, { "name": "symfony/stopwatch", - "version": "v5.3.4", + "version": "v5.4.5", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "b24c6a92c6db316fee69e38c80591e080e41536c" + "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/b24c6a92c6db316fee69e38c80591e080e41536c", - "reference": "b24c6a92c6db316fee69e38c80591e080e41536c", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/4d04b5c24f3c9a1a168a131f6cbe297155bc0d30", + "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/service-contracts": "^1.0|^2" + "symfony/service-contracts": "^1|^2|^3" }, "type": "library", "autoload": { @@ -4585,7 +4456,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.3.4" + "source": "https://github.com/symfony/stopwatch/tree/v5.4.5" }, "funding": [ { @@ -4601,20 +4472,20 @@ "type": "tidelift" } ], - "time": "2021-07-10T08:58:57+00:00" + "time": "2022-02-18T16:06:09+00:00" }, { "name": "symfony/string", - "version": "v5.3.13", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "71e9700a0737a269bc8c3d09a745e56052a08531" + "reference": "4432bc7df82a554b3e413a8570ce2fea90e94097" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/71e9700a0737a269bc8c3d09a745e56052a08531", - "reference": "71e9700a0737a269bc8c3d09a745e56052a08531", + "url": "https://api.github.com/repos/symfony/string/zipball/4432bc7df82a554b3e413a8570ce2fea90e94097", + "reference": "4432bc7df82a554b3e413a8570ce2fea90e94097", "shasum": "" }, "require": { @@ -4625,20 +4496,23 @@ "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "~1.15" }, + "conflict": { + "symfony/translation-contracts": ">=3.0" + }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" + "symfony/var-exporter": "^4.4|^5.0|^6.0" }, "type": "library", "autoload": { - "psr-4": { - "Symfony\\Component\\String\\": "" - }, "files": [ "Resources/functions.php" ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, "exclude-from-classmap": [ "/Tests/" ] @@ -4668,7 +4542,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.3.13" + "source": "https://github.com/symfony/string/tree/v5.4.10" }, "funding": [ { @@ -4684,20 +4558,20 @@ "type": "tidelift" } ], - "time": "2021-12-16T21:47:07+00:00" + "time": "2022-06-26T15:57:47+00:00" }, { "name": "symfony/var-dumper", - "version": "v5.4.3", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "970a01f208bf895c5f327ba40b72288da43adec4" + "reference": "af52239a330fafd192c773795520dc2dd62b5657" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/970a01f208bf895c5f327ba40b72288da43adec4", - "reference": "970a01f208bf895c5f327ba40b72288da43adec4", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/af52239a330fafd192c773795520dc2dd62b5657", + "reference": "af52239a330fafd192c773795520dc2dd62b5657", "shasum": "" }, "require": { @@ -4757,7 +4631,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.4.3" + "source": "https://github.com/symfony/var-dumper/tree/v5.4.9" }, "funding": [ { @@ -4773,20 +4647,20 @@ "type": "tidelift" } ], - "time": "2022-01-17T16:30:37+00:00" + "time": "2022-05-21T10:24:18+00:00" }, { "name": "symfony/var-exporter", - "version": "v5.4.3", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "b199936b7365be36663532e547812d3abb10234a" + "reference": "8fc03ee75eeece3d9be1ef47d26d79bea1afb340" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/b199936b7365be36663532e547812d3abb10234a", - "reference": "b199936b7365be36663532e547812d3abb10234a", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/8fc03ee75eeece3d9be1ef47d26d79bea1afb340", + "reference": "8fc03ee75eeece3d9be1ef47d26d79bea1afb340", "shasum": "" }, "require": { @@ -4830,7 +4704,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v5.4.3" + "source": "https://github.com/symfony/var-exporter/tree/v5.4.10" }, "funding": [ { @@ -4846,32 +4720,32 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-05-27T12:56:18+00:00" }, { "name": "symfony/yaml", - "version": "v5.3.13", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "dc07a318dae6e1af2be51d85f161263e0b6ca03d" + "reference": "04e42926429d9e8b39c174387ab990bf7817f7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/dc07a318dae6e1af2be51d85f161263e0b6ca03d", - "reference": "dc07a318dae6e1af2be51d85f161263e0b6ca03d", + "url": "https://api.github.com/repos/symfony/yaml/zipball/04e42926429d9e8b39c174387ab990bf7817f7a2", + "reference": "04e42926429d9e8b39c174387ab990bf7817f7a2", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-ctype": "~1.8" + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<4.4" + "symfony/console": "<5.3" }, "require-dev": { - "symfony/console": "^4.4|^5.0" + "symfony/console": "^5.3|^6.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -4905,7 +4779,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.3.13" + "source": "https://github.com/symfony/yaml/tree/v5.4.10" }, "funding": [ { @@ -4921,27 +4795,28 @@ "type": "tidelift" } ], - "time": "2021-11-28T15:23:54+00:00" + "time": "2022-06-20T11:50:59+00:00" } ], "packages-dev": [ { "name": "dama/doctrine-test-bundle", - "version": "v6.7.2", + "version": "v6.7.5", "source": { "type": "git", "url": "https://github.com/dmaicher/doctrine-test-bundle.git", - "reference": "9cf0e6ac4e661762879f20efbc0752069b411d55" + "reference": "af6f8e8c56fcfdf2ae039b97607883961a14af9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/9cf0e6ac4e661762879f20efbc0752069b411d55", - "reference": "9cf0e6ac4e661762879f20efbc0752069b411d55", + "url": "https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/af6f8e8c56fcfdf2ae039b97607883961a14af9c", + "reference": "af6f8e8c56fcfdf2ae039b97607883961a14af9c", "shasum": "" }, "require": { "doctrine/dbal": "^2.9.3 || ^3.0", "doctrine/doctrine-bundle": "^1.11 || ^2.0", + "ext-json": "*", "php": "^7.1 || ^8.0", "psr/cache": "^1.0 || ^2.0 || ^3.0", "symfony/cache": "^4.4 || ^5.3 || ^6.0", @@ -4987,33 +4862,33 @@ ], "support": { "issues": "https://github.com/dmaicher/doctrine-test-bundle/issues", - "source": "https://github.com/dmaicher/doctrine-test-bundle/tree/v6.7.2" + "source": "https://github.com/dmaicher/doctrine-test-bundle/tree/v6.7.5" }, - "time": "2021-12-29T20:43:59+00:00" + "time": "2022-02-08T16:00:51+00:00" }, { "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.1", + "version": "v0.7.2", "source": { "type": "git", "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "fe390591e0241955f22eb9ba327d137e501c771c" + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c", - "reference": "fe390591e0241955f22eb9ba327d137e501c771c", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", "shasum": "" }, "require": { "composer-plugin-api": "^1.0 || ^2.0", "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0" + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" }, "require-dev": { "composer/composer": "*", - "phpcompatibility/php-compatibility": "^9.0", - "sensiolabs/security-checker": "^4.1.0" + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0" }, "type": "composer-plugin", "extra": { @@ -5034,6 +4909,10 @@ "email": "franck.nijhof@dealerdirect.com", "homepage": "http://www.frenck.nl", "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" } ], "description": "PHP_CodeSniffer Standards Composer Installer Plugin", @@ -5045,6 +4924,7 @@ "codesniffer", "composer", "installer", + "phpcbf", "phpcs", "plugin", "qa", @@ -5059,38 +4939,42 @@ "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" }, - "time": "2020-12-07T18:04:37+00:00" + "time": "2022-02-04T12:51:07+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.10.2", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, "files": [ "src/DeepCopy/deep_copy.php" - ] + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5106,7 +4990,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" }, "funding": [ { @@ -5114,20 +4998,20 @@ "type": "tidelift" } ], - "time": "2020-11-13T09:40:50+00:00" + "time": "2022-03-03T13:19:32+00:00" }, { "name": "nikic/php-parser", - "version": "v4.13.2", + "version": "v4.14.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077" + "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/34bea19b6e03d8153165d8f30bba4c3be86184c1", + "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1", "shasum": "" }, "require": { @@ -5168,9 +5052,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.14.0" }, - "time": "2021-11-30T19:35:32+00:00" + "time": "2022-05-31T20:59:12+00:00" }, { "name": "phar-io/manifest", @@ -5234,16 +5118,16 @@ }, { "name": "phar-io/version", - "version": "3.1.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "bae7c545bef187884426f042434e561ab1ddb182" + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", - "reference": "bae7c545bef187884426f042434e561ab1ddb182", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { @@ -5279,22 +5163,22 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.1.0" + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2021-02-23T14:00:09+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { "name": "php-parallel-lint/php-parallel-lint", - "version": "v1.3.1", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", - "reference": "761f3806e30239b5fcd90a0a45d41dc2138de192" + "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/761f3806e30239b5fcd90a0a45d41dc2138de192", - "reference": "761f3806e30239b5fcd90a0a45d41dc2138de192", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de", + "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de", "shasum": "" }, "require": { @@ -5307,7 +5191,7 @@ }, "require-dev": { "nette/tester": "^1.3 || ^2.0", - "php-parallel-lint/php-console-highlighter": "~0.3", + "php-parallel-lint/php-console-highlighter": "0.* || ^1.0", "squizlabs/php_codesniffer": "^3.6" }, "suggest": { @@ -5319,7 +5203,7 @@ "type": "library", "autoload": { "classmap": [ - "./" + "./src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -5336,9 +5220,9 @@ "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", "support": { "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", - "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.1" + "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.2" }, - "time": "2021-08-13T05:35:13+00:00" + "time": "2022-02-21T12:50:22+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -5514,16 +5398,16 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.6.0", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706" + "reference": "77a32518733312af16a44300404e945338981de3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/93ebd0014cab80c4ea9f5e297ea48672f1b87706", - "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3", + "reference": "77a32518733312af16a44300404e945338981de3", "shasum": "" }, "require": { @@ -5558,9 +5442,9 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.0" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1" }, - "time": "2022-01-04T19:58:01+00:00" + "time": "2022-03-15T21:29:03+00:00" }, { "name": "phpspec/prophecy", @@ -5631,35 +5515,31 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.2.0", + "version": "1.6.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e" + "reference": "135607f9ccc297d6923d49c2bcf309f509413215" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/dbc093d7af60eff5cd575d2ed761b15ed40bd08e", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/135607f9ccc297d6923d49c2bcf309f509413215", + "reference": "135607f9ccc297d6923d49c2bcf309f509413215", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^9.5", "symfony/process": "^5.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, "autoload": { "psr-4": { "PHPStan\\PhpDocParser\\": [ @@ -5674,22 +5554,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.2.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.6.4" }, - "time": "2021-09-16T20:46:02+00:00" + "time": "2022-06-26T13:09:08+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.10", + "version": "9.2.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687" + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d5850aaf931743067f4bfc1ae4cbd06468400687", - "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", "shasum": "" }, "require": { @@ -5745,7 +5625,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.10" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" }, "funding": [ { @@ -5753,7 +5633,7 @@ "type": "github" } ], - "time": "2021-12-05T09:12:13+00:00" + "time": "2022-03-07T09:28:20+00:00" }, { "name": "phpunit/php-file-iterator", @@ -5998,16 +5878,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.11", + "version": "9.5.21", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "2406855036db1102126125537adb1406f7242fdd" + "reference": "0e32b76be457de00e83213528f6bb37e2a38fcb1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2406855036db1102126125537adb1406f7242fdd", - "reference": "2406855036db1102126125537adb1406f7242fdd", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0e32b76be457de00e83213528f6bb37e2a38fcb1", + "reference": "0e32b76be457de00e83213528f6bb37e2a38fcb1", "shasum": "" }, "require": { @@ -6023,7 +5903,7 @@ "phar-io/version": "^3.0.2", "php": ">=7.3", "phpspec/prophecy": "^1.12.1", - "phpunit/php-code-coverage": "^9.2.7", + "phpunit/php-code-coverage": "^9.2.13", "phpunit/php-file-iterator": "^3.0.5", "phpunit/php-invoker": "^3.1.1", "phpunit/php-text-template": "^2.0.3", @@ -6037,11 +5917,10 @@ "sebastian/global-state": "^5.0.1", "sebastian/object-enumerator": "^4.0.3", "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^2.3.4", + "sebastian/type": "^3.0", "sebastian/version": "^3.0.2" }, "require-dev": { - "ext-pdo": "*", "phpspec/prophecy-phpunit": "^2.0.1" }, "suggest": { @@ -6058,11 +5937,11 @@ } }, "autoload": { - "classmap": [ - "src/" - ], "files": [ "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -6085,7 +5964,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.11" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.21" }, "funding": [ { @@ -6097,27 +5976,27 @@ "type": "github" } ], - "time": "2021-12-25T07:07:57+00:00" + "time": "2022-06-19T12:14:25+00:00" }, { "name": "qossmic/deptrac-shim", - "version": "0.14.1", + "version": "0.23.0", "source": { "type": "git", "url": "https://github.com/qossmic/deptrac-shim.git", - "reference": "e4d67be0fff9cec8dc1943f50e1dbacd08fd5bf1" + "reference": "419c6ccd31495d6410b0c6d9a87366b69223a0da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/qossmic/deptrac-shim/zipball/e4d67be0fff9cec8dc1943f50e1dbacd08fd5bf1", - "reference": "e4d67be0fff9cec8dc1943f50e1dbacd08fd5bf1", + "url": "https://api.github.com/repos/qossmic/deptrac-shim/zipball/419c6ccd31495d6410b0c6d9a87366b69223a0da", + "reference": "419c6ccd31495d6410b0c6d9a87366b69223a0da", "shasum": "" }, "require": { "ext-json": "*", "ext-tokenizer": "*", "ext-zlib": "*", - "php": "^7.2 || 8.0.*" + "php": "^7.4 || 8.0.* || 8.1.*" }, "replace": { "qossmic/deptrac": "self.version" @@ -6138,14 +6017,19 @@ "name": "Simon Mönch", "email": "simon.moench@qossmic.com", "role": "maintainer" + }, + { + "name": "Denis Brumann", + "email": "denis.brumann@qossmic.com", + "role": "maintainer" } ], "description": "deptrac phar distribution", "support": { "issues": "https://github.com/qossmic/deptrac-shim/issues", - "source": "https://github.com/qossmic/deptrac-shim/tree/0.14.1" + "source": "https://github.com/qossmic/deptrac-shim/tree/0.23.0" }, - "time": "2021-07-04T10:19:55+00:00" + "time": "2022-06-24T14:15:07+00:00" }, { "name": "sebastian/cli-parser", @@ -6513,16 +6397,16 @@ }, { "name": "sebastian/environment", - "version": "5.1.3", + "version": "5.1.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac" + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", "shasum": "" }, "require": { @@ -6564,7 +6448,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" }, "funding": [ { @@ -6572,7 +6456,7 @@ "type": "github" } ], - "time": "2020-09-28T05:52:38+00:00" + "time": "2022-04-03T09:37:03+00:00" }, { "name": "sebastian/exporter", @@ -6653,16 +6537,16 @@ }, { "name": "sebastian/global-state", - "version": "5.0.3", + "version": "5.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49" + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49", - "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", "shasum": "" }, "require": { @@ -6705,7 +6589,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" }, "funding": [ { @@ -6713,7 +6597,7 @@ "type": "github" } ], - "time": "2021-06-11T13:31:12+00:00" + "time": "2022-02-14T08:28:10+00:00" }, { "name": "sebastian/lines-of-code", @@ -7004,28 +6888,28 @@ }, { "name": "sebastian/type", - "version": "2.3.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914" + "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914", - "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -7048,7 +6932,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/2.3.4" + "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" }, "funding": [ { @@ -7056,7 +6940,7 @@ "type": "github" } ], - "time": "2021-06-15T12:49:02+00:00" + "time": "2022-03-15T09:54:48+00:00" }, { "name": "sebastian/version", @@ -7113,32 +6997,32 @@ }, { "name": "slevomat/coding-standard", - "version": "7.0.18", + "version": "7.2.1", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "b81ac84f41a4797dc25c8ede1b0718e2a74be0fc" + "reference": "aff06ae7a84e4534bf6f821dc982a93a5d477c90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/b81ac84f41a4797dc25c8ede1b0718e2a74be0fc", - "reference": "b81ac84f41a4797dc25c8ede1b0718e2a74be0fc", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/aff06ae7a84e4534bf6f821dc982a93a5d477c90", + "reference": "aff06ae7a84e4534bf6f821dc982a93a5d477c90", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", - "php": "^7.1 || ^8.0", - "phpstan/phpdoc-parser": "^1.0.0", - "squizlabs/php_codesniffer": "^3.6.1" + "php": "^7.2 || ^8.0", + "phpstan/phpdoc-parser": "^1.5.1", + "squizlabs/php_codesniffer": "^3.6.2" }, "require-dev": { - "phing/phing": "2.17.0", - "php-parallel-lint/php-parallel-lint": "1.3.1", - "phpstan/phpstan": "1.2.0", + "phing/phing": "2.17.3", + "php-parallel-lint/php-parallel-lint": "1.3.2", + "phpstan/phpstan": "1.4.10|1.7.1", "phpstan/phpstan-deprecation-rules": "1.0.0", - "phpstan/phpstan-phpunit": "1.0.0", - "phpstan/phpstan-strict-rules": "1.1.0", - "phpunit/phpunit": "7.5.20|8.5.21|9.5.10" + "phpstan/phpstan-phpunit": "1.0.0|1.1.1", + "phpstan/phpstan-strict-rules": "1.2.3", + "phpunit/phpunit": "7.5.20|8.5.21|9.5.20" }, "type": "phpcodesniffer-standard", "extra": { @@ -7158,7 +7042,7 @@ "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/7.0.18" + "source": "https://github.com/slevomat/coding-standard/tree/7.2.1" }, "funding": [ { @@ -7170,20 +7054,20 @@ "type": "tidelift" } ], - "time": "2021-12-07T17:19:06+00:00" + "time": "2022-05-25T10:58:12+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.6.2", + "version": "3.7.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" + "reference": "1359e176e9307e906dc3d890bcc9603ff6d90619" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/1359e176e9307e906dc3d890bcc9603ff6d90619", + "reference": "1359e176e9307e906dc3d890bcc9603ff6d90619", "shasum": "" }, "require": { @@ -7226,32 +7110,32 @@ "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2021-12-12T21:44:58+00:00" + "time": "2022-06-18T07:21:10+00:00" }, { "name": "symfony/browser-kit", - "version": "v5.3.4", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/symfony/browser-kit.git", - "reference": "c1e3f64fcc631c96e2c5843b666db66679ced11c" + "reference": "18e73179c6a33d520de1b644941eba108dd811ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/c1e3f64fcc631c96e2c5843b666db66679ced11c", - "reference": "c1e3f64fcc631c96e2c5843b666db66679ced11c", + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/18e73179c6a33d520de1b644941eba108dd811ad", + "reference": "18e73179c6a33d520de1b644941eba108dd811ad", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/dom-crawler": "^4.4|^5.0", + "symfony/dom-crawler": "^4.4|^5.0|^6.0", "symfony/polyfill-php80": "^1.16" }, "require-dev": { - "symfony/css-selector": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", - "symfony/mime": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0" + "symfony/css-selector": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/mime": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0" }, "suggest": { "symfony/process": "" @@ -7282,7 +7166,7 @@ "description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/browser-kit/tree/v5.3.4" + "source": "https://github.com/symfony/browser-kit/tree/v5.4.3" }, "funding": [ { @@ -7298,20 +7182,20 @@ "type": "tidelift" } ], - "time": "2021-07-21T12:40:44+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/css-selector", - "version": "v5.3.4", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "7fb120adc7f600a59027775b224c13a33530dd90" + "reference": "b0a190285cd95cb019237851205b8140ef6e368e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/7fb120adc7f600a59027775b224c13a33530dd90", - "reference": "7fb120adc7f600a59027775b224c13a33530dd90", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/b0a190285cd95cb019237851205b8140ef6e368e", + "reference": "b0a190285cd95cb019237851205b8140ef6e368e", "shasum": "" }, "require": { @@ -7348,7 +7232,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v5.3.4" + "source": "https://github.com/symfony/css-selector/tree/v5.4.3" }, "funding": [ { @@ -7364,38 +7248,38 @@ "type": "tidelift" } ], - "time": "2021-07-21T12:38:00+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/debug-bundle", - "version": "v5.3.13", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/symfony/debug-bundle.git", - "reference": "531c7517fbad6b7a2cc5e0078bb3ab26d3a19959" + "reference": "6f508169752ed2c0d0d8a6641c4cca39a8f1dfcb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug-bundle/zipball/531c7517fbad6b7a2cc5e0078bb3ab26d3a19959", - "reference": "531c7517fbad6b7a2cc5e0078bb3ab26d3a19959", + "url": "https://api.github.com/repos/symfony/debug-bundle/zipball/6f508169752ed2c0d0d8a6641c4cca39a8f1dfcb", + "reference": "6f508169752ed2c0d0d8a6641c4cca39a8f1dfcb", "shasum": "" }, "require": { "ext-xml": "*", "php": ">=7.2.5", - "symfony/http-kernel": "^4.4|^5.0", + "symfony/http-kernel": "^4.4|^5.0|^6.0", "symfony/polyfill-php80": "^1.16", - "symfony/twig-bridge": "^4.4|^5.0", - "symfony/var-dumper": "^4.4|^5.0" + "symfony/twig-bridge": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" }, "conflict": { "symfony/config": "<4.4", "symfony/dependency-injection": "<5.2" }, "require-dev": { - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/web-profiler-bundle": "^4.4|^5.0" + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/web-profiler-bundle": "^4.4|^5.0|^6.0" }, "suggest": { "symfony/config": "For service container configuration", @@ -7427,7 +7311,7 @@ "description": "Provides a tight integration of the Symfony VarDumper component and the ServerLogCommand from MonologBridge into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/debug-bundle/tree/v5.3.13" + "source": "https://github.com/symfony/debug-bundle/tree/v5.4.3" }, "funding": [ { @@ -7443,25 +7327,25 @@ "type": "tidelift" } ], - "time": "2021-12-11T13:27:19+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/dom-crawler", - "version": "v5.3.13", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "0e2cc161f1e15ee375f0dc0543f6631ea57c359f" + "reference": "a213cbc80382320b0efdccdcdce232f191fafe3a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/0e2cc161f1e15ee375f0dc0543f6631ea57c359f", - "reference": "0e2cc161f1e15ee375f0dc0543f6631ea57c359f", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/a213cbc80382320b0efdccdcdce232f191fafe3a", + "reference": "a213cbc80382320b0efdccdcdce232f191fafe3a", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "^1.16" @@ -7471,7 +7355,7 @@ }, "require-dev": { "masterminds/html5": "^2.6", - "symfony/css-selector": "^4.4|^5.0" + "symfony/css-selector": "^4.4|^5.0|^6.0" }, "suggest": { "symfony/css-selector": "" @@ -7502,7 +7386,7 @@ "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v5.3.13" + "source": "https://github.com/symfony/dom-crawler/tree/v5.4.9" }, "funding": [ { @@ -7518,45 +7402,48 @@ "type": "tidelift" } ], - "time": "2021-12-28T17:08:14+00:00" + "time": "2022-05-04T14:46:32+00:00" }, { "name": "symfony/maker-bundle", - "version": "v1.36.4", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/maker-bundle.git", - "reference": "716eee9c8b10b33e682df1b7d80b9061887e9691" + "reference": "e3f9a1d9e0f4968f68454403e820dffc7db38a59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/maker-bundle/zipball/716eee9c8b10b33e682df1b7d80b9061887e9691", - "reference": "716eee9c8b10b33e682df1b7d80b9061887e9691", + "url": "https://api.github.com/repos/symfony/maker-bundle/zipball/e3f9a1d9e0f4968f68454403e820dffc7db38a59", + "reference": "e3f9a1d9e0f4968f68454403e820dffc7db38a59", "shasum": "" }, "require": { - "doctrine/inflector": "^1.2|^2.0", + "doctrine/inflector": "^2.0", "nikic/php-parser": "^4.11", - "php": ">=7.1.3", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/console": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "php": ">=7.2.5", + "symfony/config": "^5.4.7|^6.0", + "symfony/console": "^5.4.7|^6.0", + "symfony/dependency-injection": "^5.4.7|^6.0", "symfony/deprecation-contracts": "^2.2|^3", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/framework-bundle": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0" + "symfony/filesystem": "^5.4.7|^6.0", + "symfony/finder": "^5.4.3|^6.0", + "symfony/framework-bundle": "^5.4.7|^6.0", + "symfony/http-kernel": "^5.4.7|^6.0" + }, + "conflict": { + "doctrine/orm": "<2.10" }, "require-dev": { "composer/semver": "^3.0", - "doctrine/doctrine-bundle": "^1.12.3|^2.0", - "doctrine/orm": "^2.3", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/phpunit-bridge": "^4.4|^5.0|^6.0", + "doctrine/doctrine-bundle": "^2.4", + "doctrine/orm": "^2.10.0", + "symfony/http-client": "^5.4.7|^6.0", + "symfony/phpunit-bridge": "^5.4.7|^6.0", "symfony/polyfill-php80": "^1.16.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/security-core": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0", + "symfony/process": "^5.4.7|^6.0", + "symfony/security-core": "^5.4.7|^6.0", + "symfony/yaml": "^5.4.3|^6.0", "twig/twig": "^2.0|^3.0" }, "type": "symfony-bundle", @@ -7590,7 +7477,7 @@ ], "support": { "issues": "https://github.com/symfony/maker-bundle/issues", - "source": "https://github.com/symfony/maker-bundle/tree/v1.36.4" + "source": "https://github.com/symfony/maker-bundle/tree/v1.43.0" }, "funding": [ { @@ -7606,20 +7493,20 @@ "type": "tidelift" } ], - "time": "2021-12-01T00:27:38+00:00" + "time": "2022-05-17T15:46:50+00:00" }, { "name": "symfony/phpunit-bridge", - "version": "v6.0.0", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "5d6cc6720085084f504d2482fc4a2f268784006b" + "reference": "899fdec151add3dc339cf394a15100a1acc177ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/5d6cc6720085084f504d2482fc4a2f268784006b", - "reference": "5d6cc6720085084f504d2482fc4a2f268784006b", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/899fdec151add3dc339cf394a15100a1acc177ad", + "reference": "899fdec151add3dc339cf394a15100a1acc177ad", "shasum": "" }, "require": { @@ -7673,7 +7560,7 @@ "description": "Provides utilities for PHPUnit, especially user deprecation notices management", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/phpunit-bridge/tree/v6.0.0" + "source": "https://github.com/symfony/phpunit-bridge/tree/v6.1.2" }, "funding": [ { @@ -7689,20 +7576,20 @@ "type": "tidelift" } ], - "time": "2021-11-29T15:32:57+00:00" + "time": "2022-06-20T12:01:07+00:00" }, { "name": "symfony/translation-contracts", - "version": "v2.5.0", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e" + "reference": "136b19dd05cdf0709db6537d058bcab6dd6e2dbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/d28150f0f44ce854e942b671fc2620a98aae1b1e", - "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/136b19dd05cdf0709db6537d058bcab6dd6e2dbe", + "reference": "136b19dd05cdf0709db6537d058bcab6dd6e2dbe", "shasum": "" }, "require": { @@ -7751,7 +7638,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/translation-contracts/tree/v2.5.2" }, "funding": [ { @@ -7767,32 +7654,32 @@ "type": "tidelift" } ], - "time": "2021-08-17T14:20:01+00:00" + "time": "2022-06-27T16:58:25+00:00" }, { "name": "symfony/twig-bridge", - "version": "v5.3.13", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", - "reference": "0777e9af726d06acb863de926ba9054268eb0508" + "reference": "fd13c89a1abdbaa7ee2e655d9a11405adcb7a6cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/0777e9af726d06acb863de926ba9054268eb0508", - "reference": "0777e9af726d06acb863de926ba9054268eb0508", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/fd13c89a1abdbaa7ee2e655d9a11405adcb7a6cf", + "reference": "fd13c89a1abdbaa7ee2e655d9a11405adcb7a6cf", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/polyfill-php80": "^1.16", - "symfony/translation-contracts": "^1.1|^2", + "symfony/translation-contracts": "^1.1|^2|^3", "twig/twig": "^2.13|^3.0.4" }, "conflict": { "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", - "symfony/console": "<4.4", + "symfony/console": "<5.3", "symfony/form": "<5.3", "symfony/http-foundation": "<5.3", "symfony/http-kernel": "<4.4", @@ -7803,29 +7690,29 @@ "doctrine/annotations": "^1.12", "egulias/email-validator": "^2.1.10|^3", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/asset": "^4.4|^5.0", - "symfony/console": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/expression-language": "^4.4|^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/form": "^5.3", - "symfony/http-foundation": "^5.3", - "symfony/http-kernel": "^4.4|^5.0", - "symfony/intl": "^4.4|^5.0", - "symfony/mime": "^5.2", + "symfony/asset": "^4.4|^5.0|^6.0", + "symfony/console": "^5.3|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/form": "^5.3|^6.0", + "symfony/http-foundation": "^5.3|^6.0", + "symfony/http-kernel": "^4.4|^5.0|^6.0", + "symfony/intl": "^4.4|^5.0|^6.0", + "symfony/mime": "^5.2|^6.0", "symfony/polyfill-intl-icu": "~1.0", - "symfony/property-info": "^4.4|^5.1", - "symfony/routing": "^4.4|^5.0", + "symfony/property-info": "^4.4|^5.1|^6.0", + "symfony/routing": "^4.4|^5.0|^6.0", "symfony/security-acl": "^2.8|^3.0", - "symfony/security-core": "^4.4|^5.0", - "symfony/security-csrf": "^4.4|^5.0", - "symfony/security-http": "^4.4|^5.0", - "symfony/serializer": "^5.2", - "symfony/stopwatch": "^4.4|^5.0", - "symfony/translation": "^5.2", - "symfony/web-link": "^4.4|^5.0", - "symfony/workflow": "^5.2", - "symfony/yaml": "^4.4|^5.0", + "symfony/security-core": "^4.4|^5.0|^6.0", + "symfony/security-csrf": "^4.4|^5.0|^6.0", + "symfony/security-http": "^4.4|^5.0|^6.0", + "symfony/serializer": "^5.2|^6.0", + "symfony/stopwatch": "^4.4|^5.0|^6.0", + "symfony/translation": "^5.2|^6.0", + "symfony/web-link": "^4.4|^5.0|^6.0", + "symfony/workflow": "^5.2|^6.0", + "symfony/yaml": "^4.4|^5.0|^6.0", "twig/cssinliner-extra": "^2.12|^3", "twig/inky-extra": "^2.12|^3", "twig/markdown-extra": "^2.12|^3" @@ -7872,7 +7759,7 @@ "description": "Provides integration for Twig with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bridge/tree/v5.3.13" + "source": "https://github.com/symfony/twig-bridge/tree/v5.4.9" }, "funding": [ { @@ -7888,7 +7775,7 @@ "type": "tidelift" } ], - "time": "2021-11-29T12:29:37+00:00" + "time": "2022-05-21T10:24:18+00:00" }, { "name": "theseer/tokenizer", @@ -7942,16 +7829,16 @@ }, { "name": "twig/twig", - "version": "v3.3.8", + "version": "v3.4.1", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "972d8604a92b7054828b539f2febb0211dd5945c" + "reference": "e939eae92386b69b49cfa4599dd9bead6bf4a342" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/972d8604a92b7054828b539f2febb0211dd5945c", - "reference": "972d8604a92b7054828b539f2febb0211dd5945c", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/e939eae92386b69b49cfa4599dd9bead6bf4a342", + "reference": "e939eae92386b69b49cfa4599dd9bead6bf4a342", "shasum": "" }, "require": { @@ -7966,7 +7853,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "3.4-dev" } }, "autoload": { @@ -8002,7 +7889,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.3.8" + "source": "https://github.com/twigphp/Twig/tree/v3.4.1" }, "funding": [ { @@ -8014,25 +7901,25 @@ "type": "tidelift" } ], - "time": "2022-02-04T06:59:48+00:00" + "time": "2022-05-17T05:48:52+00:00" }, { "name": "webmozart/assert", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-ctype": "^1.8" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" }, "conflict": { "phpstan/phpstan": "<0.12.20", @@ -8070,9 +7957,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2021-03-09T10:59:23+00:00" + "time": "2022-06-03T18:03:27+00:00" } ], "aliases": [], @@ -8081,11 +7968,11 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.4", + "php": "^7.4|^8.1", "ext-ctype": "*", "ext-iconv": "*", "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } diff --git a/config/packages/debug.yaml b/config/packages/debug.yaml new file mode 100644 index 00000000..ad874afd --- /dev/null +++ b/config/packages/debug.yaml @@ -0,0 +1,5 @@ +when@dev: + debug: + # Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser. + # See the "server:dump" command to start a new server. + dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%" diff --git a/config/packages/dev/debug.yaml b/config/packages/dev/debug.yaml deleted file mode 100644 index 26d4e53d..00000000 --- a/config/packages/dev/debug.yaml +++ /dev/null @@ -1,4 +0,0 @@ -debug: - # Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser. - # See the "server:dump" command to start a new server. - dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%" diff --git a/config/packages/dev/maker.yaml b/config/packages/dev/maker.yaml index 0a9eb9fa..a5b24a1d 100644 --- a/config/packages/dev/maker.yaml +++ b/config/packages/dev/maker.yaml @@ -2,4 +2,4 @@ maker: # tell MakerBundle that all of your classes lives in an # Acme namespace, instead of the default App # (e.g. Acme\Entity\Article, Acme\Command\MyCommand, etc) - root_namespace: 'Adshares\AdPay' \ No newline at end of file + root_namespace: 'App' \ No newline at end of file diff --git a/config/packages/dev/monolog.yaml b/config/packages/dev/monolog.yaml deleted file mode 100644 index 18ac85d8..00000000 --- a/config/packages/dev/monolog.yaml +++ /dev/null @@ -1,19 +0,0 @@ -monolog: - handlers: - main: - type: stream - path: '%env(resolve:LOG_FILE_PATH)%' - level: debug - channels: ["!event"] - # uncomment to get logging in your browser - # you may have to allow bigger header sizes in your Web server configuration - #firephp: - # type: firephp - # level: info - #chromephp: - # type: chromephp - # level: info - console: - type: console - process_psr_3_messages: false - channels: ["!event", "!doctrine", "!console"] diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index c6b46fe9..bf124d7f 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -1,9 +1,28 @@ doctrine: dbal: url: '%env(resolve:DATABASE_URL)%' - driver: 'pdo_mysql' - server_version: '5.7' - charset: utf8mb4 - default_table_options: - charset: utf8mb4 - collate: utf8mb4_unicode_ci + + # IMPORTANT: You MUST configure your server version, + # either here or in the DATABASE_URL env var (see .env file) + #server_version: '13' + orm: + auto_generate_proxy_classes: false + +when@prod: + doctrine: + orm: + auto_generate_proxy_classes: false + query_cache_driver: + type: pool + pool: doctrine.system_cache_pool + result_cache_driver: + type: pool + pool: doctrine.result_cache_pool + + framework: + cache: + pools: + doctrine.result_cache_pool: + adapter: cache.app + doctrine.system_cache_pool: + adapter: cache.system diff --git a/config/packages/monolog.yaml b/config/packages/monolog.yaml new file mode 100644 index 00000000..8c9efa91 --- /dev/null +++ b/config/packages/monolog.yaml @@ -0,0 +1,61 @@ +monolog: + channels: + - deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists + +when@dev: + monolog: + handlers: + main: + type: stream + path: "%kernel.logs_dir%/%kernel.environment%.log" + level: debug + channels: ["!event"] + # uncomment to get logging in your browser + # you may have to allow bigger header sizes in your Web server configuration + #firephp: + # type: firephp + # level: info + #chromephp: + # type: chromephp + # level: info + console: + type: console + process_psr_3_messages: false + channels: ["!event", "!doctrine", "!console"] + +when@test: + monolog: + handlers: + main: + type: fingers_crossed + action_level: error + handler: nested + excluded_http_codes: [404, 405] + channels: ["!event"] + nested: + type: stream + path: "%kernel.logs_dir%/%kernel.environment%.log" + level: debug + +when@prod: + monolog: + handlers: + main: + type: fingers_crossed + action_level: error + handler: nested + excluded_http_codes: [404, 405] + buffer_size: 50 # How many messages should be saved? Prevent memory leaks + nested: + type: stream + path: php://stderr + level: debug + formatter: monolog.formatter.json + console: + type: console + process_psr_3_messages: false + channels: ["!event", "!doctrine"] + deprecation: + type: stream + channels: [deprecation] + path: php://stderr diff --git a/config/packages/prod/deprecations.yaml b/config/packages/prod/deprecations.yaml deleted file mode 100644 index fabf2ec0..00000000 --- a/config/packages/prod/deprecations.yaml +++ /dev/null @@ -1,8 +0,0 @@ -# As of Symfony 5.1, deprecations are logged in the dedicated "deprecation" channel when it exists -monolog: - channels: [deprecation] - handlers: - deprecation: - type: stream - channels: [deprecation] - path: '%env(resolve:LOG_FILE_PATH)%' diff --git a/config/packages/prod/doctrine.yaml b/config/packages/prod/doctrine.yaml deleted file mode 100644 index 084f59a0..00000000 --- a/config/packages/prod/doctrine.yaml +++ /dev/null @@ -1,20 +0,0 @@ -doctrine: - orm: - auto_generate_proxy_classes: false - metadata_cache_driver: - type: pool - pool: doctrine.system_cache_pool - query_cache_driver: - type: pool - pool: doctrine.system_cache_pool - result_cache_driver: - type: pool - pool: doctrine.result_cache_pool - -framework: - cache: - pools: - doctrine.result_cache_pool: - adapter: cache.app - doctrine.system_cache_pool: - adapter: cache.system diff --git a/config/packages/prod/monolog.yaml b/config/packages/prod/monolog.yaml deleted file mode 100644 index be10d867..00000000 --- a/config/packages/prod/monolog.yaml +++ /dev/null @@ -1,17 +0,0 @@ -monolog: - handlers: - main: - type: fingers_crossed - action_level: error - handler: nested - excluded_http_codes: [404, 405] - buffer_size: 50 # How many messages should be saved? Prevent memory leaks - nested: - type: stream - path: '%env(resolve:LOG_FILE_PATH)%' - level: debug - formatter: monolog.formatter.json - console: - type: console - process_psr_3_messages: false - channels: ["!event", "!doctrine"] diff --git a/config/packages/test/doctrine.yaml b/config/packages/test/doctrine.yaml deleted file mode 100644 index 34c2ebcc..00000000 --- a/config/packages/test/doctrine.yaml +++ /dev/null @@ -1,4 +0,0 @@ -doctrine: - dbal: - # "TEST_TOKEN" is typically set by ParaTest - dbname_suffix: '_test%env(default::TEST_TOKEN)%' diff --git a/config/packages/test/monolog.yaml b/config/packages/test/monolog.yaml deleted file mode 100644 index 4f24a2e6..00000000 --- a/config/packages/test/monolog.yaml +++ /dev/null @@ -1,12 +0,0 @@ -monolog: - handlers: - main: - type: fingers_crossed - action_level: error - handler: nested - excluded_http_codes: [404, 405] - channels: ["!event"] - nested: - type: stream - path: '%env(resolve:LOG_FILE_PATH)%' - level: debug diff --git a/config/routes.yaml b/config/routes.yaml index fd36bd24..bff85e2b 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -1,6 +1,6 @@ api_post_bid_strategies: path: /api/v{version}/bid-strategies - controller: Adshares\AdPay\UI\Controller\BidStrategyController::updateBidStrategies + controller: App\UI\Controller\BidStrategyController::updateBidStrategies methods: POST requirements: version: '1' @@ -9,7 +9,7 @@ api_post_bid_strategies: api_delete_bid_strategies: path: /api/v{version}/bid-strategies - controller: Adshares\AdPay\UI\Controller\BidStrategyController::deleteBidStrategies + controller: App\UI\Controller\BidStrategyController::deleteBidStrategies methods: DELETE requirements: version: '1' @@ -18,7 +18,7 @@ api_delete_bid_strategies: api_post_campaigns: path: /api/v{version}/campaigns - controller: Adshares\AdPay\UI\Controller\CampaignController::updateCampaigns + controller: App\UI\Controller\CampaignController::updateCampaigns methods: POST requirements: version: '1' @@ -27,7 +27,7 @@ api_post_campaigns: api_delete_campaigns: path: /api/v{version}/campaigns - controller: Adshares\AdPay\UI\Controller\CampaignController::deleteCampaigns + controller: App\UI\Controller\CampaignController::deleteCampaigns methods: DELETE requirements: version: '1' @@ -36,7 +36,7 @@ api_delete_campaigns: api_post_views: path: /api/v{version}/events/views - controller: Adshares\AdPay\UI\Controller\EventController::updateViews + controller: App\UI\Controller\EventController::updateViews methods: POST requirements: version: '1' @@ -45,7 +45,7 @@ api_post_views: api_post_clicks: path: /api/v{version}/events/clicks - controller: Adshares\AdPay\UI\Controller\EventController::updateClicks + controller: App\UI\Controller\EventController::updateClicks methods: POST requirements: version: '1' @@ -54,7 +54,7 @@ api_post_clicks: api_post_conversions: path: /api/v{version}/events/conversions - controller: Adshares\AdPay\UI\Controller\EventController::updateConversions + controller: App\UI\Controller\EventController::updateConversions methods: POST requirements: version: '1' @@ -63,7 +63,7 @@ api_post_conversions: api_get_payments: path: /api/v{version}/payments/{timestamp} - controller: Adshares\AdPay\UI\Controller\PaymentController::find + controller: App\UI\Controller\PaymentController::find methods: GET requirements: version: '1' @@ -73,7 +73,7 @@ api_get_payments: info: path: /info.{_format} - controller: Adshares\AdPay\UI\Controller\InfoController::info + controller: App\UI\Controller\InfoController::info methods: GET defaults: _format: 'json' diff --git a/config/services.yaml b/config/services.yaml index 2308b6c2..7f3c35ac 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -12,116 +12,22 @@ services: autowire: true # Automatically injects dependencies in your services. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. - Adshares\AdPay\UI\Command\: - resource: '../src/UI/Command' - -# Adshares\AdSelect\UI\EventListener\ApiExceptionListenerSubscriber: -# arguments: -# $env: '%env(APP_ENV)%' -# $logger: '@logger' -# tags: -# - { name: kernel.event_subscriber } - - - Adshares\AdPay\Infrastructure\Repository\: - resource: '../src/Infrastructure/Repository' - - Adshares\AdPay\Application\Command\: - resource: '../src/Application/Command' - - Adshares\AdPay\Application\Command\BidStrategyUpdateCommand: - public: true - arguments: - $bidStrategyRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineBidStrategyRepository' - $logger: '@logger' - - Adshares\AdPay\Application\Command\BidStrategyDeleteCommand: - public: true - arguments: - $bidStrategyRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineBidStrategyRepository' - $logger: '@logger' - - Adshares\AdPay\Application\Command\CampaignUpdateCommand: - public: true - arguments: - $campaignRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineCampaignRepository' - $logger: '@logger' - - Adshares\AdPay\Application\Command\CampaignDeleteCommand: - public: true - arguments: - $campaignRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineCampaignRepository' - $logger: '@logger' - - Adshares\AdPay\Application\Command\EventUpdateCommand: - public: true - arguments: - $eventRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineEventRepository' - $paymentReportRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository' - $logger: '@logger' - - Adshares\AdPay\Application\Command\EventDeleteCommand: - public: true - arguments: - $eventRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineEventRepository' - $logger: '@logger' - - Adshares\AdPay\Application\Command\ReportFetchCommand: - public: true - arguments: - $paymentReportRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository' - $logger: '@logger' - - Adshares\AdPay\Application\Command\ReportCalculateCommand: - public: true - arguments: - $paymentReportRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository' - $paymentRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentRepository' - $eventRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineEventRepository' - $paymentCalculatorFactory: '@Adshares\AdPay\Domain\Service\PaymentCalculatorFactory' - $logger: '@logger' - - Adshares\AdPay\Application\Command\ReportDeleteCommand: - public: true - arguments: - $paymentReportRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository' - $logger: '@logger' - - Adshares\AdPay\Application\Command\PaymentFetchCommand: - public: true - arguments: - $paymentReportRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository' - $paymentRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentRepository' - $logger: '@logger' - - Adshares\AdPay\Domain\ValueObject\PaymentCalculatorConfig: + # makes classes in src/ available to be used as services + # this creates a service per class whose id is the fully-qualified class name + App\: + resource: '../src/' + exclude: + - '../src/DependencyInjection/' + - '../src/Entity/' + - '../src/Kernel.php' + + # add more service definitions when explicit configuration is needed + # please note that last definitions always *replace* previous ones + App\Domain\ValueObject\PaymentCalculatorConfig: arguments: $config: { humanScoreThreshold: '%env(float:HUMAN_SCORE_THRESHOLD)%', conversionHumanScoreThreshold: '%env(float:CONVERSION_HUMAN_SCORE_THRESHOLD)%', autoCpmBudgetThreshold: '%env(float:AUTO_CPM_BUDGET_THRESHOLD)%', autoCpmDefault: '%env(int:AUTO_CPM_DEFAULT)%' - } - - Adshares\AdPay\Domain\Service\PaymentCalculatorFactory: - arguments: - $campaignRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineCampaignRepository' - $bidStrategyRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineBidStrategyRepository' - $campaignCostRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineCampaignCostRepository' - $config: '@Adshares\AdPay\Domain\ValueObject\PaymentCalculatorConfig' - - Adshares\AdPay\UI\Controller\: - resource: '../src/UI/Controller' - tags: ['controller.service_arguments'] - -# Adshares\AdPay\UI\Controller\CampaignController: -# public: true -# arguments: -# $campaignRepository: '@Adshares\AdPay\Infrastructure\Repository\DoctrineCampaignRepository' -# $logger: '@logger' -# -# Adshares\AdPay\UI\Controller\EventController: -# public: true -# arguments: -# $eventUpdater: '@Adshares\AdPay\Application\Service\EventUpdater' -# $logger: '@logger' + } \ No newline at end of file diff --git a/depfile.yaml b/depfile.yaml deleted file mode 100644 index 5d394263..00000000 --- a/depfile.yaml +++ /dev/null @@ -1,40 +0,0 @@ -paths: - - ./src -exclude_files: - - .*test.* -layers: - - name: Domain - collectors: - - type: className - regex: .*AdPay\\Domain\\.* - - name: Application - collectors: - - type: className - regex: .*AdPay\\Application\\.* - - name: Infrastructure - collectors: - - type: className - regex: .*AdPay\\Infrastructure\\.* - - name: Lib - collectors: - - type: className - regex: .*AdPay\\Lib\\.* - - name: UI - collectors: - - type: className - regex: .*AdPay\\UI\\.* - -ruleset: - Domain: - - Lib - Application: - - Domain - - Lib - Infrastructure: - - Application - - Domain - - Lib - UI: - - Application - - Lib - diff --git a/deptrac.yaml b/deptrac.yaml new file mode 100644 index 00000000..f5003589 --- /dev/null +++ b/deptrac.yaml @@ -0,0 +1,40 @@ +deptrac: + paths: + - ./src + exclude_files: + - .*test.* + layers: + - name: Domain + collectors: + - type: className + regex: .*AdPay\\Domain\\.* + - name: Application + collectors: + - type: className + regex: .*AdPay\\Application\\.* + - name: Infrastructure + collectors: + - type: className + regex: .*AdPay\\Infrastructure\\.* + - name: Lib + collectors: + - type: className + regex: .*AdPay\\Lib\\.* + - name: UI + collectors: + - type: className + regex: .*AdPay\\UI\\.* + + ruleset: + Domain: + - Lib + Application: + - Domain + - Lib + Infrastructure: + - Application + - Domain + - Lib + UI: + - Application + - Lib diff --git a/public/index.php b/public/index.php index e9518477..c1e51e59 100644 --- a/public/index.php +++ b/public/index.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Adshares\AdPay\Kernel; +use App\Kernel; require_once dirname(__DIR__) . '/vendor/autoload_runtime.php'; diff --git a/sonar-project.properties b/sonar-project.properties index 4461b4fa..1107565c 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -2,7 +2,7 @@ sonar.host.url=https://sonarcloud.io sonar.organization=adshares-github sonar.projectKey=adshares-adpay sonar.projectName=Adshares AdPay -sonar.projectVersion=1.3 +sonar.projectVersion=1.4 # ===================================================== # Meta-data for the project diff --git a/src/Application/Command/BidStrategyDeleteCommand.php b/src/Application/Command/BidStrategyDeleteCommand.php index 08756d40..3e808991 100644 --- a/src/Application/Command/BidStrategyDeleteCommand.php +++ b/src/Application/Command/BidStrategyDeleteCommand.php @@ -2,19 +2,17 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Application\DTO\BidStrategyDeleteDTO; -use Adshares\AdPay\Domain\Repository\BidStrategyRepository; +use App\Application\DTO\BidStrategyDeleteDTO; +use App\Domain\Repository\BidStrategyRepository; use Psr\Log\LoggerInterface; final class BidStrategyDeleteCommand { - /** @var BidStrategyRepository */ - private $bidStrategyRepository; + private BidStrategyRepository $bidStrategyRepository; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( BidStrategyRepository $bidStrategyRepository, diff --git a/src/Application/Command/BidStrategyUpdateCommand.php b/src/Application/Command/BidStrategyUpdateCommand.php index 20d0a521..0ecc6fb2 100644 --- a/src/Application/Command/BidStrategyUpdateCommand.php +++ b/src/Application/Command/BidStrategyUpdateCommand.php @@ -2,19 +2,17 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Application\DTO\BidStrategyUpdateDTO; -use Adshares\AdPay\Domain\Repository\BidStrategyRepository; +use App\Application\DTO\BidStrategyUpdateDTO; +use App\Domain\Repository\BidStrategyRepository; use Psr\Log\LoggerInterface; final class BidStrategyUpdateCommand { - /** @var BidStrategyRepository */ - private $bidStrategyRepository; + private BidStrategyRepository $bidStrategyRepository; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( BidStrategyRepository $bidStrategyRepository, diff --git a/src/Application/Command/CampaignDeleteCommand.php b/src/Application/Command/CampaignDeleteCommand.php index 7be7e92d..ded57453 100644 --- a/src/Application/Command/CampaignDeleteCommand.php +++ b/src/Application/Command/CampaignDeleteCommand.php @@ -2,19 +2,17 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Application\DTO\CampaignDeleteDTO; -use Adshares\AdPay\Domain\Repository\CampaignRepository; +use App\Application\DTO\CampaignDeleteDTO; +use App\Domain\Repository\CampaignRepository; use Psr\Log\LoggerInterface; final class CampaignDeleteCommand { - /** @var CampaignRepository */ - private $campaignRepository; + private CampaignRepository $campaignRepository; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( CampaignRepository $campaignRepository, diff --git a/src/Application/Command/CampaignUpdateCommand.php b/src/Application/Command/CampaignUpdateCommand.php index 0377ced3..367fe8fa 100644 --- a/src/Application/Command/CampaignUpdateCommand.php +++ b/src/Application/Command/CampaignUpdateCommand.php @@ -2,19 +2,17 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Application\DTO\CampaignUpdateDTO; -use Adshares\AdPay\Domain\Repository\CampaignRepository; +use App\Application\DTO\CampaignUpdateDTO; +use App\Domain\Repository\CampaignRepository; use Psr\Log\LoggerInterface; final class CampaignUpdateCommand { - /** @var CampaignRepository */ - private $campaignRepository; + private CampaignRepository $campaignRepository; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( CampaignRepository $campaignRepository, diff --git a/src/Application/Command/DataCleaner.php b/src/Application/Command/DataCleaner.php index 724b30ee..c701e9ff 100644 --- a/src/Application/Command/DataCleaner.php +++ b/src/Application/Command/DataCleaner.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; use DateTime; diff --git a/src/Application/Command/EventDeleteCommand.php b/src/Application/Command/EventDeleteCommand.php index 9767b86b..a5b5d686 100644 --- a/src/Application/Command/EventDeleteCommand.php +++ b/src/Application/Command/EventDeleteCommand.php @@ -2,20 +2,18 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Domain\Repository\EventRepository; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Domain\Repository\EventRepository; +use App\Domain\ValueObject\EventType; use DateTimeInterface; use Psr\Log\LoggerInterface; final class EventDeleteCommand { - /** @var EventRepository */ - private $eventRepository; + private EventRepository $eventRepository; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( EventRepository $eventRepository, diff --git a/src/Application/Command/EventUpdateCommand.php b/src/Application/Command/EventUpdateCommand.php index 6b02d31f..3a57a66d 100644 --- a/src/Application/Command/EventUpdateCommand.php +++ b/src/Application/Command/EventUpdateCommand.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Application\DTO\EventUpdateDTO; -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Exception\InvalidDataException; -use Adshares\AdPay\Domain\Repository\EventRepository; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; +use App\Application\DTO\EventUpdateDTO; +use App\Application\Exception\ValidationException; +use App\Domain\Exception\InvalidDataException; +use App\Domain\Repository\EventRepository; +use App\Domain\Repository\PaymentReportRepository; use Psr\Log\LoggerInterface; use Symfony\Component\Console\Command\LockableTrait; diff --git a/src/Application/Command/PaymentFetchCommand.php b/src/Application/Command/PaymentFetchCommand.php index c6ebdf0f..b682a1bd 100644 --- a/src/Application/Command/PaymentFetchCommand.php +++ b/src/Application/Command/PaymentFetchCommand.php @@ -2,25 +2,22 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Application\DTO\PaymentFetchDTO; -use Adshares\AdPay\Application\Exception\FetchingException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; -use Adshares\AdPay\Domain\Repository\PaymentRepository; +use App\Application\DTO\PaymentFetchDTO; +use App\Application\Exception\FetchingException; +use App\Domain\Model\PaymentReport; +use App\Domain\Repository\PaymentReportRepository; +use App\Domain\Repository\PaymentRepository; use Psr\Log\LoggerInterface; final class PaymentFetchCommand { - /** @var PaymentReportRepository */ - private $paymentReportRepository; + private PaymentReportRepository $paymentReportRepository; - /** @var PaymentRepository */ - private $paymentRepository; + private PaymentRepository $paymentRepository; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( PaymentReportRepository $paymentReportRepository, diff --git a/src/Application/Command/ReportCalculateCommand.php b/src/Application/Command/ReportCalculateCommand.php index 6023827b..26f2fa88 100644 --- a/src/Application/Command/ReportCalculateCommand.php +++ b/src/Application/Command/ReportCalculateCommand.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; - -use Adshares\AdPay\Application\Exception\FetchingException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Repository\EventRepository; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; -use Adshares\AdPay\Domain\Repository\PaymentRepository; -use Adshares\AdPay\Domain\Service\PaymentCalculatorFactory; +namespace App\Application\Command; + +use App\Application\Exception\FetchingException; +use App\Domain\Model\PaymentReport; +use App\Domain\Repository\EventRepository; +use App\Domain\Repository\PaymentReportRepository; +use App\Domain\Repository\PaymentRepository; +use App\Domain\Service\PaymentCalculatorFactory; use DateTimeInterface; use Psr\Log\LoggerInterface; diff --git a/src/Application/Command/ReportDeleteCommand.php b/src/Application/Command/ReportDeleteCommand.php index 46f0db63..ecf19513 100644 --- a/src/Application/Command/ReportDeleteCommand.php +++ b/src/Application/Command/ReportDeleteCommand.php @@ -2,19 +2,17 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; +use App\Domain\Repository\PaymentReportRepository; use DateTimeInterface; use Psr\Log\LoggerInterface; final class ReportDeleteCommand { - /** @var PaymentReportRepository */ - private $paymentReportRepository; + private PaymentReportRepository $paymentReportRepository; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( PaymentReportRepository $paymentReportRepository, diff --git a/src/Application/Command/ReportFetchCommand.php b/src/Application/Command/ReportFetchCommand.php index 0a0d565a..6271ba67 100644 --- a/src/Application/Command/ReportFetchCommand.php +++ b/src/Application/Command/ReportFetchCommand.php @@ -2,20 +2,18 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Command; +namespace App\Application\Command; -use Adshares\AdPay\Application\DTO\PaymentReportFetchDTO; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +use App\Application\DTO\PaymentReportFetchDTO; +use App\Domain\Repository\PaymentReportRepository; +use App\Domain\ValueObject\PaymentReportStatus; use Psr\Log\LoggerInterface; final class ReportFetchCommand { - /** @var PaymentReportRepository */ - private $paymentReportRepository; + private PaymentReportRepository $paymentReportRepository; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( PaymentReportRepository $paymentReportRepository, diff --git a/src/Application/DTO/BasicDeleteDTO.php b/src/Application/DTO/BasicDeleteDTO.php index 028bcd43..509f93d9 100644 --- a/src/Application/DTO/BasicDeleteDTO.php +++ b/src/Application/DTO/BasicDeleteDTO.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\IdCollection; +use App\Application\Exception\ValidationException; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\IdCollection; use TypeError; abstract class BasicDeleteDTO diff --git a/src/Application/DTO/BidStrategyDeleteDTO.php b/src/Application/DTO/BidStrategyDeleteDTO.php index 90a4319a..5b5b6c34 100644 --- a/src/Application/DTO/BidStrategyDeleteDTO.php +++ b/src/Application/DTO/BidStrategyDeleteDTO.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; final class BidStrategyDeleteDTO extends BasicDeleteDTO { diff --git a/src/Application/DTO/BidStrategyUpdateDTO.php b/src/Application/DTO/BidStrategyUpdateDTO.php index a735e63f..c078beb3 100644 --- a/src/Application/DTO/BidStrategyUpdateDTO.php +++ b/src/Application/DTO/BidStrategyUpdateDTO.php @@ -2,19 +2,18 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\BidStrategy; -use Adshares\AdPay\Domain\Model\BidStrategyCollection; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Application\Exception\ValidationException; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\BidStrategy; +use App\Domain\Model\BidStrategyCollection; +use App\Domain\ValueObject\Id; use TypeError; final class BidStrategyUpdateDTO { - /** @var BidStrategyCollection */ - private $bidStrategies; + private BidStrategyCollection $bidStrategies; public function __construct(array $input) { diff --git a/src/Application/DTO/CampaignDeleteDTO.php b/src/Application/DTO/CampaignDeleteDTO.php index 32745fc3..c19d3d27 100644 --- a/src/Application/DTO/CampaignDeleteDTO.php +++ b/src/Application/DTO/CampaignDeleteDTO.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; final class CampaignDeleteDTO extends BasicDeleteDTO { diff --git a/src/Application/DTO/CampaignUpdateDTO.php b/src/Application/DTO/CampaignUpdateDTO.php index 546b9a39..3bed131d 100644 --- a/src/Application/DTO/CampaignUpdateDTO.php +++ b/src/Application/DTO/CampaignUpdateDTO.php @@ -2,27 +2,27 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; - -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\Model\BannerCollection; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\CampaignCollection; -use Adshares\AdPay\Domain\Model\Conversion; -use Adshares\AdPay\Domain\Model\ConversionCollection; -use Adshares\AdPay\Domain\ValueObject\BannerType; -use Adshares\AdPay\Domain\ValueObject\Budget; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\LimitType; -use Adshares\AdPay\Lib\DateTimeHelper; -use Adshares\AdPay\Lib\Exception\DateTimeException; +namespace App\Application\DTO; + +use App\Application\Exception\ValidationException; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\Banner; +use App\Domain\Model\BannerCollection; +use App\Domain\Model\Campaign; +use App\Domain\Model\CampaignCollection; +use App\Domain\Model\Conversion; +use App\Domain\Model\ConversionCollection; +use App\Domain\ValueObject\BannerType; +use App\Domain\ValueObject\Budget; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\LimitType; +use App\Lib\DateTimeHelper; +use App\Lib\Exception\DateTimeException; use TypeError; final class CampaignUpdateDTO { - private $campaigns; + private CampaignCollection $campaigns; public function __construct(array $input) { diff --git a/src/Application/DTO/ClickEventUpdateDTO.php b/src/Application/DTO/ClickEventUpdateDTO.php index 1c1ce7f6..316bbe35 100644 --- a/src/Application/DTO/ClickEventUpdateDTO.php +++ b/src/Application/DTO/ClickEventUpdateDTO.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; -use Adshares\AdPay\Domain\Model\ClickEvent; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\ClickEvent; +use App\Domain\Model\Event; +use App\Domain\Model\EventCollection; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use DateTimeInterface; final class ClickEventUpdateDTO extends EventUpdateDTO diff --git a/src/Application/DTO/ConversionEventUpdateDTO.php b/src/Application/DTO/ConversionEventUpdateDTO.php index d05ffbca..d8d1c478 100644 --- a/src/Application/DTO/ConversionEventUpdateDTO.php +++ b/src/Application/DTO/ConversionEventUpdateDTO.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Model\ConversionEvent; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Application\Exception\ValidationException; +use App\Domain\Model\ConversionEvent; +use App\Domain\Model\Event; +use App\Domain\Model\EventCollection; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentStatus; +use App\Lib\DateTimeHelper; use DateTimeInterface; final class ConversionEventUpdateDTO extends EventUpdateDTO diff --git a/src/Application/DTO/EventUpdateDTO.php b/src/Application/DTO/EventUpdateDTO.php index 123af3b2..faa8b71b 100644 --- a/src/Application/DTO/EventUpdateDTO.php +++ b/src/Application/DTO/EventUpdateDTO.php @@ -2,26 +2,25 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; - -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; -use Adshares\AdPay\Lib\Exception\DateTimeException; +namespace App\Application\DTO; + +use App\Application\Exception\ValidationException; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\Event; +use App\Domain\Model\EventCollection; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; +use App\Lib\Exception\DateTimeException; use DateTime; use DateTimeInterface; use TypeError; abstract class EventUpdateDTO { - /* @var EventCollection */ - protected $viewEvents; + protected EventCollection $viewEvents; public function __construct(array $input) { diff --git a/src/Application/DTO/PaymentFetchDTO.php b/src/Application/DTO/PaymentFetchDTO.php index a6e92196..b081d9d9 100644 --- a/src/Application/DTO/PaymentFetchDTO.php +++ b/src/Application/DTO/PaymentFetchDTO.php @@ -2,15 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; final class PaymentFetchDTO { - /** @var bool */ - private $calculated; + private bool $calculated; - /** @var iterable */ - private $payments; + private iterable $payments; public function __construct(bool $calculated, iterable $payments) { diff --git a/src/Application/DTO/PaymentReportFetchDTO.php b/src/Application/DTO/PaymentReportFetchDTO.php index ebb54bc0..ed552b5d 100644 --- a/src/Application/DTO/PaymentReportFetchDTO.php +++ b/src/Application/DTO/PaymentReportFetchDTO.php @@ -2,15 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Model\PaymentReportCollection; +use App\Domain\Model\PaymentReport; +use App\Domain\Model\PaymentReportCollection; final class PaymentReportFetchDTO { - /** @var PaymentReportCollection */ - private $reports; + private PaymentReportCollection $reports; public function __construct(PaymentReportCollection $reports) { diff --git a/src/Application/DTO/ViewEventUpdateDTO.php b/src/Application/DTO/ViewEventUpdateDTO.php index e03e5492..0134653d 100644 --- a/src/Application/DTO/ViewEventUpdateDTO.php +++ b/src/Application/DTO/ViewEventUpdateDTO.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\DTO; +namespace App\Application\DTO; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\Model\ViewEvent; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\Event; +use App\Domain\Model\EventCollection; +use App\Domain\Model\ViewEvent; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use DateTimeInterface; final class ViewEventUpdateDTO extends EventUpdateDTO diff --git a/src/Application/Exception/FetchingException.php b/src/Application/Exception/FetchingException.php index e97ac522..370f412f 100644 --- a/src/Application/Exception/FetchingException.php +++ b/src/Application/Exception/FetchingException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Exception; +namespace App\Application\Exception; use RuntimeException; diff --git a/src/Application/Exception/ValidationException.php b/src/Application/Exception/ValidationException.php index 7ee67a61..cf01ac40 100644 --- a/src/Application/Exception/ValidationException.php +++ b/src/Application/Exception/ValidationException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Application\Exception; +namespace App\Application\Exception; use RuntimeException; diff --git a/src/Domain/Exception/DomainRepositoryException.php b/src/Domain/Exception/DomainRepositoryException.php index ac810570..744b7479 100644 --- a/src/Domain/Exception/DomainRepositoryException.php +++ b/src/Domain/Exception/DomainRepositoryException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Exception; +namespace App\Domain\Exception; use RuntimeException; diff --git a/src/Domain/Exception/InvalidArgumentException.php b/src/Domain/Exception/InvalidArgumentException.php index 2a6dc8fc..d2828d64 100644 --- a/src/Domain/Exception/InvalidArgumentException.php +++ b/src/Domain/Exception/InvalidArgumentException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Exception; +namespace App\Domain\Exception; use InvalidArgumentException as BaseInvalidArgumentException; diff --git a/src/Domain/Exception/InvalidDataException.php b/src/Domain/Exception/InvalidDataException.php index 41daaf39..75e86f36 100644 --- a/src/Domain/Exception/InvalidDataException.php +++ b/src/Domain/Exception/InvalidDataException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Exception; +namespace App\Domain\Exception; class InvalidDataException extends DomainRepositoryException { diff --git a/src/Domain/Model/Banner.php b/src/Domain/Model/Banner.php index 3e19fc6d..f7e2397e 100644 --- a/src/Domain/Model/Banner.php +++ b/src/Domain/Model/Banner.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\ValueObject\BannerType; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\ValueObject\BannerType; +use App\Domain\ValueObject\Id; use DateTimeInterface; final class Banner diff --git a/src/Domain/Model/BannerCollection.php b/src/Domain/Model/BannerCollection.php index d6f0b5a0..6639c4cb 100644 --- a/src/Domain/Model/BannerCollection.php +++ b/src/Domain/Model/BannerCollection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/Model/BidStrategy.php b/src/Domain/Model/BidStrategy.php index ec5f8e7b..ac35b35e 100644 --- a/src/Domain/Model/BidStrategy.php +++ b/src/Domain/Model/BidStrategy.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\Id; use DateTimeInterface; final class BidStrategy diff --git a/src/Domain/Model/BidStrategyCollection.php b/src/Domain/Model/BidStrategyCollection.php index b8f7aba5..209a4e53 100644 --- a/src/Domain/Model/BidStrategyCollection.php +++ b/src/Domain/Model/BidStrategyCollection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/Model/Campaign.php b/src/Domain/Model/Campaign.php index febb22d7..11f80454 100644 --- a/src/Domain/Model/Campaign.php +++ b/src/Domain/Model/Campaign.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\Budget; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\Budget; +use App\Domain\ValueObject\Id; use DateTimeInterface; final class Campaign diff --git a/src/Domain/Model/CampaignCollection.php b/src/Domain/Model/CampaignCollection.php index d718cf8e..a1d3947b 100644 --- a/src/Domain/Model/CampaignCollection.php +++ b/src/Domain/Model/CampaignCollection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/Model/CampaignCost.php b/src/Domain/Model/CampaignCost.php index cc547431..96de656c 100644 --- a/src/Domain/Model/CampaignCost.php +++ b/src/Domain/Model/CampaignCost.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\ValueObject\Id; final class CampaignCost { diff --git a/src/Domain/Model/CampaignCostCollection.php b/src/Domain/Model/CampaignCostCollection.php index a0a92e54..4b70ea1b 100644 --- a/src/Domain/Model/CampaignCostCollection.php +++ b/src/Domain/Model/CampaignCostCollection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/Model/ClickEvent.php b/src/Domain/Model/ClickEvent.php index 4e22b45a..b8bcf0dd 100644 --- a/src/Domain/Model/ClickEvent.php +++ b/src/Domain/Model/ClickEvent.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; use DateTimeInterface; final class ClickEvent extends Event diff --git a/src/Domain/Model/Conversion.php b/src/Domain/Model/Conversion.php index 1cb28328..bc6adb58 100644 --- a/src/Domain/Model/Conversion.php +++ b/src/Domain/Model/Conversion.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\LimitType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\LimitType; use DateTimeInterface; final class Conversion diff --git a/src/Domain/Model/ConversionCollection.php b/src/Domain/Model/ConversionCollection.php index 47e32646..e91c0684 100644 --- a/src/Domain/Model/ConversionCollection.php +++ b/src/Domain/Model/ConversionCollection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/Model/ConversionEvent.php b/src/Domain/Model/ConversionEvent.php index 233927c1..ff30dbd7 100644 --- a/src/Domain/Model/ConversionEvent.php +++ b/src/Domain/Model/ConversionEvent.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentStatus; use DateTimeInterface; final class ConversionEvent extends Event diff --git a/src/Domain/Model/Event.php b/src/Domain/Model/Event.php index b4426d1f..1bcab442 100644 --- a/src/Domain/Model/Event.php +++ b/src/Domain/Model/Event.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; use DateTimeInterface; abstract class Event diff --git a/src/Domain/Model/EventCollection.php b/src/Domain/Model/EventCollection.php index 7c8e3a4f..28bc3685 100644 --- a/src/Domain/Model/EventCollection.php +++ b/src/Domain/Model/EventCollection.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\EventType; use DateTimeInterface; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/Model/Impression.php b/src/Domain/Model/Impression.php index c544c97c..4771cb62 100644 --- a/src/Domain/Model/Impression.php +++ b/src/Domain/Model/Impression.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\Id; final class Impression { diff --git a/src/Domain/Model/ImpressionCase.php b/src/Domain/Model/ImpressionCase.php index 457082a1..a3ddc733 100644 --- a/src/Domain/Model/ImpressionCase.php +++ b/src/Domain/Model/ImpressionCase.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\Id; use DateTimeInterface; final class ImpressionCase diff --git a/src/Domain/Model/Payment.php b/src/Domain/Model/Payment.php index 0f4fb711..2d5c9796 100644 --- a/src/Domain/Model/Payment.php +++ b/src/Domain/Model/Payment.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentStatus; final class Payment { diff --git a/src/Domain/Model/PaymentCollection.php b/src/Domain/Model/PaymentCollection.php index 8e4f4504..868eccba 100644 --- a/src/Domain/Model/PaymentCollection.php +++ b/src/Domain/Model/PaymentCollection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/Model/PaymentReport.php b/src/Domain/Model/PaymentReport.php index fd370c47..efe58f22 100644 --- a/src/Domain/Model/PaymentReport.php +++ b/src/Domain/Model/PaymentReport.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\PaymentReportStatus; +use App\Lib\DateTimeHelper; use DateTimeInterface; final class PaymentReport diff --git a/src/Domain/Model/PaymentReportCollection.php b/src/Domain/Model/PaymentReportCollection.php index ac8d46b2..fac997a2 100644 --- a/src/Domain/Model/PaymentReportCollection.php +++ b/src/Domain/Model/PaymentReportCollection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/Model/ViewEvent.php b/src/Domain/Model/ViewEvent.php index 2f8c1d7b..54909770 100644 --- a/src/Domain/Model/ViewEvent.php +++ b/src/Domain/Model/ViewEvent.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Model; +namespace App\Domain\Model; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; use DateTimeInterface; final class ViewEvent extends Event diff --git a/src/Domain/Repository/BidStrategyRepository.php b/src/Domain/Repository/BidStrategyRepository.php index 4cc1f605..b42678fe 100644 --- a/src/Domain/Repository/BidStrategyRepository.php +++ b/src/Domain/Repository/BidStrategyRepository.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Repository; +namespace App\Domain\Repository; -use Adshares\AdPay\Domain\Model\BidStrategyCollection; -use Adshares\AdPay\Domain\ValueObject\IdCollection; +use App\Domain\Model\BidStrategyCollection; +use App\Domain\ValueObject\IdCollection; interface BidStrategyRepository { diff --git a/src/Domain/Repository/CampaignCostRepository.php b/src/Domain/Repository/CampaignCostRepository.php index 690ea6f8..e087695a 100644 --- a/src/Domain/Repository/CampaignCostRepository.php +++ b/src/Domain/Repository/CampaignCostRepository.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Repository; +namespace App\Domain\Repository; -use Adshares\AdPay\Domain\Model\CampaignCost; -use Adshares\AdPay\Domain\Model\CampaignCostCollection; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Model\CampaignCost; +use App\Domain\Model\CampaignCostCollection; +use App\Domain\ValueObject\Id; use DateTimeInterface; interface CampaignCostRepository diff --git a/src/Domain/Repository/CampaignRepository.php b/src/Domain/Repository/CampaignRepository.php index 1ed1db13..9ba829a8 100644 --- a/src/Domain/Repository/CampaignRepository.php +++ b/src/Domain/Repository/CampaignRepository.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Repository; +namespace App\Domain\Repository; -use Adshares\AdPay\Domain\Model\CampaignCollection; -use Adshares\AdPay\Domain\ValueObject\IdCollection; +use App\Domain\Model\CampaignCollection; +use App\Domain\ValueObject\IdCollection; interface CampaignRepository { diff --git a/src/Domain/Repository/EventRepository.php b/src/Domain/Repository/EventRepository.php index 7d2e7bf2..b006c6e9 100644 --- a/src/Domain/Repository/EventRepository.php +++ b/src/Domain/Repository/EventRepository.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Repository; +namespace App\Domain\Repository; -use Adshares\AdPay\Domain\Exception\InvalidDataException; -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Domain\Exception\InvalidDataException; +use App\Domain\Model\EventCollection; +use App\Domain\ValueObject\EventType; use DateTimeInterface; interface EventRepository diff --git a/src/Domain/Repository/PaymentReportRepository.php b/src/Domain/Repository/PaymentReportRepository.php index b9cf4ba4..76ee18bb 100644 --- a/src/Domain/Repository/PaymentReportRepository.php +++ b/src/Domain/Repository/PaymentReportRepository.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Repository; +namespace App\Domain\Repository; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Model\PaymentReportCollection; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +use App\Domain\Model\PaymentReport; +use App\Domain\Model\PaymentReportCollection; +use App\Domain\ValueObject\PaymentReportStatus; use DateTimeInterface; interface PaymentReportRepository diff --git a/src/Domain/Repository/PaymentRepository.php b/src/Domain/Repository/PaymentRepository.php index 1da8ee53..0e01c63e 100644 --- a/src/Domain/Repository/PaymentRepository.php +++ b/src/Domain/Repository/PaymentRepository.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Repository; +namespace App\Domain\Repository; interface PaymentRepository { diff --git a/src/Domain/Service/PaymentCalculator.php b/src/Domain/Service/PaymentCalculator.php index d62c01d8..ba63c17a 100644 --- a/src/Domain/Service/PaymentCalculator.php +++ b/src/Domain/Service/PaymentCalculator.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Service; - -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\Model\BidStrategy; -use Adshares\AdPay\Domain\Model\BidStrategyCollection; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\CampaignCollection; -use Adshares\AdPay\Domain\Model\CampaignCost; -use Adshares\AdPay\Domain\Model\Conversion; -use Adshares\AdPay\Domain\Model\CampaignCostCollection; -use Adshares\AdPay\Domain\Repository\CampaignCostRepository; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\PaymentCalculatorConfig; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; -use Adshares\AdPay\Lib\DateTimeHelper; +namespace App\Domain\Service; + +use App\Domain\Model\Banner; +use App\Domain\Model\BidStrategy; +use App\Domain\Model\BidStrategyCollection; +use App\Domain\Model\Campaign; +use App\Domain\Model\CampaignCollection; +use App\Domain\Model\CampaignCost; +use App\Domain\Model\Conversion; +use App\Domain\Model\CampaignCostCollection; +use App\Domain\Repository\CampaignCostRepository; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\PaymentCalculatorConfig; +use App\Domain\ValueObject\PaymentStatus; +use App\Lib\DateTimeHelper; class PaymentCalculator { diff --git a/src/Domain/Service/PaymentCalculatorFactory.php b/src/Domain/Service/PaymentCalculatorFactory.php index e6a95280..d7cd561d 100644 --- a/src/Domain/Service/PaymentCalculatorFactory.php +++ b/src/Domain/Service/PaymentCalculatorFactory.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\Service; +namespace App\Domain\Service; -use Adshares\AdPay\Domain\Repository\BidStrategyRepository; -use Adshares\AdPay\Domain\Repository\CampaignRepository; -use Adshares\AdPay\Domain\Repository\CampaignCostRepository; -use Adshares\AdPay\Domain\ValueObject\PaymentCalculatorConfig; +use App\Domain\Repository\BidStrategyRepository; +use App\Domain\Repository\CampaignRepository; +use App\Domain\Repository\CampaignCostRepository; +use App\Domain\ValueObject\PaymentCalculatorConfig; class PaymentCalculatorFactory { diff --git a/src/Domain/ValueObject/BannerType.php b/src/Domain/ValueObject/BannerType.php index 3f92257b..c3669a0e 100644 --- a/src/Domain/ValueObject/BannerType.php +++ b/src/Domain/ValueObject/BannerType.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; final class BannerType { diff --git a/src/Domain/ValueObject/Budget.php b/src/Domain/ValueObject/Budget.php index 812ae788..ad1ac910 100644 --- a/src/Domain/ValueObject/Budget.php +++ b/src/Domain/ValueObject/Budget.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; class Budget { diff --git a/src/Domain/ValueObject/Context.php b/src/Domain/ValueObject/Context.php index d6a9d7f7..2572be46 100644 --- a/src/Domain/ValueObject/Context.php +++ b/src/Domain/ValueObject/Context.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; class Context { diff --git a/src/Domain/ValueObject/EventType.php b/src/Domain/ValueObject/EventType.php index c9abf6c8..44e25ca1 100644 --- a/src/Domain/ValueObject/EventType.php +++ b/src/Domain/ValueObject/EventType.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; final class EventType { diff --git a/src/Domain/ValueObject/Id.php b/src/Domain/ValueObject/Id.php index 085383c2..ebce1028 100644 --- a/src/Domain/ValueObject/Id.php +++ b/src/Domain/ValueObject/Id.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; use function preg_match; diff --git a/src/Domain/ValueObject/IdCollection.php b/src/Domain/ValueObject/IdCollection.php index 8f9376cd..eada12c4 100644 --- a/src/Domain/ValueObject/IdCollection.php +++ b/src/Domain/ValueObject/IdCollection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; use Doctrine\Common\Collections\ArrayCollection; diff --git a/src/Domain/ValueObject/LimitType.php b/src/Domain/ValueObject/LimitType.php index 52dc5f26..dd03d234 100644 --- a/src/Domain/ValueObject/LimitType.php +++ b/src/Domain/ValueObject/LimitType.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; final class LimitType { diff --git a/src/Domain/ValueObject/PaymentCalculatorConfig.php b/src/Domain/ValueObject/PaymentCalculatorConfig.php index ef0326f8..cd10dacb 100644 --- a/src/Domain/ValueObject/PaymentCalculatorConfig.php +++ b/src/Domain/ValueObject/PaymentCalculatorConfig.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; final class PaymentCalculatorConfig { diff --git a/src/Domain/ValueObject/PaymentReportStatus.php b/src/Domain/ValueObject/PaymentReportStatus.php index e6725a89..66da4541 100644 --- a/src/Domain/ValueObject/PaymentReportStatus.php +++ b/src/Domain/ValueObject/PaymentReportStatus.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; final class PaymentReportStatus { diff --git a/src/Domain/ValueObject/PaymentStatus.php b/src/Domain/ValueObject/PaymentStatus.php index 59b8846f..96224c68 100644 --- a/src/Domain/ValueObject/PaymentStatus.php +++ b/src/Domain/ValueObject/PaymentStatus.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Domain\ValueObject; +namespace App\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; final class PaymentStatus { diff --git a/src/Infrastructure/Mapper/BannerMapper.php b/src/Infrastructure/Mapper/BannerMapper.php index ae50f38a..a0a0563f 100644 --- a/src/Infrastructure/Mapper/BannerMapper.php +++ b/src/Infrastructure/Mapper/BannerMapper.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\ValueObject\BannerType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\Banner; +use App\Domain\ValueObject\BannerType; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use Doctrine\DBAL\Types\Types; class BannerMapper diff --git a/src/Infrastructure/Mapper/BidStrategyMapper.php b/src/Infrastructure/Mapper/BidStrategyMapper.php index 82b7b0f1..397c602b 100644 --- a/src/Infrastructure/Mapper/BidStrategyMapper.php +++ b/src/Infrastructure/Mapper/BidStrategyMapper.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\Model\BidStrategy; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\BidStrategy; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use Doctrine\DBAL\Types\Types; class BidStrategyMapper diff --git a/src/Infrastructure/Mapper/CampaignCostMapper.php b/src/Infrastructure/Mapper/CampaignCostMapper.php index 6c28c5b3..6fd6f702 100644 --- a/src/Infrastructure/Mapper/CampaignCostMapper.php +++ b/src/Infrastructure/Mapper/CampaignCostMapper.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\Model\CampaignCost; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Model\CampaignCost; +use App\Domain\ValueObject\Id; use Doctrine\DBAL\Types\Types; class CampaignCostMapper diff --git a/src/Infrastructure/Mapper/CampaignMapper.php b/src/Infrastructure/Mapper/CampaignMapper.php index 4e386efe..aee6170e 100644 --- a/src/Infrastructure/Mapper/CampaignMapper.php +++ b/src/Infrastructure/Mapper/CampaignMapper.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\Model\BannerCollection; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\ConversionCollection; -use Adshares\AdPay\Domain\ValueObject\Budget; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\BannerCollection; +use App\Domain\Model\Campaign; +use App\Domain\Model\ConversionCollection; +use App\Domain\ValueObject\Budget; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use Doctrine\DBAL\Types\Types; class CampaignMapper diff --git a/src/Infrastructure/Mapper/ClickEventMapper.php b/src/Infrastructure/Mapper/ClickEventMapper.php index aa712635..7473b726 100644 --- a/src/Infrastructure/Mapper/ClickEventMapper.php +++ b/src/Infrastructure/Mapper/ClickEventMapper.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Domain\ValueObject\EventType; class ClickEventMapper extends EventMapper { diff --git a/src/Infrastructure/Mapper/ConversionEventMapper.php b/src/Infrastructure/Mapper/ConversionEventMapper.php index f9bc4517..6107d620 100644 --- a/src/Infrastructure/Mapper/ConversionEventMapper.php +++ b/src/Infrastructure/Mapper/ConversionEventMapper.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\Model\ConversionEvent; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Domain\Model\ConversionEvent; +use App\Domain\Model\Event; +use App\Domain\ValueObject\EventType; use Doctrine\DBAL\Types\Types; class ConversionEventMapper extends EventMapper diff --git a/src/Infrastructure/Mapper/ConversionMapper.php b/src/Infrastructure/Mapper/ConversionMapper.php index 06783a3c..d3d9c3b9 100644 --- a/src/Infrastructure/Mapper/ConversionMapper.php +++ b/src/Infrastructure/Mapper/ConversionMapper.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\Model\Conversion; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\LimitType; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\Conversion; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\LimitType; +use App\Lib\DateTimeHelper; use Doctrine\DBAL\Types\Types; class ConversionMapper diff --git a/src/Infrastructure/Mapper/EventMapper.php b/src/Infrastructure/Mapper/EventMapper.php index 64036b6a..c27f2c1f 100644 --- a/src/Infrastructure/Mapper/EventMapper.php +++ b/src/Infrastructure/Mapper/EventMapper.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\Model\Event; +use App\Domain\Model\Event; use Doctrine\DBAL\Types\Types; abstract class EventMapper diff --git a/src/Infrastructure/Mapper/PaymentMapper.php b/src/Infrastructure/Mapper/PaymentMapper.php index 5075f768..c3b78e94 100644 --- a/src/Infrastructure/Mapper/PaymentMapper.php +++ b/src/Infrastructure/Mapper/PaymentMapper.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; use Doctrine\DBAL\Types\Types; diff --git a/src/Infrastructure/Mapper/PaymentReportMapper.php b/src/Infrastructure/Mapper/PaymentReportMapper.php index 5144fbae..be211f52 100644 --- a/src/Infrastructure/Mapper/PaymentReportMapper.php +++ b/src/Infrastructure/Mapper/PaymentReportMapper.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +use App\Domain\Model\PaymentReport; +use App\Domain\ValueObject\PaymentReportStatus; use Doctrine\DBAL\Types\Types; class PaymentReportMapper diff --git a/src/Infrastructure/Mapper/ViewEventMapper.php b/src/Infrastructure/Mapper/ViewEventMapper.php index ac4ed6da..a2cc4938 100644 --- a/src/Infrastructure/Mapper/ViewEventMapper.php +++ b/src/Infrastructure/Mapper/ViewEventMapper.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Mapper; +namespace App\Infrastructure\Mapper; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Domain\ValueObject\EventType; class ViewEventMapper extends EventMapper { diff --git a/src/Infrastructure/Repository/DoctrineBidStrategyRepository.php b/src/Infrastructure/Repository/DoctrineBidStrategyRepository.php index 4f8269a7..836d15ff 100644 --- a/src/Infrastructure/Repository/DoctrineBidStrategyRepository.php +++ b/src/Infrastructure/Repository/DoctrineBidStrategyRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Repository; - -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\BidStrategy; -use Adshares\AdPay\Domain\Model\BidStrategyCollection; -use Adshares\AdPay\Domain\Repository\BidStrategyRepository; -use Adshares\AdPay\Domain\ValueObject\IdCollection; -use Adshares\AdPay\Infrastructure\Mapper\BidStrategyMapper; +namespace App\Infrastructure\Repository; + +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\BidStrategy; +use App\Domain\Model\BidStrategyCollection; +use App\Domain\Repository\BidStrategyRepository; +use App\Domain\ValueObject\IdCollection; +use App\Infrastructure\Mapper\BidStrategyMapper; use Doctrine\DBAL\Connection; use Doctrine\DBAL\Exception as DBALException; diff --git a/src/Infrastructure/Repository/DoctrineCampaignCostRepository.php b/src/Infrastructure/Repository/DoctrineCampaignCostRepository.php index 3aff7ad9..e88b79e5 100644 --- a/src/Infrastructure/Repository/DoctrineCampaignCostRepository.php +++ b/src/Infrastructure/Repository/DoctrineCampaignCostRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Repository; +namespace App\Infrastructure\Repository; -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\CampaignCost; -use Adshares\AdPay\Domain\Model\CampaignCostCollection; -use Adshares\AdPay\Domain\Repository\CampaignCostRepository; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Infrastructure\Mapper\CampaignCostMapper; +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\CampaignCost; +use App\Domain\Model\CampaignCostCollection; +use App\Domain\Repository\CampaignCostRepository; +use App\Domain\ValueObject\Id; +use App\Infrastructure\Mapper\CampaignCostMapper; use DateTimeInterface; use Doctrine\DBAL\Exception as DBALException; use Doctrine\DBAL\Types\Types; diff --git a/src/Infrastructure/Repository/DoctrineCampaignRepository.php b/src/Infrastructure/Repository/DoctrineCampaignRepository.php index 2efc9f62..ae197cfd 100644 --- a/src/Infrastructure/Repository/DoctrineCampaignRepository.php +++ b/src/Infrastructure/Repository/DoctrineCampaignRepository.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Repository; +namespace App\Infrastructure\Repository; -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\Model\BannerCollection; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\CampaignCollection; -use Adshares\AdPay\Domain\Model\Conversion; -use Adshares\AdPay\Domain\Model\ConversionCollection; -use Adshares\AdPay\Domain\Repository\CampaignRepository; -use Adshares\AdPay\Domain\ValueObject\IdCollection; -use Adshares\AdPay\Infrastructure\Mapper\BannerMapper; -use Adshares\AdPay\Infrastructure\Mapper\CampaignMapper; -use Adshares\AdPay\Infrastructure\Mapper\ConversionMapper; +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\Banner; +use App\Domain\Model\BannerCollection; +use App\Domain\Model\Campaign; +use App\Domain\Model\CampaignCollection; +use App\Domain\Model\Conversion; +use App\Domain\Model\ConversionCollection; +use App\Domain\Repository\CampaignRepository; +use App\Domain\ValueObject\IdCollection; +use App\Infrastructure\Mapper\BannerMapper; +use App\Infrastructure\Mapper\CampaignMapper; +use App\Infrastructure\Mapper\ConversionMapper; use Doctrine\DBAL\Exception as DBALException; final class DoctrineCampaignRepository extends DoctrineModelUpdater implements CampaignRepository diff --git a/src/Infrastructure/Repository/DoctrineEventRepository.php b/src/Infrastructure/Repository/DoctrineEventRepository.php index 7433c2af..e108c8c8 100644 --- a/src/Infrastructure/Repository/DoctrineEventRepository.php +++ b/src/Infrastructure/Repository/DoctrineEventRepository.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Repository; - -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Exception\InvalidDataException; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\Repository\EventRepository; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Infrastructure\Mapper\ClickEventMapper; -use Adshares\AdPay\Infrastructure\Mapper\ConversionEventMapper; -use Adshares\AdPay\Infrastructure\Mapper\EventMapper; -use Adshares\AdPay\Infrastructure\Mapper\ViewEventMapper; +namespace App\Infrastructure\Repository; + +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Exception\InvalidDataException; +use App\Domain\Model\Event; +use App\Domain\Model\EventCollection; +use App\Domain\Repository\EventRepository; +use App\Domain\ValueObject\EventType; +use App\Infrastructure\Mapper\ClickEventMapper; +use App\Infrastructure\Mapper\ConversionEventMapper; +use App\Infrastructure\Mapper\EventMapper; +use App\Infrastructure\Mapper\ViewEventMapper; use DateTimeInterface; use Doctrine\DBAL\Driver\Exception as DBALDriverException; use Doctrine\DBAL\Exception as DBALException; diff --git a/src/Infrastructure/Repository/DoctrineModelUpdater.php b/src/Infrastructure/Repository/DoctrineModelUpdater.php index 2c001a1a..c7a7ee7d 100644 --- a/src/Infrastructure/Repository/DoctrineModelUpdater.php +++ b/src/Infrastructure/Repository/DoctrineModelUpdater.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Repository; +namespace App\Infrastructure\Repository; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\ValueObject\Id; use Doctrine\DBAL\Connection; use Doctrine\DBAL\Exception as DBALException; use Doctrine\DBAL\ParameterType; diff --git a/src/Infrastructure/Repository/DoctrinePaymentReportRepository.php b/src/Infrastructure/Repository/DoctrinePaymentReportRepository.php index afc29f72..f2507d64 100644 --- a/src/Infrastructure/Repository/DoctrinePaymentReportRepository.php +++ b/src/Infrastructure/Repository/DoctrinePaymentReportRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Repository; +namespace App\Infrastructure\Repository; -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Model\PaymentReportCollection; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; -use Adshares\AdPay\Infrastructure\Mapper\PaymentReportMapper; +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\PaymentReport; +use App\Domain\Model\PaymentReportCollection; +use App\Domain\Repository\PaymentReportRepository; +use App\Domain\ValueObject\PaymentReportStatus; +use App\Infrastructure\Mapper\PaymentReportMapper; use DateTimeInterface; use Doctrine\DBAL\Connection; use Doctrine\DBAL\Exception as DBALException; diff --git a/src/Infrastructure/Repository/DoctrinePaymentRepository.php b/src/Infrastructure/Repository/DoctrinePaymentRepository.php index c026dee5..0a72c544 100644 --- a/src/Infrastructure/Repository/DoctrinePaymentRepository.php +++ b/src/Infrastructure/Repository/DoctrinePaymentRepository.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Infrastructure\Repository; +namespace App\Infrastructure\Repository; -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Repository\PaymentRepository; -use Adshares\AdPay\Infrastructure\Mapper\PaymentMapper; +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Repository\PaymentRepository; +use App\Infrastructure\Mapper\PaymentMapper; use Doctrine\DBAL\Driver\Exception as DBALDriverException; use Doctrine\DBAL\Exception as DBALException; diff --git a/src/Kernel.php b/src/Kernel.php index 8d289115..ad0fb480 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -2,39 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay; +namespace App; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; -use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use Symfony\Component\HttpKernel\Kernel as BaseKernel; -use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; class Kernel extends BaseKernel { use MicroKernelTrait; - - protected function configureContainer(ContainerConfigurator $container): void - { - $container->import('../config/{packages}/*.yaml'); - $container->import('../config/{packages}/' . $this->environment . '/*.yaml'); - - if (is_file(\dirname(__DIR__) . '/config/services.yaml')) { - $container->import('../config/services.yaml'); - $container->import('../config/{services}_' . $this->environment . '.yaml'); - } else { - $container->import('../config/{services}.php'); - } - } - - protected function configureRoutes(RoutingConfigurator $routes): void - { - $routes->import('../config/{routes}/' . $this->environment . '/*.yaml'); - $routes->import('../config/{routes}/*.yaml'); - - if (is_file(\dirname(__DIR__) . '/config/routes.yaml')) { - $routes->import('../config/routes.yaml'); - } else { - $routes->import('../config/{routes}.php'); - } - } } diff --git a/src/Lib/DateTimeHelper.php b/src/Lib/DateTimeHelper.php index bc57deae..c3c5e27d 100644 --- a/src/Lib/DateTimeHelper.php +++ b/src/Lib/DateTimeHelper.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Lib; +namespace App\Lib; -use Adshares\AdPay\Lib\Exception\DateTimeException; +use App\Lib\Exception\DateTimeException; use DateTimeImmutable; use RuntimeException; use Throwable; diff --git a/src/Lib/Exception/DateTimeException.php b/src/Lib/Exception/DateTimeException.php index 836cb361..c999c9e1 100644 --- a/src/Lib/Exception/DateTimeException.php +++ b/src/Lib/Exception/DateTimeException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Lib\Exception; +namespace App\Lib\Exception; use RuntimeException; diff --git a/src/Lib/InfoHelper.php b/src/Lib/InfoHelper.php index 9e0598ad..317271b1 100644 --- a/src/Lib/InfoHelper.php +++ b/src/Lib/InfoHelper.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Lib; +namespace App\Lib; final class InfoHelper { - /** @param array $data */ + /** @param array> $data */ public static function formatTxt(array $data): string { $response = ''; diff --git a/src/UI/Command/HistoryClearCommand.php b/src/UI/Command/HistoryClearCommand.php index 0e33e7c6..bea7ee30 100644 --- a/src/UI/Command/HistoryClearCommand.php +++ b/src/UI/Command/HistoryClearCommand.php @@ -2,11 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\UI\Command; +namespace App\UI\Command; -use Adshares\AdPay\Application\Command\EventDeleteCommand; -use Adshares\AdPay\Application\Command\ReportDeleteCommand; +use App\Application\Command\EventDeleteCommand; +use App\Application\Command\ReportDeleteCommand; +use DateInterval; use DateTimeImmutable; +use Exception; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\LockableTrait; use Symfony\Component\Console\Input\InputInterface; @@ -20,11 +22,9 @@ class HistoryClearCommand extends Command protected static $defaultName = 'ops:history:clear'; - /** @var ReportDeleteCommand */ - private $paymentReportDeleteCommand; + private ReportDeleteCommand $paymentReportDeleteCommand; - /** @var EventDeleteCommand */ - private $eventDeleteCommand; + private EventDeleteCommand $eventDeleteCommand; public function __construct( ReportDeleteCommand $paymentReportDeleteCommand, @@ -44,14 +44,14 @@ protected function configure() ->addOption('period', 'p', InputOption::VALUE_REQUIRED, 'Period to be remove', 'PT48H'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $io = new SymfonyStyle($input, $output); if (!$this->lock()) { $io->warning('The command is already running in another process.'); - return 1; + return self::FAILURE; } $period = $input->getOption('period'); @@ -61,14 +61,14 @@ protected function execute(InputInterface $input, OutputInterface $output) if ($before !== null) { $dateTo = new DateTimeImmutable((string)$before); } else { - $dateTo = (new DateTimeImmutable())->sub(new \DateInterval((string)$period)); + $dateTo = (new DateTimeImmutable())->sub(new DateInterval((string)$period)); $dateTo = $dateTo->setTime((int)$dateTo->format('H'), 0); } - } catch (\Exception $e) { + } catch (Exception $e) { $io->error($e->getMessage()); $this->release(); - return 1; + return self::FAILURE; } $io->comment(sprintf('Clearing payments and events older than %s', $dateTo->format('c'))); @@ -80,6 +80,6 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->release(); - return 0; + return self::SUCCESS; } } diff --git a/src/UI/Command/PaymentsCalculateCommand.php b/src/UI/Command/PaymentsCalculateCommand.php index f530697d..6ec1eb25 100644 --- a/src/UI/Command/PaymentsCalculateCommand.php +++ b/src/UI/Command/PaymentsCalculateCommand.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\UI\Command; +namespace App\UI\Command; -use Adshares\AdPay\Application\Command\ReportCalculateCommand; -use Adshares\AdPay\Application\Command\ReportFetchCommand; -use Adshares\AdPay\Application\Exception\FetchingException; -use Adshares\AdPay\Lib\DateTimeHelper; -use Adshares\AdPay\Lib\Exception\DateTimeException; +use App\Application\Command\ReportCalculateCommand; +use App\Application\Command\ReportFetchCommand; +use App\Application\Exception\FetchingException; +use App\Lib\DateTimeHelper; +use App\Lib\Exception\DateTimeException; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\LockableTrait; use Symfony\Component\Console\Input\InputArgument; @@ -45,14 +45,14 @@ protected function configure() ->addOption('force', 'f', InputOption::VALUE_NONE, 'Force calculation of incomplete report'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $io = new SymfonyStyle($input, $output); if (!$this->lock()) { $io->warning('The command is already running in another process.'); - return 1; + return self::FAILURE; } $date = $input->getArgument('date'); @@ -68,7 +68,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $io->error($exception->getMessage()); $this->release(); - return 1; + return self::FAILURE; } } @@ -77,7 +77,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->release(); - return 0; + return self::SUCCESS; } private function calculateAll(SymfonyStyle $io) diff --git a/src/UI/Controller/BidStrategyController.php b/src/UI/Controller/BidStrategyController.php index f6724b30..d5f80b7d 100644 --- a/src/UI/Controller/BidStrategyController.php +++ b/src/UI/Controller/BidStrategyController.php @@ -2,13 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\UI\Controller; - -use Adshares\AdPay\Application\Command\BidStrategyDeleteCommand; -use Adshares\AdPay\Application\Command\BidStrategyUpdateCommand; -use Adshares\AdPay\Application\DTO\BidStrategyDeleteDTO; -use Adshares\AdPay\Application\DTO\BidStrategyUpdateDTO; -use Adshares\AdPay\Application\Exception\ValidationException; +namespace App\UI\Controller; + +use App\Application\Command\BidStrategyDeleteCommand; +use App\Application\Command\BidStrategyUpdateCommand; +use App\Application\DTO\BidStrategyDeleteDTO; +use App\Application\DTO\BidStrategyUpdateDTO; +use App\Application\Exception\ValidationException; +use App\Domain\ValueObject\PaymentCalculatorConfig; use Psr\Log\LoggerInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; @@ -18,14 +19,11 @@ class BidStrategyController extends AbstractController { - /** @var BidStrategyUpdateCommand */ - private $updateCommand; + private BidStrategyUpdateCommand $updateCommand; - /** @var BidStrategyUpdateCommand */ - private $deleteCommand; + private BidStrategyDeleteCommand $deleteCommand; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( BidStrategyUpdateCommand $updateCommand, diff --git a/src/UI/Controller/CampaignController.php b/src/UI/Controller/CampaignController.php index 81f85c97..140df226 100644 --- a/src/UI/Controller/CampaignController.php +++ b/src/UI/Controller/CampaignController.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\UI\Controller; +namespace App\UI\Controller; -use Adshares\AdPay\Application\Command\CampaignDeleteCommand; -use Adshares\AdPay\Application\Command\CampaignUpdateCommand; -use Adshares\AdPay\Application\DTO\CampaignDeleteDTO; -use Adshares\AdPay\Application\DTO\CampaignUpdateDTO; -use Adshares\AdPay\Application\Exception\ValidationException; +use App\Application\Command\CampaignDeleteCommand; +use App\Application\Command\CampaignUpdateCommand; +use App\Application\DTO\CampaignDeleteDTO; +use App\Application\DTO\CampaignUpdateDTO; +use App\Application\Exception\ValidationException; use Psr\Log\LoggerInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; @@ -18,14 +18,11 @@ class CampaignController extends AbstractController { - /** @var CampaignUpdateCommand */ - private $updateCommand; + private CampaignUpdateCommand $updateCommand; - /** @var CampaignDeleteCommand */ - private $deleteCommand; + private CampaignDeleteCommand $deleteCommand; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( CampaignUpdateCommand $updateCommand, diff --git a/src/UI/Controller/EventController.php b/src/UI/Controller/EventController.php index f2962383..ef894ed4 100644 --- a/src/UI/Controller/EventController.php +++ b/src/UI/Controller/EventController.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\UI\Controller; - -use Adshares\AdPay\Application\Command\EventUpdateCommand; -use Adshares\AdPay\Application\DTO\ClickEventUpdateDTO; -use Adshares\AdPay\Application\DTO\ConversionEventUpdateDTO; -use Adshares\AdPay\Application\DTO\EventUpdateDTO; -use Adshares\AdPay\Application\DTO\ViewEventUpdateDTO; -use Adshares\AdPay\Application\Exception\ValidationException; +namespace App\UI\Controller; + +use App\Application\Command\EventUpdateCommand; +use App\Application\DTO\ClickEventUpdateDTO; +use App\Application\DTO\ConversionEventUpdateDTO; +use App\Application\DTO\EventUpdateDTO; +use App\Application\DTO\ViewEventUpdateDTO; +use App\Application\Exception\ValidationException; use Psr\Log\LoggerInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; @@ -19,11 +19,9 @@ class EventController extends AbstractController { - /** @var EventUpdateCommand */ - private $eventUpdateCommand; + private EventUpdateCommand $eventUpdateCommand; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct(EventUpdateCommand $eventUpdateCommand, LoggerInterface $logger) { diff --git a/src/UI/Controller/InfoController.php b/src/UI/Controller/InfoController.php index f3aec29e..f77988ab 100644 --- a/src/UI/Controller/InfoController.php +++ b/src/UI/Controller/InfoController.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\UI\Controller; +namespace App\UI\Controller; -use Adshares\AdPay\Lib\InfoHelper; +use App\Lib\InfoHelper; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; diff --git a/src/UI/Controller/PaymentController.php b/src/UI/Controller/PaymentController.php index cbec746d..cf223636 100644 --- a/src/UI/Controller/PaymentController.php +++ b/src/UI/Controller/PaymentController.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\UI\Controller; +namespace App\UI\Controller; -use Adshares\AdPay\Application\Command\PaymentFetchCommand; -use Adshares\AdPay\Application\Command\ReportCalculateCommand; -use Adshares\AdPay\Application\Exception\FetchingException; +use App\Application\Command\PaymentFetchCommand; +use App\Application\Command\ReportCalculateCommand; +use App\Application\Exception\FetchingException; use Psr\Log\LoggerInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; @@ -19,14 +19,11 @@ class PaymentController extends AbstractController { public const MAX_LIMIT = 100000; - /** @var PaymentFetchCommand */ - private $paymentFetchCommand; + private PaymentFetchCommand $paymentFetchCommand; - /** @var ReportCalculateCommand */ - private $paymentCalculateCommand; + private ReportCalculateCommand $paymentCalculateCommand; - /** @var LoggerInterface */ - private $logger; + private LoggerInterface $logger; public function __construct( PaymentFetchCommand $paymentFetchCommand, diff --git a/symfony.lock b/symfony.lock index e132cae1..2ddc4af2 100644 --- a/symfony.lock +++ b/symfony.lock @@ -42,17 +42,15 @@ "version": "v0.5.3" }, "doctrine/doctrine-bundle": { - "version": "2.5", + "version": "2.7", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", + "branch": "main", "version": "2.4", - "ref": "f98f1affe028f8153a459d15f220ada3826b5aa2" + "ref": "ddddd8249dd55bbda16fa7a45bb7499ef6f8e90e" }, "files": [ "config/packages/doctrine.yaml", - "config/packages/prod/doctrine.yaml", - "config/packages/test/doctrine.yaml", "src/Entity/.gitignore", "src/Repository/.gitignore" ] @@ -307,15 +305,15 @@ "version": "v4.3.4" }, "symfony/debug-bundle": { - "version": "4.1", + "version": "5.4", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", - "version": "4.1", - "ref": "0ce7a032d344fb7b661cd25d31914cd703ad445b" + "branch": "main", + "version": "5.3", + "ref": "5aa8aa48234c8eb6dbdd7b3cd5d791485d2cec4b" }, "files": [ - "config/packages/dev/debug.yaml" + "config/packages/debug.yaml" ] }, "symfony/dependency-injection": { @@ -349,24 +347,24 @@ "version": "v4.3.4" }, "symfony/flex": { - "version": "1.0", + "version": "1.19", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", + "branch": "main", "version": "1.0", - "ref": "c0eeb50665f0f77226616b6038a9b06c03752d8e" + "ref": "146251ae39e06a95be0fe3d13c807bcf3938b172" }, "files": [ ".env" ] }, "symfony/framework-bundle": { - "version": "5.3", + "version": "5.4", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", - "version": "5.3", - "ref": "414ba00ad43fa71be42c7906a551f1831716b03c" + "branch": "main", + "version": "5.4", + "ref": "3cd216a4d007b78d8554d44a5b1c0a446dab24fb" }, "files": [ "config/packages/cache.yaml", @@ -382,9 +380,6 @@ "symfony/http-client": { "version": "v4.3.4" }, - "symfony/http-client-contracts": { - "version": "v1.1.6" - }, "symfony/http-foundation": { "version": "v4.3.4" }, @@ -416,18 +411,15 @@ "version": "v4.3.4" }, "symfony/monolog-bundle": { - "version": "3.7", + "version": "3.8", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", + "branch": "main", "version": "3.7", - "ref": "a7bace7dbc5a7ed5608dbe2165e0774c87175fe6" + "ref": "213676c4ec929f046dfde5ea8e97625b81bc0578" }, "files": [ - "config/packages/dev/monolog.yaml", - "config/packages/prod/deprecations.yaml", - "config/packages/prod/monolog.yaml", - "config/packages/test/monolog.yaml" + "config/packages/monolog.yaml" ] }, "symfony/phpunit-bridge": { @@ -470,12 +462,12 @@ "version": "v5.3.0" }, "symfony/routing": { - "version": "5.3", + "version": "5.4", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", + "branch": "main", "version": "5.3", - "ref": "44633353926a0382d7dfb0530922c5c0b30fae11" + "ref": "85de1d8ae45b284c3c84b668171d2615049e698f" }, "files": [ "config/packages/routing.yaml", diff --git a/tests/Application/Command/BidStrategyDeleteCommandTest.php b/tests/Application/Command/BidStrategyDeleteCommandTest.php index f5a9316d..4d31e394 100644 --- a/tests/Application/Command/BidStrategyDeleteCommandTest.php +++ b/tests/Application/Command/BidStrategyDeleteCommandTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; +namespace App\Tests\Application\Command; -use Adshares\AdPay\Application\Command\BidStrategyDeleteCommand; -use Adshares\AdPay\Application\DTO\BidStrategyDeleteDTO; -use Adshares\AdPay\Domain\Repository\BidStrategyRepository; +use App\Application\Command\BidStrategyDeleteCommand; +use App\Application\DTO\BidStrategyDeleteDTO; +use App\Domain\Repository\BidStrategyRepository; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/BidStrategyUpdateCommandTest.php b/tests/Application/Command/BidStrategyUpdateCommandTest.php index 856e4c53..3ae47b17 100644 --- a/tests/Application/Command/BidStrategyUpdateCommandTest.php +++ b/tests/Application/Command/BidStrategyUpdateCommandTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; +namespace App\Tests\Application\Command; -use Adshares\AdPay\Application\Command\BidStrategyUpdateCommand; -use Adshares\AdPay\Application\DTO\BidStrategyUpdateDTO; -use Adshares\AdPay\Domain\Repository\BidStrategyRepository; +use App\Application\Command\BidStrategyUpdateCommand; +use App\Application\DTO\BidStrategyUpdateDTO; +use App\Domain\Repository\BidStrategyRepository; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/CampaignDeleteCommandTest.php b/tests/Application/Command/CampaignDeleteCommandTest.php index 90d67c07..7d6d1ff6 100644 --- a/tests/Application/Command/CampaignDeleteCommandTest.php +++ b/tests/Application/Command/CampaignDeleteCommandTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; +namespace App\Tests\Application\Command; -use Adshares\AdPay\Application\Command\CampaignDeleteCommand; -use Adshares\AdPay\Application\DTO\CampaignDeleteDTO; -use Adshares\AdPay\Domain\Repository\CampaignRepository; +use App\Application\Command\CampaignDeleteCommand; +use App\Application\DTO\CampaignDeleteDTO; +use App\Domain\Repository\CampaignRepository; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/CampaignUpdateCommandTest.php b/tests/Application/Command/CampaignUpdateCommandTest.php index 740bb6ff..256b4473 100644 --- a/tests/Application/Command/CampaignUpdateCommandTest.php +++ b/tests/Application/Command/CampaignUpdateCommandTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; +namespace App\Tests\Application\Command; -use Adshares\AdPay\Application\Command\CampaignUpdateCommand; -use Adshares\AdPay\Application\DTO\CampaignUpdateDTO; -use Adshares\AdPay\Domain\Repository\CampaignRepository; +use App\Application\Command\CampaignUpdateCommand; +use App\Application\DTO\CampaignUpdateDTO; +use App\Domain\Repository\CampaignRepository; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/EventDeleteCommandTest.php b/tests/Application/Command/EventDeleteCommandTest.php index 88f365d4..e502283f 100644 --- a/tests/Application/Command/EventDeleteCommandTest.php +++ b/tests/Application/Command/EventDeleteCommandTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; +namespace App\Tests\Application\Command; -use Adshares\AdPay\Application\Command\EventDeleteCommand; -use Adshares\AdPay\Domain\Repository\EventRepository; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Application\Command\EventDeleteCommand; +use App\Domain\Repository\EventRepository; +use App\Domain\ValueObject\EventType; use DateTime; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/EventUpdateCommandTest.php b/tests/Application/Command/EventUpdateCommandTest.php index ccf723fc..1bc560b6 100644 --- a/tests/Application/Command/EventUpdateCommandTest.php +++ b/tests/Application/Command/EventUpdateCommandTest.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; - -use Adshares\AdPay\Application\Command\EventUpdateCommand; -use Adshares\AdPay\Application\DTO\ClickEventUpdateDTO; -use Adshares\AdPay\Application\DTO\ViewEventUpdateDTO; -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Exception\InvalidDataException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Repository\EventRepository; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +namespace App\Tests\Application\Command; + +use App\Application\Command\EventUpdateCommand; +use App\Application\DTO\ClickEventUpdateDTO; +use App\Application\DTO\ViewEventUpdateDTO; +use App\Application\Exception\ValidationException; +use App\Domain\Exception\InvalidDataException; +use App\Domain\Model\PaymentReport; +use App\Domain\Repository\EventRepository; +use App\Domain\Repository\PaymentReportRepository; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\PaymentReportStatus; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/PaymentFetchCommandTest.php b/tests/Application/Command/PaymentFetchCommandTest.php index f8f25a84..73e7b56c 100644 --- a/tests/Application/Command/PaymentFetchCommandTest.php +++ b/tests/Application/Command/PaymentFetchCommandTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; - -use Adshares\AdPay\Application\Command\PaymentFetchCommand; -use Adshares\AdPay\Application\Exception\FetchingException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; -use Adshares\AdPay\Domain\Repository\PaymentRepository; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +namespace App\Tests\Application\Command; + +use App\Application\Command\PaymentFetchCommand; +use App\Application\Exception\FetchingException; +use App\Domain\Model\PaymentReport; +use App\Domain\Repository\PaymentReportRepository; +use App\Domain\Repository\PaymentRepository; +use App\Domain\ValueObject\PaymentReportStatus; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/ReportCalculateCommandTest.php b/tests/Application/Command/ReportCalculateCommandTest.php index 2acb6eb8..3e3c1080 100644 --- a/tests/Application/Command/ReportCalculateCommandTest.php +++ b/tests/Application/Command/ReportCalculateCommandTest.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; - -use Adshares\AdPay\Application\Command\ReportCalculateCommand; -use Adshares\AdPay\Application\Exception\FetchingException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Repository\EventRepository; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; -use Adshares\AdPay\Domain\Repository\PaymentRepository; -use Adshares\AdPay\Domain\Service\PaymentCalculator; -use Adshares\AdPay\Domain\Service\PaymentCalculatorFactory; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; +namespace App\Tests\Application\Command; + +use App\Application\Command\ReportCalculateCommand; +use App\Application\Exception\FetchingException; +use App\Domain\Model\PaymentReport; +use App\Domain\Repository\EventRepository; +use App\Domain\Repository\PaymentReportRepository; +use App\Domain\Repository\PaymentRepository; +use App\Domain\Service\PaymentCalculator; +use App\Domain\Service\PaymentCalculatorFactory; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\PaymentReportStatus; +use App\Domain\ValueObject\PaymentStatus; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/ReportDeleteCommandTest.php b/tests/Application/Command/ReportDeleteCommandTest.php index 702cc4e5..deb3e31f 100644 --- a/tests/Application/Command/ReportDeleteCommandTest.php +++ b/tests/Application/Command/ReportDeleteCommandTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; +namespace App\Tests\Application\Command; -use Adshares\AdPay\Application\Command\ReportDeleteCommand; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; +use App\Application\Command\ReportDeleteCommand; +use App\Domain\Repository\PaymentReportRepository; use DateTime; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/Command/ReportFetchCommandTest.php b/tests/Application/Command/ReportFetchCommandTest.php index b2d787dc..25a4e46e 100644 --- a/tests/Application/Command/ReportFetchCommandTest.php +++ b/tests/Application/Command/ReportFetchCommandTest.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\Command; +namespace App\Tests\Application\Command; -use Adshares\AdPay\Application\Command\ReportFetchCommand; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Model\PaymentReportCollection; -use Adshares\AdPay\Domain\Repository\PaymentReportRepository; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +use App\Application\Command\ReportFetchCommand; +use App\Domain\Model\PaymentReport; +use App\Domain\Model\PaymentReportCollection; +use App\Domain\Repository\PaymentReportRepository; +use App\Domain\ValueObject\PaymentReportStatus; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; diff --git a/tests/Application/DTO/BidStrategyDeleteDTOTest.php b/tests/Application/DTO/BidStrategyDeleteDTOTest.php index ad9dadfb..d978a8b5 100644 --- a/tests/Application/DTO/BidStrategyDeleteDTOTest.php +++ b/tests/Application/DTO/BidStrategyDeleteDTOTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\BidStrategyDeleteDTO; -use Adshares\AdPay\Application\Exception\ValidationException; +use App\Application\DTO\BidStrategyDeleteDTO; +use App\Application\Exception\ValidationException; use PHPUnit\Framework\TestCase; final class BidStrategyDeleteDTOTest extends TestCase diff --git a/tests/Application/DTO/BidStrategyUpdateDTOTest.php b/tests/Application/DTO/BidStrategyUpdateDTOTest.php index 7c154ac0..2a2e871c 100644 --- a/tests/Application/DTO/BidStrategyUpdateDTOTest.php +++ b/tests/Application/DTO/BidStrategyUpdateDTOTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\BidStrategyUpdateDTO; -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Model\BidStrategy; +use App\Application\DTO\BidStrategyUpdateDTO; +use App\Application\Exception\ValidationException; +use App\Domain\Model\BidStrategy; use PHPUnit\Framework\TestCase; final class BidStrategyUpdateDTOTest extends TestCase diff --git a/tests/Application/DTO/CampaignDeleteDTOTest.php b/tests/Application/DTO/CampaignDeleteDTOTest.php index 7e24384b..eaf83c52 100644 --- a/tests/Application/DTO/CampaignDeleteDTOTest.php +++ b/tests/Application/DTO/CampaignDeleteDTOTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\CampaignDeleteDTO; -use Adshares\AdPay\Application\Exception\ValidationException; +use App\Application\DTO\CampaignDeleteDTO; +use App\Application\Exception\ValidationException; use PHPUnit\Framework\TestCase; final class CampaignDeleteDTOTest extends TestCase diff --git a/tests/Application/DTO/CampaignUpdateDTOTest.php b/tests/Application/DTO/CampaignUpdateDTOTest.php index b2e28a62..1ae0b2a8 100644 --- a/tests/Application/DTO/CampaignUpdateDTOTest.php +++ b/tests/Application/DTO/CampaignUpdateDTOTest.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\CampaignUpdateDTO; -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\Conversion; +use App\Application\DTO\CampaignUpdateDTO; +use App\Application\Exception\ValidationException; +use App\Domain\Model\Banner; +use App\Domain\Model\Campaign; +use App\Domain\Model\Conversion; use DateTime; use PHPUnit\Framework\TestCase; diff --git a/tests/Application/DTO/ClickEventUpdateDTOTest.php b/tests/Application/DTO/ClickEventUpdateDTOTest.php index 9ace30d6..aaffb56d 100644 --- a/tests/Application/DTO/ClickEventUpdateDTOTest.php +++ b/tests/Application/DTO/ClickEventUpdateDTOTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\EventUpdateDTO; -use Adshares\AdPay\Application\DTO\ClickEventUpdateDTO; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Application\DTO\EventUpdateDTO; +use App\Application\DTO\ClickEventUpdateDTO; +use App\Domain\ValueObject\EventType; final class ClickEventUpdateDTOTest extends EventUpdateDTOTest { diff --git a/tests/Application/DTO/ConversionEventUpdateDTOTest.php b/tests/Application/DTO/ConversionEventUpdateDTOTest.php index b174ad71..5bd5e68e 100644 --- a/tests/Application/DTO/ConversionEventUpdateDTOTest.php +++ b/tests/Application/DTO/ConversionEventUpdateDTOTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\ConversionEventUpdateDTO; -use Adshares\AdPay\Application\DTO\EventUpdateDTO; -use Adshares\AdPay\Domain\Model\ConversionEvent; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Application\DTO\ConversionEventUpdateDTO; +use App\Application\DTO\EventUpdateDTO; +use App\Domain\Model\ConversionEvent; +use App\Domain\ValueObject\EventType; final class ConversionEventUpdateDTOTest extends EventUpdateDTOTest { diff --git a/tests/Application/DTO/EventUpdateDTOTest.php b/tests/Application/DTO/EventUpdateDTOTest.php index 7b0be6fe..95072673 100644 --- a/tests/Application/DTO/EventUpdateDTOTest.php +++ b/tests/Application/DTO/EventUpdateDTOTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\EventUpdateDTO; -use Adshares\AdPay\Application\Exception\ValidationException; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Application\DTO\EventUpdateDTO; +use App\Application\Exception\ValidationException; +use App\Domain\Model\Event; +use App\Domain\ValueObject\EventType; use PHPUnit\Framework\TestCase; abstract class EventUpdateDTOTest extends TestCase diff --git a/tests/Application/DTO/PaymentFetchDTOTest.php b/tests/Application/DTO/PaymentFetchDTOTest.php index 5a4e4393..68f56d89 100644 --- a/tests/Application/DTO/PaymentFetchDTOTest.php +++ b/tests/Application/DTO/PaymentFetchDTOTest.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\PaymentFetchDTO; +use App\Application\DTO\PaymentFetchDTO; use PHPUnit\Framework\TestCase; final class PaymentFetchDTOTest extends TestCase diff --git a/tests/Application/DTO/PaymentReportFetchDTOTest.php b/tests/Application/DTO/PaymentReportFetchDTOTest.php index 110a560e..84033672 100644 --- a/tests/Application/DTO/PaymentReportFetchDTOTest.php +++ b/tests/Application/DTO/PaymentReportFetchDTOTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\PaymentReportFetchDTO; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Model\PaymentReportCollection; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +use App\Application\DTO\PaymentReportFetchDTO; +use App\Domain\Model\PaymentReport; +use App\Domain\Model\PaymentReportCollection; +use App\Domain\ValueObject\PaymentReportStatus; use PHPUnit\Framework\TestCase; final class PaymentReportFetchDTOTest extends TestCase diff --git a/tests/Application/DTO/ViewEventUpdateDTOTest.php b/tests/Application/DTO/ViewEventUpdateDTOTest.php index 456a9a74..5d36dfb4 100644 --- a/tests/Application/DTO/ViewEventUpdateDTOTest.php +++ b/tests/Application/DTO/ViewEventUpdateDTOTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Application\DTO; +namespace App\Tests\Application\DTO; -use Adshares\AdPay\Application\DTO\EventUpdateDTO; -use Adshares\AdPay\Application\DTO\ViewEventUpdateDTO; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Application\DTO\EventUpdateDTO; +use App\Application\DTO\ViewEventUpdateDTO; +use App\Domain\ValueObject\EventType; final class ViewEventUpdateDTOTest extends EventUpdateDTOTest { diff --git a/tests/Domain/Exception/InvalidArgumentExceptionTest.php b/tests/Domain/Exception/InvalidArgumentExceptionTest.php index dc9fcec7..f990647a 100644 --- a/tests/Domain/Exception/InvalidArgumentExceptionTest.php +++ b/tests/Domain/Exception/InvalidArgumentExceptionTest.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Exception; +namespace App\Tests\Domain\Exception; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; +use App\Domain\Exception\InvalidArgumentException; use PHPUnit\Framework\TestCase; final class InvalidArgumentExceptionTest extends TestCase diff --git a/tests/Domain/Model/BannerCollectionTest.php b/tests/Domain/Model/BannerCollectionTest.php index f085c663..b97d85e8 100644 --- a/tests/Domain/Model/BannerCollectionTest.php +++ b/tests/Domain/Model/BannerCollectionTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\Model\BannerCollection; -use Adshares\AdPay\Domain\ValueObject\BannerType; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Model\Banner; +use App\Domain\Model\BannerCollection; +use App\Domain\ValueObject\BannerType; +use App\Domain\ValueObject\Id; use PHPUnit\Framework\TestCase; final class BannerCollectionTest extends TestCase diff --git a/tests/Domain/Model/BannerTest.php b/tests/Domain/Model/BannerTest.php index ba364c23..8df5be59 100644 --- a/tests/Domain/Model/BannerTest.php +++ b/tests/Domain/Model/BannerTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\ValueObject\BannerType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\Banner; +use App\Domain\ValueObject\BannerType; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use DateTimeInterface; use PHPUnit\Framework\TestCase; diff --git a/tests/Domain/Model/BidStrategyCollectionTest.php b/tests/Domain/Model/BidStrategyCollectionTest.php index faada6b6..921dc14f 100644 --- a/tests/Domain/Model/BidStrategyCollectionTest.php +++ b/tests/Domain/Model/BidStrategyCollectionTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\BidStrategy; -use Adshares\AdPay\Domain\Model\BidStrategyCollection; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Model\BidStrategy; +use App\Domain\Model\BidStrategyCollection; +use App\Domain\ValueObject\Id; use PHPUnit\Framework\TestCase; final class BidStrategyCollectionTest extends TestCase diff --git a/tests/Domain/Model/BidStrategyTest.php b/tests/Domain/Model/BidStrategyTest.php index 99e96d11..ec592bd8 100644 --- a/tests/Domain/Model/BidStrategyTest.php +++ b/tests/Domain/Model/BidStrategyTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\BidStrategy; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\BidStrategy; +use App\Domain\ValueObject\Id; use PHPUnit\Framework\TestCase; final class BidStrategyTest extends TestCase diff --git a/tests/Domain/Model/CampaignCollectionTest.php b/tests/Domain/Model/CampaignCollectionTest.php index 469568b2..964cb356 100644 --- a/tests/Domain/Model/CampaignCollectionTest.php +++ b/tests/Domain/Model/CampaignCollectionTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; - -use Adshares\AdPay\Domain\Model\BannerCollection; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\CampaignCollection; -use Adshares\AdPay\Domain\Model\ConversionCollection; -use Adshares\AdPay\Domain\ValueObject\Budget; -use Adshares\AdPay\Domain\ValueObject\Id; +namespace App\Tests\Domain\Model; + +use App\Domain\Model\BannerCollection; +use App\Domain\Model\Campaign; +use App\Domain\Model\CampaignCollection; +use App\Domain\Model\ConversionCollection; +use App\Domain\ValueObject\Budget; +use App\Domain\ValueObject\Id; use PHPUnit\Framework\TestCase; use DateTime; diff --git a/tests/Domain/Model/CampaignTest.php b/tests/Domain/Model/CampaignTest.php index 72347c43..f8e079d4 100644 --- a/tests/Domain/Model/CampaignTest.php +++ b/tests/Domain/Model/CampaignTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; - -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\BannerCollection; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\ConversionCollection; -use Adshares\AdPay\Domain\ValueObject\Budget; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +namespace App\Tests\Domain\Model; + +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\BannerCollection; +use App\Domain\Model\Campaign; +use App\Domain\Model\ConversionCollection; +use App\Domain\ValueObject\Budget; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use DateTime; use DateTimeInterface; use PHPUnit\Framework\TestCase; diff --git a/tests/Domain/Model/ClickEventTest.php b/tests/Domain/Model/ClickEventTest.php index 12b64d51..33e113cd 100644 --- a/tests/Domain/Model/ClickEventTest.php +++ b/tests/Domain/Model/ClickEventTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\ClickEvent; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\ClickEvent; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use DateTimeInterface; use PHPUnit\Framework\TestCase; diff --git a/tests/Domain/Model/ConversionCollectionTest.php b/tests/Domain/Model/ConversionCollectionTest.php index 87a8f3e0..4b394228 100644 --- a/tests/Domain/Model/ConversionCollectionTest.php +++ b/tests/Domain/Model/ConversionCollectionTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Conversion; -use Adshares\AdPay\Domain\Model\ConversionCollection; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\LimitType; +use App\Domain\Model\Conversion; +use App\Domain\Model\ConversionCollection; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\LimitType; use PHPUnit\Framework\TestCase; final class ConversionCollectionTest extends TestCase diff --git a/tests/Domain/Model/ConversionEventTest.php b/tests/Domain/Model/ConversionEventTest.php index aa38d7c5..e9a167ee 100644 --- a/tests/Domain/Model/ConversionEventTest.php +++ b/tests/Domain/Model/ConversionEventTest.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\ConversionEvent; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\ConversionEvent; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentStatus; +use App\Lib\DateTimeHelper; use DateTimeInterface; use PHPUnit\Framework\TestCase; diff --git a/tests/Domain/Model/ConversionTest.php b/tests/Domain/Model/ConversionTest.php index a87296e0..ec6e64c9 100644 --- a/tests/Domain/Model/ConversionTest.php +++ b/tests/Domain/Model/ConversionTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Conversion; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\LimitType; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\Conversion; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\LimitType; +use App\Lib\DateTimeHelper; use DateTimeInterface; use PHPUnit\Framework\TestCase; diff --git a/tests/Domain/Model/EventCollectionTest.php b/tests/Domain/Model/EventCollectionTest.php index 9c5929f9..3927683f 100644 --- a/tests/Domain/Model/EventCollectionTest.php +++ b/tests/Domain/Model/EventCollectionTest.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\Event; +use App\Domain\Model\EventCollection; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; use DateTime; use PHPUnit\Framework\TestCase; @@ -82,7 +82,7 @@ private function createEvent(int $id): Event { /* @var $mock Event */ $mock = $this->getMockForAbstractClass( - 'Adshares\AdPay\Domain\Model\Event', + Event::class, [ new Id('0000000000000000000000000000000' . (string)$id), EventType::createView(), diff --git a/tests/Domain/Model/EventTest.php b/tests/Domain/Model/EventTest.php index 34d908c4..655dfdfa 100644 --- a/tests/Domain/Model/EventTest.php +++ b/tests/Domain/Model/EventTest.php @@ -2,16 +2,15 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Event; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\Event; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use DateTimeInterface; use PHPUnit\Framework\TestCase; @@ -58,7 +57,7 @@ public function testInstanceOfEvent(): void /* @var $event Event */ $event = $this->getMockForAbstractClass( - 'Adshares\AdPay\Domain\Model\Event', + Event::class, [ new Id($eventId), EventType::createView(), @@ -102,7 +101,7 @@ public function testInstanceOfEvent(): void /* @var $event Event */ $event = $this->getMockForAbstractClass( - 'Adshares\AdPay\Domain\Model\Event', + Event::class, [ new Id($eventId), EventType::createView(), diff --git a/tests/Domain/Model/ImpressionCaseTest.php b/tests/Domain/Model/ImpressionCaseTest.php index 06f766de..28c7e4b9 100644 --- a/tests/Domain/Model/ImpressionCaseTest.php +++ b/tests/Domain/Model/ImpressionCaseTest.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\Id; +use App\Lib\DateTimeHelper; use PHPUnit\Framework\TestCase; final class ImpressionCaseTest extends TestCase diff --git a/tests/Domain/Model/ImpressionTest.php b/tests/Domain/Model/ImpressionTest.php index db52c1be..5cbc0e99 100644 --- a/tests/Domain/Model/ImpressionTest.php +++ b/tests/Domain/Model/ImpressionTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Model\Impression; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\Id; use PHPUnit\Framework\TestCase; final class ImpressionTest extends TestCase diff --git a/tests/Domain/Model/PaymentCollectionTest.php b/tests/Domain/Model/PaymentCollectionTest.php index 258ed885..ff70155a 100644 --- a/tests/Domain/Model/PaymentCollectionTest.php +++ b/tests/Domain/Model/PaymentCollectionTest.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Payment; -use Adshares\AdPay\Domain\Model\PaymentCollection; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; +use App\Domain\Model\Payment; +use App\Domain\Model\PaymentCollection; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentStatus; use PHPUnit\Framework\TestCase; final class PaymentCollectionTest extends TestCase diff --git a/tests/Domain/Model/PaymentReportCollectionTest.php b/tests/Domain/Model/PaymentReportCollectionTest.php index e879ddc0..a05749da 100644 --- a/tests/Domain/Model/PaymentReportCollectionTest.php +++ b/tests/Domain/Model/PaymentReportCollectionTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Model\PaymentReportCollection; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +use App\Domain\Model\PaymentReport; +use App\Domain\Model\PaymentReportCollection; +use App\Domain\ValueObject\PaymentReportStatus; use PHPUnit\Framework\TestCase; final class PaymentReportCollectionTest extends TestCase diff --git a/tests/Domain/Model/PaymentReportTest.php b/tests/Domain/Model/PaymentReportTest.php index 524f1e56..c755aae3 100644 --- a/tests/Domain/Model/PaymentReportTest.php +++ b/tests/Domain/Model/PaymentReportTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\PaymentReport; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\PaymentReportStatus; use PHPUnit\Framework\TestCase; final class PaymentReportTest extends TestCase diff --git a/tests/Domain/Model/PaymentTest.php b/tests/Domain/Model/PaymentTest.php index 131f1d21..b12207b1 100644 --- a/tests/Domain/Model/PaymentTest.php +++ b/tests/Domain/Model/PaymentTest.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\Model\Payment; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\Model\Payment; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentStatus; use PHPUnit\Framework\TestCase; final class PaymentTest extends TestCase diff --git a/tests/Domain/Model/ViewEventTest.php b/tests/Domain/Model/ViewEventTest.php index d1fe6c21..02f274a8 100644 --- a/tests/Domain/Model/ViewEventTest.php +++ b/tests/Domain/Model/ViewEventTest.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Model; +namespace App\Tests\Domain\Model; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\Model\ViewEvent; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; -use Adshares\AdPay\Lib\DateTimeHelper; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\Model\ViewEvent; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentStatus; +use App\Lib\DateTimeHelper; use DateTimeInterface; use PHPUnit\Framework\TestCase; diff --git a/tests/Domain/Service/PaymentCalculatorTest.php b/tests/Domain/Service/PaymentCalculatorTest.php index 1608fece..35769ac5 100644 --- a/tests/Domain/Service/PaymentCalculatorTest.php +++ b/tests/Domain/Service/PaymentCalculatorTest.php @@ -2,28 +2,28 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\Service; - -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\Model\BannerCollection; -use Adshares\AdPay\Domain\Model\BidStrategy; -use Adshares\AdPay\Domain\Model\BidStrategyCollection; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\CampaignCollection; -use Adshares\AdPay\Domain\Model\CampaignCost; -use Adshares\AdPay\Domain\Model\CampaignCostCollection; -use Adshares\AdPay\Domain\Model\Conversion; -use Adshares\AdPay\Domain\Model\ConversionCollection; -use Adshares\AdPay\Domain\Repository\CampaignCostRepository; -use Adshares\AdPay\Domain\Service\PaymentCalculator; -use Adshares\AdPay\Domain\ValueObject\BannerType; -use Adshares\AdPay\Domain\ValueObject\Budget; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\LimitType; -use Adshares\AdPay\Domain\ValueObject\PaymentCalculatorConfig; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; -use Adshares\AdPay\Lib\DateTimeHelper; +namespace App\Tests\Domain\Service; + +use App\Domain\Model\Banner; +use App\Domain\Model\BannerCollection; +use App\Domain\Model\BidStrategy; +use App\Domain\Model\BidStrategyCollection; +use App\Domain\Model\Campaign; +use App\Domain\Model\CampaignCollection; +use App\Domain\Model\CampaignCost; +use App\Domain\Model\CampaignCostCollection; +use App\Domain\Model\Conversion; +use App\Domain\Model\ConversionCollection; +use App\Domain\Repository\CampaignCostRepository; +use App\Domain\Service\PaymentCalculator; +use App\Domain\ValueObject\BannerType; +use App\Domain\ValueObject\Budget; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\LimitType; +use App\Domain\ValueObject\PaymentCalculatorConfig; +use App\Domain\ValueObject\PaymentStatus; +use App\Lib\DateTimeHelper; use DateTimeInterface; use PHPUnit\Framework\TestCase; diff --git a/tests/Domain/ValueObject/BannerTypeTest.php b/tests/Domain/ValueObject/BannerTypeTest.php index 204a2e5c..9369d610 100644 --- a/tests/Domain/ValueObject/BannerTypeTest.php +++ b/tests/Domain/ValueObject/BannerTypeTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\BannerType; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\BannerType; use PHPUnit\Framework\TestCase; final class BannerTypeTest extends TestCase diff --git a/tests/Domain/ValueObject/BudgetTest.php b/tests/Domain/ValueObject/BudgetTest.php index d41b92df..4b53f289 100644 --- a/tests/Domain/ValueObject/BudgetTest.php +++ b/tests/Domain/ValueObject/BudgetTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\Budget; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\Budget; use PHPUnit\Framework\TestCase; final class BudgetTest extends TestCase diff --git a/tests/Domain/ValueObject/ContextTest.php b/tests/Domain/ValueObject/ContextTest.php index da2a6088..29b7fe82 100644 --- a/tests/Domain/ValueObject/ContextTest.php +++ b/tests/Domain/ValueObject/ContextTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\Context; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\Context; use PHPUnit\Framework\TestCase; final class ContextTest extends TestCase diff --git a/tests/Domain/ValueObject/EventTypeTest.php b/tests/Domain/ValueObject/EventTypeTest.php index ac2f8c27..7f4c9ce0 100644 --- a/tests/Domain/ValueObject/EventTypeTest.php +++ b/tests/Domain/ValueObject/EventTypeTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\EventType; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\EventType; use PHPUnit\Framework\TestCase; final class EventTypeTest extends TestCase diff --git a/tests/Domain/ValueObject/IdCollectionTest.php b/tests/Domain/ValueObject/IdCollectionTest.php index f0a18700..13e31162 100644 --- a/tests/Domain/ValueObject/IdCollectionTest.php +++ b/tests/Domain/ValueObject/IdCollectionTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\IdCollection; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\IdCollection; use PHPUnit\Framework\TestCase; final class IdCollectionTest extends TestCase diff --git a/tests/Domain/ValueObject/IdTest.php b/tests/Domain/ValueObject/IdTest.php index c0bedf9c..06dc4ab2 100644 --- a/tests/Domain/ValueObject/IdTest.php +++ b/tests/Domain/ValueObject/IdTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\Id; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\Id; use PHPUnit\Framework\TestCase; final class IdTest extends TestCase diff --git a/tests/Domain/ValueObject/LimitTypeTest.php b/tests/Domain/ValueObject/LimitTypeTest.php index 52c47708..491bd0c5 100644 --- a/tests/Domain/ValueObject/LimitTypeTest.php +++ b/tests/Domain/ValueObject/LimitTypeTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\LimitType; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\LimitType; use PHPUnit\Framework\TestCase; final class LimitTypeTest extends TestCase diff --git a/tests/Domain/ValueObject/PaymentReportStatusTest.php b/tests/Domain/ValueObject/PaymentReportStatusTest.php index 1fa9b828..90959d7f 100644 --- a/tests/Domain/ValueObject/PaymentReportStatusTest.php +++ b/tests/Domain/ValueObject/PaymentReportStatusTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\PaymentReportStatus; use PHPUnit\Framework\TestCase; final class PaymentReportStatusTest extends TestCase diff --git a/tests/Domain/ValueObject/PaymentStatusTest.php b/tests/Domain/ValueObject/PaymentStatusTest.php index e31a5229..04063f32 100644 --- a/tests/Domain/ValueObject/PaymentStatusTest.php +++ b/tests/Domain/ValueObject/PaymentStatusTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Domain\ValueObject; +namespace App\Tests\Domain\ValueObject; -use Adshares\AdPay\Domain\Exception\InvalidArgumentException; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; +use App\Domain\Exception\InvalidArgumentException; +use App\Domain\ValueObject\PaymentStatus; use PHPUnit\Framework\TestCase; final class PaymentStatusTest extends TestCase diff --git a/tests/Infrastructure/Repository/DoctrineBidStrategyRepositoryTest.php b/tests/Infrastructure/Repository/DoctrineBidStrategyRepositoryTest.php index a55e4b5e..95e32036 100644 --- a/tests/Infrastructure/Repository/DoctrineBidStrategyRepositoryTest.php +++ b/tests/Infrastructure/Repository/DoctrineBidStrategyRepositoryTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Infrastructure\Repository; - -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\BidStrategy; -use Adshares\AdPay\Domain\Model\BidStrategyCollection; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\IdCollection; -use Adshares\AdPay\Infrastructure\Repository\DoctrineBidStrategyRepository; +namespace App\Tests\Infrastructure\Repository; + +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\BidStrategy; +use App\Domain\Model\BidStrategyCollection; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\IdCollection; +use App\Infrastructure\Repository\DoctrineBidStrategyRepository; use Psr\Log\NullLogger; final class DoctrineBidStrategyRepositoryTest extends RepositoryTestCase diff --git a/tests/Infrastructure/Repository/DoctrineCampaignCostRepositoryTest.php b/tests/Infrastructure/Repository/DoctrineCampaignCostRepositoryTest.php index 82b76e17..154e16f8 100644 --- a/tests/Infrastructure/Repository/DoctrineCampaignCostRepositoryTest.php +++ b/tests/Infrastructure/Repository/DoctrineCampaignCostRepositoryTest.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Infrastructure\Repository; +namespace App\Tests\Infrastructure\Repository; -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\CampaignCost; -use Adshares\AdPay\Domain\Model\CampaignCostCollection; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Infrastructure\Repository\DoctrineCampaignCostRepository; +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\CampaignCost; +use App\Domain\Model\CampaignCostCollection; +use App\Domain\ValueObject\Id; +use App\Infrastructure\Repository\DoctrineCampaignCostRepository; use DateTime; use Psr\Log\NullLogger; diff --git a/tests/Infrastructure/Repository/DoctrineCampaignRepositoryTest.php b/tests/Infrastructure/Repository/DoctrineCampaignRepositoryTest.php index de542bda..cf4e2836 100644 --- a/tests/Infrastructure/Repository/DoctrineCampaignRepositoryTest.php +++ b/tests/Infrastructure/Repository/DoctrineCampaignRepositoryTest.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Infrastructure\Repository; - -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\Banner; -use Adshares\AdPay\Domain\Model\BannerCollection; -use Adshares\AdPay\Domain\Model\Campaign; -use Adshares\AdPay\Domain\Model\CampaignCollection; -use Adshares\AdPay\Domain\Model\Conversion; -use Adshares\AdPay\Domain\Model\ConversionCollection; -use Adshares\AdPay\Domain\ValueObject\BannerType; -use Adshares\AdPay\Domain\ValueObject\Budget; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\IdCollection; -use Adshares\AdPay\Domain\ValueObject\LimitType; -use Adshares\AdPay\Infrastructure\Repository\DoctrineCampaignRepository; +namespace App\Tests\Infrastructure\Repository; + +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\Banner; +use App\Domain\Model\BannerCollection; +use App\Domain\Model\Campaign; +use App\Domain\Model\CampaignCollection; +use App\Domain\Model\Conversion; +use App\Domain\Model\ConversionCollection; +use App\Domain\ValueObject\BannerType; +use App\Domain\ValueObject\Budget; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\IdCollection; +use App\Domain\ValueObject\LimitType; +use App\Infrastructure\Repository\DoctrineCampaignRepository; use DateTime; use Psr\Log\NullLogger; diff --git a/tests/Infrastructure/Repository/DoctrineEventRepositoryTest.php b/tests/Infrastructure/Repository/DoctrineEventRepositoryTest.php index 1bb456f2..9f12c762 100644 --- a/tests/Infrastructure/Repository/DoctrineEventRepositoryTest.php +++ b/tests/Infrastructure/Repository/DoctrineEventRepositoryTest.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Infrastructure\Repository; - -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Exception\InvalidDataException; -use Adshares\AdPay\Domain\Model\ClickEvent; -use Adshares\AdPay\Domain\Model\ConversionEvent; -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\Model\ViewEvent; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentStatus; -use Adshares\AdPay\Infrastructure\Repository\DoctrineEventRepository; -use Adshares\AdPay\Lib\DateTimeHelper; +namespace App\Tests\Infrastructure\Repository; + +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Exception\InvalidDataException; +use App\Domain\Model\ClickEvent; +use App\Domain\Model\ConversionEvent; +use App\Domain\Model\EventCollection; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\Model\ViewEvent; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentStatus; +use App\Infrastructure\Repository\DoctrineEventRepository; +use App\Lib\DateTimeHelper; use DateTime; use Psr\Log\NullLogger; diff --git a/tests/Infrastructure/Repository/DoctrinePaymentReportRepositoryTest.php b/tests/Infrastructure/Repository/DoctrinePaymentReportRepositoryTest.php index 0cd3a11b..ffd2abc2 100644 --- a/tests/Infrastructure/Repository/DoctrinePaymentReportRepositoryTest.php +++ b/tests/Infrastructure/Repository/DoctrinePaymentReportRepositoryTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Infrastructure\Repository; - -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; -use Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository; -use Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentRepository; -use Adshares\AdPay\Lib\DateTimeHelper; +namespace App\Tests\Infrastructure\Repository; + +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\PaymentReport; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\PaymentReportStatus; +use App\Infrastructure\Repository\DoctrinePaymentReportRepository; +use App\Infrastructure\Repository\DoctrinePaymentRepository; +use App\Lib\DateTimeHelper; use DateTime; use Psr\Log\NullLogger; diff --git a/tests/Infrastructure/Repository/DoctrinePaymentRepositoryTest.php b/tests/Infrastructure/Repository/DoctrinePaymentRepositoryTest.php index 4c4a4118..8cb04ca2 100644 --- a/tests/Infrastructure/Repository/DoctrinePaymentRepositoryTest.php +++ b/tests/Infrastructure/Repository/DoctrinePaymentRepositoryTest.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Infrastructure\Repository; +namespace App\Tests\Infrastructure\Repository; -use Adshares\AdPay\Domain\Exception\DomainRepositoryException; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; -use Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository; -use Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentRepository; +use App\Domain\Exception\DomainRepositoryException; +use App\Domain\Model\PaymentReport; +use App\Domain\ValueObject\PaymentReportStatus; +use App\Infrastructure\Repository\DoctrinePaymentReportRepository; +use App\Infrastructure\Repository\DoctrinePaymentRepository; use Psr\Log\NullLogger; final class DoctrinePaymentRepositoryTest extends RepositoryTestCase diff --git a/tests/Infrastructure/Repository/RepositoryTestCase.php b/tests/Infrastructure/Repository/RepositoryTestCase.php index b647e1b3..830023f1 100644 --- a/tests/Infrastructure/Repository/RepositoryTestCase.php +++ b/tests/Infrastructure/Repository/RepositoryTestCase.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Infrastructure\Repository; +namespace App\Tests\Infrastructure\Repository; use Doctrine\DBAL\Connection; use Doctrine\DBAL\Exception as DBALException; diff --git a/tests/Lib/DateTimeHelperTest.php b/tests/Lib/DateTimeHelperTest.php index 25429d7d..50023723 100644 --- a/tests/Lib/DateTimeHelperTest.php +++ b/tests/Lib/DateTimeHelperTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Lib; +namespace App\Tests\Lib; -use Adshares\AdPay\Lib\DateTimeHelper; -use Adshares\AdPay\Lib\Exception\DateTimeException; +use App\Lib\DateTimeHelper; +use App\Lib\Exception\DateTimeException; use PHPUnit\Framework\TestCase; use DateTimeInterface; diff --git a/tests/Lib/InfoHelperTest.php b/tests/Lib/InfoHelperTest.php index c39759bb..fabd6c39 100644 --- a/tests/Lib/InfoHelperTest.php +++ b/tests/Lib/InfoHelperTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\Lib; +namespace App\Tests\Lib; -use Adshares\AdPay\Lib\InfoHelper; +use App\Lib\InfoHelper; use PHPUnit\Framework\TestCase; final class InfoHelperTest extends TestCase { - public function testFromatInfo(): void + public function testFormatInfo(): void { $this->assertEquals("A=100\n", InfoHelper::formatTxt(['a' => 100])); $this->assertEquals("A_BC=100\n", InfoHelper::formatTxt(['aBc' => 100])); diff --git a/tests/UI/Command/CommandTestCase.php b/tests/UI/Command/CommandTestCase.php index da11fe34..6262b539 100644 --- a/tests/UI/Command/CommandTestCase.php +++ b/tests/UI/Command/CommandTestCase.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\UI\Command; +namespace App\Tests\UI\Command; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; diff --git a/tests/UI/Command/HistoryClearCommandTest.php b/tests/UI/Command/HistoryClearCommandTest.php index dcb6dec3..8c749220 100644 --- a/tests/UI/Command/HistoryClearCommandTest.php +++ b/tests/UI/Command/HistoryClearCommandTest.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\UI\Command; - -use Adshares\AdPay\Domain\Model\EventCollection; -use Adshares\AdPay\Domain\Model\Impression; -use Adshares\AdPay\Domain\Model\ImpressionCase; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\Model\ViewEvent; -use Adshares\AdPay\Domain\ValueObject\Context; -use Adshares\AdPay\Domain\ValueObject\EventType; -use Adshares\AdPay\Domain\ValueObject\Id; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; -use Adshares\AdPay\Infrastructure\Repository\DoctrineEventRepository; -use Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository; +namespace App\Tests\UI\Command; + +use App\Domain\Model\EventCollection; +use App\Domain\Model\Impression; +use App\Domain\Model\ImpressionCase; +use App\Domain\Model\PaymentReport; +use App\Domain\Model\ViewEvent; +use App\Domain\ValueObject\Context; +use App\Domain\ValueObject\EventType; +use App\Domain\ValueObject\Id; +use App\Domain\ValueObject\PaymentReportStatus; +use App\Infrastructure\Repository\DoctrineEventRepository; +use App\Infrastructure\Repository\DoctrinePaymentReportRepository; use DateTime; use Psr\Log\NullLogger; use Symfony\Component\Lock\LockFactory; diff --git a/tests/UI/Command/PaymentsCalculateCommandTest.php b/tests/UI/Command/PaymentsCalculateCommandTest.php index dfd5e2de..793c409a 100644 --- a/tests/UI/Command/PaymentsCalculateCommandTest.php +++ b/tests/UI/Command/PaymentsCalculateCommandTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\UI\Command; +namespace App\Tests\UI\Command; -use Adshares\AdPay\Domain\Model\PaymentReport; -use Adshares\AdPay\Domain\ValueObject\PaymentReportStatus; -use Adshares\AdPay\Infrastructure\Repository\DoctrinePaymentReportRepository; +use App\Domain\Model\PaymentReport; +use App\Domain\ValueObject\PaymentReportStatus; +use App\Infrastructure\Repository\DoctrinePaymentReportRepository; use Psr\Log\NullLogger; use Symfony\Component\Lock\LockFactory; use Symfony\Component\Lock\Store\FlockStore; diff --git a/tests/UI/Controller/BidStrategyControllerTest.php b/tests/UI/Controller/BidStrategyControllerTest.php index 003c26e7..9a6eb925 100644 --- a/tests/UI/Controller/BidStrategyControllerTest.php +++ b/tests/UI/Controller/BidStrategyControllerTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\UI\Controller; +namespace App\Tests\UI\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; diff --git a/tests/UI/Controller/CampaignControllerTest.php b/tests/UI/Controller/CampaignControllerTest.php index 50b148ef..c066a631 100644 --- a/tests/UI/Controller/CampaignControllerTest.php +++ b/tests/UI/Controller/CampaignControllerTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\UI\Controller; +namespace App\Tests\UI\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; diff --git a/tests/UI/Controller/EventControllerTest.php b/tests/UI/Controller/EventControllerTest.php index 1aa9946d..52560778 100644 --- a/tests/UI/Controller/EventControllerTest.php +++ b/tests/UI/Controller/EventControllerTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\UI\Controller; +namespace App\Tests\UI\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; diff --git a/tests/UI/Controller/InfoControllerTest.php b/tests/UI/Controller/InfoControllerTest.php index bc2464fd..0ca44db7 100644 --- a/tests/UI/Controller/InfoControllerTest.php +++ b/tests/UI/Controller/InfoControllerTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\UI\Controller; +namespace App\Tests\UI\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; diff --git a/tests/UI/Controller/PaymentsControllerTest.php b/tests/UI/Controller/PaymentsControllerTest.php index 8d757d93..9d2cc2d6 100644 --- a/tests/UI/Controller/PaymentsControllerTest.php +++ b/tests/UI/Controller/PaymentsControllerTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Adshares\AdPay\Tests\UI\Controller; +namespace App\Tests\UI\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;