diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 125cce7..6828fe6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,18 +18,15 @@ jobs: strategy: matrix: - php-version: ['7.4', '8.0', '8.1'] - coverage-driver: [pcov] - symfony-require: ['^4', '^5', '^6'] - exclude: - - symfony-require: "^6" - php-version: "7.4" + php-version: [ '8.0', '8.1', '8.2' ] + coverage-driver: [ pcov ] + symfony-require: [ '^5', '^6' ] name: CI with PHP ${{ matrix.php-version }}, using ${{ matrix.coverage-driver }}, with Symfony ${{ matrix.symfony-require }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -52,7 +49,7 @@ jobs: composer-${{ runner.os }}-${{ matrix.php-version }}- composer-${{ runner.os }}- composer- - + - name: Configure Symfony Flex run: composer config extra.symfony.require ${{ matrix.symfony-require }} diff --git a/.github/workflows/cs.yaml b/.github/workflows/cs.yaml index 513cb2e..ad6a0ba 100644 --- a/.github/workflows/cs.yaml +++ b/.github/workflows/cs.yaml @@ -16,15 +16,15 @@ jobs: strategy: matrix: - operating-system: [ubuntu-latest] - php-version: ['7.4'] - check: ['cs', 'static-analyze'] + operating-system: [ ubuntu-latest ] + php-version: [ '8.0' ] + check: [ 'cs', 'static-analyze' ] name: Coding Standards on PHP ${{ matrix.php-version }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index 8eba88d..14ad45d 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - php-version: [ '7.4', '8.0', '8.1' ] + php-version: [ '8.0', '8.1', '8.2' ] coverage-driver: [ pcov ] name: CI with PHP ${{ matrix.php-version }}, using ${{ matrix.coverage-driver }} diff --git a/.github/workflows/mt.yaml b/.github/workflows/mt.yaml index 54cbb80..a9e30fd 100644 --- a/.github/workflows/mt.yaml +++ b/.github/workflows/mt.yaml @@ -16,15 +16,15 @@ jobs: strategy: matrix: - operating-system: [ubuntu-latest] - php-version: ['7.4'] - coverage-driver: [pcov] + operating-system: [ ubuntu-latest ] + php-version: [ '8.1' ] + coverage-driver: [ pcov ] name: Mutation testing with PHP ${{ matrix.php-version }}, using ${{ matrix.coverage-driver }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 5d898ff..20c5b7a 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -36,11 +36,11 @@ use PhpCsFixer\Config; use PhpCsFixer\Finder; -$header = trim(sprintf( +$header = \trim(\sprintf( 'This code is licensed under the BSD 3-Clause License.%s', - substr( - file_get_contents('LICENSE'), - strlen('BSD 3-Clause License') + \substr( + \file_get_contents('LICENSE'), + \strlen('BSD 3-Clause License') ) )); @@ -85,7 +85,8 @@ 'yield', ], ], - 'compact_nullable_typehint' => true, + 'blank_line_between_import_groups' => false, + 'compact_nullable_type_declaration' => true, 'concat_space' => ['spacing' => 'one'], 'fully_qualified_strict_types' => true, 'global_namespace_import' => [ diff --git a/Makefile b/Makefile index 90bad9d..e18db4e 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ JOBS=$(shell nproc) # PHP CS Fixer PHP_CS_FIXER=./.tools/php-cs-fixer -PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.2.1/php-cs-fixer.phar" +PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.35.1/php-cs-fixer.phar" # PHPUnit PHPUNIT=vendor/bin/phpunit @@ -28,9 +28,9 @@ COMPOSER=$(PHP) $(shell which composer) # Infection INFECTION=./.tools/infection.phar -INFECTION_URL="https://github.com/infection/infection/releases/download/0.24.0/infection.phar" -MIN_MSI=87 -MIN_COVERED_MSI=99 +INFECTION_URL="https://github.com/infection/infection/releases/download/0.27.4/infection.phar" +MIN_MSI=75 +MIN_COVERED_MSI=80 INFECTION_ARGS=--min-msi=$(MIN_MSI) --min-covered-msi=$(MIN_COVERED_MSI) --threads=$(JOBS) --log-verbosity=none --no-interaction --no-progress --show-mutations all: test diff --git a/composer.json b/composer.json index 637bc97..8fe87b9 100644 --- a/composer.json +++ b/composer.json @@ -29,12 +29,12 @@ } }, "require": { - "php": "^7.4 || ^8.0", + "php": "^8.0", "infection/abstract-testframework-adapter": "^0.5.0", "infection/include-interceptor": "^0.2.0", - "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", - "symfony/process": "^4.4 || ^5.0 || ^6.0", - "symfony/yaml": "^4.4 || ^5.0 || ^6.0" + "symfony/filesystem": "^5.0 || ^6.0", + "symfony/process": "^5.0 || ^6.0", + "symfony/yaml": "^5.0 || ^6.0" }, "extra": { "infection": { @@ -44,15 +44,15 @@ "require-dev": { "php-coveralls/php-coveralls": "^2.5", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^0.12.70", - "phpstan/phpstan-phpunit": "^0.12.17", - "phpstan/phpstan-strict-rules": "^0.12.9", - "phpstan/phpstan-webmozart-assert": "^0.12.9", + "phpstan/phpstan": "^1.10", + "phpstan/phpstan-phpunit": "^1.3", + "phpstan/phpstan-strict-rules": "^1.5", + "phpstan/phpstan-webmozart-assert": "^1.2", "phpunit/phpunit": "^9.5", "thecodingmachine/safe": "^1.3", - "vimeo/psalm": "^4.12" + "vimeo/psalm": "^5.15" }, "conflict": { - "codeception/codeception": "<4.1.9" + "codeception/codeception": "<5.0.0" } } diff --git a/composer.lock b/composer.lock index 072c6f5..5c84e5c 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": "53c166cf8041ed29e115c07d685fc52f", + "content-hash": "d1124a89b5103278ec8b494055678292", "packages": [ { "name": "infection/abstract-testframework-adapter", @@ -63,16 +63,16 @@ }, { "name": "infection/include-interceptor", - "version": "0.2.4", + "version": "0.2.5", "source": { "type": "git", "url": "https://github.com/infection/include-interceptor.git", - "reference": "e3cf9317a7fd554ab60a5587f028b16418cc4264" + "reference": "0cc76d95a79d9832d74e74492b0a30139904bdf7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/include-interceptor/zipball/e3cf9317a7fd554ab60a5587f028b16418cc4264", - "reference": "e3cf9317a7fd554ab60a5587f028b16418cc4264", + "url": "https://api.github.com/repos/infection/include-interceptor/zipball/0cc76d95a79d9832d74e74492b0a30139904bdf7", + "reference": "0cc76d95a79d9832d74e74492b0a30139904bdf7", "shasum": "" }, "require-dev": { @@ -103,95 +103,38 @@ "description": "Stream Wrapper: Include Interceptor. Allows to replace included (autoloaded) file with another one.", "support": { "issues": "https://github.com/infection/include-interceptor/issues", - "source": "https://github.com/infection/include-interceptor/tree/0.2.4" - }, - "time": "2020-08-07T22:40:37+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v2.5.1", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" + "source": "https://github.com/infection/include-interceptor/tree/0.2.5" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/infection", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" + "url": "https://opencollective.com/infection", + "type": "open_collective" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2021-08-09T10:03:57+00:00" }, { "name": "symfony/filesystem", - "version": "v5.3.4", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32" + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/343f4fe324383ca46792cae728a3b6e2f708fb32", - "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/3d49eec03fda1f0fc19b7349fbbe55ebc1004214", + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-php80": "^1.16" + "symfony/polyfill-mbstring": "~1.8" }, "type": "library", "autoload": { @@ -219,7 +162,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.3.4" + "source": "https://github.com/symfony/filesystem/tree/v6.0.19" }, "funding": [ { @@ -235,32 +178,35 @@ "type": "tidelift" } ], - "time": "2021-07-21T12:40:44+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.23.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce" + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce", - "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-ctype": "*" + }, "suggest": { "ext-ctype": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -268,12 +214,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -298,7 +244,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" }, "funding": [ { @@ -314,29 +260,35 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { - "name": "symfony/polyfill-php80", - "version": "v1.22.0", + "name": "symfony/polyfill-mbstring", + "version": "v1.28.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "42292d99c55abe617799667f454222c54c60e229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", + "reference": "42292d99c55abe617799667f454222c54c60e229", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -344,25 +296,18 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, "files": [ "bootstrap.php" ], - "classmap": [ - "Resources/stubs" - ] + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -372,16 +317,17 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "description": "Symfony polyfill for the Mbstring extension", "homepage": "https://symfony.com", "keywords": [ "compatibility", + "mbstring", "polyfill", "portable", "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" }, "funding": [ { @@ -397,25 +343,24 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2023-07-28T09:04:16+00:00" }, { "name": "symfony/process", - "version": "v5.3.7", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "38f26c7d6ed535217ea393e05634cb0b244a1967" + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/38f26c7d6ed535217ea393e05634cb0b244a1967", - "reference": "38f26c7d6ed535217ea393e05634cb0b244a1967", + "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -443,7 +388,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.3.7" + "source": "https://github.com/symfony/process/tree/v6.0.19" }, "funding": [ { @@ -459,32 +404,31 @@ "type": "tidelift" } ], - "time": "2021-08-04T21:20:46+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/yaml", - "version": "v5.3.6", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7" + "reference": "deec3a812a0305a50db8ae689b183f43d915c884" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", - "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", + "url": "https://api.github.com/repos/symfony/yaml/zipball/deec3a812a0305a50db8ae689b183f43d915c884", + "reference": "deec3a812a0305a50db8ae689b183f43d915c884", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-ctype": "~1.8" + "php": ">=8.0.2", + "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<4.4" + "symfony/console": "<5.4" }, "require-dev": { - "symfony/console": "^4.4|^5.0" + "symfony/console": "^5.4|^6.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -518,7 +462,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.3.6" + "source": "https://github.com/symfony/yaml/tree/v6.0.19" }, "funding": [ { @@ -534,33 +478,33 @@ "type": "tidelift" } ], - "time": "2021-07-29T06:20:01+00:00" + "time": "2023-01-11T11:50:03+00:00" } ], "packages-dev": [ { "name": "amphp/amp", - "version": "v2.5.2", + "version": "v2.6.2", "source": { "type": "git", "url": "https://github.com/amphp/amp.git", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9" + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/efca2b32a7580087adb8aabbff6be1dc1bb924a9", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9", + "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", "shasum": "" }, "require": { - "php": ">=7" + "php": ">=7.1" }, "require-dev": { "amphp/php-cs-fixer-config": "dev-master", "amphp/phpunit-util": "^1", "ext-json": "*", "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6.0.9 | ^7", + "phpunit/phpunit": "^7 | ^8 | ^9", "psalm/phar": "^3.11@dev", "react/promise": "^2" }, @@ -571,13 +515,13 @@ } }, "autoload": { - "psr-4": { - "Amp\\": "lib" - }, "files": [ "lib/functions.php", "lib/Internal/functions.php" - ] + ], + "psr-4": { + "Amp\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -602,7 +546,7 @@ } ], "description": "A non-blocking concurrency framework for PHP applications.", - "homepage": "http://amphp.org/amp", + "homepage": "https://amphp.org/amp", "keywords": [ "async", "asynchronous", @@ -617,7 +561,7 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.5.2" + "source": "https://github.com/amphp/amp/tree/v2.6.2" }, "funding": [ { @@ -625,20 +569,20 @@ "type": "github" } ], - "time": "2021-01-10T17:06:37+00:00" + "time": "2022-02-20T17:52:18+00:00" }, { "name": "amphp/byte-stream", - "version": "v1.8.0", + "version": "v1.8.1", "source": { "type": "git", "url": "https://github.com/amphp/byte-stream.git", - "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088" + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/f0c20cf598a958ba2aa8c6e5a71c697d652c7088", - "reference": "f0c20cf598a958ba2aa8c6e5a71c697d652c7088", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", "shasum": "" }, "require": { @@ -660,12 +604,12 @@ } }, "autoload": { - "psr-4": { - "Amp\\ByteStream\\": "lib" - }, "files": [ "lib/functions.php" - ] + ], + "psr-4": { + "Amp\\ByteStream\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -694,46 +638,47 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/master" + "source": "https://github.com/amphp/byte-stream/tree/v1.8.1" }, - "time": "2020-06-29T18:35:05+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-03-30T17:13:30+00:00" }, { - "name": "composer/package-versions-deprecated", - "version": "1.11.99.1", + "name": "composer/pcre", + "version": "3.1.1", "source": { "type": "git", - "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6" + "url": "https://github.com/composer/pcre.git", + "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/7413f0b55a051e89485c5cb9f765fe24bb02a7b6", - "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6", + "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1.0 || ^2.0", - "php": "^7 || ^8" - }, - "replace": { - "ocramius/package-versions": "1.11.99" + "php": "^7.4 || ^8.0" }, "require-dev": { - "composer/composer": "^1.9.3 || ^2.0@dev", - "ext-zip": "^1.13", - "phpunit/phpunit": "^6.5 || ^7" + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^5" }, - "type": "composer-plugin", + "type": "library", "extra": { - "class": "PackageVersions\\Installer", "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { "psr-4": { - "PackageVersions\\": "src/PackageVersions" + "Composer\\Pcre\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -741,19 +686,22 @@ "MIT" ], "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - }, { "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", + "keywords": [ + "PCRE", + "preg", + "regex", + "regular expression" + ], "support": { - "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.1" + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.1.1" }, "funding": [ { @@ -769,27 +717,27 @@ "type": "tidelift" } ], - "time": "2020-11-11T10:22:58+00:00" + "time": "2023-10-11T07:11:09+00:00" }, { "name": "composer/semver", - "version": "3.2.4", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "a02fdf930a3c1c3ed3a49b5f63859c0c20e10464" + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/a02fdf930a3c1c3ed3a49b5f63859c0c20e10464", - "reference": "a02fdf930a3c1c3ed3a49b5f63859c0c20e10464", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.54", + "phpstan/phpstan": "^1.4", "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", @@ -832,9 +780,9 @@ "versioning" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.2.4" + "source": "https://github.com/composer/semver/tree/3.4.0" }, "funding": [ { @@ -850,28 +798,31 @@ "type": "tidelift" } ], - "time": "2020-11-13T08:59:24+00:00" + "time": "2023-08-31T09:50:34+00:00" }, { "name": "composer/xdebug-handler", - "version": "1.4.5", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "f28d44c286812c714741478d968104c5e604a1d4" + "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f28d44c286812c714741478d968104c5e604a1d4", - "reference": "f28d44c286812c714741478d968104c5e604a1d4", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1.0" + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "type": "library", "autoload": { @@ -897,7 +848,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/1.4.5" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" }, "funding": [ { @@ -913,7 +864,7 @@ "type": "tidelift" } ], - "time": "2020-11-13T08:04:11+00:00" + "time": "2022-02-25T21:32:43+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -952,31 +903,79 @@ }, "time": "2019-12-04T15:06:13+00:00" }, + { + "name": "doctrine/deprecations", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "1.4.10 || 1.10.15", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psalm/plugin-phpunit": "0.18.4", + "psr/log": "^1 || ^2 || ^3", + "vimeo/psalm": "4.30.0 || 5.12.0" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", + "support": { + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/1.1.2" + }, + "time": "2023-09-27T20:04:15+00:00" + }, { "name": "doctrine/instantiator", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.0", + "doctrine/coding-standard": "^9 || ^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" }, "type": "library", "autoload": { @@ -1003,7 +1002,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.0" + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" }, "funding": [ { @@ -1019,24 +1018,24 @@ "type": "tidelift" } ], - "time": "2020-11-10T18:47:58+00:00" + "time": "2022-12-30T00:15:36+00:00" }, { "name": "felixfbecker/advanced-json-rpc", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", - "reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e" + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/06f0b06043c7438959dbdeed8bb3f699a19be22e", - "reference": "06f0b06043c7438959dbdeed8bb3f699a19be22e", + "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447", "shasum": "" }, "require": { - "netresearch/jsonmapper": "^1.0 || ^2.0", + "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", "php": "^7.1 || ^8.0", "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0" }, @@ -1062,22 +1061,22 @@ "description": "A more advanced JSONRPC implementation", "support": { "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", - "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.0" + "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1" }, - "time": "2021-01-10T17:48:47+00:00" + "time": "2021-06-11T22:34:44+00:00" }, { "name": "felixfbecker/language-server-protocol", - "version": "v1.5.0", + "version": "v1.5.2", "source": { "type": "git", "url": "https://github.com/felixfbecker/php-language-server-protocol.git", - "reference": "85e83cacd2ed573238678c6875f8f0d7ec699541" + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/85e83cacd2ed573238678c6875f8f0d7ec699541", - "reference": "85e83cacd2ed573238678c6875f8f0d7ec699541", + "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", "shasum": "" }, "require": { @@ -1118,28 +1117,89 @@ ], "support": { "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", - "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.0" + "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" + }, + "time": "2022-03-02T22:36:06+00:00" + }, + { + "name": "fidry/cpu-core-counter", + "version": "0.5.1", + "source": { + "type": "git", + "url": "https://github.com/theofidry/cpu-core-counter.git", + "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "shasum": "" }, - "time": "2020-10-23T13:55:30+00:00" + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "fidry/makefile": "^0.2.0", + "phpstan/extension-installer": "^1.2.0", + "phpstan/phpstan": "^1.9.2", + "phpstan/phpstan-deprecation-rules": "^1.0.0", + "phpstan/phpstan-phpunit": "^1.2.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^9.5.26 || ^8.5.31", + "theofidry/php-cs-fixer-config": "^1.0", + "webmozarts/strict-phpunit": "^7.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Fidry\\CpuCoreCounter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Théo FIDRY", + "email": "theo.fidry@gmail.com" + } + ], + "description": "Tiny utility to get the number of CPU cores.", + "keywords": [ + "CPU", + "core" + ], + "support": { + "issues": "https://github.com/theofidry/cpu-core-counter/issues", + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" + }, + "funding": [ + { + "url": "https://github.com/theofidry", + "type": "github" + } + ], + "time": "2022-12-24T12:35:10+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.4.5", + "version": "7.8.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82" + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", - "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1110f66a6530a40fe7aea0378fe608ee2b2248f9", + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -1148,10 +1208,11 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.1", "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -1161,8 +1222,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "7.4-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { @@ -1228,7 +1290,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.5" + "source": "https://github.com/guzzle/guzzle/tree/7.8.0" }, "funding": [ { @@ -1244,38 +1306,37 @@ "type": "tidelift" } ], - "time": "2022-06-20T22:16:13+00:00" + "time": "2023-08-27T10:20:53+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.1", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + "reference": "111166291a0f8130081195ac4556a5587d7f1b5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "url": "https://api.github.com/repos/guzzle/promises/zipball/111166291a0f8130081195ac4556a5587d7f1b5d", + "reference": "111166291a0f8130081195ac4556a5587d7f1b5d", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.1", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -1312,7 +1373,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.1" + "source": "https://github.com/guzzle/promises/tree/2.0.1" }, "funding": [ { @@ -1328,26 +1389,26 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:56:57+00:00" + "time": "2023-08-03T15:11:55+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.4.0", + "version": "2.6.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "13388f00956b1503577598873fffb5ae994b5737" + "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/13388f00956b1503577598873fffb5ae994b5737", - "reference": "13388f00956b1503577598873fffb5ae994b5737", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/be45764272e8873c72dbe3d2edcfdfcc3bc9f727", + "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.1 || ^2.0", "ralouphie/getallheaders": "^3.0" }, "provide": { @@ -1355,17 +1416,18 @@ "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.1", "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.8 || ^9.3.10" + "phpunit/phpunit": "^8.5.29 || ^9.5.23" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.4-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { @@ -1427,7 +1489,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.4.0" + "source": "https://github.com/guzzle/psr7/tree/2.6.1" }, "funding": [ { @@ -1443,41 +1505,42 @@ "type": "tidelift" } ], - "time": "2022-06-20T21:43:11+00:00" + "time": "2023-08-27T10:13:57+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.10.2", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, - "replace": { - "myclabs/deep-copy": "self.version" + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, "files": [ "src/DeepCopy/deep_copy.php" - ] + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1493,7 +1556,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" }, "funding": [ { @@ -1501,20 +1564,20 @@ "type": "tidelift" } ], - "time": "2020-11-13T09:40:50+00:00" + "time": "2023-03-08T13:26:56+00:00" }, { "name": "netresearch/jsonmapper", - "version": "v2.1.0", + "version": "v4.2.0", "source": { "type": "git", "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e" + "reference": "f60565f8c0566a31acf06884cdaa591867ecc956" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/e0f1e33a71587aca81be5cffbb9746510e1fe04e", - "reference": "e0f1e33a71587aca81be5cffbb9746510e1fe04e", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/f60565f8c0566a31acf06884cdaa591867ecc956", + "reference": "f60565f8c0566a31acf06884cdaa591867ecc956", "shasum": "" }, "require": { @@ -1522,10 +1585,10 @@ "ext-pcre": "*", "ext-reflection": "*", "ext-spl": "*", - "php": ">=5.6" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "~4.8.35 || ~5.7 || ~6.4 || ~7.0", + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", "squizlabs/php_codesniffer": "~3.5" }, "type": "library", @@ -1550,22 +1613,22 @@ "support": { "email": "cweiske@cweiske.de", "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/master" + "source": "https://github.com/cweiske/jsonmapper/tree/v4.2.0" }, - "time": "2020-04-16T18:48:43+00:00" + "time": "2023-04-09T17:37:40+00:00" }, { "name": "nikic/php-parser", - "version": "v4.13.0", + "version": "v4.17.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "50953a2691a922aa1769461637869a0a2faa3f53" + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/50953a2691a922aa1769461637869a0a2faa3f53", - "reference": "50953a2691a922aa1769461637869a0a2faa3f53", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", "shasum": "" }, "require": { @@ -1606,62 +1669,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.0" - }, - "time": "2021-09-20T12:20:58+00:00" - }, - { - "name": "openlss/lib-array2xml", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/nullivex/lib-array2xml.git", - "reference": "a91f18a8dfc69ffabe5f9b068bc39bb202c81d90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nullivex/lib-array2xml/zipball/a91f18a8dfc69ffabe5f9b068bc39bb202c81d90", - "reference": "a91f18a8dfc69ffabe5f9b068bc39bb202c81d90", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "type": "library", - "autoload": { - "psr-0": { - "LSS": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Bryan Tong", - "email": "bryan@nullivex.com", - "homepage": "https://www.nullivex.com" - }, - { - "name": "Tony Butler", - "email": "spudz76@gmail.com", - "homepage": "https://www.nullivex.com" - } - ], - "description": "Array2XML conversion library credit to lalit.org", - "homepage": "https://www.nullivex.com", - "keywords": [ - "array", - "array conversion", - "xml", - "xml conversion" - ], - "support": { - "issues": "https://github.com/nullivex/lib-array2xml/issues", - "source": "https://github.com/nullivex/lib-array2xml/tree/master" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" }, - "time": "2019-03-29T20:06:56+00:00" + "time": "2023-08-13T19:53:39+00:00" }, { "name": "phar-io/manifest", @@ -1725,16 +1735,16 @@ }, { "name": "phar-io/version", - "version": "3.1.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "bae7c545bef187884426f042434e561ab1ddb182" + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", - "reference": "bae7c545bef187884426f042434e561ab1ddb182", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { @@ -1770,22 +1780,22 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.1.0" + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2021-02-23T14:00:09+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { "name": "php-coveralls/php-coveralls", - "version": "v2.5.2", + "version": "v2.6.0", "source": { "type": "git", "url": "https://github.com/php-coveralls/php-coveralls.git", - "reference": "007e13afdcdba2cd0efcc5f72c3b7efb356a8bd4" + "reference": "9e88d7d38e9eab7c675da674481784321ea7a9bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/007e13afdcdba2cd0efcc5f72c3b7efb356a8bd4", - "reference": "007e13afdcdba2cd0efcc5f72c3b7efb356a8bd4", + "url": "https://api.github.com/repos/php-coveralls/php-coveralls/zipball/9e88d7d38e9eab7c675da674481784321ea7a9bc", + "reference": "9e88d7d38e9eab7c675da674481784321ea7a9bc", "shasum": "" }, "require": { @@ -1800,7 +1810,7 @@ "symfony/yaml": "^2.0.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0 || ^7.0 || >=8.0 <8.5.29 || >=9.0 <9.5.23", "sanmai/phpunit-legacy-adapter": "^6.1 || ^8.0" }, "suggest": { @@ -1853,9 +1863,9 @@ ], "support": { "issues": "https://github.com/php-coveralls/php-coveralls/issues", - "source": "https://github.com/php-coveralls/php-coveralls/tree/v2.5.2" + "source": "https://github.com/php-coveralls/php-coveralls/tree/v2.6.0" }, - "time": "2021-12-06T17:05:08+00:00" + "time": "2023-07-16T08:39:10+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -1969,25 +1979,33 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.5.1", + "version": "1.7.3", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae" + "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae", - "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", + "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" + "doctrine/deprecations": "^1.0", + "php": "^7.4 || ^8.0", + "phpdocumentor/reflection-common": "^2.0", + "phpstan/phpdoc-parser": "^1.13" }, "require-dev": { "ext-tokenizer": "*", - "psalm/phar": "^4.8" + "phpbench/phpbench": "^1.2", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^9.5", + "rector/rector": "^0.13.9", + "vimeo/psalm": "^4.25" }, "type": "library", "extra": { @@ -2013,138 +2031,117 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.3" }, - "time": "2021-10-02T14:08:47+00:00" + "time": "2023-08-12T11:01:26+00:00" }, { - "name": "phpspec/prophecy", - "version": "1.14.0", + "name": "phpstan/extension-installer", + "version": "1.3.1", "source": { "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e" + "url": "https://github.com/phpstan/extension-installer.git", + "reference": "f45734bfb9984c6c56c4486b71230355f066a58a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", - "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", + "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/f45734bfb9984c6c56c4486b71230355f066a58a", + "reference": "f45734bfb9984c6c56c4486b71230355f066a58a", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.2", - "phpdocumentor/reflection-docblock": "^5.2", - "sebastian/comparator": "^3.0 || ^4.0", - "sebastian/recursion-context": "^3.0 || ^4.0" + "composer-plugin-api": "^2.0", + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.9.0" }, "require-dev": { - "phpspec/phpspec": "^6.0 || ^7.0", - "phpunit/phpunit": "^8.0 || ^9.0" + "composer/composer": "^2.0", + "php-parallel-lint/php-parallel-lint": "^1.2.0", + "phpstan/phpstan-strict-rules": "^0.11 || ^0.12 || ^1.0" }, - "type": "library", + "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } + "class": "PHPStan\\ExtensionInstaller\\Plugin" }, "autoload": { "psr-4": { - "Prophecy\\": "src/Prophecy" + "PHPStan\\ExtensionInstaller\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" + "MIT" ], + "description": "Composer plugin for automatic installation of PHPStan extensions", "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.14.0" + "issues": "https://github.com/phpstan/extension-installer/issues", + "source": "https://github.com/phpstan/extension-installer/tree/1.3.1" }, - "time": "2021-09-10T09:02:12+00:00" + "time": "2023-05-24T08:59:17+00:00" }, { - "name": "phpstan/extension-installer", - "version": "1.1.0", + "name": "phpstan/phpdoc-parser", + "version": "1.24.2", "source": { "type": "git", - "url": "https://github.com/phpstan/extension-installer.git", - "reference": "66c7adc9dfa38b6b5838a9fb728b68a7d8348051" + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "bcad8d995980440892759db0c32acae7c8e79442" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/66c7adc9dfa38b6b5838a9fb728b68a7d8348051", - "reference": "66c7adc9dfa38b6b5838a9fb728b68a7d8348051", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bcad8d995980440892759db0c32acae7c8e79442", + "reference": "bcad8d995980440892759db0c32acae7c8e79442", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1 || ^2.0", - "php": "^7.1 || ^8.0", - "phpstan/phpstan": ">=0.11.6" + "php": "^7.2 || ^8.0" }, "require-dev": { - "composer/composer": "^1.8", - "phing/phing": "^2.16.3", - "php-parallel-lint/php-parallel-lint": "^1.2.0", - "phpstan/phpstan-strict-rules": "^0.11 || ^0.12" - }, - "type": "composer-plugin", - "extra": { - "class": "PHPStan\\ExtensionInstaller\\Plugin" + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^4.15", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" }, + "type": "library", "autoload": { "psr-4": { - "PHPStan\\ExtensionInstaller\\": "src/" + "PHPStan\\PhpDocParser\\": [ + "src/" + ] } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Composer plugin for automatic installation of PHPStan extensions", + "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { - "issues": "https://github.com/phpstan/extension-installer/issues", - "source": "https://github.com/phpstan/extension-installer/tree/1.1.0" + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.2" }, - "time": "2020-12-13T13:06:13+00:00" + "time": "2023-09-26T12:28:12+00:00" }, { "name": "phpstan/phpstan", - "version": "0.12.70", + "version": "1.10.38", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee" + "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee", - "reference": "07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5302bb402c57f00fb3c2c015bac86e0827e4b691", + "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691", "shasum": "" }, "require": { - "php": "^7.1|^8.0" + "php": "^7.2|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -2154,11 +2151,6 @@ "phpstan.phar" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - } - }, "autoload": { "files": [ "bootstrap.php" @@ -2169,9 +2161,16 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.70" + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, "funding": [ { @@ -2179,48 +2178,45 @@ "type": "github" }, { - "url": "https://www.patreon.com/phpstan", - "type": "patreon" + "url": "https://github.com/phpstan", + "type": "github" }, { "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", "type": "tidelift" } ], - "time": "2021-01-27T17:06:47+00:00" + "time": "2023-10-06T14:19:14+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "0.12.17", + "version": "1.3.15", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "432575b41cf2d4f44e460234acaf56119ed97d36" + "reference": "70ecacc64fe8090d8d2a33db5a51fe8e88acd93a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/432575b41cf2d4f44e460234acaf56119ed97d36", - "reference": "432575b41cf2d4f44e460234acaf56119ed97d36", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/70ecacc64fe8090d8d2a33db5a51fe8e88acd93a", + "reference": "70ecacc64fe8090d8d2a33db5a51fe8e88acd93a", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.60" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.10" }, "conflict": { "phpunit/phpunit": "<7.0" }, "require-dev": { - "phing/phing": "^2.16.3", + "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-strict-rules": "^0.12.6", - "phpunit/phpunit": "^7.5.20" + "phpstan/phpstan-strict-rules": "^1.5.1", + "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, "phpstan": { "includes": [ "extension.neon", @@ -2240,39 +2236,37 @@ "description": "PHPUnit extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.17" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.15" }, - "time": "2020-12-13T12:12:51+00:00" + "time": "2023-10-09T18:58:39+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "0.12.9", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d" + "reference": "b21c03d4f6f3a446e4311155f4be9d65048218e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/0705fefc7c9168529fd130e341428f5f10f4f01d", - "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/b21c03d4f6f3a446e4311155f4be9d65048218e6", + "reference": "b21c03d4f6f3a446e4311155f4be9d65048218e6", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.66" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.10" }, "require-dev": { - "phing/phing": "^2.16.3", + "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^0.12.16", - "phpunit/phpunit": "^7.5.20" + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, "phpstan": { "includes": [ "rules.neon" @@ -2291,41 +2285,39 @@ "description": "Extra strict and opinionated rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/0.12.9" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.5.1" }, - "time": "2021-01-13T08:50:28+00:00" + "time": "2023-03-29T14:47:40+00:00" }, { "name": "phpstan/phpstan-webmozart-assert", - "version": "0.12.9", + "version": "1.2.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-webmozart-assert.git", - "reference": "dcb38393a99d4562bd21137ecb179c43dff3fd70" + "reference": "d1ff28697bd4e1c9ef5d3f871367ce9092871fec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-webmozart-assert/zipball/dcb38393a99d4562bd21137ecb179c43dff3fd70", - "reference": "dcb38393a99d4562bd21137ecb179c43dff3fd70", + "url": "https://api.github.com/repos/phpstan/phpstan-webmozart-assert/zipball/d1ff28697bd4e1c9ef5d3f871367ce9092871fec", + "reference": "d1ff28697bd4e1c9ef5d3f871367ce9092871fec", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.40" + "php": "^7.2 || ^8.0", + "phpstan/phpstan": "^1.10" }, "require-dev": { - "phing/phing": "^2.16.3", + "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^0.12.6", - "phpstan/phpstan-strict-rules": "^0.12.1", - "phpunit/phpunit": "^7.5.20", - "webmozart/assert": "^1.9.1" + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "webmozart/assert": "^1.11.0" }, "type": "phpstan-extension", "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, "phpstan": { "includes": [ "extension.neon" @@ -2344,29 +2336,29 @@ "description": "PHPStan webmozart/assert extension", "support": { "issues": "https://github.com/phpstan/phpstan-webmozart-assert/issues", - "source": "https://github.com/phpstan/phpstan-webmozart-assert/tree/0.12.9" + "source": "https://github.com/phpstan/phpstan-webmozart-assert/tree/1.2.4" }, - "time": "2021-01-24T16:10:12+00:00" + "time": "2023-02-21T20:34:19+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.7", + "version": "9.2.29", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218" + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218", - "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.12.0", + "nikic/php-parser": "^4.15", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -2381,8 +2373,8 @@ "phpunit/phpunit": "^9.3" }, "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { @@ -2415,7 +2407,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7" + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" }, "funding": [ { @@ -2423,20 +2416,20 @@ "type": "github" } ], - "time": "2021-09-17T05:39:03+00:00" + "time": "2023-09-19T04:57:46+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "3.0.5", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8", - "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { @@ -2475,7 +2468,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" }, "funding": [ { @@ -2483,7 +2476,7 @@ "type": "github" } ], - "time": "2020-09-28T05:57:25+00:00" + "time": "2021-12-02T12:48:52+00:00" }, { "name": "phpunit/php-invoker", @@ -2668,20 +2661,20 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.10", + "version": "9.6.13", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a" + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c814a05837f2edb0d1471d6e3f4ab3501ca3899a", - "reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be", + "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1", + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -2692,31 +2685,26 @@ "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=7.3", - "phpspec/prophecy": "^1.12.1", - "phpunit/php-code-coverage": "^9.2.7", + "phpunit/php-code-coverage": "^9.2.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.5", + "sebastian/comparator": "^4.0.8", "sebastian/diff": "^4.0.3", "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.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": "^2.3.4", + "sebastian/type": "^3.2", "sebastian/version": "^3.0.2" }, - "require-dev": { - "ext-pdo": "*", - "phpspec/prophecy-phpunit": "^2.0.1" - }, "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" + "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" }, "bin": [ "phpunit" @@ -2724,15 +2712,15 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { - "classmap": [ - "src/" - ], "files": [ "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2755,41 +2743,46 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.10" + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13" }, "funding": [ { - "url": "https://phpunit.de/donate.html", + "url": "https://phpunit.de/sponsors.html", "type": "custom" }, { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "time": "2021-09-25T07:38:51+00:00" + "time": "2023-09-19T05:39:22+00:00" }, { "name": "psr/container", - "version": "1.0.0", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=7.4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -2804,7 +2797,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common Container Interface (PHP FIG PSR-11)", @@ -2818,27 +2811,27 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/master" + "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "time": "2017-02-14T16:28:37+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { "name": "psr/http-client", - "version": "1.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/php-fig/http-client.git", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -2858,7 +2851,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP clients", @@ -2870,27 +2863,27 @@ "psr-18" ], "support": { - "source": "https://github.com/php-fig/http-client/tree/master" + "source": "https://github.com/php-fig/http-client" }, - "time": "2020-06-29T06:28:15+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { "name": "psr/http-factory", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + "reference": "e616d01114759c4c489f93b099585439f795fe35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", + "reference": "e616d01114759c4c489f93b099585439f795fe35", "shasum": "" }, "require": { "php": ">=7.0.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -2910,7 +2903,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interfaces for PSR-7 HTTP message factories", @@ -2925,31 +2918,31 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/master" + "source": "https://github.com/php-fig/http-factory/tree/1.0.2" }, - "time": "2019-04-30T12:38:16+00:00" + "time": "2023-04-10T20:10:41+00:00" }, { "name": "psr/http-message", - "version": "1.0.1", + "version": "2.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -2964,7 +2957,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP messages", @@ -2978,36 +2971,36 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "psr/log", - "version": "1.1.3", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" + "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", + "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", + "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Log\\": "Psr/Log/" + "Psr\\Log\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -3017,7 +3010,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for logging libraries", @@ -3028,9 +3021,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.3" + "source": "https://github.com/php-fig/log/tree/2.0.0" }, - "time": "2020-03-23T09:12:05+00:00" + "time": "2021-07-14T16:41:46+00:00" }, { "name": "ralouphie/getallheaders", @@ -3245,16 +3238,16 @@ }, { "name": "sebastian/comparator", - "version": "4.0.6", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382" + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", "shasum": "" }, "require": { @@ -3307,7 +3300,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" }, "funding": [ { @@ -3315,7 +3308,7 @@ "type": "github" } ], - "time": "2020-10-26T15:49:45+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", @@ -3376,16 +3369,16 @@ }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", "shasum": "" }, "require": { @@ -3430,7 +3423,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -3438,20 +3431,20 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2023-05-07T05:35:17+00:00" }, { "name": "sebastian/environment", - "version": "5.1.3", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { @@ -3493,7 +3486,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -3501,20 +3494,20 @@ "type": "github" } ], - "time": "2020-09-28T05:52:38+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.3", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", "shasum": "" }, "require": { @@ -3563,14 +3556,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" }, "funding": [ { @@ -3578,20 +3571,20 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2022-09-14T06:03:37+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.3", + "version": "5.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49" + "reference": "bde739e7565280bda77be70044ac1047bc007e34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49", - "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", "shasum": "" }, "require": { @@ -3634,7 +3627,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" }, "funding": [ { @@ -3642,7 +3635,7 @@ "type": "github" } ], - "time": "2021-06-11T13:31:12+00:00" + "time": "2023-08-02T09:26:13+00:00" }, { "name": "sebastian/lines-of-code", @@ -3815,16 +3808,16 @@ }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { @@ -3863,10 +3856,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "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.4" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -3874,7 +3867,7 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { "name": "sebastian/resource-operations", @@ -3929,33 +3922,32 @@ "type": "github" } ], - "abandoned": true, "time": "2020-09-28T06:45:17+00:00" }, { "name": "sebastian/type", - "version": "2.3.4", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914", - "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -3978,7 +3970,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/2.3.4" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -3986,7 +3978,7 @@ "type": "github" } ], - "time": "2021-06-15T12:49:02+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { "name": "sebastian/version", @@ -4041,36 +4033,99 @@ ], "time": "2020-09-28T06:39:44+00:00" }, + { + "name": "spatie/array-to-xml", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/array-to-xml.git", + "reference": "f9ab39c808500c347d5a8b6b13310bd5221e39e7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/f9ab39c808500c347d5a8b6b13310bd5221e39e7", + "reference": "f9ab39c808500c347d5a8b6b13310bd5221e39e7", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "php": "^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.2", + "pestphp/pest": "^1.21", + "spatie/pest-plugin-snapshots": "^1.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\ArrayToXml\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://freek.dev", + "role": "Developer" + } + ], + "description": "Convert an array to xml", + "homepage": "https://github.com/spatie/array-to-xml", + "keywords": [ + "array", + "convert", + "xml" + ], + "support": { + "source": "https://github.com/spatie/array-to-xml/tree/3.2.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2023-07-19T18:30:26+00:00" + }, { "name": "symfony/config", - "version": "v5.2.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "50e0e1314a3b2609d32b6a5a0d0fb5342494c4ab" + "reference": "db4fc45c24e0c3e2198e68ada9d7f90daa1f97e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/50e0e1314a3b2609d32b6a5a0d0fb5342494c4ab", - "reference": "50e0e1314a3b2609d32b6a5a0d0fb5342494c4ab", + "url": "https://api.github.com/repos/symfony/config/zipball/db4fc45c24e0c3e2198e68ada9d7f90daa1f97e3", + "reference": "db4fc45c24e0c3e2198e68ada9d7f90daa1f97e3", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/filesystem": "^4.4|^5.0", + "php": ">=8.0.2", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/filesystem": "^5.4|^6.0", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-php80": "^1.15" + "symfony/polyfill-php81": "^1.22" }, "conflict": { "symfony/finder": "<4.4" }, "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0", - "symfony/finder": "^4.4|^5.0", - "symfony/messenger": "^4.4|^5.0", - "symfony/service-contracts": "^1.1|^2", - "symfony/yaml": "^4.4|^5.0" + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/finder": "^5.4|^6.0", + "symfony/messenger": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/yaml": "^5.4|^6.0" }, "suggest": { "symfony/yaml": "To use the yaml reference dumper" @@ -4101,7 +4156,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.2.2" + "source": "https://github.com/symfony/config/tree/v6.0.19" }, "funding": [ { @@ -4117,48 +4172,46 @@ "type": "tidelift" } ], - "time": "2021-01-27T10:15:41+00:00" + "time": "2023-01-09T04:36:00+00:00" }, { "name": "symfony/console", - "version": "v5.2.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d62ec79478b55036f65e2602e282822b8eaaff0a" + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d62ec79478b55036f65e2602e282822b8eaaff0a", - "reference": "d62ec79478b55036f65e2602e282822b8eaaff0a", + "url": "https://api.github.com/repos/symfony/console/zipball/c3ebc83d031b71c39da318ca8b7a07ecc67507ed", + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.8", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2", - "symfony/string": "^5.1" + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" }, "conflict": { - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" }, "provide": { - "psr/log-implementation": "1.0" + "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/event-dispatcher": "^4.4|^5.0", - "symfony/lock": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0", - "symfony/var-dumper": "^4.4|^5.0" + "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" }, "suggest": { "psr/log": "For using the console logger", @@ -4198,7 +4251,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.2.2" + "source": "https://github.com/symfony/console/tree/v6.0.19" }, "funding": [ { @@ -4214,44 +4267,38 @@ "type": "tidelift" } ], - "time": "2021-01-27T10:15:41+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.22.0", + "name": "symfony/deprecation-contracts", + "version": "v3.0.2", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "267a9adeb8ecb8071040a740930e077cdfb987af" + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/267a9adeb8ecb8071040a740930e077cdfb987af", - "reference": "267a9adeb8ecb8071040a740930e077cdfb987af", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", "shasum": "" }, "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" + "php": ">=8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "3.0-dev" }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - }, "files": [ - "bootstrap.php" + "function.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -4268,18 +4315,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's grapheme_* functions", + "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" }, "funding": [ { @@ -4295,20 +4334,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2022-01-02T09:55:41+00:00" }, { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.26.0", + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.28.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd" + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "875e90aeea2777b6f135677f618529449334a612" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", + "reference": "875e90aeea2777b6f135677f618529449334a612", "shasum": "" }, "require": { @@ -4320,7 +4359,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -4332,11 +4371,8 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4352,18 +4388,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", + "description": "Symfony polyfill for intl's grapheme_* functions", "homepage": "https://symfony.com", "keywords": [ "compatibility", + "grapheme", "intl", - "normalizer", "polyfill", "portable", "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" }, "funding": [ { @@ -4379,35 +4415,32 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "v1.26.0", + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.28.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", "shasum": "" }, "require": { "php": ">=7.1" }, - "provide": { - "ext-mbstring": "*" - }, "suggest": { - "ext-mbstring": "For best performance" + "ext-intl": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -4419,8 +4452,11 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4436,17 +4472,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Mbstring extension", + "description": "Symfony polyfill for intl's Normalizer class and related functions", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "mbstring", + "intl", + "normalizer", "polyfill", "portable", "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" }, "funding": [ { @@ -4462,20 +4499,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.22.0", + "name": "symfony/polyfill-php81", + "version": "v1.28.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b", + "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b", "shasum": "" }, "require": { @@ -4484,7 +4521,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -4492,12 +4529,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -4516,7 +4553,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -4525,7 +4562,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.28.0" }, "funding": [ { @@ -4541,25 +4578,28 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.2.0", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", - "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.0" + "php": ">=8.0.2", + "psr/container": "^2.0" + }, + "conflict": { + "ext-psr": "<1.1|>=2" }, "suggest": { "symfony/service-implementation": "" @@ -4567,7 +4607,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -4604,7 +4644,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/master" + "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" }, "funding": [ { @@ -4620,25 +4660,25 @@ "type": "tidelift" } ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2022-05-30T19:17:58+00:00" }, { "name": "symfony/stopwatch", - "version": "v5.2.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "b12274acfab9d9850c52583d136a24398cdf1a0c" + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/b12274acfab9d9850c52583d136a24398cdf1a0c", - "reference": "b12274acfab9d9850c52583d136a24398cdf1a0c", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/011e781839dd1d2eb8119f65ac516a530f60226d", + "reference": "011e781839dd1d2eb8119f65ac516a530f60226d", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/service-contracts": "^1.0|^2" + "php": ">=8.0.2", + "symfony/service-contracts": "^1|^2|^3" }, "type": "library", "autoload": { @@ -4666,7 +4706,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.2.2" + "source": "https://github.com/symfony/stopwatch/tree/v6.0.19" }, "funding": [ { @@ -4682,44 +4722,46 @@ "type": "tidelift" } ], - "time": "2021-01-27T10:15:41+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/string", - "version": "v5.2.2", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "c95468897f408dd0aca2ff582074423dd0455122" + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/c95468897f408dd0aca2ff582074423dd0455122", - "reference": "c95468897f408dd0aca2ff582074423dd0455122", + "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.0" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" }, "type": "library", "autoload": { - "psr-4": { - "Symfony\\Component\\String\\": "" - }, "files": [ "Resources/functions.php" ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, "exclude-from-classmap": [ "/Tests/" ] @@ -4749,7 +4791,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.2.2" + "source": "https://github.com/symfony/string/tree/v6.0.19" }, "funding": [ { @@ -4765,7 +4807,7 @@ "type": "tidelift" } ], - "time": "2021-01-25T15:14:59+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "thecodingmachine/safe", @@ -4796,13 +4838,6 @@ } }, "autoload": { - "psr-4": { - "Safe\\": [ - "lib/", - "deprecated/", - "generated/" - ] - }, "files": [ "deprecated/apc.php", "deprecated/libevent.php", @@ -4893,7 +4928,14 @@ "generated/yaz.php", "generated/zip.php", "generated/zlib.php" - ] + ], + "psr-4": { + "Safe\\": [ + "lib/", + "deprecated/", + "generated/" + ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4958,24 +5000,24 @@ }, { "name": "vimeo/psalm", - "version": "4.12.0", + "version": "5.15.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "e42bc4a23f67acba28a23bb09c348e2ff38a1d87" + "reference": "5c774aca4746caf3d239d9c8cadb9f882ca29352" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/e42bc4a23f67acba28a23bb09c348e2ff38a1d87", - "reference": "e42bc4a23f67acba28a23bb09c348e2ff38a1d87", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/5c774aca4746caf3d239d9c8cadb9f882ca29352", + "reference": "5c774aca4746caf3d239d9c8cadb9f882ca29352", "shasum": "" }, "require": { "amphp/amp": "^2.4.2", "amphp/byte-stream": "^1.5", - "composer/package-versions-deprecated": "^1.8.0", + "composer-runtime-api": "^2", "composer/semver": "^1.4 || ^2.0 || ^3.0", - "composer/xdebug-handler": "^1.1 || ^2.0", + "composer/xdebug-handler": "^2.0 || ^3.0", "dnoegel/php-xdg-base-dir": "^0.1.1", "ext-ctype": "*", "ext-dom": "*", @@ -4984,36 +5026,42 @@ "ext-mbstring": "*", "ext-simplexml": "*", "ext-tokenizer": "*", - "felixfbecker/advanced-json-rpc": "^3.0.3", - "felixfbecker/language-server-protocol": "^1.5", + "felixfbecker/advanced-json-rpc": "^3.1", + "felixfbecker/language-server-protocol": "^1.5.2", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.13", - "openlss/lib-array2xml": "^1.0", - "php": "^7.1|^8", - "sebastian/diff": "^3.0 || ^4.0", - "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0 || ^6.0", - "webmozart/path-util": "^2.3" + "nikic/php-parser": "^4.16", + "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", + "sebastian/diff": "^4.0 || ^5.0", + "spatie/array-to-xml": "^2.17.0 || ^3.0", + "symfony/console": "^4.1.6 || ^5.0 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0" + }, + "conflict": { + "nikic/php-parser": "4.17.0" }, "provide": { "psalm/psalm": "self.version" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.2", - "brianium/paratest": "^4.0||^6.0", + "amphp/phpunit-util": "^2.0", + "bamarni/composer-bin-plugin": "^1.4", + "brianium/paratest": "^6.9", "ext-curl": "*", + "mockery/mockery": "^1.5", + "nunomaduro/mock-final-classes": "^1.1", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpdocumentor/reflection-docblock": "^5", - "phpmyadmin/sql-parser": "5.1.0||dev-master", - "phpspec/prophecy": ">=1.9.0", - "phpunit/phpunit": "^9.0", - "psalm/plugin-phpunit": "^0.16", - "slevomat/coding-standard": "^7.0", - "squizlabs/php_codesniffer": "^3.5", - "symfony/process": "^4.3 || ^5.0 || ^6.0", - "weirdan/prophecy-shim": "^1.0 || ^2.0" + "phpstan/phpdoc-parser": "^1.6", + "phpunit/phpunit": "^9.6", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.6", + "symfony/process": "^4.4 || ^5.0 || ^6.0" }, "suggest": { - "ext-igbinary": "^2.0.5" + "ext-curl": "In order to send data to shepherd", + "ext-igbinary": "^2.0.5 is required, used to serialize caching data" }, "bin": [ "psalm", @@ -5025,7 +5073,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.x-dev", + "dev-master": "5.x-dev", + "dev-4.x": "4.x-dev", "dev-3.x": "3.x-dev", "dev-2.x": "2.x-dev", "dev-1.x": "1.x-dev" @@ -5034,11 +5083,7 @@ "autoload": { "psr-4": { "Psalm\\": "src/Psalm/" - }, - "files": [ - "src/functions.php", - "src/spl_object_id.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5053,40 +5098,46 @@ "keywords": [ "code", "inspection", - "php" + "php", + "static analysis" ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.12.0" + "source": "https://github.com/vimeo/psalm/tree/5.15.0" }, - "time": "2021-11-06T10:31:17+00:00" + "time": "2023-08-20T23:07:30+00:00" }, { "name": "webmozart/assert", - "version": "1.9.1", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0 || ^8.0", - "symfony/polyfill-ctype": "^1.8" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" }, "conflict": { "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<3.9.1" + "vimeo/psalm": "<4.6.1 || 4.6.2" }, "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^7.5.13" + "phpunit/phpunit": "^8.5.13" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -5110,59 +5161,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.9.1" - }, - "time": "2020-07-08T17:02:28+00:00" - }, - { - "name": "webmozart/path-util", - "version": "2.3.0", - "source": { - "type": "git", - "url": "https://github.com/webmozart/path-util.git", - "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozart/path-util/zipball/d939f7edc24c9a1bb9c0dee5cb05d8e859490725", - "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "webmozart/assert": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\PathUtil\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", - "support": { - "issues": "https://github.com/webmozart/path-util/issues", - "source": "https://github.com/webmozart/path-util/tree/2.3.0" + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2015-12-17T08:42:14+00:00" + "time": "2022-06-03T18:03:27+00:00" } ], "aliases": [], @@ -5171,8 +5172,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.4 || ^8.0" + "php": "^8.0" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index cbb904e..5ef8e55 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,5 +1,40 @@ parameters: ignoreErrors: + - + message: "#^Cannot access offset 'tests' on mixed\\.$#" + count: 1 + path: src/CodeceptionAdapter.php + + - + message: "#^Method Infection\\\\TestFramework\\\\Codeception\\\\CodeceptionAdapter\\:\\:getOriginalBootstrapFilePath\\(\\) should return string\\|null but returns mixed\\.$#" + count: 1 + path: src/CodeceptionAdapter.php + + - + message: "#^Parameter \\#1 \\$file of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:isAbsolutePath\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/CodeceptionAdapter.php + + - + message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#" + count: 1 + path: src/CodeceptionAdapter.php + + - + message: "#^Parameter \\#3 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: src/CodeceptionAdapter.php + + - + message: "#^Parameter \\#4 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 1 + path: src/CodeceptionAdapter.php + + - + message: "#^Method Infection\\\\TestFramework\\\\Codeception\\\\CodeceptionAdapterFactory\\:\\:parseYaml\\(\\) should return array\\ but returns mixed\\.$#" + count: 1 + path: src/CodeceptionAdapterFactory.php + - message: "#^Parameter \\#7 \\$sourceDirectories \\(array\\\\) of method Infection\\\\TestFramework\\\\Codeception\\\\CodeceptionAdapterFactory\\:\\:create\\(\\) should be contravariant with parameter \\$sourceDirectories \\(array\\) of method Infection\\\\AbstractTestFramework\\\\TestFrameworkAdapterFactory\\:\\:create\\(\\)$#" count: 1 @@ -11,7 +46,7 @@ parameters: path: src/CommandLineBuilder.php - - message: "#^Call to static method Webmozart\\\\Assert\\\\Mixin\\:\\:allString\\(\\) with array\\ will always evaluate to true\\.$#" + message: "#^Call to static method Webmozart\\\\Assert\\\\Assert\\:\\:allString\\(\\) with array\\ will always evaluate to true\\.$#" count: 1 path: src/Stringifier.php @@ -19,4 +54,3 @@ parameters: message: "#^Parameter \\#1 \\$arrayOfStrings of static method Infection\\\\TestFramework\\\\Codeception\\\\Stringifier\\:\\:stringifyArray\\(\\) expects array\\, array\\ given\\.$#" count: 1 path: tests/phpunit/Adapter/StringifierTest.php - diff --git a/psalm-baseline.xml b/psalm-baseline.xml index a95eddc..09df048 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,48 +1,16 @@ - - - - $includedFiles - $this->originalConfigContentParsed['bootstrap'] - $this->originalConfigContentParsed['bootstrap'] - $this->originalConfigContentParsed['coverage'] ?? [] - $this->originalConfigContentParsed['paths']['tests'] ?? 'tests' - - - $includedFiles - - - ?string - - - $this->originalConfigContentParsed['bootstrap'] - - + - - $codeceptionConfigContentParsed - - - array<string, mixed> - - - $codeceptionConfigContentParsed - - + $sourceDirectories - - shell_exec('command -v php') + + - + FinderException - - - allString - - diff --git a/psalm.xml b/psalm.xml index 42537d2..35c9727 100644 --- a/psalm.xml +++ b/psalm.xml @@ -1,11 +1,13 @@ diff --git a/src/CodeceptionAdapter.php b/src/CodeceptionAdapter.php index 74c3b0f..2f579bc 100644 --- a/src/CodeceptionAdapter.php +++ b/src/CodeceptionAdapter.php @@ -56,8 +56,8 @@ use function Safe\file_put_contents; use function sprintf; use function str_replace; +use function str_starts_with; use function strlen; -use function strpos; use function strstr; use Symfony\Component\Filesystem\Filesystem; use Symfony\Component\Process\Process; @@ -273,7 +273,7 @@ private function getInterceptorFileContent(string $interceptorPath, string $orig { $infectionPhar = ''; - if (strpos(__FILE__, 'phar:') === 0) { + if (str_starts_with(__FILE__, 'phar:')) { $infectionPhar = sprintf( '\Phar::loadPhar("%s", "%s");', str_replace('phar://', '', Phar::running(true)), diff --git a/tests/e2e/Codeception_Basic/composer.json b/tests/e2e/Codeception_Basic/composer.json index f0ee486..d53e5c7 100644 --- a/tests/e2e/Codeception_Basic/composer.json +++ b/tests/e2e/Codeception_Basic/composer.json @@ -1,7 +1,7 @@ { "require-dev": { - "codeception/codeception": "^4.1.9", - "codeception/module-asserts": "^1.3" + "codeception/codeception": "^5.0", + "codeception/module-asserts": "^3.0.0" }, "autoload": { "psr-4": { @@ -14,7 +14,7 @@ } }, "require": { - "infection/infection": "0.25.0", + "infection/infection": "0.26.19", "infection/codeception-adapter": "dev-master" }, "config": { diff --git a/tests/e2e/Codeception_Basic/expected-output.txt b/tests/e2e/Codeception_Basic/expected-output.txt index 068e9f7..2db96bb 100644 --- a/tests/e2e/Codeception_Basic/expected-output.txt +++ b/tests/e2e/Codeception_Basic/expected-output.txt @@ -6,4 +6,5 @@ Syntax Errors: 0 Escaped: 1 Timed Out: 0 Skipped: 0 +Ignored: 0 Not Covered: 0 diff --git a/tests/e2e/Codeception_Basic/tests/_support/_generated/UnitTesterActions.php b/tests/e2e/Codeception_Basic/tests/_support/_generated/UnitTesterActions.php index 09a3b7a..165bf74 100644 --- a/tests/e2e/Codeception_Basic/tests/_support/_generated/UnitTesterActions.php +++ b/tests/e2e/Codeception_Basic/tests/_support/_generated/UnitTesterActions.php @@ -1,9 +1,9 @@ -expectException(MyException::class, function() { - * $this->doSomethingBad(); - * }); - * - * $I->expectException(new MyException(), function() { - * $this->doSomethingBad(); - * }); - * ``` - * If you want to check message or exception code, you can pass them with exception instance: - * ```php - * expectException(new MyException("Don't do bad things"), function() { - * $this->doSomethingBad(); - * }); - * ``` - * - * @deprecated Use expectThrowable() instead - * @param \Exception|string $exception - * @param callable $callback - * @see \Codeception\Module\Asserts::expectException() - */ - public function expectException($exception, $callback) { - return $this->getScenario()->runStep(new \Codeception\Step\Action('expectException', func_get_args())); - } - - /** * [!] Method is generated. Documentation taken from corresponding module. * @@ -74,11 +39,10 @@ public function expectException($exception, $callback) { * ``` * * @param \Throwable|string $throwable - * @param callable $callback * @see \Codeception\Module\Asserts::expectThrowable() */ - public function expectThrowable($throwable, $callback) { - return $this->getScenario()->runStep(new \Codeception\Step\Action('expectThrowable', func_get_args())); + public function expectThrowable($throwable, callable $callback): void { + $this->getScenario()->runStep(new \Codeception\Step\Action('expectThrowable', func_get_args())); } @@ -86,12 +50,9 @@ public function expectThrowable($throwable, $callback) { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file does not exist. - * - * @param string $filename - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileNotExists() */ - public function assertFileNotExists($filename, $message = "") { + public function assertFileNotExists(string $filename, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileNotExists', func_get_args())); } @@ -101,12 +62,11 @@ public function assertFileNotExists($filename, $message = "") { * * Asserts that a value is greater than or equal to another value. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertGreaterOrEquals() */ - public function assertGreaterOrEquals($expected, $actual, $message = "") { + public function assertGreaterOrEquals($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterOrEquals', func_get_args())); } @@ -116,11 +76,10 @@ public function assertGreaterOrEquals($expected, $actual, $message = "") { * * Asserts that a variable is empty. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsEmpty() */ - public function assertIsEmpty($actual, $message = "") { + public function assertIsEmpty($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsEmpty', func_get_args())); } @@ -130,12 +89,11 @@ public function assertIsEmpty($actual, $message = "") { * * Asserts that a value is smaller than or equal to another value. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertLessOrEquals() */ - public function assertLessOrEquals($expected, $actual, $message = "") { + public function assertLessOrEquals($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessOrEquals', func_get_args())); } @@ -144,13 +102,9 @@ public function assertLessOrEquals($expected, $actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string does not match a given regular expression. - * - * @param string $pattern - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertNotRegExp() */ - public function assertNotRegExp($pattern, $string, $message = "") { + public function assertNotRegExp(string $pattern, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotRegExp', func_get_args())); } @@ -159,13 +113,9 @@ public function assertNotRegExp($pattern, $string, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string matches a given regular expression. - * - * @param string $pattern - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertRegExp() */ - public function assertRegExp($pattern, $string, $message = "") { + public function assertRegExp(string $pattern, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertRegExp', func_get_args())); } @@ -175,12 +125,10 @@ public function assertRegExp($pattern, $string, $message = "") { * * Evaluates a PHPUnit\Framework\Constraint matcher object. * - * @param $value - * @param Constraint $constraint - * @param string $message + * @param mixed $value * @see \Codeception\Module\AbstractAsserts::assertThatItsNot() */ - public function assertThatItsNot($value, $constraint, $message = "") { + public function assertThatItsNot($value, \PHPUnit\Framework\Constraint\Constraint $constraint, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertThatItsNot', func_get_args())); } @@ -191,11 +139,10 @@ public function assertThatItsNot($value, $constraint, $message = "") { * Asserts that an array has a specified key. * * @param int|string $key - * @param array|ArrayAccess $array - * @param string $message + * @param array|\ArrayAccess $array * @see \Codeception\Module\AbstractAsserts::assertArrayHasKey() */ - public function assertArrayHasKey($key, $array, $message = "") { + public function assertArrayHasKey($key, $array, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertArrayHasKey', func_get_args())); } @@ -206,11 +153,10 @@ public function assertArrayHasKey($key, $array, $message = "") { * Asserts that an array does not have a specified key. * * @param int|string $key - * @param array|ArrayAccess $array - * @param string $message + * @param array|\ArrayAccess $array * @see \Codeception\Module\AbstractAsserts::assertArrayNotHasKey() */ - public function assertArrayNotHasKey($key, $array, $message = "") { + public function assertArrayNotHasKey($key, $array, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertArrayNotHasKey', func_get_args())); } @@ -219,13 +165,9 @@ public function assertArrayNotHasKey($key, $array, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a class has a specified attribute. - * - * @param string $attributeName - * @param string $className - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertClassHasAttribute() */ - public function assertClassHasAttribute($attributeName, $className, $message = "") { + public function assertClassHasAttribute(string $attributeName, string $className, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertClassHasAttribute', func_get_args())); } @@ -234,13 +176,9 @@ public function assertClassHasAttribute($attributeName, $className, $message = " * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a class has a specified static attribute. - * - * @param string $attributeName - * @param string $className - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertClassHasStaticAttribute() */ - public function assertClassHasStaticAttribute($attributeName, $className, $message = "") { + public function assertClassHasStaticAttribute(string $attributeName, string $className, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertClassHasStaticAttribute', func_get_args())); } @@ -249,13 +187,9 @@ public function assertClassHasStaticAttribute($attributeName, $className, $messa * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a class does not have a specified attribute. - * - * @param string $attributeName - * @param string $className - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertClassNotHasAttribute() */ - public function assertClassNotHasAttribute($attributeName, $className, $message = "") { + public function assertClassNotHasAttribute(string $attributeName, string $className, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertClassNotHasAttribute', func_get_args())); } @@ -264,13 +198,9 @@ public function assertClassNotHasAttribute($attributeName, $className, $message * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a class does not have a specified static attribute. - * - * @param string $attributeName - * @param string $className - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertClassNotHasStaticAttribute() */ - public function assertClassNotHasStaticAttribute($attributeName, $className, $message = "") { + public function assertClassNotHasStaticAttribute(string $attributeName, string $className, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertClassNotHasStaticAttribute', func_get_args())); } @@ -280,12 +210,10 @@ public function assertClassNotHasStaticAttribute($attributeName, $className, $me * * Asserts that a haystack contains a needle. * - * @param $needle - * @param $haystack - * @param string $message + * @param mixed $needle * @see \Codeception\Module\AbstractAsserts::assertContains() */ - public function assertContains($needle, $haystack, $message = "") { + public function assertContains($needle, iterable $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertContains', func_get_args())); } @@ -293,12 +221,10 @@ public function assertContains($needle, $haystack, $message = "") { /** * [!] Method is generated. Documentation taken from corresponding module. * - * @param $needle - * @param $haystack - * @param string $message + * @param mixed $needle * @see \Codeception\Module\AbstractAsserts::assertContainsEquals() */ - public function assertContainsEquals($needle, $haystack, $message = "") { + public function assertContainsEquals($needle, iterable $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertContainsEquals', func_get_args())); } @@ -307,14 +233,9 @@ public function assertContainsEquals($needle, $haystack, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a haystack contains only values of a given type. - * - * @param string $type - * @param $haystack - * @param bool|null $isNativeType - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertContainsOnly() */ - public function assertContainsOnly($type, $haystack, $isNativeType = NULL, $message = "") { + public function assertContainsOnly(string $type, iterable $haystack, ?bool $isNativeType = NULL, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertContainsOnly', func_get_args())); } @@ -323,13 +244,9 @@ public function assertContainsOnly($type, $haystack, $isNativeType = NULL, $mess * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a haystack contains only instances of a given class name. - * - * @param string $className - * @param $haystack - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertContainsOnlyInstancesOf() */ - public function assertContainsOnlyInstancesOf($className, $haystack, $message = "") { + public function assertContainsOnlyInstancesOf(string $className, iterable $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertContainsOnlyInstancesOf', func_get_args())); } @@ -339,12 +256,10 @@ public function assertContainsOnlyInstancesOf($className, $haystack, $message = * * Asserts the number of elements of an array, Countable or Traversable. * - * @param int $expectedCount - * @param Countable|iterable $haystack - * @param string $message + * @param \Countable|iterable $haystack * @see \Codeception\Module\AbstractAsserts::assertCount() */ - public function assertCount($expectedCount, $haystack, $message = "") { + public function assertCount(int $expectedCount, $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertCount', func_get_args())); } @@ -353,12 +268,9 @@ public function assertCount($expectedCount, $haystack, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a directory does not exist. - * - * @param string $directory - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertDirectoryDoesNotExist() */ - public function assertDirectoryDoesNotExist($directory, $message = "") { + public function assertDirectoryDoesNotExist(string $directory, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertDirectoryDoesNotExist', func_get_args())); } @@ -367,12 +279,9 @@ public function assertDirectoryDoesNotExist($directory, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a directory exists. - * - * @param string $directory - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertDirectoryExists() */ - public function assertDirectoryExists($directory, $message = "") { + public function assertDirectoryExists(string $directory, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertDirectoryExists', func_get_args())); } @@ -381,12 +290,9 @@ public function assertDirectoryExists($directory, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a directory exists and is not readable. - * - * @param string $directory - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertDirectoryIsNotReadable() */ - public function assertDirectoryIsNotReadable($directory, $message = "") { + public function assertDirectoryIsNotReadable(string $directory, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertDirectoryIsNotReadable', func_get_args())); } @@ -395,12 +301,9 @@ public function assertDirectoryIsNotReadable($directory, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a directory exists and is not writable. - * - * @param string $directory - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertDirectoryIsNotWritable() */ - public function assertDirectoryIsNotWritable($directory, $message = "") { + public function assertDirectoryIsNotWritable(string $directory, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertDirectoryIsNotWritable', func_get_args())); } @@ -409,12 +312,9 @@ public function assertDirectoryIsNotWritable($directory, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a directory exists and is readable. - * - * @param string $directory - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertDirectoryIsReadable() */ - public function assertDirectoryIsReadable($directory, $message = "") { + public function assertDirectoryIsReadable(string $directory, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertDirectoryIsReadable', func_get_args())); } @@ -423,12 +323,9 @@ public function assertDirectoryIsReadable($directory, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a directory exists and is writable. - * - * @param string $directory - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertDirectoryIsWritable() */ - public function assertDirectoryIsWritable($directory, $message = "") { + public function assertDirectoryIsWritable(string $directory, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertDirectoryIsWritable', func_get_args())); } @@ -437,13 +334,9 @@ public function assertDirectoryIsWritable($directory, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string does not match a given regular expression. - * - * @param string $pattern - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertDoesNotMatchRegularExpression() */ - public function assertDoesNotMatchRegularExpression($pattern, $string, $message = "") { + public function assertDoesNotMatchRegularExpression(string $pattern, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertDoesNotMatchRegularExpression', func_get_args())); } @@ -453,11 +346,10 @@ public function assertDoesNotMatchRegularExpression($pattern, $string, $message * * Asserts that a variable is empty. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertEmpty() */ - public function assertEmpty($actual, $message = "") { + public function assertEmpty($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEmpty', func_get_args())); } @@ -467,12 +359,11 @@ public function assertEmpty($actual, $message = "") { * * Asserts that two variables are equal. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertEquals() */ - public function assertEquals($expected, $actual, $message = "") { + public function assertEquals($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEquals', func_get_args())); } @@ -482,12 +373,11 @@ public function assertEquals($expected, $actual, $message = "") { * * Asserts that two variables are equal (canonicalizing). * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertEqualsCanonicalizing() */ - public function assertEqualsCanonicalizing($expected, $actual, $message = "") { + public function assertEqualsCanonicalizing($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEqualsCanonicalizing', func_get_args())); } @@ -497,12 +387,11 @@ public function assertEqualsCanonicalizing($expected, $actual, $message = "") { * * Asserts that two variables are equal (ignoring case). * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertEqualsIgnoringCase() */ - public function assertEqualsIgnoringCase($expected, $actual, $message = "") { + public function assertEqualsIgnoringCase($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEqualsIgnoringCase', func_get_args())); } @@ -512,13 +401,11 @@ public function assertEqualsIgnoringCase($expected, $actual, $message = "") { * * Asserts that two variables are equal (with delta). * - * @param $expected - * @param $actual - * @param float $delta - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertEqualsWithDelta() */ - public function assertEqualsWithDelta($expected, $actual, $delta, $message = "") { + public function assertEqualsWithDelta($expected, $actual, float $delta, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertEqualsWithDelta', func_get_args())); } @@ -528,11 +415,10 @@ public function assertEqualsWithDelta($expected, $actual, $delta, $message = "") * * Asserts that a condition is false. * - * @param $condition - * @param string $message + * @param mixed $condition * @see \Codeception\Module\AbstractAsserts::assertFalse() */ - public function assertFalse($condition, $message = "") { + public function assertFalse($condition, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFalse', func_get_args())); } @@ -541,12 +427,9 @@ public function assertFalse($condition, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file does not exist. - * - * @param string $filename - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileDoesNotExist() */ - public function assertFileDoesNotExist($filename, $message = "") { + public function assertFileDoesNotExist(string $filename, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileDoesNotExist', func_get_args())); } @@ -555,13 +438,9 @@ public function assertFileDoesNotExist($filename, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of one file is equal to the contents of another file. - * - * @param string $expected - * @param string $actual - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileEquals() */ - public function assertFileEquals($expected, $actual, $message = "") { + public function assertFileEquals(string $expected, string $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileEquals', func_get_args())); } @@ -570,13 +449,9 @@ public function assertFileEquals($expected, $actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of one file is equal to the contents of another file (canonicalizing). - * - * @param $expected - * @param $actual - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileEqualsCanonicalizing() */ - public function assertFileEqualsCanonicalizing($expected, $actual, $message = "") { + public function assertFileEqualsCanonicalizing(string $expected, string $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileEqualsCanonicalizing', func_get_args())); } @@ -585,13 +460,9 @@ public function assertFileEqualsCanonicalizing($expected, $actual, $message = "" * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of one file is equal to the contents of another file (ignoring case). - * - * @param $expected - * @param $actual - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileEqualsIgnoringCase() */ - public function assertFileEqualsIgnoringCase($expected, $actual, $message = "") { + public function assertFileEqualsIgnoringCase(string $expected, string $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileEqualsIgnoringCase', func_get_args())); } @@ -600,12 +471,9 @@ public function assertFileEqualsIgnoringCase($expected, $actual, $message = "") * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file exists. - * - * @param string $filename - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileExists() */ - public function assertFileExists($filename, $message = "") { + public function assertFileExists(string $filename, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileExists', func_get_args())); } @@ -614,12 +482,9 @@ public function assertFileExists($filename, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file exists and is not readable. - * - * @param string $file - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileIsNotReadable() */ - public function assertFileIsNotReadable($file, $message = "") { + public function assertFileIsNotReadable(string $file, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileIsNotReadable', func_get_args())); } @@ -628,12 +493,9 @@ public function assertFileIsNotReadable($file, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file exists and is not writable. - * - * @param string $file - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileIsNotWritable() */ - public function assertFileIsNotWritable($file, $message = "") { + public function assertFileIsNotWritable(string $file, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileIsNotWritable', func_get_args())); } @@ -642,12 +504,9 @@ public function assertFileIsNotWritable($file, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file exists and is readable. - * - * @param string $file - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileIsReadable() */ - public function assertFileIsReadable($file, $message = "") { + public function assertFileIsReadable(string $file, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileIsReadable', func_get_args())); } @@ -656,12 +515,9 @@ public function assertFileIsReadable($file, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file exists and is writable. - * - * @param string $file - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileIsWritable() */ - public function assertFileIsWritable($file, $message = "") { + public function assertFileIsWritable(string $file, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileIsWritable', func_get_args())); } @@ -670,13 +526,9 @@ public function assertFileIsWritable($file, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of one file is not equal to the contents of another file. - * - * @param $expected - * @param $actual - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileNotEquals() */ - public function assertFileNotEquals($expected, $actual, $message = "") { + public function assertFileNotEquals(string $expected, string $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileNotEquals', func_get_args())); } @@ -685,13 +537,9 @@ public function assertFileNotEquals($expected, $actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of one file is not equal to the contents of another file (canonicalizing). - * - * @param $expected - * @param $actual - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileNotEqualsCanonicalizing() */ - public function assertFileNotEqualsCanonicalizing($expected, $actual, $message = "") { + public function assertFileNotEqualsCanonicalizing(string $expected, string $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileNotEqualsCanonicalizing', func_get_args())); } @@ -700,13 +548,9 @@ public function assertFileNotEqualsCanonicalizing($expected, $actual, $message = * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of one file is not equal to the contents of another file (ignoring case). - * - * @param $expected - * @param $actual - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertFileNotEqualsIgnoringCase() */ - public function assertFileNotEqualsIgnoringCase($expected, $actual, $message = "") { + public function assertFileNotEqualsIgnoringCase(string $expected, string $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFileNotEqualsIgnoringCase', func_get_args())); } @@ -716,11 +560,10 @@ public function assertFileNotEqualsIgnoringCase($expected, $actual, $message = " * * Asserts that a variable is finite. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertFinite() */ - public function assertFinite($actual, $message = "") { + public function assertFinite($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertFinite', func_get_args())); } @@ -730,12 +573,11 @@ public function assertFinite($actual, $message = "") { * * Asserts that a value is greater than another value. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertGreaterThan() */ - public function assertGreaterThan($expected, $actual, $message = "") { + public function assertGreaterThan($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterThan', func_get_args())); } @@ -745,12 +587,11 @@ public function assertGreaterThan($expected, $actual, $message = "") { * * Asserts that a value is greater than or equal to another value. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertGreaterThanOrEqual() */ - public function assertGreaterThanOrEqual($expected, $actual, $message = "") { + public function assertGreaterThanOrEqual($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterThanOrEqual', func_get_args())); } @@ -760,11 +601,10 @@ public function assertGreaterThanOrEqual($expected, $actual, $message = "") { * * Asserts that a variable is infinite. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertInfinite() */ - public function assertInfinite($actual, $message = "") { + public function assertInfinite($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertInfinite', func_get_args())); } @@ -774,12 +614,10 @@ public function assertInfinite($actual, $message = "") { * * Asserts that a variable is of a given type. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertInstanceOf() */ - public function assertInstanceOf($expected, $actual, $message = "") { + public function assertInstanceOf(string $expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertInstanceOf', func_get_args())); } @@ -789,11 +627,10 @@ public function assertInstanceOf($expected, $actual, $message = "") { * * Asserts that a variable is of type array. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsArray() */ - public function assertIsArray($actual, $message = "") { + public function assertIsArray($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsArray', func_get_args())); } @@ -803,11 +640,10 @@ public function assertIsArray($actual, $message = "") { * * Asserts that a variable is of type bool. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsBool() */ - public function assertIsBool($actual, $message = "") { + public function assertIsBool($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsBool', func_get_args())); } @@ -817,11 +653,10 @@ public function assertIsBool($actual, $message = "") { * * Asserts that a variable is of type callable. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsCallable() */ - public function assertIsCallable($actual, $message = "") { + public function assertIsCallable($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsCallable', func_get_args())); } @@ -831,11 +666,10 @@ public function assertIsCallable($actual, $message = "") { * * Asserts that a variable is of type resource and is closed. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsClosedResource() */ - public function assertIsClosedResource($actual, $message = "") { + public function assertIsClosedResource($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsClosedResource', func_get_args())); } @@ -845,11 +679,10 @@ public function assertIsClosedResource($actual, $message = "") { * * Asserts that a variable is of type float. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsFloat() */ - public function assertIsFloat($actual, $message = "") { + public function assertIsFloat($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsFloat', func_get_args())); } @@ -859,11 +692,10 @@ public function assertIsFloat($actual, $message = "") { * * Asserts that a variable is of type int. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsInt() */ - public function assertIsInt($actual, $message = "") { + public function assertIsInt($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsInt', func_get_args())); } @@ -873,11 +705,10 @@ public function assertIsInt($actual, $message = "") { * * Asserts that a variable is of type iterable. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsIterable() */ - public function assertIsIterable($actual, $message = "") { + public function assertIsIterable($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsIterable', func_get_args())); } @@ -887,11 +718,10 @@ public function assertIsIterable($actual, $message = "") { * * Asserts that a variable is not of type array. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotArray() */ - public function assertIsNotArray($actual, $message = "") { + public function assertIsNotArray($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotArray', func_get_args())); } @@ -901,11 +731,10 @@ public function assertIsNotArray($actual, $message = "") { * * Asserts that a variable is not of type bool. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotBool() */ - public function assertIsNotBool($actual, $message = "") { + public function assertIsNotBool($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotBool', func_get_args())); } @@ -915,11 +744,10 @@ public function assertIsNotBool($actual, $message = "") { * * Asserts that a variable is not of type callable. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotCallable() */ - public function assertIsNotCallable($actual, $message = "") { + public function assertIsNotCallable($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotCallable', func_get_args())); } @@ -929,11 +757,10 @@ public function assertIsNotCallable($actual, $message = "") { * * Asserts that a variable is not of type resource. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotClosedResource() */ - public function assertIsNotClosedResource($actual, $message = "") { + public function assertIsNotClosedResource($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotClosedResource', func_get_args())); } @@ -943,11 +770,10 @@ public function assertIsNotClosedResource($actual, $message = "") { * * Asserts that a variable is not of type float. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotFloat() */ - public function assertIsNotFloat($actual, $message = "") { + public function assertIsNotFloat($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotFloat', func_get_args())); } @@ -957,11 +783,10 @@ public function assertIsNotFloat($actual, $message = "") { * * Asserts that a variable is not of type int. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotInt() */ - public function assertIsNotInt($actual, $message = "") { + public function assertIsNotInt($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotInt', func_get_args())); } @@ -971,11 +796,10 @@ public function assertIsNotInt($actual, $message = "") { * * Asserts that a variable is not of type iterable. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotIterable() */ - public function assertIsNotIterable($actual, $message = "") { + public function assertIsNotIterable($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotIterable', func_get_args())); } @@ -985,11 +809,10 @@ public function assertIsNotIterable($actual, $message = "") { * * Asserts that a variable is not of type numeric. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotNumeric() */ - public function assertIsNotNumeric($actual, $message = "") { + public function assertIsNotNumeric($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotNumeric', func_get_args())); } @@ -999,11 +822,10 @@ public function assertIsNotNumeric($actual, $message = "") { * * Asserts that a variable is not of type object. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotObject() */ - public function assertIsNotObject($actual, $message = "") { + public function assertIsNotObject($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotObject', func_get_args())); } @@ -1012,12 +834,9 @@ public function assertIsNotObject($actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file/dir exists and is not readable. - * - * @param string $filename - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertIsNotReadable() */ - public function assertIsNotReadable($filename, $message = "") { + public function assertIsNotReadable(string $filename, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotReadable', func_get_args())); } @@ -1027,11 +846,10 @@ public function assertIsNotReadable($filename, $message = "") { * * Asserts that a variable is not of type resource. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotResource() */ - public function assertIsNotResource($actual, $message = "") { + public function assertIsNotResource($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotResource', func_get_args())); } @@ -1041,11 +859,10 @@ public function assertIsNotResource($actual, $message = "") { * * Asserts that a variable is not of type scalar. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotScalar() */ - public function assertIsNotScalar($actual, $message = "") { + public function assertIsNotScalar($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotScalar', func_get_args())); } @@ -1055,11 +872,10 @@ public function assertIsNotScalar($actual, $message = "") { * * Asserts that a variable is not of type string. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNotString() */ - public function assertIsNotString($actual, $message = "") { + public function assertIsNotString($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotString', func_get_args())); } @@ -1068,12 +884,9 @@ public function assertIsNotString($actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file/dir exists and is not writable. - * - * @param $filename - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertIsNotWritable() */ - public function assertIsNotWritable($filename, $message = "") { + public function assertIsNotWritable(string $filename, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotWritable', func_get_args())); } @@ -1083,11 +896,10 @@ public function assertIsNotWritable($filename, $message = "") { * * Asserts that a variable is of type numeric. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsNumeric() */ - public function assertIsNumeric($actual, $message = "") { + public function assertIsNumeric($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNumeric', func_get_args())); } @@ -1097,11 +909,10 @@ public function assertIsNumeric($actual, $message = "") { * * Asserts that a variable is of type object. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsObject() */ - public function assertIsObject($actual, $message = "") { + public function assertIsObject($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsObject', func_get_args())); } @@ -1110,12 +921,9 @@ public function assertIsObject($actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file/dir is readable. - * - * @param $filename - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertIsReadable() */ - public function assertIsReadable($filename, $message = "") { + public function assertIsReadable(string $filename, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsReadable', func_get_args())); } @@ -1125,11 +933,10 @@ public function assertIsReadable($filename, $message = "") { * * Asserts that a variable is of type resource. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsResource() */ - public function assertIsResource($actual, $message = "") { + public function assertIsResource($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsResource', func_get_args())); } @@ -1139,11 +946,10 @@ public function assertIsResource($actual, $message = "") { * * Asserts that a variable is of type scalar. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsScalar() */ - public function assertIsScalar($actual, $message = "") { + public function assertIsScalar($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsScalar', func_get_args())); } @@ -1153,11 +959,10 @@ public function assertIsScalar($actual, $message = "") { * * Asserts that a variable is of type string. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertIsString() */ - public function assertIsString($actual, $message = "") { + public function assertIsString($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsString', func_get_args())); } @@ -1166,12 +971,9 @@ public function assertIsString($actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a file/dir exists and is writable. - * - * @param $filename - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertIsWritable() */ - public function assertIsWritable($filename, $message = "") { + public function assertIsWritable(string $filename, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsWritable', func_get_args())); } @@ -1180,12 +982,9 @@ public function assertIsWritable($filename, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string is a valid JSON string. - * - * @param string $actualJson - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertJson() */ - public function assertJson($actualJson, $message = "") { + public function assertJson(string $actualJson, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertJson', func_get_args())); } @@ -1194,13 +993,9 @@ public function assertJson($actualJson, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that two JSON files are equal. - * - * @param string $expectedFile - * @param string $actualFile - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertJsonFileEqualsJsonFile() */ - public function assertJsonFileEqualsJsonFile($expectedFile, $actualFile, $message = "") { + public function assertJsonFileEqualsJsonFile(string $expectedFile, string $actualFile, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertJsonFileEqualsJsonFile', func_get_args())); } @@ -1209,13 +1004,9 @@ public function assertJsonFileEqualsJsonFile($expectedFile, $actualFile, $messag * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that two JSON files are not equal. - * - * @param string $expectedFile - * @param string $actualFile - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertJsonFileNotEqualsJsonFile() */ - public function assertJsonFileNotEqualsJsonFile($expectedFile, $actualFile, $message = "") { + public function assertJsonFileNotEqualsJsonFile(string $expectedFile, string $actualFile, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertJsonFileNotEqualsJsonFile', func_get_args())); } @@ -1224,13 +1015,9 @@ public function assertJsonFileNotEqualsJsonFile($expectedFile, $actualFile, $mes * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the generated JSON encoded object and the content of the given file are equal. - * - * @param string $expectedFile - * @param string $actualJson - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertJsonStringEqualsJsonFile() */ - public function assertJsonStringEqualsJsonFile($expectedFile, $actualJson, $message = "") { + public function assertJsonStringEqualsJsonFile(string $expectedFile, string $actualJson, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertJsonStringEqualsJsonFile', func_get_args())); } @@ -1239,13 +1026,9 @@ public function assertJsonStringEqualsJsonFile($expectedFile, $actualJson, $mess * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that two given JSON encoded objects or arrays are equal. - * - * @param string $expectedJson - * @param string $actualJson - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertJsonStringEqualsJsonString() */ - public function assertJsonStringEqualsJsonString($expectedJson, $actualJson, $message = "") { + public function assertJsonStringEqualsJsonString(string $expectedJson, string $actualJson, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertJsonStringEqualsJsonString', func_get_args())); } @@ -1254,13 +1037,9 @@ public function assertJsonStringEqualsJsonString($expectedJson, $actualJson, $me * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the generated JSON encoded object and the content of the given file are not equal. - * - * @param string $expectedFile - * @param string $actualJson - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertJsonStringNotEqualsJsonFile() */ - public function assertJsonStringNotEqualsJsonFile($expectedFile, $actualJson, $message = "") { + public function assertJsonStringNotEqualsJsonFile(string $expectedFile, string $actualJson, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertJsonStringNotEqualsJsonFile', func_get_args())); } @@ -1269,13 +1048,9 @@ public function assertJsonStringNotEqualsJsonFile($expectedFile, $actualJson, $m * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that two given JSON encoded objects or arrays are not equal. - * - * @param string $expectedJson - * @param string $actualJson - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertJsonStringNotEqualsJsonString() */ - public function assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $message = "") { + public function assertJsonStringNotEqualsJsonString(string $expectedJson, string $actualJson, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertJsonStringNotEqualsJsonString', func_get_args())); } @@ -1285,12 +1060,11 @@ public function assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, * * Asserts that a value is smaller than another value. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertLessThan() */ - public function assertLessThan($expected, $actual, $message = "") { + public function assertLessThan($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessThan', func_get_args())); } @@ -1300,12 +1074,11 @@ public function assertLessThan($expected, $actual, $message = "") { * * Asserts that a value is smaller than or equal to another value. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertLessThanOrEqual() */ - public function assertLessThanOrEqual($expected, $actual, $message = "") { + public function assertLessThanOrEqual($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessThanOrEqual', func_get_args())); } @@ -1314,13 +1087,9 @@ public function assertLessThanOrEqual($expected, $actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string matches a given regular expression. - * - * @param string $pattern - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertMatchesRegularExpression() */ - public function assertMatchesRegularExpression($pattern, $string, $message = "") { + public function assertMatchesRegularExpression(string $pattern, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertMatchesRegularExpression', func_get_args())); } @@ -1330,11 +1099,10 @@ public function assertMatchesRegularExpression($pattern, $string, $message = "") * * Asserts that a variable is nan. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNan() */ - public function assertNan($actual, $message = "") { + public function assertNan($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNan', func_get_args())); } @@ -1344,12 +1112,10 @@ public function assertNan($actual, $message = "") { * * Asserts that a haystack does not contain a needle. * - * @param $needle - * @param $haystack - * @param string $message + * @param mixed $needle * @see \Codeception\Module\AbstractAsserts::assertNotContains() */ - public function assertNotContains($needle, $haystack, $message = "") { + public function assertNotContains($needle, iterable $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotContains', func_get_args())); } @@ -1360,7 +1126,7 @@ public function assertNotContains($needle, $haystack, $message = "") { * * @see \Codeception\Module\AbstractAsserts::assertNotContainsEquals() */ - public function assertNotContainsEquals($needle, $haystack, $message = "") { + public function assertNotContainsEquals($needle, iterable $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotContainsEquals', func_get_args())); } @@ -1369,14 +1135,9 @@ public function assertNotContainsEquals($needle, $haystack, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a haystack does not contain only values of a given type. - * - * @param string $type - * @param $haystack - * @param bool|null $isNativeType - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertNotContainsOnly() */ - public function assertNotContainsOnly($type, $haystack, $isNativeType = NULL, $message = "") { + public function assertNotContainsOnly(string $type, iterable $haystack, ?bool $isNativeType = NULL, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotContainsOnly', func_get_args())); } @@ -1386,12 +1147,10 @@ public function assertNotContainsOnly($type, $haystack, $isNativeType = NULL, $m * * Asserts the number of elements of an array, Countable or Traversable. * - * @param int $expectedCount - * @param Countable|iterable $haystack - * @param string $message + * @param \Countable|iterable $haystack * @see \Codeception\Module\AbstractAsserts::assertNotCount() */ - public function assertNotCount($expectedCount, $haystack, $message = "") { + public function assertNotCount(int $expectedCount, $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotCount', func_get_args())); } @@ -1401,11 +1160,10 @@ public function assertNotCount($expectedCount, $haystack, $message = "") { * * Asserts that a variable is not empty. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNotEmpty() */ - public function assertNotEmpty($actual, $message = "") { + public function assertNotEmpty($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEmpty', func_get_args())); } @@ -1415,12 +1173,11 @@ public function assertNotEmpty($actual, $message = "") { * * Asserts that two variables are not equal. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNotEquals() */ - public function assertNotEquals($expected, $actual, $message = "") { + public function assertNotEquals($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEquals', func_get_args())); } @@ -1430,12 +1187,11 @@ public function assertNotEquals($expected, $actual, $message = "") { * * Asserts that two variables are not equal (canonicalizing). * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNotEqualsCanonicalizing() */ - public function assertNotEqualsCanonicalizing($expected, $actual, $message = "") { + public function assertNotEqualsCanonicalizing($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsCanonicalizing', func_get_args())); } @@ -1445,12 +1201,11 @@ public function assertNotEqualsCanonicalizing($expected, $actual, $message = "") * * Asserts that two variables are not equal (ignoring case). * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNotEqualsIgnoringCase() */ - public function assertNotEqualsIgnoringCase($expected, $actual, $message = "") { + public function assertNotEqualsIgnoringCase($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsIgnoringCase', func_get_args())); } @@ -1460,13 +1215,11 @@ public function assertNotEqualsIgnoringCase($expected, $actual, $message = "") { * * Asserts that two variables are not equal (with delta). * - * @param $expected - * @param $actual - * @param float $delta - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNotEqualsWithDelta() */ - public function assertNotEqualsWithDelta($expected, $actual, $delta, $message = "") { + public function assertNotEqualsWithDelta($expected, $actual, float $delta, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsWithDelta', func_get_args())); } @@ -1476,11 +1229,10 @@ public function assertNotEqualsWithDelta($expected, $actual, $delta, $message = * * Asserts that a condition is not false. * - * @param $condition - * @param string $message + * @param mixed $condition * @see \Codeception\Module\AbstractAsserts::assertNotFalse() */ - public function assertNotFalse($condition, $message = "") { + public function assertNotFalse($condition, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotFalse', func_get_args())); } @@ -1490,12 +1242,10 @@ public function assertNotFalse($condition, $message = "") { * * Asserts that a variable is not of a given type. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNotInstanceOf() */ - public function assertNotInstanceOf($expected, $actual, $message = "") { + public function assertNotInstanceOf(string $expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotInstanceOf', func_get_args())); } @@ -1505,11 +1255,10 @@ public function assertNotInstanceOf($expected, $actual, $message = "") { * * Asserts that a variable is not null. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNotNull() */ - public function assertNotNull($actual, $message = "") { + public function assertNotNull($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotNull', func_get_args())); } @@ -1519,12 +1268,11 @@ public function assertNotNull($actual, $message = "") { * * Asserts that two variables do not have the same type and value. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNotSame() */ - public function assertNotSame($expected, $actual, $message = "") { + public function assertNotSame($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotSame', func_get_args())); } @@ -1534,12 +1282,11 @@ public function assertNotSame($expected, $actual, $message = "") { * * Assert that the size of two arrays (or `Countable` or `Traversable` objects) is not the same. * - * @param Countable|iterable $expected - * @param Countable|iterable $actual - * @param string $message + * @param \Countable|iterable $expected + * @param \Countable|iterable $actual * @see \Codeception\Module\AbstractAsserts::assertNotSameSize() */ - public function assertNotSameSize($expected, $actual, $message = "") { + public function assertNotSameSize($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotSameSize', func_get_args())); } @@ -1549,11 +1296,10 @@ public function assertNotSameSize($expected, $actual, $message = "") { * * Asserts that a condition is not true. * - * @param $condition - * @param string $message + * @param mixed $condition * @see \Codeception\Module\AbstractAsserts::assertNotTrue() */ - public function assertNotTrue($condition, $message = "") { + public function assertNotTrue($condition, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotTrue', func_get_args())); } @@ -1563,11 +1309,10 @@ public function assertNotTrue($condition, $message = "") { * * Asserts that a variable is null. * - * @param $actual - * @param string $message + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertNull() */ - public function assertNull($actual, $message = "") { + public function assertNull($actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNull', func_get_args())); } @@ -1576,13 +1321,9 @@ public function assertNull($actual, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that an object has a specified attribute. - * - * @param string $attributeName - * @param object $object - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertObjectHasAttribute() */ - public function assertObjectHasAttribute($attributeName, $object, $message = "") { + public function assertObjectHasAttribute(string $attributeName, object $object, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertObjectHasAttribute', func_get_args())); } @@ -1591,13 +1332,9 @@ public function assertObjectHasAttribute($attributeName, $object, $message = "") * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that an object does not have a specified attribute. - * - * @param string $attributeName - * @param object $object - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertObjectNotHasAttribute() */ - public function assertObjectNotHasAttribute($attributeName, $object, $message = "") { + public function assertObjectNotHasAttribute(string $attributeName, object $object, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertObjectNotHasAttribute', func_get_args())); } @@ -1607,12 +1344,11 @@ public function assertObjectNotHasAttribute($attributeName, $object, $message = * * Asserts that two variables have the same type and value. * - * @param $expected - * @param $actual - * @param string $message + * @param mixed $expected + * @param mixed $actual * @see \Codeception\Module\AbstractAsserts::assertSame() */ - public function assertSame($expected, $actual, $message = "") { + public function assertSame($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertSame', func_get_args())); } @@ -1622,12 +1358,11 @@ public function assertSame($expected, $actual, $message = "") { * * Assert that the size of two arrays (or `Countable` or `Traversable` objects) is the same. * - * @param Countable|iterable $expected - * @param Countable|iterable $actual - * @param string $message + * @param \Countable|iterable $expected + * @param \Countable|iterable $actual * @see \Codeception\Module\AbstractAsserts::assertSameSize() */ - public function assertSameSize($expected, $actual, $message = "") { + public function assertSameSize($expected, $actual, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertSameSize', func_get_args())); } @@ -1635,12 +1370,10 @@ public function assertSameSize($expected, $actual, $message = "") { /** * [!] Method is generated. Documentation taken from corresponding module. * - * @param string $needle - * @param string $haystack - * @param string $message + * * @see \Codeception\Module\AbstractAsserts::assertStringContainsString() */ - public function assertStringContainsString($needle, $haystack, $message = "") { + public function assertStringContainsString(string $needle, string $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringContainsString', func_get_args())); } @@ -1651,7 +1384,7 @@ public function assertStringContainsString($needle, $haystack, $message = "") { * * @see \Codeception\Module\AbstractAsserts::assertStringContainsStringIgnoringCase() */ - public function assertStringContainsStringIgnoringCase($needle, $haystack, $message = "") { + public function assertStringContainsStringIgnoringCase(string $needle, string $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringContainsStringIgnoringCase', func_get_args())); } @@ -1660,13 +1393,9 @@ public function assertStringContainsStringIgnoringCase($needle, $haystack, $mess * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string ends not with a given suffix. - * - * @param string $suffix - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringEndsNotWith() */ - public function assertStringEndsNotWith($suffix, $string, $message = "") { + public function assertStringEndsNotWith(string $suffix, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringEndsNotWith', func_get_args())); } @@ -1675,13 +1404,9 @@ public function assertStringEndsNotWith($suffix, $string, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string ends with a given suffix. - * - * @param string $suffix - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringEndsWith() */ - public function assertStringEndsWith($suffix, $string, $message = "") { + public function assertStringEndsWith(string $suffix, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringEndsWith', func_get_args())); } @@ -1690,13 +1415,9 @@ public function assertStringEndsWith($suffix, $string, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of a string is equal to the contents of a file. - * - * @param string $expectedFile - * @param string $actualString - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringEqualsFile() */ - public function assertStringEqualsFile($expectedFile, $actualString, $message = "") { + public function assertStringEqualsFile(string $expectedFile, string $actualString, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringEqualsFile', func_get_args())); } @@ -1705,13 +1426,9 @@ public function assertStringEqualsFile($expectedFile, $actualString, $message = * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of a string is equal to the contents of a file (canonicalizing). - * - * @param string $expectedFile - * @param string $actualString - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringEqualsFileCanonicalizing() */ - public function assertStringEqualsFileCanonicalizing($expectedFile, $actualString, $message = "") { + public function assertStringEqualsFileCanonicalizing(string $expectedFile, string $actualString, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringEqualsFileCanonicalizing', func_get_args())); } @@ -1720,13 +1437,9 @@ public function assertStringEqualsFileCanonicalizing($expectedFile, $actualStrin * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of a string is equal to the contents of a file (ignoring case). - * - * @param string $expectedFile - * @param string $actualString - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringEqualsFileIgnoringCase() */ - public function assertStringEqualsFileIgnoringCase($expectedFile, $actualString, $message = "") { + public function assertStringEqualsFileIgnoringCase(string $expectedFile, string $actualString, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringEqualsFileIgnoringCase', func_get_args())); } @@ -1735,13 +1448,9 @@ public function assertStringEqualsFileIgnoringCase($expectedFile, $actualString, * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string matches a given format string. - * - * @param string $format - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringMatchesFormat() */ - public function assertStringMatchesFormat($format, $string, $message = "") { + public function assertStringMatchesFormat(string $format, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringMatchesFormat', func_get_args())); } @@ -1750,13 +1459,9 @@ public function assertStringMatchesFormat($format, $string, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string matches a given format file. - * - * @param string $formatFile - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringMatchesFormatFile() */ - public function assertStringMatchesFormatFile($formatFile, $string, $message = "") { + public function assertStringMatchesFormatFile(string $formatFile, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringMatchesFormatFile', func_get_args())); } @@ -1764,12 +1469,10 @@ public function assertStringMatchesFormatFile($formatFile, $string, $message = " /** * [!] Method is generated. Documentation taken from corresponding module. * - * @param string $needle - * @param string $haystack - * @param string $message + * * @see \Codeception\Module\AbstractAsserts::assertStringNotContainsString() */ - public function assertStringNotContainsString($needle, $haystack, $message = "") { + public function assertStringNotContainsString(string $needle, string $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotContainsString', func_get_args())); } @@ -1777,12 +1480,10 @@ public function assertStringNotContainsString($needle, $haystack, $message = "") /** * [!] Method is generated. Documentation taken from corresponding module. * - * @param string $needle - * @param string $haystack - * @param string $message + * * @see \Codeception\Module\AbstractAsserts::assertStringNotContainsStringIgnoringCase() */ - public function assertStringNotContainsStringIgnoringCase($needle, $haystack, $message = "") { + public function assertStringNotContainsStringIgnoringCase(string $needle, string $haystack, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotContainsStringIgnoringCase', func_get_args())); } @@ -1791,13 +1492,9 @@ public function assertStringNotContainsStringIgnoringCase($needle, $haystack, $m * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of a string is not equal to the contents of a file. - * - * @param string $expectedFile - * @param string $actualString - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringNotEqualsFile() */ - public function assertStringNotEqualsFile($expectedFile, $actualString, $message = "") { + public function assertStringNotEqualsFile(string $expectedFile, string $actualString, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotEqualsFile', func_get_args())); } @@ -1806,12 +1503,9 @@ public function assertStringNotEqualsFile($expectedFile, $actualString, $message * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of a string is not equal to the contents of a file (canonicalizing). - * @param string $expectedFile - * @param string $actualString - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringNotEqualsFileCanonicalizing() */ - public function assertStringNotEqualsFileCanonicalizing($expectedFile, $actualString, $message = "") { + public function assertStringNotEqualsFileCanonicalizing(string $expectedFile, string $actualString, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotEqualsFileCanonicalizing', func_get_args())); } @@ -1820,13 +1514,9 @@ public function assertStringNotEqualsFileCanonicalizing($expectedFile, $actualSt * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that the contents of a string is not equal to the contents of a file (ignoring case). - * - * @param string $expectedFile - * @param string $actualString - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringNotEqualsFileIgnoringCase() */ - public function assertStringNotEqualsFileIgnoringCase($expectedFile, $actualString, $message = "") { + public function assertStringNotEqualsFileIgnoringCase(string $expectedFile, string $actualString, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotEqualsFileIgnoringCase', func_get_args())); } @@ -1835,13 +1525,9 @@ public function assertStringNotEqualsFileIgnoringCase($expectedFile, $actualStri * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string does not match a given format string. - * - * @param string $format - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringNotMatchesFormat() */ - public function assertStringNotMatchesFormat($format, $string, $message = "") { + public function assertStringNotMatchesFormat(string $format, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotMatchesFormat', func_get_args())); } @@ -1850,13 +1536,9 @@ public function assertStringNotMatchesFormat($format, $string, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string does not match a given format string. - * - * @param string $formatFile - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringNotMatchesFormatFile() */ - public function assertStringNotMatchesFormatFile($formatFile, $string, $message = "") { + public function assertStringNotMatchesFormatFile(string $formatFile, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringNotMatchesFormatFile', func_get_args())); } @@ -1865,13 +1547,9 @@ public function assertStringNotMatchesFormatFile($formatFile, $string, $message * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string starts not with a given prefix. - * - * @param string $prefix - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringStartsNotWith() */ - public function assertStringStartsNotWith($prefix, $string, $message = "") { + public function assertStringStartsNotWith(string $prefix, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringStartsNotWith', func_get_args())); } @@ -1880,13 +1558,9 @@ public function assertStringStartsNotWith($prefix, $string, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that a string starts with a given prefix. - * - * @param string $prefix - * @param string $string - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertStringStartsWith() */ - public function assertStringStartsWith($prefix, $string, $message = "") { + public function assertStringStartsWith(string $prefix, string $string, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringStartsWith', func_get_args())); } @@ -1896,12 +1570,10 @@ public function assertStringStartsWith($prefix, $string, $message = "") { * * Evaluates a PHPUnit\Framework\Constraint matcher object. * - * @param $value - * @param Constraint $constraint - * @param string $message + * @param mixed $value * @see \Codeception\Module\AbstractAsserts::assertThat() */ - public function assertThat($value, $constraint, $message = "") { + public function assertThat($value, \PHPUnit\Framework\Constraint\Constraint $constraint, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertThat', func_get_args())); } @@ -1911,11 +1583,10 @@ public function assertThat($value, $constraint, $message = "") { * * Asserts that a condition is true. * - * @param $condition - * @param string $message + * @param mixed $condition * @see \Codeception\Module\AbstractAsserts::assertTrue() */ - public function assertTrue($condition, $message = "") { + public function assertTrue($condition, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertTrue', func_get_args())); } @@ -1924,13 +1595,9 @@ public function assertTrue($condition, $message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that two XML files are equal. - * - * @param string $expectedFile - * @param string $actualFile - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertXmlFileEqualsXmlFile() */ - public function assertXmlFileEqualsXmlFile($expectedFile, $actualFile, $message = "") { + public function assertXmlFileEqualsXmlFile(string $expectedFile, string $actualFile, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertXmlFileEqualsXmlFile', func_get_args())); } @@ -1939,13 +1606,9 @@ public function assertXmlFileEqualsXmlFile($expectedFile, $actualFile, $message * [!] Method is generated. Documentation taken from corresponding module. * * Asserts that two XML files are not equal. - * - * @param string $expectedFile - * @param string $actualFile - * @param string $message * @see \Codeception\Module\AbstractAsserts::assertXmlFileNotEqualsXmlFile() */ - public function assertXmlFileNotEqualsXmlFile($expectedFile, $actualFile, $message = "") { + public function assertXmlFileNotEqualsXmlFile(string $expectedFile, string $actualFile, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertXmlFileNotEqualsXmlFile', func_get_args())); } @@ -1955,12 +1618,10 @@ public function assertXmlFileNotEqualsXmlFile($expectedFile, $actualFile, $messa * * Asserts that two XML documents are equal. * - * @param string $expectedFile - * @param DOMDocument|string $actualXml - * @param string $message + * @param \DOMDocument|string $actualXml * @see \Codeception\Module\AbstractAsserts::assertXmlStringEqualsXmlFile() */ - public function assertXmlStringEqualsXmlFile($expectedFile, $actualXml, $message = "") { + public function assertXmlStringEqualsXmlFile(string $expectedFile, $actualXml, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertXmlStringEqualsXmlFile', func_get_args())); } @@ -1970,12 +1631,11 @@ public function assertXmlStringEqualsXmlFile($expectedFile, $actualXml, $message * * Asserts that two XML documents are equal. * - * @param DOMDocument|string $expectedXml - * @param DOMDocument|string $actualXml - * @param string $message + * @param \DOMDocument|string $expectedXml + * @param \DOMDocument|string $actualXml * @see \Codeception\Module\AbstractAsserts::assertXmlStringEqualsXmlString() */ - public function assertXmlStringEqualsXmlString($expectedXml, $actualXml, $message = "") { + public function assertXmlStringEqualsXmlString($expectedXml, $actualXml, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertXmlStringEqualsXmlString', func_get_args())); } @@ -1985,12 +1645,10 @@ public function assertXmlStringEqualsXmlString($expectedXml, $actualXml, $messag * * Asserts that two XML documents are not equal. * - * @param string $expectedFile - * @param DOMDocument|string $actualXml - * @param string $message + * @param \DOMDocument|string $actualXml * @see \Codeception\Module\AbstractAsserts::assertXmlStringNotEqualsXmlFile() */ - public function assertXmlStringNotEqualsXmlFile($expectedFile, $actualXml, $message = "") { + public function assertXmlStringNotEqualsXmlFile(string $expectedFile, $actualXml, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertXmlStringNotEqualsXmlFile', func_get_args())); } @@ -2000,12 +1658,11 @@ public function assertXmlStringNotEqualsXmlFile($expectedFile, $actualXml, $mess * * Asserts that two XML documents are not equal. * - * @param DOMDocument|string $expectedXml - * @param DOMDocument|string $actualXml - * @param string $message + * @param \DOMDocument|string $expectedXml + * @param \DOMDocument|string $actualXml * @see \Codeception\Module\AbstractAsserts::assertXmlStringNotEqualsXmlString() */ - public function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $message = "") { + public function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('assertXmlStringNotEqualsXmlString', func_get_args())); } @@ -2014,11 +1671,9 @@ public function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $mes * [!] Method is generated. Documentation taken from corresponding module. * * Fails a test with the given message. - * - * @param string $message * @see \Codeception\Module\AbstractAsserts::fail() */ - public function fail($message = "") { + public function fail(string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('fail', func_get_args())); } @@ -2027,11 +1682,9 @@ public function fail($message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Mark the test as incomplete. - * - * @param string $message * @see \Codeception\Module\AbstractAsserts::markTestIncomplete() */ - public function markTestIncomplete($message = "") { + public function markTestIncomplete(string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('markTestIncomplete', func_get_args())); } @@ -2040,11 +1693,9 @@ public function markTestIncomplete($message = "") { * [!] Method is generated. Documentation taken from corresponding module. * * Mark the test as skipped. - * - * @param string $message * @see \Codeception\Module\AbstractAsserts::markTestSkipped() */ - public function markTestSkipped($message = "") { + public function markTestSkipped(string $message = "") { return $this->getScenario()->runStep(new \Codeception\Step\Action('markTestSkipped', func_get_args())); } } diff --git a/tests/e2e/Codeception_With_Suite_Overridings/composer.json b/tests/e2e/Codeception_With_Suite_Overridings/composer.json index c20af91..5c762fa 100644 --- a/tests/e2e/Codeception_With_Suite_Overridings/composer.json +++ b/tests/e2e/Codeception_With_Suite_Overridings/composer.json @@ -1,8 +1,8 @@ { "require-dev": { - "codeception/codeception": "^4.1.9", - "codeception/module-db": "^1.1", - "infection/infection": "0.25.0", + "codeception/codeception": "^5.0", + "codeception/module-db": "^3.0.0", + "infection/infection": "0.26.19", "infection/codeception-adapter": "dev-master" }, "autoload": { diff --git a/tests/e2e/Codeception_With_Suite_Overridings/expected-output.txt b/tests/e2e/Codeception_With_Suite_Overridings/expected-output.txt index 9715451..f2da521 100644 --- a/tests/e2e/Codeception_With_Suite_Overridings/expected-output.txt +++ b/tests/e2e/Codeception_With_Suite_Overridings/expected-output.txt @@ -6,4 +6,5 @@ Syntax Errors: 0 Escaped: 0 Timed Out: 0 Skipped: 0 +Ignored: 0 Not Covered: 0