From 572ad364f4b5cf3229be3d5c70c8dd3a75ee1427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20N=C3=BCtzel?= Date: Thu, 30 Nov 2023 08:52:09 +0100 Subject: [PATCH] Update Dev Dependencies - fixes #210 --- .github/workflows/php.yml | 6 +- .gitignore | 1 + composer.json | 3 +- composer.lock | 848 ++++++++---------- phpunit.xml.dist | 24 +- tests/Client/Account/AccountClientTest.php | 4 +- tests/Client/Article/ArticleClientTest.php | 8 +- .../Article/ArticleTemplateClientTest.php | 4 +- .../Client/Article/ArticleTypeClientTest.php | 6 +- .../Client/Blacklist/BlackListClientTest.php | 4 +- .../Client/CommonResourceMethodsTestTrait.php | 6 +- .../Client/Container/ContainerClientTest.php | 8 +- .../Container/ContainerTypeClientTest.php | 8 +- .../CouponList/CouponListClientTest.php | 2 +- tests/Client/Document/DocumentClientTest.php | 12 +- tests/Client/Folder/FolderClientTest.php | 4 +- tests/Client/Form/FormClientTest.php | 14 +- tests/Client/Image/ImageClientTest.php | 10 +- tests/Client/Mailing/MailingClientTest.php | 62 +- .../Mailing/MailingTemplateClientTest.php | 22 +- tests/Client/Mandator/MandatorClientTest.php | 2 +- .../Marketplace/MarketplaceClientTest.php | 2 +- .../Client/Milestone/MilestoneClientTest.php | 2 +- tests/Client/Pool/PoolClientTest.php | 8 +- tests/Client/Pool/PoolDataMinerClientTest.php | 2 +- tests/Client/Profile/ProfileClientTest.php | 18 +- .../Client/Smartlink/SmartLinkClientTest.php | 6 +- .../TargetGroup/TargetGroupClientTest.php | 4 +- tests/Client/User/UserClientTest.php | 4 +- tests/Client/Workflow/WorkflowClientTest.php | 16 +- tests/ConfigTestCase.php | 4 +- tests/EvalancheConfigTest.php | 8 +- tests/EvalancheConnectionTest.php | 56 +- tests/Extractor/ExtractorTest.php | 4 +- .../Config/Account/AccountConfigTest.php | 6 +- .../Account/AccountingItemConfigTest.php | 6 +- .../Account/AccountingTypeConfigTest.php | 6 +- .../Config/Account/DiscountConfigTest.php | 6 +- .../Article/ArticleDetailConfigTest.php | 6 +- .../ArticleIndividualizationConfigTest.php | 6 +- ...ArticleIndividualizationItemConfigTest.php | 6 +- .../Config/Blacklist/BlackListConfigTest.php | 6 +- .../Blacklist/BlackListItemConfigTest.php | 6 +- .../ContainerAttributeConfigTest.php | 6 +- .../ContainerAttributeGroupConfigTest.php | 6 +- .../ContainerAttributeOptionConfigTest.php | 6 +- .../ContainerAttributeRoleTypeConfigTest.php | 6 +- .../Container/ContainerDetailConfigTest.php | 6 +- .../CouponListProfileCouponConfigTest.php | 6 +- .../Form/FormConfigurationConfigTest.php | 6 +- .../Generic/FolderInformationConfigTest.php | 6 +- .../Config/Generic/HashMapConfigTest.php | 6 +- .../Config/Generic/HashMapItemConfigTest.php | 6 +- .../Config/Generic/JobHandleConfigTest.php | 6 +- .../Config/Generic/JobResultConfigTest.php | 6 +- .../Generic/MassUpdateResultConfigTest.php | 6 +- .../Generic/ResourceInformationConfigTest.php | 6 +- .../ResourceTypeInformationConfigTest.php | 6 +- .../Generic/ServiceStatusConfigTest.php | 6 +- .../Config/HydratorConfigFactoryTest.php | 4 +- .../Mailing/MailingArticleConfigTest.php | 6 +- .../Config/Mailing/MailingClickConfigTest.php | 6 +- .../MailingConfigurationConfigTest.php | 6 +- .../Mailing/MailingDetailConfigTest.php | 6 +- .../Mailing/MailingImpressionConfigTest.php | 6 +- .../Config/Mailing/MailingSlotConfigTest.php | 2 +- .../MailingSlotConfigurationConfigTest.php | 2 +- .../Mailing/MailingSlotItemConfigTest.php | 2 +- .../Mailing/MailingStatusConfigTest.php | 6 +- .../Mailing/MailingSubjectConfigTest.php | 6 +- ...lingTemplateAllowedTemplatesConfigTest.php | 6 +- ...MailingTemplateConfigurationConfigTest.php | 6 +- .../MailingTemplateSourcesConfigTest.php | 6 +- .../Config/Mandator/MandatorConfigTest.php | 6 +- .../Config/Marketplace/CategoryConfigTest.php | 6 +- .../Config/Marketplace/ProductConfigTest.php | 6 +- .../Config/Pool/PoolAttributeConfigTest.php | 6 +- .../Pool/PoolAttributeOptionConfigTest.php | 6 +- .../ProfileActivityScoreConfigTest.php | 6 +- .../Profile/ProfileBounceStatusConfigTest.php | 6 +- .../Profile/ProfileGroupScoreConfigTest.php | 6 +- .../ProfileTrackingHistoryConfigTest.php | 6 +- .../Scoring/ScoringGroupDetailConfigTest.php | 6 +- .../Config/SmartLink/SmartLinkConfigTest.php | 6 +- .../SmartLinkConfigurationConfigTest.php | 6 +- .../SmartLinkPoolConfigurationConfigTest.php | 6 +- ...martLinkScoringConfigurationConfigTest.php | 6 +- .../Statistic/ArticleStatisticConfigTest.php | 6 +- .../ArticleStatisticItemConfigTest.php | 6 +- .../BrowserStatisticItemConfigTest.php | 6 +- .../Statistic/ClientStatisticConfigTest.php | 6 +- .../DeviceStatisticItemConfigTest.php | 6 +- .../Statistic/FormStatisticConfigTest.php | 6 +- .../FormatStatisticItemConfigTest.php | 6 +- .../Statistic/LinkStatisticItemConfigTest.php | 6 +- .../MailClientStatisticItemConfigTest.php | 6 +- .../Statistic/MailingStatisticConfigTest.php | 6 +- .../MediaStatisticItemConfigTest.php | 6 +- .../TargetGroupDetailConfigTest.php | 6 +- .../TargetGroupMemberShipConfigTest.php | 6 +- tests/Hydrator/Config/User/UserConfigTest.php | 6 +- .../Workflow/WorkflowConfigVersionTest.php | 6 +- .../WorkflowConfigurationConfigTest.php | 6 +- .../Workflow/WorkflowDetailConfigTest.php | 6 +- .../WorkflowStateChangeResultConfigTest.php | 6 +- ...rkflowStateChangeResultErrorConfigTest.php | 6 +- tests/Mapper/ResponseMapperTest.php | 22 +- tests/SoapClientFactoryTest.php | 4 +- 108 files changed, 763 insertions(+), 873 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 59227f3..17a3bab 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,7 +15,7 @@ jobs: php: ['8.1', '8.2', '8.3'] continue-on-error: ${{ matrix.php == '8.3' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -28,7 +28,7 @@ jobs: - name: Install dependencies if: ${{ matrix.php != '8.3' }} - uses: nick-invision/retry@v1 + uses: nick-invision/retry@v2 with: timeout_minutes: 5 max_attempts: 3 @@ -36,7 +36,7 @@ jobs: - name: Install Dependencies (ignore platform) if: ${{ matrix.php == '8.3' }} - uses: nick-invision/retry@v1 + uses: nick-invision/retry@v2 with: timeout_minutes: 5 max_attempts: 3 diff --git a/.gitignore b/.gitignore index 072b348..af784b4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ build/ .phpunit.result.cache .php_cs.cache .php-cs-fixer.cache +.phpunit.cache/ diff --git a/composer.json b/composer.json index 6ca5970..7844552 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,7 @@ "scn/hydrator-property-values": "^2.0|^3.0" }, "require-dev": { - "php": ">=7.3", - "phpunit/phpunit": "^9", + "phpunit/phpunit": "^10", "friendsofphp/php-cs-fixer": "^3.0", "phpstan/phpstan": "^1.4", "phpstan/phpstan-strict-rules": "^1.1" diff --git a/composer.lock b/composer.lock index 82f16b8..9d61c16 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a82cf4a55040af7a7f97cb0b62b71ecf", + "content-hash": "107e3e772a4dcf362b98a34b0e37db3d", "packages": [ { "name": "scn/evalanche-soap-api-struct", @@ -372,122 +372,52 @@ ], "time": "2022-02-25T21:32:43+00:00" }, - { - "name": "doctrine/instantiator", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "require-dev": { - "doctrine/coding-standard": "^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-12-30T00:23:10+00:00" - }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.38.0", + "version": "v3.40.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "7e6070026e76aa09d77a47519625c86593fb8e31" + "reference": "27d2b3265b5d550ec411b4319967ae7cfddfb2e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/7e6070026e76aa09d77a47519625c86593fb8e31", - "reference": "7e6070026e76aa09d77a47519625c86593fb8e31", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/27d2b3265b5d550ec411b4319967ae7cfddfb2e0", + "reference": "27d2b3265b5d550ec411b4319967ae7cfddfb2e0", "shasum": "" }, "require": { - "composer/semver": "^3.3", + "composer/semver": "^3.4", "composer/xdebug-handler": "^3.0.3", "ext-json": "*", "ext-tokenizer": "*", "php": "^7.4 || ^8.0", "sebastian/diff": "^4.0 || ^5.0", - "symfony/console": "^5.4 || ^6.0", - "symfony/event-dispatcher": "^5.4 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0", - "symfony/finder": "^5.4 || ^6.0", - "symfony/options-resolver": "^5.4 || ^6.0", - "symfony/polyfill-mbstring": "^1.27", - "symfony/polyfill-php80": "^1.27", - "symfony/polyfill-php81": "^1.27", - "symfony/process": "^5.4 || ^6.0", - "symfony/stopwatch": "^5.4 || ^6.0" + "symfony/console": "^5.4 || ^6.0 || ^7.0", + "symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0", + "symfony/finder": "^5.4 || ^6.0 || ^7.0", + "symfony/options-resolver": "^5.4 || ^6.0 || ^7.0", + "symfony/polyfill-mbstring": "^1.28", + "symfony/polyfill-php80": "^1.28", + "symfony/polyfill-php81": "^1.28", + "symfony/process": "^5.4 || ^6.0 || ^7.0", + "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { "facile-it/paraunit": "^1.3 || ^2.0", "justinrainbow/json-schema": "^5.2", - "keradus/cli-executor": "^2.0", + "keradus/cli-executor": "^2.1", "mikey179/vfsstream": "^1.6.11", - "php-coveralls/php-coveralls": "^2.5.3", + "php-coveralls/php-coveralls": "^2.7", "php-cs-fixer/accessible-object": "^1.1", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", - "phpspec/prophecy": "^1.16", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.4", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.4", + "phpspec/prophecy": "^1.17", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5", - "symfony/phpunit-bridge": "^6.2.3", - "symfony/yaml": "^5.4 || ^6.0" + "phpunit/phpunit": "^9.6", + "symfony/phpunit-bridge": "^6.3.8 || ^7.0", + "symfony/yaml": "^5.4 || ^6.0 || ^7.0" }, "suggest": { "ext-dom": "For handling output formats in XML", @@ -525,7 +455,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.38.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.40.0" }, "funding": [ { @@ -533,7 +463,7 @@ "type": "github" } ], - "time": "2023-11-07T08:44:54+00:00" + "time": "2023-11-26T09:25:53+00:00" }, { "name": "myclabs/deep-copy", @@ -763,16 +693,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.41", + "version": "1.10.46", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "c6174523c2a69231df55bdc65b61655e72876d76" + "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c6174523c2a69231df55bdc65b61655e72876d76", - "reference": "c6174523c2a69231df55bdc65b61655e72876d76", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", + "reference": "90d3d25c5b98b8068916bbf08ce42d5cb6c54e70", "shasum": "" }, "require": { @@ -821,7 +751,7 @@ "type": "tidelift" } ], - "time": "2023-11-05T12:57:57+00:00" + "time": "2023-11-28T14:57:26+00:00" }, { "name": "phpstan/phpstan-strict-rules", @@ -874,16 +804,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.29", + "version": "10.1.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" + "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a56a9ab2f680246adcf3db43f38ddf1765774735", + "reference": "a56a9ab2f680246adcf3db43f38ddf1765774735", "shasum": "" }, "require": { @@ -891,18 +821,18 @@ "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.15", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-text-template": "^3.0", + "sebastian/code-unit-reverse-lookup": "^3.0", + "sebastian/complexity": "^3.0", + "sebastian/environment": "^6.0", + "sebastian/lines-of-code": "^2.0", + "sebastian/version": "^4.0", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.1" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -911,7 +841,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "10.1-dev" } }, "autoload": { @@ -940,7 +870,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.9" }, "funding": [ { @@ -948,32 +878,32 @@ "type": "github" } ], - "time": "2023-09-19T04:57:46+00:00" + "time": "2023-11-23T12:23:20+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "3.0.6", + "version": "4.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -1000,7 +930,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" }, "funding": [ { @@ -1008,28 +939,28 @@ "type": "github" } ], - "time": "2021-12-02T12:48:52+00:00" + "time": "2023-08-31T06:24:48+00:00" }, { "name": "phpunit/php-invoker", - "version": "3.1.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-pcntl": "*" @@ -1037,7 +968,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -1063,7 +994,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" }, "funding": [ { @@ -1071,32 +1002,32 @@ "type": "github" } ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2023-02-03T06:56:09+00:00" }, { "name": "phpunit/php-text-template", - "version": "2.0.4", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -1122,7 +1053,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" }, "funding": [ { @@ -1130,32 +1062,32 @@ "type": "github" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2023-08-31T14:07:24+00:00" }, { "name": "phpunit/php-timer", - "version": "5.0.3", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -1181,7 +1113,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" }, "funding": [ { @@ -1189,24 +1121,23 @@ "type": "github" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2023-02-03T06:57:52+00:00" }, { "name": "phpunit/phpunit", - "version": "9.6.13", + "version": "10.4.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be" + "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be", - "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", + "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -1216,27 +1147,26 @@ "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.28", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.1.5", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-invoker": "^4.0", + "phpunit/php-text-template": "^3.0", + "phpunit/php-timer": "^6.0", + "sebastian/cli-parser": "^2.0", + "sebastian/code-unit": "^2.0", + "sebastian/comparator": "^5.0", + "sebastian/diff": "^5.0", + "sebastian/environment": "^6.0", + "sebastian/exporter": "^5.1", + "sebastian/global-state": "^6.0.1", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" }, "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + "ext-soap": "To be able to generate mocks based on WSDL files" }, "bin": [ "phpunit" @@ -1244,7 +1174,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.6-dev" + "dev-main": "10.4-dev" } }, "autoload": { @@ -1276,7 +1206,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2" }, "funding": [ { @@ -1292,7 +1222,7 @@ "type": "tidelift" } ], - "time": "2023-09-19T05:39:22+00:00" + "time": "2023-10-26T07:21:45+00:00" }, { "name": "psr/container", @@ -1449,28 +1379,28 @@ }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae", + "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -1493,7 +1423,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0" }, "funding": [ { @@ -1501,32 +1431,32 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2023-02-03T06:58:15+00:00" }, { "name": "sebastian/code-unit", - "version": "1.0.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -1549,7 +1479,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" }, "funding": [ { @@ -1557,32 +1487,32 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2023-02-03T06:58:43+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -1604,7 +1534,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" }, "funding": [ { @@ -1612,34 +1542,36 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2023-02-03T06:59:15+00:00" }, { "name": "sebastian/comparator", - "version": "4.0.8", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + "reference": "2db5010a484d53ebf536087a70b4a5423c102372" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -1678,7 +1610,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" }, "funding": [ { @@ -1686,33 +1619,33 @@ "type": "github" } ], - "time": "2022-09-14T12:41:17+00:00" + "time": "2023-08-14T13:18:12+00:00" }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "68cfb347a44871f01e33ab0ef8215966432f6957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68cfb347a44871f01e33ab0ef8215966432f6957", + "reference": "68cfb347a44871f01e33ab0ef8215966432f6957", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.1-dev" } }, "autoload": { @@ -1735,7 +1668,8 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/3.1.0" }, "funding": [ { @@ -1743,33 +1677,33 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-09-28T11:50:59+00:00" }, { "name": "sebastian/diff", - "version": "4.0.5", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b", + "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^10.0", "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -1801,7 +1735,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3" }, "funding": [ { @@ -1809,27 +1744,27 @@ "type": "github" } ], - "time": "2023-05-07T05:35:17+00:00" + "time": "2023-05-01T07:48:21+00:00" }, { "name": "sebastian/environment", - "version": "5.1.5", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951", + "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-posix": "*" @@ -1837,7 +1772,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -1856,7 +1791,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -1864,7 +1799,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.0.1" }, "funding": [ { @@ -1872,34 +1808,34 @@ "type": "github" } ], - "time": "2023-02-03T06:03:51+00:00" + "time": "2023-04-11T05:39:26+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "5.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/64f51654862e0f5e318db7e9dcc2292c63cdbddc", + "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -1941,7 +1877,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.1" }, "funding": [ { @@ -1949,38 +1886,35 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2023-09-24T13:22:09+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.6", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" + "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/7ea9ead78f6d380d2a667864c132c2f7b83055e4", + "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -2005,7 +1939,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.1" }, "funding": [ { @@ -2013,33 +1948,33 @@ "type": "github" } ], - "time": "2023-08-02T09:26:13+00:00" + "time": "2023-07-19T07:19:23+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/649e40d279e243d985aa8fb6e74dd5bb28dc185d", + "reference": "649e40d279e243d985aa8fb6e74dd5bb28dc185d", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" + "nikic/php-parser": "^4.10", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -2062,7 +1997,8 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.1" }, "funding": [ { @@ -2070,34 +2006,34 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-08-31T09:25:50+00:00" }, { "name": "sebastian/object-enumerator", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -2119,7 +2055,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" }, "funding": [ { @@ -2127,32 +2063,32 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2023-02-03T07:08:32+00:00" }, { "name": "sebastian/object-reflector", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -2174,7 +2110,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" }, "funding": [ { @@ -2182,32 +2118,32 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-02-03T07:06:18+00:00" }, { "name": "sebastian/recursion-context", - "version": "4.0.5", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -2237,62 +2173,7 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:07:39+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" }, "funding": [ { @@ -2300,32 +2181,32 @@ "type": "github" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2023-02-03T07:05:40+00:00" }, { "name": "sebastian/type", - "version": "3.2.1", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -2348,7 +2229,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" }, "funding": [ { @@ -2356,29 +2237,29 @@ "type": "github" } ], - "time": "2023-02-03T06:13:03+00:00" + "time": "2023-02-03T07:10:45+00:00" }, { "name": "sebastian/version", - "version": "3.0.2", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -2401,7 +2282,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" }, "funding": [ { @@ -2409,47 +2290,50 @@ "type": "github" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2023-02-07T11:34:05+00:00" }, { "name": "symfony/console", - "version": "v6.3.4", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6" + "reference": "64e06788686633deb8d9a7c75ab31bcf4b233a26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/eca495f2ee845130855ddf1cf18460c38966c8b6", - "reference": "eca495f2ee845130855ddf1cf18460c38966c8b6", + "url": "https://api.github.com/repos/symfony/console/zipball/64e06788686633deb8d9a7c75ab31bcf4b233a26", + "reference": "64e06788686633deb8d9a7c75ab31bcf4b233a26", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0" + "symfony/string": "^6.4|^7.0" }, "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" + "symfony/dependency-injection": "<6.4", + "symfony/dotenv": "<6.4", + "symfony/event-dispatcher": "<6.4", + "symfony/lock": "<6.4", + "symfony/process": "<6.4" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -2483,7 +2367,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.3.4" + "source": "https://github.com/symfony/console/tree/v7.0.0" }, "funding": [ { @@ -2499,11 +2383,11 @@ "type": "tidelift" } ], - "time": "2023-08-16T10:10:12+00:00" + "time": "2023-11-20T16:43:42+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", @@ -2550,7 +2434,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" }, "funding": [ { @@ -2570,24 +2454,24 @@ }, { "name": "symfony/event-dispatcher", - "version": "v6.3.2", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e" + "reference": "c459b40ffe67c49af6fd392aac374c9edf8a027e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/adb01fe097a4ee930db9258a3cc906b5beb5cf2e", - "reference": "adb01fe097a4ee930db9258a3cc906b5beb5cf2e", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c459b40ffe67c49af6fd392aac374c9edf8a027e", + "reference": "c459b40ffe67c49af6fd392aac374c9edf8a027e", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/event-dispatcher-contracts": "^2.5|^3" }, "conflict": { - "symfony/dependency-injection": "<5.4", + "symfony/dependency-injection": "<6.4", "symfony/service-contracts": "<2.5" }, "provide": { @@ -2596,13 +2480,13 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/error-handler": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/error-handler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", "symfony/service-contracts": "^2.5|^3", - "symfony/stopwatch": "^5.4|^6.0" + "symfony/stopwatch": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -2630,7 +2514,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/v6.3.2" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.0.0" }, "funding": [ { @@ -2646,11 +2530,11 @@ "type": "tidelift" } ], - "time": "2023-07-06T06:56:43+00:00" + "time": "2023-07-27T16:29:09+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", @@ -2706,7 +2590,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" }, "funding": [ { @@ -2726,20 +2610,20 @@ }, { "name": "symfony/filesystem", - "version": "v6.3.1", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae" + "reference": "7da8ea2362a283771478c5f7729cfcb43a76b8b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", - "reference": "edd36776956f2a6fcf577edb5b05eb0e3bdc52ae", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/7da8ea2362a283771478c5f7729cfcb43a76b8b7", + "reference": "7da8ea2362a283771478c5f7729cfcb43a76b8b7", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.8" }, @@ -2769,7 +2653,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.3.1" + "source": "https://github.com/symfony/filesystem/tree/v7.0.0" }, "funding": [ { @@ -2785,27 +2669,27 @@ "type": "tidelift" } ], - "time": "2023-06-01T08:30:39+00:00" + "time": "2023-07-27T06:33:22+00:00" }, { "name": "symfony/finder", - "version": "v6.3.5", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4" + "reference": "6e5688d69f7cfc4ed4a511e96007e06c2d34ce56" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/a1b31d88c0e998168ca7792f222cbecee47428c4", - "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4", + "url": "https://api.github.com/repos/symfony/finder/zipball/6e5688d69f7cfc4ed4a511e96007e06c2d34ce56", + "reference": "6e5688d69f7cfc4ed4a511e96007e06c2d34ce56", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "symfony/filesystem": "^6.0" + "symfony/filesystem": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -2833,7 +2717,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.3.5" + "source": "https://github.com/symfony/finder/tree/v7.0.0" }, "funding": [ { @@ -2849,24 +2733,24 @@ "type": "tidelift" } ], - "time": "2023-09-26T12:56:25+00:00" + "time": "2023-10-31T17:59:56+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.3.0", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd" + "reference": "700ff4096e346f54cb628ea650767c8130f1001f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a10f19f5198d589d5c33333cffe98dc9820332dd", - "reference": "a10f19f5198d589d5c33333cffe98dc9820332dd", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/700ff4096e346f54cb628ea650767c8130f1001f", + "reference": "700ff4096e346f54cb628ea650767c8130f1001f", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/deprecation-contracts": "^2.5|^3" }, "type": "library", @@ -2900,7 +2784,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.3.0" + "source": "https://github.com/symfony/options-resolver/tree/v7.0.0" }, "funding": [ { @@ -2916,7 +2800,7 @@ "type": "tidelift" } ], - "time": "2023-05-12T14:21:09+00:00" + "time": "2023-08-08T10:20:21+00:00" }, { "name": "symfony/polyfill-ctype", @@ -3412,20 +3296,20 @@ }, { "name": "symfony/process", - "version": "v6.3.4", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "0b5c29118f2e980d455d2e34a5659f4579847c54" + "reference": "13bdb1670c7f510494e04fcb2bfa29af63db9c0d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/0b5c29118f2e980d455d2e34a5659f4579847c54", - "reference": "0b5c29118f2e980d455d2e34a5659f4579847c54", + "url": "https://api.github.com/repos/symfony/process/zipball/13bdb1670c7f510494e04fcb2bfa29af63db9c0d", + "reference": "13bdb1670c7f510494e04fcb2bfa29af63db9c0d", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "type": "library", "autoload": { @@ -3453,7 +3337,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.3.4" + "source": "https://github.com/symfony/process/tree/v7.0.0" }, "funding": [ { @@ -3469,20 +3353,20 @@ "type": "tidelift" } ], - "time": "2023-08-07T10:39:22+00:00" + "time": "2023-11-20T16:43:42+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" + "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838", + "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838", "shasum": "" }, "require": { @@ -3535,7 +3419,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.4.0" }, "funding": [ { @@ -3551,24 +3435,24 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2023-07-30T20:28:31+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.3.0", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2" + "reference": "7bbfa3dd564a0ce12eb4acaaa46823c740f9cb7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", - "reference": "fc47f1015ec80927ff64ba9094dfe8b9d48fe9f2", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/7bbfa3dd564a0ce12eb4acaaa46823c740f9cb7a", + "reference": "7bbfa3dd564a0ce12eb4acaaa46823c740f9cb7a", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/service-contracts": "^2.5|^3" }, "type": "library", @@ -3597,7 +3481,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.3.0" + "source": "https://github.com/symfony/stopwatch/tree/v7.0.0" }, "funding": [ { @@ -3613,24 +3497,24 @@ "type": "tidelift" } ], - "time": "2023-02-16T10:14:28+00:00" + "time": "2023-07-05T13:06:06+00:00" }, { "name": "symfony/string", - "version": "v6.3.5", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339" + "reference": "92bd2bfbba476d4a1838e5e12168bef2fd1e6620" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/13d76d0fb049051ed12a04bef4f9de8715bea339", - "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339", + "url": "https://api.github.com/repos/symfony/string/zipball/92bd2bfbba476d4a1838e5e12168bef2fd1e6620", + "reference": "92bd2bfbba476d4a1838e5e12168bef2fd1e6620", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", @@ -3640,11 +3524,11 @@ "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "symfony/var-exporter": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -3683,7 +3567,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.3.5" + "source": "https://github.com/symfony/string/tree/v7.0.0" }, "funding": [ { @@ -3699,20 +3583,20 @@ "type": "tidelift" } ], - "time": "2023-09-18T10:38:32+00:00" + "time": "2023-11-29T08:40:23+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", "shasum": "" }, "require": { @@ -3741,7 +3625,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.2" }, "funding": [ { @@ -3749,7 +3633,7 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2023-11-20T00:12:19+00:00" } ], "aliases": [], @@ -3761,8 +3645,6 @@ "php": "^8.1", "ext-soap": "*" }, - "platform-dev": { - "php": ">=7.3" - }, + "platform-dev": [], "plugin-api-version": "2.3.0" } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 1acc675..d06d20b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,19 @@ - - + + + + + tests + + + ./ @@ -8,10 +21,5 @@ vendor/ tests/ - - - - tests - - + diff --git a/tests/Client/Account/AccountClientTest.php b/tests/Client/Account/AccountClientTest.php index 15a28ea..f036737 100644 --- a/tests/Client/Account/AccountClientTest.php +++ b/tests/Client/Account/AccountClientTest.php @@ -80,7 +80,7 @@ public function testGetAccountByMandatorIdCanReturnInstanceAccountInterface() $config )->willReturn($response); - $this->assertInstanceOf( + self::assertInstanceOf( AccountInterface::class, $this->subject->getAccountByMandatorId($mandatorId) ); @@ -88,6 +88,6 @@ public function testGetAccountByMandatorIdCanReturnInstanceAccountInterface() public function testGetWsdlUriCanReturnString() { - $this->assertSame('api/soap/v1/accounting/wsdl', $this->subject->getWsdlUri()); + self::assertSame('api/soap/v1/accounting/wsdl', $this->subject->getWsdlUri()); } } diff --git a/tests/Client/Article/ArticleClientTest.php b/tests/Client/Article/ArticleClientTest.php index f147c2e..d21b75b 100644 --- a/tests/Client/Article/ArticleClientTest.php +++ b/tests/Client/Article/ArticleClientTest.php @@ -117,7 +117,7 @@ public function testCreateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($id, $title, $folderId, $hashMap) ); @@ -141,7 +141,7 @@ public function testGetDetailByIdCanReturnInstanceOfHashMap() $config )->willReturn($response->getDataResult); - $this->assertInstanceOf( + self::assertInstanceOf( HashMapInterface::class, $this->subject->getDetailById($id) ); @@ -181,7 +181,7 @@ public function testUpdateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->updateResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->update($id, $hashMap) ); @@ -208,7 +208,7 @@ public function testGetDetailsByIdCanReturnInstanceOfContainerDetail() $config )->willReturn($response->getDataResult); - $this->assertInstanceOf( + self::assertInstanceOf( ArticleDetailInterface::class, $this->subject->getDetailsById($id) ); diff --git a/tests/Client/Article/ArticleTemplateClientTest.php b/tests/Client/Article/ArticleTemplateClientTest.php index f0f4b1a..6780178 100644 --- a/tests/Client/Article/ArticleTemplateClientTest.php +++ b/tests/Client/Article/ArticleTemplateClientTest.php @@ -99,7 +99,7 @@ public function testCreateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($title, $typeId, $template, $folderId) ); @@ -133,7 +133,7 @@ public function testUpdateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->updateTemplate($templateId, $template) ); diff --git a/tests/Client/Article/ArticleTypeClientTest.php b/tests/Client/Article/ArticleTypeClientTest.php index 82b0a00..f57674f 100644 --- a/tests/Client/Article/ArticleTypeClientTest.php +++ b/tests/Client/Article/ArticleTypeClientTest.php @@ -113,7 +113,7 @@ public function testAddAttributeCanReturnInstanceOfContainerAttribute() $config )->willReturn($response->addAttributeResult); - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeInterface::class, $this->subject->addAttribute($id, $title, $label, $typeId, $groupId) ); @@ -141,7 +141,7 @@ public function testAddAttributeGroupCanReturnInstanceOfCOntainerAttributeGroup( $config )->willReturn($response->addAttributeGroupResult); - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeGroupInterface::class, $this->subject->addAttributeGroup($id, $title) ); @@ -215,7 +215,7 @@ public function testCreateAttributeOptionCanReturnInstanceOfContainerAttributeOp $config )->willReturn($response->createAttributeOptionResult); - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeOptionInterface::class, $this->subject->createAttributeOption($id, $attributeId, $label) ); diff --git a/tests/Client/Blacklist/BlackListClientTest.php b/tests/Client/Blacklist/BlackListClientTest.php index 6a41f3e..288d2bc 100644 --- a/tests/Client/Blacklist/BlackListClientTest.php +++ b/tests/Client/Blacklist/BlackListClientTest.php @@ -66,7 +66,7 @@ public function setUp(): void public function testGetWsdlUriCanReturnString() { - $this->assertSame('api/soap/v1/blacklist/wsdl', $this->subject->getWsdlUri()); + self::assertSame('api/soap/v1/blacklist/wsdl', $this->subject->getWsdlUri()); } public function testAdd() @@ -97,7 +97,7 @@ public function testGetCanReturnInstanceOfBlackList() $config )->willReturn($response); - $this->assertInstanceOf( + self::assertInstanceOf( BlackListInterface::class, $this->subject->get($mandatorId) ); diff --git a/tests/Client/CommonResourceMethodsTestTrait.php b/tests/Client/CommonResourceMethodsTestTrait.php index 4727c36..d1b8f7e 100644 --- a/tests/Client/CommonResourceMethodsTestTrait.php +++ b/tests/Client/CommonResourceMethodsTestTrait.php @@ -35,7 +35,7 @@ public function testUpdateTitleCanReturnInstanceOfResourceInformationInterface() $config )->willReturn($response->renameResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->updateTitle($id, $title) ); @@ -63,7 +63,7 @@ public function testMoveCanReturnInstanceOfResourceInformation() $config )->willReturn($response->moveResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->move($id, $folderId) ); @@ -107,7 +107,7 @@ public function testCopyCanReturnInstanceOfResourceInformation() $config )->willReturn($response->copyResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->copy($id, $folderId) ); diff --git a/tests/Client/Container/ContainerClientTest.php b/tests/Client/Container/ContainerClientTest.php index a210d13..2f9bdf8 100644 --- a/tests/Client/Container/ContainerClientTest.php +++ b/tests/Client/Container/ContainerClientTest.php @@ -113,7 +113,7 @@ public function testCreateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($id, $title, $folderId, $hashMap) ); @@ -137,7 +137,7 @@ public function testGetDetailByIdCanReturnInstanceOfHashMap() $config )->willReturn($response->getDataResult); - $this->assertInstanceOf( + self::assertInstanceOf( HashMapInterface::class, $this->subject->getDetailById($id) ); @@ -176,7 +176,7 @@ public function testUpdateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->getDataResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->update($id, $hashMap) ); @@ -204,7 +204,7 @@ public function testGetDetailsByIdCanReturnInstanceOfContainerDetail() $config )->willReturn($response->getDataResult); - $this->assertInstanceOf( + self::assertInstanceOf( ContainerDetailInterface::class, $this->subject->getDetailsById($id) ); diff --git a/tests/Client/Container/ContainerTypeClientTest.php b/tests/Client/Container/ContainerTypeClientTest.php index bba5263..efac60f 100644 --- a/tests/Client/Container/ContainerTypeClientTest.php +++ b/tests/Client/Container/ContainerTypeClientTest.php @@ -111,7 +111,7 @@ public function testAddAttributeCanReturnIsntanceOfContainerAttributeInterface() $config )->willReturn($response->addAttributeResult); - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeInterface::class, $this->subject->addAttribute($id, $title, $label, $typeId, $groupId) ); @@ -139,7 +139,7 @@ public function testAddAttributeGroupCanReturnInstanceOfContainerAttributeInterf $config )->willReturn($response->addAttributeGroupResult); - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeGroupInterface::class, $this->subject->addAttributeGroup($id, $title) ); @@ -192,7 +192,7 @@ public function testAddAttributeOptionCanReturnInstanceOfContainerAttributeOptio $config )->willReturn($response->createAttributeOptionResult); - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeOptionInterface::class, $this->subject->addAttributeOption($id, $attributeId, $label) ); @@ -381,7 +381,7 @@ public function testUpdateAttributeCanReturnInstanceOfContainerAttribute() ])->willReturn($response); $this->responseMapper->expects($this->once())->method('getObject')->willReturn($response->updateAttributeResult); - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeInterface::class, $this->subject->updateAttribute($id, $attributeId, $hashMap) ); diff --git a/tests/Client/CouponList/CouponListClientTest.php b/tests/Client/CouponList/CouponListClientTest.php index 556b840..9ceaeec 100644 --- a/tests/Client/CouponList/CouponListClientTest.php +++ b/tests/Client/CouponList/CouponListClientTest.php @@ -102,7 +102,7 @@ public function testCreateReturnsResourceInformationInterface(): void ) ->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($title, $folderId) ); diff --git a/tests/Client/Document/DocumentClientTest.php b/tests/Client/Document/DocumentClientTest.php index 685db34..5807c92 100644 --- a/tests/Client/Document/DocumentClientTest.php +++ b/tests/Client/Document/DocumentClientTest.php @@ -102,7 +102,7 @@ public function testCreateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($title, $folderId) ); @@ -180,7 +180,7 @@ public function testGetByExternalIdCanReturnInstanceOfResourceInformation() $config )->willReturn($response->getByExternalIdResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->getByExternalId($id) ); @@ -204,7 +204,7 @@ public function testGetByIdCanReturnInstanceOfResourceInformation() $config )->willReturn($response->getByExternalIdResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->getById($id) ); @@ -259,7 +259,7 @@ public function testGetDefaultFolderByMandatorIdCanReturnInstanceOfFolderInforma $config )->willReturn($response->getResourceDefaultCategoryResult); - $this->assertInstanceOf( + self::assertInstanceOf( FolderInformationInterface::class, $this->subject->getDefaultFolderByMandatorId($id) ); @@ -312,7 +312,7 @@ public function testMoveCanReturnInstanceOfResourceInformation() $config )->willReturn($response->moveResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->move($id, $folderId) ); @@ -334,7 +334,7 @@ public function testGetServiceAvailableCanReturnInstanceOfServiceStatus() $config )->willReturn($response->isAliveResult); - $this->assertInstanceOf( + self::assertInstanceOf( ServiceStatusInterface::class, $this->subject->getServiceAvailable() ); diff --git a/tests/Client/Folder/FolderClientTest.php b/tests/Client/Folder/FolderClientTest.php index abfd134..ea379c8 100644 --- a/tests/Client/Folder/FolderClientTest.php +++ b/tests/Client/Folder/FolderClientTest.php @@ -88,7 +88,7 @@ public function testCreateCanReturnInstanceOfFolderInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( FolderInformationInterface::class, $this->subject->create($title, $folderId) ); @@ -169,7 +169,7 @@ public function testGetCanReturnInstanceOfFolderInformation() )->willReturn($response->getDetailsResult); - $this->assertInstanceOf( + self::assertInstanceOf( FolderInformationInterface::class, $this->subject->get($id) ); diff --git a/tests/Client/Form/FormClientTest.php b/tests/Client/Form/FormClientTest.php index baac687..c312cb5 100644 --- a/tests/Client/Form/FormClientTest.php +++ b/tests/Client/Form/FormClientTest.php @@ -99,7 +99,7 @@ public function testAddAttributeCanReturnInteger() 'addAttributeResult' )->willReturn($response->addAttributeResult); - $this->assertSame( + self::assertSame( $response->addAttributeResult, $this->subject->addAttribute($id, $poolAttributeId) ); @@ -149,7 +149,7 @@ public function testCreateAliasCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createAliasResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->createAlias($id, $title, $folderId) ); @@ -205,7 +205,7 @@ public function testGetFormByAliasCanReturnInstanceOfResourceInformation() $config )->willReturn($response->getFormByAliasResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->getFormByAlias($id) ); @@ -305,7 +305,7 @@ public function testUpdateTemplateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->updateTemplateResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->updateTemplate($id, $templateHtml) ); @@ -333,7 +333,7 @@ public function testCreateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($poolId, $title) ); @@ -370,7 +370,7 @@ public function testGetConfigurationCanReturnInstanceOfFormConfiguration() ) ->willReturn($response->getConfigurationResult); - $this->assertInstanceOf( + self::assertInstanceOf( FormConfigurationInterface::class, $this->subject->getConfiguration($id) ); @@ -418,7 +418,7 @@ public function testSetConfigurationCanReturnInstanceOfMailingConfiguration() ) ->willReturn($response->setConfigurationResult); - $this->assertInstanceOf( + self::assertInstanceOf( FormConfigurationInterface::class, $this->subject->setConfiguration($id, $configuration) ); diff --git a/tests/Client/Image/ImageClientTest.php b/tests/Client/Image/ImageClientTest.php index c663e23..38ad26e 100644 --- a/tests/Client/Image/ImageClientTest.php +++ b/tests/Client/Image/ImageClientTest.php @@ -104,7 +104,7 @@ public function testCreateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($image, $title, $folderId) ); @@ -182,7 +182,7 @@ public function testGetByExternalIdCanReturnInstanceOfResourceInformation() $config )->willReturn($response->getByExternalIdResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->getByExternalId($id) ); @@ -206,7 +206,7 @@ public function testGetByIdCanReturnInstanceOfResourceInformation() $config )->willReturn($response->getByExternalIdResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->getById($id) ); @@ -261,7 +261,7 @@ public function testGetDefaultFolderByMandatorIdCanReturnInstanceOfFolderInforma $config )->willReturn($response->getResourceDefaultCategoryResult); - $this->assertInstanceOf( + self::assertInstanceOf( FolderInformationInterface::class, $this->subject->getDefaultFolderByMandatorId($id) ); @@ -308,7 +308,7 @@ public function testGetServiceAvailableCanReturnInstanceOfServiceStatus() $config )->willReturn($response->isAliveResult); - $this->assertInstanceOf( + self::assertInstanceOf( ServiceStatusInterface::class, $this->subject->getServiceAvailable() ); diff --git a/tests/Client/Mailing/MailingClientTest.php b/tests/Client/Mailing/MailingClientTest.php index 5ec5d2e..90c10cb 100644 --- a/tests/Client/Mailing/MailingClientTest.php +++ b/tests/Client/Mailing/MailingClientTest.php @@ -150,7 +150,7 @@ public function testGetClientStatisticByIdCanReturnInstanceOfClientStatistic() $config )->willReturn($response->getClientStatisticsResult); - $this->assertInstanceOf( + self::assertInstanceOf( ClientStatisticInterface::class, $this->subject->getClientStatisticById($id) ); @@ -176,7 +176,7 @@ public function testGetStatisticsByMailingIdCanReturnInstanceOfMailingStatistic( $config )->willReturn($response->getStatisticsResult); - $this->assertInstanceOf( + self::assertInstanceOf( MailingStatisticInterface::class, $this->subject->getStatisticsByMailingId($id) ); @@ -269,7 +269,7 @@ public function testGetServiceAvailableCanReturnInstanceOfServiceStatus() $config )->willReturn($response->isAliveResult); - $this->assertInstanceOf( + self::assertInstanceOf( ServiceStatusInterface::class, $this->subject->getServiceAvailable() ); @@ -302,7 +302,7 @@ public function testSetConfigurationCanReturnInstanceOfMailingConfiguration() $config )->willReturn($response->setConfigurationResult); - $this->assertInstanceOf( + self::assertInstanceOf( MailingConfigurationInterface::class, $this->subject->setConfiguration($id, $configuration) ); @@ -417,7 +417,7 @@ public function testSendToTargetGroupCanReturnInstanceOfMailingDetail() $config )->willReturn($response->sendToTargetgroupResult); - $this->assertInstanceOf( + self::assertInstanceOf( MailingDetailInterface::class, $this->subject->sendToTargetGroup($id, $targetGroupId, $sendTime, $speed) ); @@ -448,7 +448,7 @@ public function testGetAllArticleImpressionProfilesCanReturnInstanceOfJobHandle( $config )->willReturn($response->getAllArticleImpressionProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getAllArticleImpressionProfiles($id, $attributeTitles) ); @@ -474,7 +474,7 @@ public function testGetConfigurationCanReturnInstanceOfMailingConfiguration() $config )->willReturn($response->getConfigurationResult); - $this->assertInstanceOf( + self::assertInstanceOf( MailingConfigurationInterface::class, $this->subject->getConfiguration($id) ); @@ -505,7 +505,7 @@ public function testGetBounceProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getBounceProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getBounceProfiles($id, $attributeTitles) ); @@ -605,7 +605,7 @@ public function testGetLinkClickProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getLinkClickProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getLinkClickProfiles($id, $linkId, $attributeTitles) ); @@ -666,7 +666,7 @@ public function testGetClickProfiles() $config )->willReturn($response->getClickProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getClickProfiles($id, $attributeTitles) ); @@ -777,7 +777,7 @@ public function testCreateDraft() $config )->willReturn($response->createDraftResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->createDraft($title, $templateId, $folderId, $typeId) ); @@ -808,7 +808,7 @@ public function testGetSoftbounceProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getSoftbounceProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getSoftbounceProfiles($id, $attributeTitles) ); @@ -861,7 +861,7 @@ public function testGetImpressionProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getImpressionProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getImpressionProfiles($id, $attributeTitles) ); @@ -892,7 +892,7 @@ public function testGetRecipientsProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getRecipientsProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getRecipientsProfiles($id, $attributeTitles) ); @@ -918,7 +918,7 @@ public function testGetResultsCanReturnInstanceOfJobResult() $config )->willReturn($response->getResultsResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobResultInterface::class, $this->subject->getResults($id) ); @@ -949,7 +949,7 @@ public function testGetMultipleImpressionProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getMultipleImpressionProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getMultipleImpressionProfiles($id, $attributeTitles) ); @@ -980,7 +980,7 @@ public function testGetAllLinkClickProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getAllLinkClickProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getAllLinkClickProfiles($id, $attributeTitles) ); @@ -1054,7 +1054,7 @@ public function testGetHardbounceProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getHardbounceProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getHardbounceProfiles($id, $attributeTitles) ); @@ -1085,7 +1085,7 @@ public function testGetMultipleClickProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getMultipleClickProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getMultipleClickProfiles($id, $attributeTitles) ); @@ -1118,7 +1118,7 @@ public function testGetArticleImpressionProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getArticleImpressionProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getArticleImpressionProfiles($id, $article_id, $attributeTitles) ); @@ -1149,7 +1149,7 @@ public function testGetUnsubscriptionProfilesCanReturnInstanceOfJobHandle() $config )->willReturn($response->getUnsubscriptionProfilesResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getUnsubscriptionProfiles($id, $attributeTitles) ); @@ -1176,7 +1176,7 @@ public function testSendToProfiles() 'sendToProfilesResult' )->willReturn($response->sendToProfilesResult); - $this->assertSame( + self::assertSame( $profileIds, $this->subject->sendToProfiles($id, $profileIds) ); @@ -1202,7 +1202,7 @@ public function testGetDetailsByIdCanReturnIsntanceOfMailingDetail() $config )->willReturn($response->getDetailsResult); - $this->assertInstanceOf( + self::assertInstanceOf( MailingDetailInterface::class, $this->subject->getDetailsById($id) ); @@ -1228,7 +1228,7 @@ public function testGetJobInformationCanReturnInstanceOfJobHandle() $config )->willReturn($response->getJobInformationResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getJobInformation($id) ); @@ -1247,7 +1247,7 @@ public function testGetResultCursor() 'getResultCursorResult' )->willReturn($response->getResultCursorResult); - $this->assertSame( + self::assertSame( 'some return string', $this->subject->getResultCursorByJobId($id) ); @@ -1275,7 +1275,7 @@ public function testUpdateTitleCanReturnInstanceOfResourceInformationInterface() $config )->willReturn($response->renameResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->updateTitle($id, $title) ); @@ -1412,7 +1412,7 @@ public function testGetByIdCanReturnInstanceOfResourceInformation() $config )->willReturn($response->getByExternalIdResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->getById($id) ); @@ -1436,7 +1436,7 @@ public function testGetDefaultFolderByMandatorIdCanReturnInstanceOfFolderInforma $config )->willReturn($response->getResourceDefaultCategoryResult); - $this->assertInstanceOf( + self::assertInstanceOf( FolderInformationInterface::class, $this->subject->getDefaultFolderByMandatorId($id) ); @@ -1460,7 +1460,7 @@ public function testGetByExternalIdCanReturnInstanceOfResourceInformation() $config )->willReturn($response->getByExternalIdResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->getByExternalId($id) ); @@ -1493,7 +1493,7 @@ public function testGetContentContainerDataReturnsData(): void ) ->willReturn($response->getContentContainerDataResult); - $this->assertSame( + self::assertSame( $object, $this->subject->getContentContainerData($id) ); @@ -1550,7 +1550,7 @@ public function testSetContentContainerDataSetsData(): void ) ->willReturn($extractedData); - $this->assertSame( + self::assertSame( $object, $this->subject->setContentContainerData($id, $hashMap) ); diff --git a/tests/Client/Mailing/MailingTemplateClientTest.php b/tests/Client/Mailing/MailingTemplateClientTest.php index e00dc1b..e5b7584 100644 --- a/tests/Client/Mailing/MailingTemplateClientTest.php +++ b/tests/Client/Mailing/MailingTemplateClientTest.php @@ -124,7 +124,7 @@ public function testCreateReturnsResourceInformationInterface(): void ) ->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($title, $folderId) ); @@ -162,7 +162,7 @@ public function testUpdateTitleCanReturnInstanceOfResourceInformationInterface() ) ->willReturn($response->renameResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->updateTitle($id, $title) ); @@ -380,7 +380,7 @@ public function testGetConfigurationCanReturnsMailingTemplateConfiguration(): vo ) ->willReturn($response->getConfigurationResult); - $this->assertInstanceOf( + self::assertInstanceOf( MailingTemplateConfigurationInterface::class, $this->subject->getConfiguration($id) ); @@ -425,7 +425,7 @@ public function testSetConfigurationReturnsMailingTemplateConfiguration(): void ) ->willReturn($response->setConfigurationResult); - $this->assertInstanceOf( + self::assertInstanceOf( MailingTemplateConfigurationInterface::class, $this->subject->setConfiguration($id, $configuration) ); @@ -461,7 +461,7 @@ public function testGetSourcesReturnsSources(): void ) ->willReturn($response->getSourcesResult); - $this->assertSame( + self::assertSame( $object, $this->subject->getSources($id) ); @@ -508,7 +508,7 @@ public function testSetSourcesReturnsSources(): void ) ->willReturn($response->setSourcesResult); - $this->assertSame( + self::assertSame( $object, $this->subject->setSources($id, $configuration, $overwrite) ); @@ -601,7 +601,7 @@ public function testGetSlotConfigurationReturnsResult(): void ) ->willReturn($response->getSlotConfigurationResult); - $this->assertSame( + self::assertSame( $object, $this->subject->getSlotConfiguration($id) ); @@ -639,7 +639,7 @@ public function testAddSlotAddsSlots(): void ) ->willReturn($response->addSlotResult); - $this->assertSame( + self::assertSame( $object, $this->subject->addSlot($id, $slotNumber) ); @@ -685,7 +685,7 @@ public function testUpdateSlotUpdatesSlot(): void ) ->willReturn($response->updateSlotResult); - $this->assertSame( + self::assertSame( $object, $this->subject->updateSlot( $id, @@ -736,7 +736,7 @@ public function testAddTemplatesToSlotAdds(): void ) ->willReturn($response->addTemplatesToSlotResult); - $this->assertSame( + self::assertSame( $object, $this->subject->addTemplatesToSlot( $id, @@ -786,7 +786,7 @@ public function testUpdateSlotTemplatesUpdates(): void ) ->willReturn($response->updateSlotTemplatesResult); - $this->assertSame( + self::assertSame( $object, $this->subject->updateSlotTemplates( $id, diff --git a/tests/Client/Mandator/MandatorClientTest.php b/tests/Client/Mandator/MandatorClientTest.php index f00cc10..0625432 100644 --- a/tests/Client/Mandator/MandatorClientTest.php +++ b/tests/Client/Mandator/MandatorClientTest.php @@ -84,7 +84,7 @@ public function testGetByIdCanReturnMandatorInterface() ->with($result, 'getByIdResult', $config) ->willReturn($object); - $this->assertSame( + self::assertSame( $object, $this->subject->getById(5) ); diff --git a/tests/Client/Marketplace/MarketplaceClientTest.php b/tests/Client/Marketplace/MarketplaceClientTest.php index e369b9f..e0a9c36 100644 --- a/tests/Client/Marketplace/MarketplaceClientTest.php +++ b/tests/Client/Marketplace/MarketplaceClientTest.php @@ -153,7 +153,7 @@ public function testPurchaseProductCanReturnString(): void ->method('getString') ->with($result, 'RecipeId') ->willReturn($result_string); - $this->assertSame( + self::assertSame( $result_string, $this->subject->purchaseProduct($productId, $mandatorId, $languageId) ); diff --git a/tests/Client/Milestone/MilestoneClientTest.php b/tests/Client/Milestone/MilestoneClientTest.php index ae61539..8c02ee6 100644 --- a/tests/Client/Milestone/MilestoneClientTest.php +++ b/tests/Client/Milestone/MilestoneClientTest.php @@ -102,7 +102,7 @@ public function testCreateCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->create($title, $folderId) ); diff --git a/tests/Client/Pool/PoolClientTest.php b/tests/Client/Pool/PoolClientTest.php index 32746a2..f5f8e84 100644 --- a/tests/Client/Pool/PoolClientTest.php +++ b/tests/Client/Pool/PoolClientTest.php @@ -94,7 +94,7 @@ public function testAddAttributeCanReturnInstanceOfPoolAttribute() $config )->willReturn($response->addAttributeResult); - $this->assertInstanceOf( + self::assertInstanceOf( PoolAttributeInterface::class, $this->subject->addAttribute($id, $title, $label, $typeId) ); @@ -127,7 +127,7 @@ public function testAddAttributeOptionsCanReturnInstanceOfPoolAttribute() $config )->willReturn($response->addAttributeOptionsResult); - $this->assertInstanceOf( + self::assertInstanceOf( PoolAttributeInterface::class, $this->subject->addAttributeOptions($id, $attributeId, $label) ); @@ -180,7 +180,7 @@ public function testDeleteAttributeOptionCanReturnInstanceOfPoolAttribute() $config )->willReturn($response->deleteAttributeOptionResult); - $this->assertInstanceOf( + self::assertInstanceOf( PoolAttributeInterface::class, $this->subject->deleteAttributeOption($id, $attributeId, $optionId) ); @@ -242,7 +242,7 @@ public function testUpdateAttributeOptionCanReturnInstanceOfPoolAttribute() $config )->willReturn($response->updateAttributeOptionResult); - $this->assertInstanceOf( + self::assertInstanceOf( PoolAttributeInterface::class, $this->subject->updateAttributeOption($id, $attributeId, $optionId, $label) ); diff --git a/tests/Client/Pool/PoolDataMinerClientTest.php b/tests/Client/Pool/PoolDataMinerClientTest.php index 10a2038..e56e88b 100644 --- a/tests/Client/Pool/PoolDataMinerClientTest.php +++ b/tests/Client/Pool/PoolDataMinerClientTest.php @@ -90,7 +90,7 @@ public function testUpdateTitleCanReturnInstanceOfResourceInformation() $config )->willReturn($resonse->renameResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->updateTitle($id, $title) ); diff --git a/tests/Client/Profile/ProfileClientTest.php b/tests/Client/Profile/ProfileClientTest.php index 2bfd31e..3b649bf 100644 --- a/tests/Client/Profile/ProfileClientTest.php +++ b/tests/Client/Profile/ProfileClientTest.php @@ -161,7 +161,7 @@ public function testCreateCanReturnInteger() 'createResult' )->willReturn($response->createResult); - $this->assertSame(345, $this->subject->create($id, $hashMap)); + self::assertSame(345, $this->subject->create($id, $hashMap)); } public function testGetByPoolCanReturnInstanceOfJobHandle() @@ -189,7 +189,7 @@ public function testGetByPoolCanReturnInstanceOfJobHandle() $config )->willReturn($response->getByPoolResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getByPool($id, $poolAttributeList) ); @@ -415,7 +415,7 @@ public function testGetResultCursorByJobIdCanReturnString() 'getResultCursorResult' )->willReturn($response->getResultCursorResult); - $this->assertSame( + self::assertSame( 'some return string', $this->subject->getResultCursorByJobId($id) ); @@ -539,7 +539,7 @@ public function testGetByTargetGroupCanReturnInstanceOfJobHandle() $config )->willReturn($response->getByTargetGroupResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getByTargetGroup($id, $poolAttributeList) ); @@ -670,7 +670,7 @@ public function testMassUpdateCanReturnInstanceOfMassUpdateResult() $config )->willReturn($response->massUpdateResult); - $this->assertInstanceOf( + self::assertInstanceOf( MassUpdateResultInterface::class, $this->subject->massUpdate($id, $keyAttributeTitle, $attributes, $data, $merge, $ignoreMissing) ); @@ -860,7 +860,7 @@ public function testGetJobInformationByJobIdCanReturnInstanceOfJobHandle() $config )->willReturn($response->getJobInformationResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getJobInformationByJobId($id) ); @@ -956,7 +956,7 @@ public function testGetResultByJobIdCanReturnInstanceOfJobResult() $config )->willReturn($response->getResultsResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobResultInterface::class, $this->subject->getResultByJobId($id) ); @@ -1066,7 +1066,7 @@ public function testGetByIdCanReturnInstanceOfHashMap() )->willReturn($response->getByIdResult); - $this->assertInstanceOf( + self::assertInstanceOf( HashMapInterface::class, $this->subject->getById($id) ); @@ -1254,7 +1254,7 @@ public function testGetByMilestoneCanReturnInstanceJobHandleInterface(): void $config )->willReturn($response->getByMilestoneResult); - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getByMilestone($milestoneId, $poolAttributeList, $timestampStart, $timestampEnd) ); diff --git a/tests/Client/Smartlink/SmartLinkClientTest.php b/tests/Client/Smartlink/SmartLinkClientTest.php index 7cdbb99..4a54401 100644 --- a/tests/Client/Smartlink/SmartLinkClientTest.php +++ b/tests/Client/Smartlink/SmartLinkClientTest.php @@ -95,7 +95,7 @@ public function testCreateLinkCanReturnString() 'createLinkResult' )->willReturn($result_string); - $this->assertSame($result_string, $this->subject->createLink($id, $title, $url)); + self::assertSame($result_string, $this->subject->createLink($id, $title, $url)); } public function testGetTrackingUrlsCanReturnArrayOfSmartLink() @@ -216,7 +216,7 @@ public function testSetLinkConfigurations() ) ->willReturn($response->setLinkConfigurationsResult); - $this->assertSame( + self::assertSame( $result, $this->subject->setLinkConfigurations($link_id, $configurations) ); @@ -273,7 +273,7 @@ public function testCreateLinkConfigurations() ) ->willReturn($response->setLinkConfigurationsResult); - $this->assertSame( + self::assertSame( $result, $this->subject->createLinkConfigurations($link_id, $configurations) ); diff --git a/tests/Client/TargetGroup/TargetGroupClientTest.php b/tests/Client/TargetGroup/TargetGroupClientTest.php index 3838635..5155f0a 100644 --- a/tests/Client/TargetGroup/TargetGroupClientTest.php +++ b/tests/Client/TargetGroup/TargetGroupClientTest.php @@ -99,7 +99,7 @@ public function testCreateByOptionCanReturnInstanceOfResourceInformation() $config )->willReturn($response->createByOptionResult); - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->createByOption($id, $attributeId, $optionId, $folderId, $title) ); @@ -126,7 +126,7 @@ public function testGetDetailByIdCanReturnInstanceOfTargetGroupDetailInterface() )->willReturn($response->createByOptionResult); - $this->assertInstanceOf( + self::assertInstanceOf( TargetGroupDetailInterface::class, $this->subject->getDetailById($id) ); diff --git a/tests/Client/User/UserClientTest.php b/tests/Client/User/UserClientTest.php index 000b32a..022f1de 100644 --- a/tests/Client/User/UserClientTest.php +++ b/tests/Client/User/UserClientTest.php @@ -77,7 +77,7 @@ public function testGetByUsernameCanReturnInstanceOfUserInterface() $config )->willReturn($object); - $this->assertSame( + self::assertSame( $object, $this->subject->getByUsername('some username') ); @@ -132,7 +132,7 @@ public function testUpdateUserCanReturnInstanceOfUserInterface() ->with($result, 'updateResult', $config) ->willReturn($object); - $this->assertInstanceOf( + self::assertInstanceOf( UserInterface::class, $this->subject->updateUser($object) ); diff --git a/tests/Client/Workflow/WorkflowClientTest.php b/tests/Client/Workflow/WorkflowClientTest.php index e29ccd2..f8ecc86 100644 --- a/tests/Client/Workflow/WorkflowClientTest.php +++ b/tests/Client/Workflow/WorkflowClientTest.php @@ -161,7 +161,7 @@ public function testGetDetailByIdCanReturnInstanceOfWorkflowDetail() $this->soapClient->expects($this->once())->method('getDetails')->with(['resource_id' => $id])->willReturn($result); $this->responseMapper->expects($this->once())->method('getObject')->with($result)->willReturn($object); - $this->assertInstanceOf( + self::assertInstanceOf( WorkflowDetailInterface::class, $this->subject->getDetailById($id) ); @@ -218,7 +218,7 @@ public function testCreateConfiguredReturnsResourceInformation() ->method('getObject') ->with($result, 'createConfiguredResult', $resourceInformationConfig) ->willReturn($resourceInformation); - $this->assertSame( + self::assertSame( $resourceInformation, $this->subject->createConfigured($name, $schemaVersion, $workflowConfiguration, $categoryId) ); @@ -244,7 +244,7 @@ public function testExportReturnString() ->with($result, 'exportResult') ->willReturn($result_string); - $this->assertSame( + self::assertSame( $result_string, $this->subject->export($workflowId) ); @@ -274,7 +274,7 @@ public function testSetConfigurationSets(): void ->with($result, 'setConfigurationResult') ->willReturn($resultString); - $this->assertSame( + self::assertSame( $resultString, $this->subject->setConfiguration($workflowId, $configVersion, $configuration) ); @@ -305,7 +305,7 @@ public function testGetConfigurationVersionsReturnsResults(): void ->method('createWorkflowConfigVersionConfig') ->willReturn($configVersionsConfig); - $this->assertSame( + self::assertSame( $configResult, $this->subject->getConfigurationVersions($workflowId) ); @@ -336,7 +336,7 @@ public function testActivateActivates(): void ->method('createWorkflowStateChangeResultConfig') ->willReturn($hydratorConfig); - $this->assertSame( + self::assertSame( $configResult, $this->subject->activate($workflowId) ); @@ -367,7 +367,7 @@ public function testDeactivateDeactivates(): void ->method('createWorkflowStateChangeResultConfig') ->willReturn($hydratorConfig); - $this->assertSame( + self::assertSame( $configResult, $this->subject->deactivate($workflowId) ); @@ -398,7 +398,7 @@ public function testGetConfigurationReturnsResult(): void ->method('createWorkflowConfigurationConfig') ->willReturn($hydratorConfig); - $this->assertSame( + self::assertSame( $configResult, $this->subject->getConfiguration($workflowId) ); diff --git a/tests/ConfigTestCase.php b/tests/ConfigTestCase.php index 1c0e89d..cad4787 100644 --- a/tests/ConfigTestCase.php +++ b/tests/ConfigTestCase.php @@ -11,7 +11,7 @@ public function testGetHydratorPropertiesCanReturnArray() $subject = $this->getSubject(); foreach ($this->getArrayKeys() as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $subject->getHydratorProperties()); } } @@ -20,7 +20,7 @@ public function testGetExtractorPropertiesCanReturnArray() $subject = $this->getSubject(); foreach ($this->getArrayKeys() as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $subject->getExtractorProperties()); } } diff --git a/tests/EvalancheConfigTest.php b/tests/EvalancheConfigTest.php index fa36df1..c99eace 100644 --- a/tests/EvalancheConfigTest.php +++ b/tests/EvalancheConfigTest.php @@ -30,19 +30,19 @@ public function setUp(): void public function testGetUsernameCanReturnUsername() { - $this->assertSame('some username', $this->subject->getUsername()); + self::assertSame('some username', $this->subject->getUsername()); } public function testGetPasswordCanReturnPassword() { - $this->assertSame('some password', $this->subject->getPassword()); + self::assertSame('some password', $this->subject->getPassword()); } public function testGetWsdlServiceUrlCanReturnWsdlUrl() { $wsdlUri = 'some wsdl uri'; - $this->assertSame( + self::assertSame( sprintf('https://%s/%s', 'some hostname', $wsdlUri), $this->subject->getWsdlServiceUrl($wsdlUri) ); @@ -55,7 +55,7 @@ public function testGetDebugModeCanReturnBoolean() public function testGetSoapSettingsReturnsData(): void { - $this->assertSame( + self::assertSame( $this->soapSettings, $this->subject->getSoapClientOptions() ); diff --git a/tests/EvalancheConnectionTest.php b/tests/EvalancheConnectionTest.php index 6a0a21d..bde7b20 100644 --- a/tests/EvalancheConnectionTest.php +++ b/tests/EvalancheConnectionTest.php @@ -61,7 +61,7 @@ public function setUp(): void public function testCreateAccountClientCanReturnInstanceOfAccountClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Account\AccountClientInterface::class, $this->subject->createAccountClient() ); @@ -69,7 +69,7 @@ public function testCreateAccountClientCanReturnInstanceOfAccountClient() public function testCreateArticleClientCanReturnInstanceOfArticleClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Article\ArticleClientInterface::class, $this->subject->createArticleClient() ); @@ -77,7 +77,7 @@ public function testCreateArticleClientCanReturnInstanceOfArticleClient() public function testCreateArticleTemplateClientCanReturnInstanceOfArticleTemplateClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Article\ArticleTemplateClientInterface::class, $this->subject->createArticleTemplateClient() ); @@ -85,7 +85,7 @@ public function testCreateArticleTemplateClientCanReturnInstanceOfArticleTemplat public function testCreateArticleTypeClientCanReturnInstanceOfArticleTypeClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Article\ArticleTypeClientInterface::class, $this->subject->createArticleTypeClient() ); @@ -93,7 +93,7 @@ public function testCreateArticleTypeClientCanReturnInstanceOfArticleTypeClient( public function testCreateFolderClientCanReturnInstanceOfCategoryClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Folder\FolderClientInterface::class, $this->subject->createFolderClient() ); @@ -101,7 +101,7 @@ public function testCreateFolderClientCanReturnInstanceOfCategoryClient() public function testCreateContainerClientCanReturnInstanceOfContainerClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Container\ContainerClientInterface::class, $this->subject->createContainerClient() ); @@ -109,7 +109,7 @@ public function testCreateContainerClientCanReturnInstanceOfContainerClient() public function testCreateContainerTypeClientCanReturnInstanceOfContainerTypeClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Container\ContainerTypeClientInterface::class, $this->subject->createContainerTypeClient() ); @@ -117,7 +117,7 @@ public function testCreateContainerTypeClientCanReturnInstanceOfContainerTypeCli public function testCreateDocumentClientCanReturnInstanceOfDocumentClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Document\DocumentClientInterface::class, $this->subject->createDocumentClient() ); @@ -125,7 +125,7 @@ public function testCreateDocumentClientCanReturnInstanceOfDocumentClient() public function testCreateFormClientCanReturnInstanceOfFormClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Form\FormClientInterface::class, $this->subject->createFormClient() ); @@ -133,7 +133,7 @@ public function testCreateFormClientCanReturnInstanceOfFormClient() public function testCreateTargetGroupClientCanReturnInstanceOfTargetGroupClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\TargetGroup\TargetGroupClientInterface::class, $this->subject->createTargetGroupClient() ); @@ -141,7 +141,7 @@ public function testCreateTargetGroupClientCanReturnInstanceOfTargetGroupClient( public function testCreateImageClientCanReturnInstanceOfImageClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Image\ImageClientInterface::class, $this->subject->createImageClient() ); @@ -149,7 +149,7 @@ public function testCreateImageClientCanReturnInstanceOfImageClient() public function testCreateMailingclientCanReturnInstanceOfMailingClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Mailing\MailingClientInterface::class, $this->subject->createMailingClient() ); @@ -157,7 +157,7 @@ public function testCreateMailingclientCanReturnInstanceOfMailingClient() public function testCreateMailingTemplateClientCanReturnInstanceOfMailingTemplateClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Mailing\MailingTemplateClientInterface::class, $this->subject->createMailingTemplateClient() ); @@ -165,7 +165,7 @@ public function testCreateMailingTemplateClientCanReturnInstanceOfMailingTemplat public function testCreateMandatorClientCanReturnInstanceOfMandatorClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Mandator\MandatorClientInterface::class, $this->subject->createMandatorClient() ); @@ -173,7 +173,7 @@ public function testCreateMandatorClientCanReturnInstanceOfMandatorClient() public function testCreatePoolClientCanReturnInstanceOfPoolClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Pool\PoolClientInterface::class, $this->subject->createPoolClient() ); @@ -181,7 +181,7 @@ public function testCreatePoolClientCanReturnInstanceOfPoolClient() public function testCreatePoolDataMinerClientCanReturnInstanceOfPoolDataMinerClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Pool\PoolDataMinerClientInterface::class, $this->subject->createPoolDataMinerClient() ); @@ -189,7 +189,7 @@ public function testCreatePoolDataMinerClientCanReturnInstanceOfPoolDataMinerCli public function testCreateProfileClientCanReturnInstanceOfProfileClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Profile\ProfileClientInterface::class, $this->subject->createProfileClient() ); @@ -197,7 +197,7 @@ public function testCreateProfileClientCanReturnInstanceOfProfileClient() public function testCreateReportClientCanReturnInstanceOfReportClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Report\ReportClientInterface::class, $this->subject->createReportClient() ); @@ -205,7 +205,7 @@ public function testCreateReportClientCanReturnInstanceOfReportClient() public function testCreateScoringClientCanReturnInstanceOfScoringClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Scoring\ScoringClientInterface::class, $this->subject->createScoringClient() ); @@ -213,7 +213,7 @@ public function testCreateScoringClientCanReturnInstanceOfScoringClient() public function testCreateSmartLinkClientCanReturnInstanceOfSmartLinkClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Smartlink\SmartLinkClientInterface::class, $this->subject->createSmartLinkClient() ); @@ -221,7 +221,7 @@ public function testCreateSmartLinkClientCanReturnInstanceOfSmartLinkClient() public function testCreateUserClientCanReturnInstanceOfUserClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\User\UserClientInterface::class, $this->subject->createUserClient() ); @@ -229,7 +229,7 @@ public function testCreateUserClientCanReturnInstanceOfUserClient() public function testCreateWorkflowClientCanReturnInstanceOfWorkflowClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Workflow\WorkflowClientInterface::class, $this->subject->createWorkflowClient() ); @@ -237,7 +237,7 @@ public function testCreateWorkflowClientCanReturnInstanceOfWorkflowClient() public function testCreateCanReturnInstanceOfEvalancheConnection() { - $this->assertInstanceOf( + self::assertInstanceOf( EvalancheConnectionInterface::class, $this->subject::create('some host', 'some user', 'some password') ); @@ -245,7 +245,7 @@ public function testCreateCanReturnInstanceOfEvalancheConnection() public function testCreateBlackListClientCanReturnInstanceOfBlackListClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Blacklist\BlackListClient::class, $this->subject->createBlackListClient() ); @@ -253,7 +253,7 @@ public function testCreateBlackListClientCanReturnInstanceOfBlackListClient() public function testCreateWebhookClientCanReturnInstanceOfWebhookClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Webhook\WebhookClient::class, $this->subject->createWebhookClient() ); @@ -261,7 +261,7 @@ public function testCreateWebhookClientCanReturnInstanceOfWebhookClient() public function testCreateMilestoneClientCanReturnInstanceOfMileStoneClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Milestone\MilestoneClient::class, $this->subject->createMilestoneClient() ); @@ -269,7 +269,7 @@ public function testCreateMilestoneClientCanReturnInstanceOfMileStoneClient() public function testCreateMarketplaceClientCanReturnInstanceOfMarketplaceClient() { - $this->assertInstanceOf( + self::assertInstanceOf( Client\Marketplace\MarketplaceClient::class, $this->subject->createMarketplaceClient() ); @@ -277,7 +277,7 @@ public function testCreateMarketplaceClientCanReturnInstanceOfMarketplaceClient( public function testCreateCouponListClientReturnsInstance(): void { - $this->assertInstanceOf( + self::assertInstanceOf( Client\CouponList\CouponListClient::class, $this->subject->createCouponListClient() ); diff --git a/tests/Extractor/ExtractorTest.php b/tests/Extractor/ExtractorTest.php index bee148b..df6cdfe 100644 --- a/tests/Extractor/ExtractorTest.php +++ b/tests/Extractor/ExtractorTest.php @@ -50,7 +50,7 @@ public function testExtractCanReturnArray() 'somethingfalse' => false, ]); - $this->assertSame([ + self::assertSame([ 'id' => 5, 'password' => 'something', 'somethingempty' => '', @@ -88,7 +88,7 @@ public function testExtractArrayCanReturnArray() ] ]; - $this->assertSame($expectedArray, $this->subject->extractArray( + self::assertSame($expectedArray, $this->subject->extractArray( $config, [$user, $user] )); diff --git a/tests/Hydrator/Config/Account/AccountConfigTest.php b/tests/Hydrator/Config/Account/AccountConfigTest.php index bf457da..2993f2a 100644 --- a/tests/Hydrator/Config/Account/AccountConfigTest.php +++ b/tests/Hydrator/Config/Account/AccountConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( AccountInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Account/AccountingItemConfigTest.php b/tests/Hydrator/Config/Account/AccountingItemConfigTest.php index 3735b50..dc42005 100644 --- a/tests/Hydrator/Config/Account/AccountingItemConfigTest.php +++ b/tests/Hydrator/Config/Account/AccountingItemConfigTest.php @@ -36,7 +36,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( AccountingItemInterface::class, $this->subject->getObject() ); @@ -45,14 +45,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Account/AccountingTypeConfigTest.php b/tests/Hydrator/Config/Account/AccountingTypeConfigTest.php index a8a7107..8af8573 100644 --- a/tests/Hydrator/Config/Account/AccountingTypeConfigTest.php +++ b/tests/Hydrator/Config/Account/AccountingTypeConfigTest.php @@ -37,7 +37,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( AccountingTypeInterface::class, $this->subject->getObject() ); @@ -46,14 +46,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Account/DiscountConfigTest.php b/tests/Hydrator/Config/Account/DiscountConfigTest.php index 6d8dd89..cf24123 100644 --- a/tests/Hydrator/Config/Account/DiscountConfigTest.php +++ b/tests/Hydrator/Config/Account/DiscountConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( DiscountInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Article/ArticleDetailConfigTest.php b/tests/Hydrator/Config/Article/ArticleDetailConfigTest.php index 52afc56..db262ab 100644 --- a/tests/Hydrator/Config/Article/ArticleDetailConfigTest.php +++ b/tests/Hydrator/Config/Article/ArticleDetailConfigTest.php @@ -39,7 +39,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ArticleDetailInterface::class, $this->subject->getObject() ); @@ -48,14 +48,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Article/ArticleIndividualizationConfigTest.php b/tests/Hydrator/Config/Article/ArticleIndividualizationConfigTest.php index 7f23803..bde9a0e 100644 --- a/tests/Hydrator/Config/Article/ArticleIndividualizationConfigTest.php +++ b/tests/Hydrator/Config/Article/ArticleIndividualizationConfigTest.php @@ -31,7 +31,7 @@ public function setUp(): void public function testGetObjectReturnsInstance(): void { - $this->assertInstanceOf( + self::assertInstanceOf( ArticleIndividualizationInterface::class, $this->subject->getObject() ); @@ -40,14 +40,14 @@ public function testGetObjectReturnsInstance(): void public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Article/ArticleIndividualizationItemConfigTest.php b/tests/Hydrator/Config/Article/ArticleIndividualizationItemConfigTest.php index 894794e..6796d1d 100644 --- a/tests/Hydrator/Config/Article/ArticleIndividualizationItemConfigTest.php +++ b/tests/Hydrator/Config/Article/ArticleIndividualizationItemConfigTest.php @@ -29,7 +29,7 @@ public function setUp(): void public function testGetObjectReturnsInstance(): void { - $this->assertInstanceOf( + self::assertInstanceOf( ArticleIndividualizationItemInterface::class, $this->subject->getObject() ); @@ -38,14 +38,14 @@ public function testGetObjectReturnsInstance(): void public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Blacklist/BlackListConfigTest.php b/tests/Hydrator/Config/Blacklist/BlackListConfigTest.php index 240d398..e74e794 100644 --- a/tests/Hydrator/Config/Blacklist/BlackListConfigTest.php +++ b/tests/Hydrator/Config/Blacklist/BlackListConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( BlackListInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Blacklist/BlackListItemConfigTest.php b/tests/Hydrator/Config/Blacklist/BlackListItemConfigTest.php index 7ce5b44..d65d5a6 100644 --- a/tests/Hydrator/Config/Blacklist/BlackListItemConfigTest.php +++ b/tests/Hydrator/Config/Blacklist/BlackListItemConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( BlackListItemInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Container/ContainerAttributeConfigTest.php b/tests/Hydrator/Config/Container/ContainerAttributeConfigTest.php index c91bd50..fa42ea7 100644 --- a/tests/Hydrator/Config/Container/ContainerAttributeConfigTest.php +++ b/tests/Hydrator/Config/Container/ContainerAttributeConfigTest.php @@ -42,7 +42,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeInterface::class, $this->subject->getObject() ); @@ -51,14 +51,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Container/ContainerAttributeGroupConfigTest.php b/tests/Hydrator/Config/Container/ContainerAttributeGroupConfigTest.php index 89339a0..265bc94 100644 --- a/tests/Hydrator/Config/Container/ContainerAttributeGroupConfigTest.php +++ b/tests/Hydrator/Config/Container/ContainerAttributeGroupConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeGroupInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Container/ContainerAttributeOptionConfigTest.php b/tests/Hydrator/Config/Container/ContainerAttributeOptionConfigTest.php index b4f49e6..bb8345d 100644 --- a/tests/Hydrator/Config/Container/ContainerAttributeOptionConfigTest.php +++ b/tests/Hydrator/Config/Container/ContainerAttributeOptionConfigTest.php @@ -36,7 +36,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeOptionInterface::class, $this->subject->getObject() ); @@ -45,14 +45,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Container/ContainerAttributeRoleTypeConfigTest.php b/tests/Hydrator/Config/Container/ContainerAttributeRoleTypeConfigTest.php index 4173a31..1a1e417 100644 --- a/tests/Hydrator/Config/Container/ContainerAttributeRoleTypeConfigTest.php +++ b/tests/Hydrator/Config/Container/ContainerAttributeRoleTypeConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ContainerAttributeRoleTypeInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Container/ContainerDetailConfigTest.php b/tests/Hydrator/Config/Container/ContainerDetailConfigTest.php index b9ee736..492fd59 100644 --- a/tests/Hydrator/Config/Container/ContainerDetailConfigTest.php +++ b/tests/Hydrator/Config/Container/ContainerDetailConfigTest.php @@ -39,7 +39,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ContainerDetailInterface::class, $this->subject->getObject() ); @@ -48,14 +48,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/CouponList/CouponListProfileCouponConfigTest.php b/tests/Hydrator/Config/CouponList/CouponListProfileCouponConfigTest.php index bea7318..6065ef5 100644 --- a/tests/Hydrator/Config/CouponList/CouponListProfileCouponConfigTest.php +++ b/tests/Hydrator/Config/CouponList/CouponListProfileCouponConfigTest.php @@ -25,7 +25,7 @@ public function setUp(): void public function testGetObjectReturnsObject(): void { - $this->assertInstanceOf( + self::assertInstanceOf( ProfileCouponInterface::class, $this->subject->getObject() ); @@ -34,14 +34,14 @@ public function testGetObjectReturnsObject(): void public function testGetHydratorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Form/FormConfigurationConfigTest.php b/tests/Hydrator/Config/Form/FormConfigurationConfigTest.php index 555da67..10d5ad8 100644 --- a/tests/Hydrator/Config/Form/FormConfigurationConfigTest.php +++ b/tests/Hydrator/Config/Form/FormConfigurationConfigTest.php @@ -54,7 +54,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( FormConfigurationInterface::class, $this->subject->getObject() ); @@ -63,14 +63,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/FolderInformationConfigTest.php b/tests/Hydrator/Config/Generic/FolderInformationConfigTest.php index a656afb..907d6a0 100644 --- a/tests/Hydrator/Config/Generic/FolderInformationConfigTest.php +++ b/tests/Hydrator/Config/Generic/FolderInformationConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfFolderInformation() { - $this->assertInstanceOf( + self::assertInstanceOf( FolderInformationInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfFolderInformation() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/HashMapConfigTest.php b/tests/Hydrator/Config/Generic/HashMapConfigTest.php index 714c343..2ed51b1 100644 --- a/tests/Hydrator/Config/Generic/HashMapConfigTest.php +++ b/tests/Hydrator/Config/Generic/HashMapConfigTest.php @@ -33,7 +33,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( HashMapInterface::class, $this->subject->getObject() ); @@ -42,14 +42,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/HashMapItemConfigTest.php b/tests/Hydrator/Config/Generic/HashMapItemConfigTest.php index d0918a6..ba43f57 100644 --- a/tests/Hydrator/Config/Generic/HashMapItemConfigTest.php +++ b/tests/Hydrator/Config/Generic/HashMapItemConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( HashMapItemInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/JobHandleConfigTest.php b/tests/Hydrator/Config/Generic/JobHandleConfigTest.php index 53170a9..9b3accd 100644 --- a/tests/Hydrator/Config/Generic/JobHandleConfigTest.php +++ b/tests/Hydrator/Config/Generic/JobHandleConfigTest.php @@ -39,7 +39,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( JobHandleInterface::class, $this->subject->getObject() ); @@ -48,14 +48,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/JobResultConfigTest.php b/tests/Hydrator/Config/Generic/JobResultConfigTest.php index 967efe3..39fff18 100644 --- a/tests/Hydrator/Config/Generic/JobResultConfigTest.php +++ b/tests/Hydrator/Config/Generic/JobResultConfigTest.php @@ -42,7 +42,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( JobResultInterface::class, $this->subject->getObject() ); @@ -51,14 +51,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/MassUpdateResultConfigTest.php b/tests/Hydrator/Config/Generic/MassUpdateResultConfigTest.php index 81f16ca..69e44bd 100644 --- a/tests/Hydrator/Config/Generic/MassUpdateResultConfigTest.php +++ b/tests/Hydrator/Config/Generic/MassUpdateResultConfigTest.php @@ -36,7 +36,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MassUpdateResultInterface::class, $this->subject->getObject() ); @@ -45,14 +45,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/ResourceInformationConfigTest.php b/tests/Hydrator/Config/Generic/ResourceInformationConfigTest.php index 0a51b0e..225919d 100644 --- a/tests/Hydrator/Config/Generic/ResourceInformationConfigTest.php +++ b/tests/Hydrator/Config/Generic/ResourceInformationConfigTest.php @@ -38,7 +38,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ResourceInformationInterface::class, $this->subject->getObject() ); @@ -47,14 +47,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/ResourceTypeInformationConfigTest.php b/tests/Hydrator/Config/Generic/ResourceTypeInformationConfigTest.php index a4f54b9..ecdc7d9 100644 --- a/tests/Hydrator/Config/Generic/ResourceTypeInformationConfigTest.php +++ b/tests/Hydrator/Config/Generic/ResourceTypeInformationConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ResourceTypeInformationInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Generic/ServiceStatusConfigTest.php b/tests/Hydrator/Config/Generic/ServiceStatusConfigTest.php index ee7f53a..0b6a542 100644 --- a/tests/Hydrator/Config/Generic/ServiceStatusConfigTest.php +++ b/tests/Hydrator/Config/Generic/ServiceStatusConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ServiceStatusInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/HydratorConfigFactoryTest.php b/tests/Hydrator/Config/HydratorConfigFactoryTest.php index 1c473ce..9a198c1 100644 --- a/tests/Hydrator/Config/HydratorConfigFactoryTest.php +++ b/tests/Hydrator/Config/HydratorConfigFactoryTest.php @@ -82,13 +82,13 @@ public function setUp(): void */ public function testFactoryMethods($method, $expectedClass, array $parameter = []) { - $this->assertInstanceOf( + self::assertInstanceOf( $expectedClass, call_user_func_array([$this->subject, $method], $parameter) ); } - public function factoryDataProvider() + public static function factoryDataProvider() { return [ ['createWorkflowDetailConfig', WorkflowDetailConfig::class], diff --git a/tests/Hydrator/Config/Mailing/MailingArticleConfigTest.php b/tests/Hydrator/Config/Mailing/MailingArticleConfigTest.php index 8b01e78..7003dda 100644 --- a/tests/Hydrator/Config/Mailing/MailingArticleConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingArticleConfigTest.php @@ -42,7 +42,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingArticleInterface::class, $this->subject->getObject() ); @@ -51,14 +51,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Mailing/MailingClickConfigTest.php b/tests/Hydrator/Config/Mailing/MailingClickConfigTest.php index d62fe46..df66a42 100644 --- a/tests/Hydrator/Config/Mailing/MailingClickConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingClickConfigTest.php @@ -38,7 +38,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingClickInterface::class, $this->subject->getObject() ); @@ -47,14 +47,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Mailing/MailingConfigurationConfigTest.php b/tests/Hydrator/Config/Mailing/MailingConfigurationConfigTest.php index e99aa6e..31195df 100644 --- a/tests/Hydrator/Config/Mailing/MailingConfigurationConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingConfigurationConfigTest.php @@ -72,7 +72,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingConfigurationInterface::class, $this->subject->getObject() ); @@ -81,14 +81,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Mailing/MailingDetailConfigTest.php b/tests/Hydrator/Config/Mailing/MailingDetailConfigTest.php index 1194983..889bf4f 100644 --- a/tests/Hydrator/Config/Mailing/MailingDetailConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingDetailConfigTest.php @@ -48,7 +48,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingDetailInterface::class, $this->subject->getObject() ); @@ -57,14 +57,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Mailing/MailingImpressionConfigTest.php b/tests/Hydrator/Config/Mailing/MailingImpressionConfigTest.php index 622f2c6..e305aad 100644 --- a/tests/Hydrator/Config/Mailing/MailingImpressionConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingImpressionConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingImpressionInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Mailing/MailingSlotConfigTest.php b/tests/Hydrator/Config/Mailing/MailingSlotConfigTest.php index 29fd475..1fdd1a4 100644 --- a/tests/Hydrator/Config/Mailing/MailingSlotConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingSlotConfigTest.php @@ -19,7 +19,7 @@ public function setUp(): void public function testGetObjectReturnsData(): void { - $this->assertInstanceOf( + self::assertInstanceOf( MailingSlot::class, $this->subject->getObject() ); diff --git a/tests/Hydrator/Config/Mailing/MailingSlotConfigurationConfigTest.php b/tests/Hydrator/Config/Mailing/MailingSlotConfigurationConfigTest.php index 884c8ff..59ec547 100644 --- a/tests/Hydrator/Config/Mailing/MailingSlotConfigurationConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingSlotConfigurationConfigTest.php @@ -19,7 +19,7 @@ public function setUp(): void public function testGetObjectReturnsData(): void { - $this->assertInstanceOf( + self::assertInstanceOf( MailingSlotConfiguration::class, $this->subject->getObject() ); diff --git a/tests/Hydrator/Config/Mailing/MailingSlotItemConfigTest.php b/tests/Hydrator/Config/Mailing/MailingSlotItemConfigTest.php index 76d5259..848693e 100644 --- a/tests/Hydrator/Config/Mailing/MailingSlotItemConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingSlotItemConfigTest.php @@ -19,7 +19,7 @@ public function setUp(): void public function testGetObjectReturnsData(): void { - $this->assertInstanceOf( + self::assertInstanceOf( MailingSlotItem::class, $this->subject->getObject() ); diff --git a/tests/Hydrator/Config/Mailing/MailingStatusConfigTest.php b/tests/Hydrator/Config/Mailing/MailingStatusConfigTest.php index 8f1978c..e62f2e2 100644 --- a/tests/Hydrator/Config/Mailing/MailingStatusConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingStatusConfigTest.php @@ -38,7 +38,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfMailingStatusConfig() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingStatusInterface::class, $this->subject->getObject() ); @@ -47,12 +47,12 @@ public function testGetObjectCanReturnInstanceOfMailingStatusConfig() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { - $this->assertSame([], $this->subject->getExtractorProperties()); + self::assertSame([], $this->subject->getExtractorProperties()); } } diff --git a/tests/Hydrator/Config/Mailing/MailingSubjectConfigTest.php b/tests/Hydrator/Config/Mailing/MailingSubjectConfigTest.php index 819e479..fd25103 100644 --- a/tests/Hydrator/Config/Mailing/MailingSubjectConfigTest.php +++ b/tests/Hydrator/Config/Mailing/MailingSubjectConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingSubjectInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/MailingTemplate/MailingTemplateAllowedTemplatesConfigTest.php b/tests/Hydrator/Config/MailingTemplate/MailingTemplateAllowedTemplatesConfigTest.php index 3bd0a3d..75bf99e 100644 --- a/tests/Hydrator/Config/MailingTemplate/MailingTemplateAllowedTemplatesConfigTest.php +++ b/tests/Hydrator/Config/MailingTemplate/MailingTemplateAllowedTemplatesConfigTest.php @@ -30,7 +30,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingTemplateAllowedTemplatesInterface::class, $this->subject->getObject() ); @@ -39,14 +39,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/MailingTemplate/MailingTemplateConfigurationConfigTest.php b/tests/Hydrator/Config/MailingTemplate/MailingTemplateConfigurationConfigTest.php index 183b032..7852769 100644 --- a/tests/Hydrator/Config/MailingTemplate/MailingTemplateConfigurationConfigTest.php +++ b/tests/Hydrator/Config/MailingTemplate/MailingTemplateConfigurationConfigTest.php @@ -72,7 +72,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingTemplateConfigurationInterface::class, $this->subject->getObject() ); @@ -81,14 +81,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/MailingTemplate/MailingTemplateSourcesConfigTest.php b/tests/Hydrator/Config/MailingTemplate/MailingTemplateSourcesConfigTest.php index 826c7de..3113674 100644 --- a/tests/Hydrator/Config/MailingTemplate/MailingTemplateSourcesConfigTest.php +++ b/tests/Hydrator/Config/MailingTemplate/MailingTemplateSourcesConfigTest.php @@ -27,7 +27,7 @@ public function setUp(): void public function testGetObjectReturnsObject(): void { - $this->assertInstanceOf( + self::assertInstanceOf( MailingTemplatesSourcesInterface::class, $this->subject->getObject() ); @@ -36,14 +36,14 @@ public function testGetObjectReturnsObject(): void public function testGetHydratorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Mandator/MandatorConfigTest.php b/tests/Hydrator/Config/Mandator/MandatorConfigTest.php index b95a67a..1557827 100644 --- a/tests/Hydrator/Config/Mandator/MandatorConfigTest.php +++ b/tests/Hydrator/Config/Mandator/MandatorConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MandatorInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Marketplace/CategoryConfigTest.php b/tests/Hydrator/Config/Marketplace/CategoryConfigTest.php index 2f0f6f1..71cfac9 100644 --- a/tests/Hydrator/Config/Marketplace/CategoryConfigTest.php +++ b/tests/Hydrator/Config/Marketplace/CategoryConfigTest.php @@ -29,7 +29,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfProduct() { - $this->assertInstanceOf( + self::assertInstanceOf( CategoryInterface::class, $this->subject->getObject() ); @@ -38,14 +38,14 @@ public function testGetObjectCanReturnInstanceOfProduct() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Marketplace/ProductConfigTest.php b/tests/Hydrator/Config/Marketplace/ProductConfigTest.php index 7dbb91e..59e224d 100644 --- a/tests/Hydrator/Config/Marketplace/ProductConfigTest.php +++ b/tests/Hydrator/Config/Marketplace/ProductConfigTest.php @@ -31,7 +31,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfProduct() { - $this->assertInstanceOf( + self::assertInstanceOf( ProductInterface::class, $this->subject->getObject() ); @@ -40,14 +40,14 @@ public function testGetObjectCanReturnInstanceOfProduct() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Pool/PoolAttributeConfigTest.php b/tests/Hydrator/Config/Pool/PoolAttributeConfigTest.php index 041a799..b50a2aa 100644 --- a/tests/Hydrator/Config/Pool/PoolAttributeConfigTest.php +++ b/tests/Hydrator/Config/Pool/PoolAttributeConfigTest.php @@ -39,7 +39,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( PoolAttributeInterface::class, $this->subject->getObject() ); @@ -48,14 +48,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Pool/PoolAttributeOptionConfigTest.php b/tests/Hydrator/Config/Pool/PoolAttributeOptionConfigTest.php index ed5cd55..57f11fb 100644 --- a/tests/Hydrator/Config/Pool/PoolAttributeOptionConfigTest.php +++ b/tests/Hydrator/Config/Pool/PoolAttributeOptionConfigTest.php @@ -29,7 +29,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( PoolAttributeOptionInterface::class, $this->subject->getObject() ); @@ -38,14 +38,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Profile/ProfileActivityScoreConfigTest.php b/tests/Hydrator/Config/Profile/ProfileActivityScoreConfigTest.php index 28c386e..343c16c 100644 --- a/tests/Hydrator/Config/Profile/ProfileActivityScoreConfigTest.php +++ b/tests/Hydrator/Config/Profile/ProfileActivityScoreConfigTest.php @@ -38,7 +38,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ProfileActivityScoreInterface::class, $this->subject->getObject() ); @@ -47,14 +47,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Profile/ProfileBounceStatusConfigTest.php b/tests/Hydrator/Config/Profile/ProfileBounceStatusConfigTest.php index 6029b6b..2d82adf 100644 --- a/tests/Hydrator/Config/Profile/ProfileBounceStatusConfigTest.php +++ b/tests/Hydrator/Config/Profile/ProfileBounceStatusConfigTest.php @@ -37,7 +37,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ProfileBounceStatusInterface::class, $this->subject->getObject() ); @@ -46,14 +46,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Profile/ProfileGroupScoreConfigTest.php b/tests/Hydrator/Config/Profile/ProfileGroupScoreConfigTest.php index 7c93ab5..6e54cf7 100644 --- a/tests/Hydrator/Config/Profile/ProfileGroupScoreConfigTest.php +++ b/tests/Hydrator/Config/Profile/ProfileGroupScoreConfigTest.php @@ -37,7 +37,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ProfileGroupScoreInterface::class, $this->subject->getObject() ); @@ -46,14 +46,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Profile/ProfileTrackingHistoryConfigTest.php b/tests/Hydrator/Config/Profile/ProfileTrackingHistoryConfigTest.php index a4ae713..41085a8 100644 --- a/tests/Hydrator/Config/Profile/ProfileTrackingHistoryConfigTest.php +++ b/tests/Hydrator/Config/Profile/ProfileTrackingHistoryConfigTest.php @@ -44,7 +44,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ProfileTrackingHistoryInterface::class, $this->subject->getObject() ); @@ -53,14 +53,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Scoring/ScoringGroupDetailConfigTest.php b/tests/Hydrator/Config/Scoring/ScoringGroupDetailConfigTest.php index 4460904..75f49b4 100644 --- a/tests/Hydrator/Config/Scoring/ScoringGroupDetailConfigTest.php +++ b/tests/Hydrator/Config/Scoring/ScoringGroupDetailConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ScoringGroupDetailInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/SmartLink/SmartLinkConfigTest.php b/tests/Hydrator/Config/SmartLink/SmartLinkConfigTest.php index f22385c..d032e05 100644 --- a/tests/Hydrator/Config/SmartLink/SmartLinkConfigTest.php +++ b/tests/Hydrator/Config/SmartLink/SmartLinkConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( SmartLinkInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/SmartLink/SmartLinkConfigurationConfigTest.php b/tests/Hydrator/Config/SmartLink/SmartLinkConfigurationConfigTest.php index 40f4f07..b608034 100644 --- a/tests/Hydrator/Config/SmartLink/SmartLinkConfigurationConfigTest.php +++ b/tests/Hydrator/Config/SmartLink/SmartLinkConfigurationConfigTest.php @@ -43,7 +43,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( SmartLinkConfigurationInterface::class, $this->subject->getObject() ); @@ -52,14 +52,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/SmartLink/SmartLinkPoolConfigurationConfigTest.php b/tests/Hydrator/Config/SmartLink/SmartLinkPoolConfigurationConfigTest.php index 8c18ba1..8cf41b3 100644 --- a/tests/Hydrator/Config/SmartLink/SmartLinkPoolConfigurationConfigTest.php +++ b/tests/Hydrator/Config/SmartLink/SmartLinkPoolConfigurationConfigTest.php @@ -37,7 +37,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( SmartLinkPoolConfigurationInterface::class, $this->subject->getObject() ); @@ -46,14 +46,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/SmartLink/SmartLinkScoringConfigurationConfigTest.php b/tests/Hydrator/Config/SmartLink/SmartLinkScoringConfigurationConfigTest.php index 9b101a9..8bfdca8 100644 --- a/tests/Hydrator/Config/SmartLink/SmartLinkScoringConfigurationConfigTest.php +++ b/tests/Hydrator/Config/SmartLink/SmartLinkScoringConfigurationConfigTest.php @@ -38,7 +38,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( SmartLinkScoringConfigurationInterface::class, $this->subject->getObject() ); @@ -47,14 +47,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/ArticleStatisticConfigTest.php b/tests/Hydrator/Config/Statistic/ArticleStatisticConfigTest.php index 5668775..58343ea 100644 --- a/tests/Hydrator/Config/Statistic/ArticleStatisticConfigTest.php +++ b/tests/Hydrator/Config/Statistic/ArticleStatisticConfigTest.php @@ -41,7 +41,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ArticleStatisticInterface::class, $this->subject->getObject() ); @@ -50,14 +50,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/ArticleStatisticItemConfigTest.php b/tests/Hydrator/Config/Statistic/ArticleStatisticItemConfigTest.php index 7643d1f..ae572dd 100644 --- a/tests/Hydrator/Config/Statistic/ArticleStatisticItemConfigTest.php +++ b/tests/Hydrator/Config/Statistic/ArticleStatisticItemConfigTest.php @@ -36,7 +36,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ArticleStatisticItemInterface::class, $this->subject->getObject() ); @@ -45,14 +45,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/BrowserStatisticItemConfigTest.php b/tests/Hydrator/Config/Statistic/BrowserStatisticItemConfigTest.php index 4796a0a..9a9a79b 100644 --- a/tests/Hydrator/Config/Statistic/BrowserStatisticItemConfigTest.php +++ b/tests/Hydrator/Config/Statistic/BrowserStatisticItemConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( BrowserStatisticItemInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/ClientStatisticConfigTest.php b/tests/Hydrator/Config/Statistic/ClientStatisticConfigTest.php index 7fdc855..6684e13 100644 --- a/tests/Hydrator/Config/Statistic/ClientStatisticConfigTest.php +++ b/tests/Hydrator/Config/Statistic/ClientStatisticConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( ClientStatisticInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/DeviceStatisticItemConfigTest.php b/tests/Hydrator/Config/Statistic/DeviceStatisticItemConfigTest.php index 6499774..aefe949 100644 --- a/tests/Hydrator/Config/Statistic/DeviceStatisticItemConfigTest.php +++ b/tests/Hydrator/Config/Statistic/DeviceStatisticItemConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( DeviceStatisticItemInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/FormStatisticConfigTest.php b/tests/Hydrator/Config/Statistic/FormStatisticConfigTest.php index 61bfe12..34cc6f8 100644 --- a/tests/Hydrator/Config/Statistic/FormStatisticConfigTest.php +++ b/tests/Hydrator/Config/Statistic/FormStatisticConfigTest.php @@ -41,7 +41,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( FormStatisticInterface::class, $this->subject->getObject() ); @@ -50,14 +50,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/FormatStatisticItemConfigTest.php b/tests/Hydrator/Config/Statistic/FormatStatisticItemConfigTest.php index 5b0b410..fdb3194 100644 --- a/tests/Hydrator/Config/Statistic/FormatStatisticItemConfigTest.php +++ b/tests/Hydrator/Config/Statistic/FormatStatisticItemConfigTest.php @@ -38,7 +38,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( FormatStatisticItemInterface::class, $this->subject->getObject() ); @@ -47,14 +47,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/LinkStatisticItemConfigTest.php b/tests/Hydrator/Config/Statistic/LinkStatisticItemConfigTest.php index 6f76093..04a3130 100644 --- a/tests/Hydrator/Config/Statistic/LinkStatisticItemConfigTest.php +++ b/tests/Hydrator/Config/Statistic/LinkStatisticItemConfigTest.php @@ -37,7 +37,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( LinkStatisticItem::class, $this->subject->getObject() ); @@ -46,14 +46,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/MailClientStatisticItemConfigTest.php b/tests/Hydrator/Config/Statistic/MailClientStatisticItemConfigTest.php index 30f8312..c2c9ee5 100644 --- a/tests/Hydrator/Config/Statistic/MailClientStatisticItemConfigTest.php +++ b/tests/Hydrator/Config/Statistic/MailClientStatisticItemConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailClientStatisticItem::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/MailingStatisticConfigTest.php b/tests/Hydrator/Config/Statistic/MailingStatisticConfigTest.php index 3641697..af5a70b 100644 --- a/tests/Hydrator/Config/Statistic/MailingStatisticConfigTest.php +++ b/tests/Hydrator/Config/Statistic/MailingStatisticConfigTest.php @@ -47,7 +47,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MailingStatisticInterface::class, $this->subject->getObject() ); @@ -56,14 +56,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Statistic/MediaStatisticItemConfigTest.php b/tests/Hydrator/Config/Statistic/MediaStatisticItemConfigTest.php index 298db5f..6200dcc 100644 --- a/tests/Hydrator/Config/Statistic/MediaStatisticItemConfigTest.php +++ b/tests/Hydrator/Config/Statistic/MediaStatisticItemConfigTest.php @@ -35,7 +35,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( MediaStatisticItemInterface::class, $this->subject->getObject() ); @@ -44,14 +44,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/TargetGroup/TargetGroupDetailConfigTest.php b/tests/Hydrator/Config/TargetGroup/TargetGroupDetailConfigTest.php index 0c432bb..087fcff 100644 --- a/tests/Hydrator/Config/TargetGroup/TargetGroupDetailConfigTest.php +++ b/tests/Hydrator/Config/TargetGroup/TargetGroupDetailConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( TargetGroupDetailInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/TargetGroup/TargetGroupMemberShipConfigTest.php b/tests/Hydrator/Config/TargetGroup/TargetGroupMemberShipConfigTest.php index a8ba856..b6904af 100644 --- a/tests/Hydrator/Config/TargetGroup/TargetGroupMemberShipConfigTest.php +++ b/tests/Hydrator/Config/TargetGroup/TargetGroupMemberShipConfigTest.php @@ -34,7 +34,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( TargetGroupMemberShipInterface::class, $this->subject->getObject() ); @@ -43,14 +43,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/User/UserConfigTest.php b/tests/Hydrator/Config/User/UserConfigTest.php index 7bf7d15..8da5402 100644 --- a/tests/Hydrator/Config/User/UserConfigTest.php +++ b/tests/Hydrator/Config/User/UserConfigTest.php @@ -44,7 +44,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfUser() { - $this->assertInstanceOf( + self::assertInstanceOf( UserInterface::class, $this->subject->getObject() ); @@ -53,14 +53,14 @@ public function testGetObjectCanReturnInstanceOfUser() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Workflow/WorkflowConfigVersionTest.php b/tests/Hydrator/Config/Workflow/WorkflowConfigVersionTest.php index 2a19b3f..3191eb2 100644 --- a/tests/Hydrator/Config/Workflow/WorkflowConfigVersionTest.php +++ b/tests/Hydrator/Config/Workflow/WorkflowConfigVersionTest.php @@ -30,7 +30,7 @@ public function setUp(): void public function testGetObjectCanReturnInstance(): void { - $this->assertInstanceOf( + self::assertInstanceOf( WorkflowConfigVersion::class, $this->subject->getObject() ); @@ -39,14 +39,14 @@ public function testGetObjectCanReturnInstance(): void public function testGetHydratorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Workflow/WorkflowConfigurationConfigTest.php b/tests/Hydrator/Config/Workflow/WorkflowConfigurationConfigTest.php index 46dfc8d..6f5541e 100644 --- a/tests/Hydrator/Config/Workflow/WorkflowConfigurationConfigTest.php +++ b/tests/Hydrator/Config/Workflow/WorkflowConfigurationConfigTest.php @@ -29,7 +29,7 @@ public function setUp(): void public function testGetObjectCanReturnInstance(): void { - $this->assertInstanceOf( + self::assertInstanceOf( WorkflowConfiguration::class, $this->subject->getObject() ); @@ -38,14 +38,14 @@ public function testGetObjectCanReturnInstance(): void public function testGetHydratorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Workflow/WorkflowDetailConfigTest.php b/tests/Hydrator/Config/Workflow/WorkflowDetailConfigTest.php index 53cba54..cb73344 100644 --- a/tests/Hydrator/Config/Workflow/WorkflowDetailConfigTest.php +++ b/tests/Hydrator/Config/Workflow/WorkflowDetailConfigTest.php @@ -41,7 +41,7 @@ public function setUp(): void public function testGetObjectCanReturnInstanceOfWorkflowDetail() { - $this->assertInstanceOf( + self::assertInstanceOf( WorkflowDetailInterface::class, $this->subject->getObject() ); @@ -50,14 +50,14 @@ public function testGetObjectCanReturnInstanceOfWorkflowDetail() public function testGetHydratorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray() { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Workflow/WorkflowStateChangeResultConfigTest.php b/tests/Hydrator/Config/Workflow/WorkflowStateChangeResultConfigTest.php index 9b91a82..6b86743 100644 --- a/tests/Hydrator/Config/Workflow/WorkflowStateChangeResultConfigTest.php +++ b/tests/Hydrator/Config/Workflow/WorkflowStateChangeResultConfigTest.php @@ -29,7 +29,7 @@ public function setUp(): void public function testGetObjectCanReturnInstance(): void { - $this->assertInstanceOf( + self::assertInstanceOf( WorkflowStateChangeResult::class, $this->subject->getObject() ); @@ -38,14 +38,14 @@ public function testGetObjectCanReturnInstance(): void public function testGetHydratorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Hydrator/Config/Workflow/WorkflowStateChangeResultErrorConfigTest.php b/tests/Hydrator/Config/Workflow/WorkflowStateChangeResultErrorConfigTest.php index 5199fca..8e68ea8 100644 --- a/tests/Hydrator/Config/Workflow/WorkflowStateChangeResultErrorConfigTest.php +++ b/tests/Hydrator/Config/Workflow/WorkflowStateChangeResultErrorConfigTest.php @@ -30,7 +30,7 @@ public function setUp(): void public function testGetObjectCanReturnInstance(): void { - $this->assertInstanceOf( + self::assertInstanceOf( WorkflowStateChangeResultError::class, $this->subject->getObject() ); @@ -39,14 +39,14 @@ public function testGetObjectCanReturnInstance(): void public function testGetHydratorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getHydratorProperties()); } } public function testGetExtractorPropertiesCanReturnArray(): void { foreach ($this->arrayKeys as $arrayKey) { - $this->assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); + self::assertArrayHasKey($arrayKey, $this->subject->getExtractorProperties()); } } } diff --git a/tests/Mapper/ResponseMapperTest.php b/tests/Mapper/ResponseMapperTest.php index df5118f..fb24cc3 100644 --- a/tests/Mapper/ResponseMapperTest.php +++ b/tests/Mapper/ResponseMapperTest.php @@ -38,7 +38,7 @@ public function testGetIntegerCanReturnInteger() $response = new stdClass(); $response->$responseProperty = 5; - $this->assertSame(5, $this->subject->getInteger($response, $responseProperty)); + self::assertSame(5, $this->subject->getInteger($response, $responseProperty)); } public function testGetIntegerCanThrowException() @@ -68,7 +68,7 @@ public function testGetStringCanReturnString() $response = new stdClass(); $response->$responseProperty = 'some string'; - $this->assertSame('some string', $this->subject->getString($response, $responseProperty)); + self::assertSame('some string', $this->subject->getString($response, $responseProperty)); } public function testGetStringCanThrowException() @@ -86,7 +86,7 @@ public function testGetArrayCanReturnArray() 'key' => 'value', ]; - $this->assertSame($response->$responseProperty, $this->subject->getArray($response, $responseProperty)); + self::assertSame($response->$responseProperty, $this->subject->getArray($response, $responseProperty)); } public function testGetArrayCanThrowException() @@ -114,7 +114,7 @@ public function testGetObjectCanReturnObject() $this->hydrator->expects($this->once())->method('hydrate') ->with($hydratorConfig, $someUser, (array)$responseObject); - $this->assertInstanceOf( + self::assertInstanceOf( UserInterface::class, $this->subject->getObject( $response, @@ -161,12 +161,12 @@ public function testGetObjectsCanReturnObjects() ->willReturn($someUser); $this->hydrator->expects($this->exactly(2))->method('hydrate') - ->withConsecutive( + ->willReturnOnConsecutiveCalls( [$hydratorConfig, $someUser, (array)$firstResponseObject], [$hydratorConfig, $someUser, (array)$secondResponseObject] ); - $this->containsOnlyInstancesOf( + self::assertContainsOnlyInstancesOf( UserInterface::class, $this->subject->getObjects( $response, @@ -198,7 +198,7 @@ public function testGetObjectsCanReturnEmptyArray() $hydratorConfig = $this->getMockBuilder(HydratorConfigInterface::class)->getMock(); - $this->assertEquals( + self::assertEquals( [], $this->subject->getObjects( $response, @@ -234,7 +234,7 @@ public function testGetObjectsCanReturnSingleObject() $this->hydrator->expects($this->once())->method('hydrate') ->with($hydratorConfig, $someUser, (array)$firstResponseObject); - $this->assertContainsOnlyInstancesOf( + self::assertContainsOnlyInstancesOf( UserInterface::class, $this->subject->getObjects( $response, @@ -271,7 +271,7 @@ public function testGetObjectDirectlyCanReturnObject() $this->hydrator->expects($this->once())->method('hydrate') ->with($hydratorConfig, $someUser, (array)$responseObject); - $this->assertInstanceOf( + self::assertInstanceOf( UserInterface::class, $this->subject->getObjectDirectly( $response, @@ -303,12 +303,12 @@ public function testGetObjectsDirectyCanReturnArrayOfObjects() ->willReturn($someUser); $this->hydrator->expects($this->exactly(2))->method('hydrate') - ->withConsecutive( + ->willReturnOnConsecutiveCalls( [$hydratorConfig, $someUser, (array)$firstResponseObject], [$hydratorConfig, $someUser, (array)$secondResponseObject] ); - $this->containsOnlyInstancesOf( + self::assertContainsOnlyInstancesOf( UserInterface::class, $this->subject->getObjectsDirectly( $response, diff --git a/tests/SoapClientFactoryTest.php b/tests/SoapClientFactoryTest.php index 823389c..38d8836 100644 --- a/tests/SoapClientFactoryTest.php +++ b/tests/SoapClientFactoryTest.php @@ -44,7 +44,7 @@ public function testCreateCanReturnReturnInstanceOfSoap() $config->expects($this->once())->method('getWsdlServiceUrl')->with($portname)->willReturn(__DIR__ . '/' . $portname); - $this->assertInstanceOf( + self::assertInstanceOf( SoapClient::class, $this->subject->create($config, $portname) ); @@ -59,7 +59,7 @@ public function testCreateCanReturnReturnInstanceOfSoapWithDebugSettings() $config->expects($this->once())->method('getPassword')->willReturn('some password'); $config->expects($this->once())->method('getWsdlServiceUrl')->with($portname)->willReturn(__DIR__ . '/' . $portname); - $this->assertInstanceOf( + self::assertInstanceOf( SoapClient::class, $this->subject->create($config, $portname) );