diff --git a/.github/workflows/changelog-update.yml b/.github/workflows/changelog-update.yml index c444e15..f00f848 100644 --- a/.github/workflows/changelog-update.yml +++ b/.github/workflows/changelog-update.yml @@ -7,7 +7,7 @@ name: "Changelog - Update Unreleased" on: push: branches: - - 4.x + - 5.x jobs: changelog-update-unreleased: @@ -20,7 +20,7 @@ jobs: uses: "actions/checkout@v2" - name: "Restore Automation cache" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | cache diff --git a/.github/workflows/static-analyze.yml b/.github/workflows/static-analyze.yml index 638387e..f637e81 100644 --- a/.github/workflows/static-analyze.yml +++ b/.github/workflows/static-analyze.yml @@ -4,7 +4,7 @@ on: pull_request: push: branches: - - "4.x" + - "5.x" schedule: - cron: '0 8 * * *' @@ -19,7 +19,7 @@ jobs: dependencies: - "locked" php-version: - - "7.4" + - "8.3" operating-system: - "ubuntu-latest" @@ -41,7 +41,7 @@ jobs: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: "Cache Composer dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | ${{ steps.composer-cache.outputs.dir }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a2e656d..9a8e097 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,7 +4,7 @@ on: pull_request: push: branches: - - "4.x" + - "5.x" schedule: - cron: '0 8 * * *' @@ -21,9 +21,9 @@ jobs: - "lowest" - "highest" php-version: - - "7.4" - - "8.0" - - "8.1" + - "8.3" + - "8.4" + - "8.5" operating-system: - "ubuntu-latest" @@ -45,7 +45,7 @@ jobs: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: "Cache Composer dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | ${{ steps.composer-cache.outputs.dir }} diff --git a/.gitignore b/.gitignore index a69f258..c2ab8cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ vendor/ bin/ -var/ \ No newline at end of file +var/ +composer.lock diff --git a/CHANGELOG.md b/CHANGELOG.md index 908dddd..7f89e8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,36 @@ -## [Unreleased] - 2024-01-08 +## [5.0.3] - 2025-12-11 + +### Added +- [#149](https://github.com/coduo/php-humanizer/pull/149) - **Symfony 8+ support** - [@bpolaszek](https://github.com/bpolaszek) +- [#149](https://github.com/coduo/php-humanizer/pull/149) - **PHP 8.5 support** - [@bpolaszek](https://github.com/bpolaszek) + +### Changed +- [#141](https://github.com/coduo/php-humanizer/pull/141) - **Update action cache from @v2 to @v4 in Github Action workflows** - [@norberttech](https://github.com/norberttech) + +### Fixed +- [#149](https://github.com/coduo/php-humanizer/pull/149) - **Incorrect nullable types as of PHP 8.4** - [@bpolaszek](https://github.com/bpolaszek) +- [#139](https://github.com/coduo/php-humanizer/pull/139) - **Readme typo** - [@WatheqAlshowaiter](https://github.com/WatheqAlshowaiter) + +### Removed +- [#149](https://github.com/coduo/php-humanizer/pull/149) - **Removed `composer.lock` from git and added it to `.gitignore` (lock file not required in packages, helps CI to pass)** - [@bpolaszek](https://github.com/bpolaszek) + +## [5.0.2] - 2025-02-06 + +### Added +- [#138](https://github.com/coduo/php-humanizer/pull/138) - **Add Swedish translations** - [@adevade](https://github.com/adevade) + +## [5.0.1] - 2025-01-25 + +### Fixed +- [76e7b6](https://github.com/coduo/php-humanizer/commit/76e7b6a7bec97e095b14e7dbfb7aa19ae1cb7fc9) - **failing tests** - [@norberttech](https://github.com/norberttech) + +### Updated +- [fb621f](https://github.com/coduo/php-humanizer/commit/fb621fda3e73428af8bba55f697c51daf002580b) - **project to PHP 8.4** - [@norberttech](https://github.com/norberttech) + +### Removed +- [#136](https://github.com/coduo/php-humanizer/pull/136) - **symfony/yaml dependency** - [@norberttech](https://github.com/norberttech) + +## [5.0.0] - 2024-04-11 ### Added - [#133](https://github.com/coduo/php-humanizer/pull/133) - **Slovak translation added for Oxford and Datetime** - [@jerony-mo](https://github.com/jerony-mo) @@ -8,8 +40,14 @@ - [#131](https://github.com/coduo/php-humanizer/pull/131) - **Using the assertSame to make assert equals restricted.** - [@peter279k](https://github.com/peter279k) ### Fixed +- [90efee](https://github.com/coduo/php-humanizer/commit/90efee54b12d083d7d4ec62d52cdb7f2a5c9641d) - **development tools dependencies configuration** - [@norberttech](https://github.com/norberttech) +- [fe058c](https://github.com/coduo/php-humanizer/commit/fe058ca2ecb9aa90f8c688a25a9327b7c2050156) - **static analyze github workflow php version** - [@norberttech](https://github.com/norberttech) - [#132](https://github.com/coduo/php-humanizer/pull/132) - **Fix the CI status badge URL.** - [@peter279k](https://github.com/peter279k) +### Updated +- [b18a11](https://github.com/coduo/php-humanizer/commit/b18a11af5c694d8041fe585d687a6d5c4b8f78db) - **README.md** - [@norberttech](https://github.com/norberttech) +- [c5023f](https://github.com/coduo/php-humanizer/commit/c5023fa601eca56a39f23e9a8274d80f4a4a6c6a) - **project to latest versio of php and dependencies** - [@norberttech](https://github.com/norberttech) + ## [4.0.3] - 2022-06-07 ### Added @@ -324,8 +362,10 @@ - @4t87ux8 - @a-ungurianu +- @adevade - @arrowrowe - @Borales +- @bpolaszek - @brianwozeniak - @cnkt - @dagaa @@ -369,5 +409,6 @@ - @thunderer - @vinicius73 - @vinkla +- @WatheqAlshowaiter Generated by [Automation](https://github.com/aeon-php/automation) \ No newline at end of file diff --git a/README.md b/README.md index 37c7b7a..effd462 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,12 @@ # PHP Humanizer -![Tests](https://github.com/coduo/php-humanizer/workflows/Tests/badge.svg?branch=4.x) +[![Tests](https://github.com/coduo/php-humanizer/actions/workflows/tests.yml/badge.svg?branch=5.x)](https://github.com/coduo/php-humanizer/actions/workflows/tests.yml) [![Latest Stable Version](https://poser.pugx.org/coduo/php-humanizer/v/stable)](https://packagist.org/packages/coduo/php-humanizer) [![Total Downloads](https://poser.pugx.org/coduo/php-humanizer/downloads)](https://packagist.org/packages/coduo/php-humanizer) [![Latest Unstable Version](https://poser.pugx.org/coduo/php-humanizer/v/unstable)](https://packagist.org/packages/coduo/php-humanizer) [![License](https://poser.pugx.org/coduo/php-humanizer/license)](https://packagist.org/packages/coduo/php-humanizer) -### Tests -* ![Tests](https://github.com/coduo/php-humanizer/workflows/Tests/badge.svg?branch=4.x) - 4.x - -[Readme for 4.x version](https://github.com/coduo/php-humanizer/tree/4.x/README.md) +[Readme for 5.x version](https://github.com/coduo/php-humanizer/tree/5.x/README.md) @@ -33,7 +30,7 @@ composer require coduo/php-humanizer use Coduo\PHPHumanizer\StringHumanizer; StringHumanizer::humanize('field_name'); // "Field Name" -StringHumanizer::humanize('user_id'); // "User" +StringHumanizer::humanize('user_id'); // "User id" StringHumanizer::humanize('field_name', false); // "field name" ``` diff --git a/baseline.xml b/baseline.xml deleted file mode 100644 index 96ef6bc..0000000 --- a/baseline.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - $diff->{$unit->getDateIntervalSymbol()} - - - - - new $strategy() - - - - - $resourceName - - - $file - $resourceName - - - getBasename - getPathname - - - diff --git a/composer.json b/composer.json index 7be652c..ad191e7 100644 --- a/composer.json +++ b/composer.json @@ -15,14 +15,12 @@ } ], "require": { - "php": "~7.4 || ~8.0 || ~8.1", - "symfony/translation": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0", - "aeon-php/calendar": "^0.16.1 || ^1.0" + "php": "~8.3 || ~8.4 || ~8.5", + "symfony/translation": "~5.4 || ~6.4 || ~7 || ~8" }, "require-dev": { "thunderer/shortcode": "^0.7", - "phpunit/phpunit": "^9.4" + "aeon-php/calendar": "^1.0" }, "config": { "bin-dir": "bin" @@ -49,17 +47,17 @@ "tools/vendor/bin/phpunit" ], "static:analyze": [ - "tools/vendor/bin/psalm --output-format=compact", "tools/vendor/bin/phpstan analyze -c phpstan.neon", "tools/vendor/bin/php-cs-fixer fix --dry-run" ], "cs:php:fix": "tools/vendor/bin/php-cs-fixer fix", "tools:install": "composer install --working-dir=./tools", + "tools:update": "composer update --working-dir=./tools", "post-install-cmd": [ "@tools:install" ], "post-update-cmd": [ - "@tools:install" + "@tools:update" ] } } diff --git a/composer.lock b/composer.lock deleted file mode 100644 index 534a626..0000000 --- a/composer.lock +++ /dev/null @@ -1,2708 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "4204f17fb768e8a680f1250930b5d246", - "packages": [ - { - "name": "aeon-php/calendar", - "version": "1.0.4", - "source": { - "type": "git", - "url": "https://github.com/aeon-php/calendar.git", - "reference": "2b1c9bb578bd3bf9b47f9e7549bcd2a5bf5e4b25" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/aeon-php/calendar/zipball/2b1c9bb578bd3bf9b47f9e7549bcd2a5bf5e4b25", - "reference": "2b1c9bb578bd3bf9b47f9e7549bcd2a5bf5e4b25", - "shasum": "" - }, - "require": { - "php": "^7.4.2 || ~8.0 || ~8.1" - }, - "require-dev": { - "ext-bcmath": "*" - }, - "suggest": { - "ext-bcmath": "Compare time units with high precision" - }, - "type": "library", - "autoload": { - "psr-4": { - "Aeon\\": [ - "src/Aeon" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP type safe, immutable calendar library", - "keywords": [ - "calendar", - "date", - "datetime", - "immutable", - "time" - ], - "support": { - "issues": "https://github.com/aeon-php/calendar/issues", - "source": "https://github.com/aeon-php/calendar/tree/1.0.4" - }, - "time": "2022-01-28T13:12:23+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" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-01-02T09:53:40+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.26.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-05-24T11:49:31+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.26.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "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": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-05-24T11:49:31+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.26.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-05-10T07:21:04+00:00" - }, - { - "name": "symfony/translation", - "version": "v5.4.9", - "source": { - "type": "git", - "url": "https://github.com/symfony/translation.git", - "reference": "1639abc1177d26bcd4320e535e664cef067ab0ca" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/1639abc1177d26bcd4320e535e664cef067ab0ca", - "reference": "1639abc1177d26bcd4320e535e664cef067ab0ca", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "^1.16", - "symfony/translation-contracts": "^2.3" - }, - "conflict": { - "symfony/config": "<4.4", - "symfony/console": "<5.3", - "symfony/dependency-injection": "<5.0", - "symfony/http-kernel": "<5.0", - "symfony/twig-bundle": "<5.0", - "symfony/yaml": "<4.4" - }, - "provide": { - "symfony/translation-implementation": "2.3" - }, - "require-dev": { - "psr/log": "^1|^2|^3", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/console": "^5.4|^6.0", - "symfony/dependency-injection": "^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/http-client-contracts": "^1.1|^2.0|^3.0", - "symfony/http-kernel": "^5.0|^6.0", - "symfony/intl": "^4.4|^5.0|^6.0", - "symfony/polyfill-intl-icu": "^1.21", - "symfony/service-contracts": "^1.1.2|^2|^3", - "symfony/yaml": "^4.4|^5.0|^6.0" - }, - "suggest": { - "psr/log-implementation": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\Translation\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides tools to internationalize your application", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/translation/tree/v5.4.9" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-05-06T12:33:37+00:00" - }, - { - "name": "symfony/translation-contracts", - "version": "v2.5.1", - "source": { - "type": "git", - "url": "https://github.com/symfony/translation-contracts.git", - "reference": "1211df0afa701e45a04253110e959d4af4ef0f07" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/1211df0afa701e45a04253110e959d4af4ef0f07", - "reference": "1211df0afa701e45a04253110e959d4af4ef0f07", - "shasum": "" - }, - "require": { - "php": ">=7.2.5" - }, - "suggest": { - "symfony/translation-implementation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Translation\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to translation", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v2.5.1" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-01-02T09:53:40+00:00" - }, - { - "name": "symfony/yaml", - "version": "v5.4.3", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "e80f87d2c9495966768310fc531b487ce64237a2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2", - "reference": "e80f87d2c9495966768310fc531b487ce64237a2", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-ctype": "^1.8" - }, - "conflict": { - "symfony/console": "<5.3" - }, - "require-dev": { - "symfony/console": "^5.3|^6.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" - }, - "bin": [ - "Resources/bin/yaml-lint" - ], - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Loads and dumps YAML files", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.3" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-01-26T16:32:32+00:00" - } - ], - "packages-dev": [ - { - "name": "doctrine/instantiator", - "version": "1.4.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^9", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.22" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.1" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-03-03T08:28:38+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" - }, - "require-dev": { - "doctrine/collections": "^1.6.8", - "doctrine/common": "^2.13.3 || ^3.2.2", - "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" - }, - "type": "library", - "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Create deep copies (clones) of your objects", - "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" - ], - "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" - } - ], - "time": "2022-03-03T13:19:32+00:00" - }, - { - "name": "nikic/php-parser", - "version": "v4.14.0", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/34bea19b6e03d8153165d8f30bba4c3be86184c1", - "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": [ - "bin/php-parse" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.14.0" - }, - "time": "2022-05-31T20:59:12+00:00" - }, - { - "name": "phar-io/manifest", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-phar": "*", - "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" - }, - "time": "2021-07-20T11:28:43+00:00" - }, - { - "name": "phar-io/version", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "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.2.1" - }, - "time": "2022-02-21T01:04:05+00:00" - }, - { - "name": "phpdocumentor/reflection-common", - "version": "2.2.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-2.x": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" - } - ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" - ], - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" - }, - "time": "2020-06-27T09:03:43+00:00" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "5.3.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", - "shasum": "" - }, - "require": { - "ext-filter": "*", - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", - "webmozart/assert": "^1.9.1" - }, - "require-dev": { - "mockery/mockery": "~1.3.2", - "psalm/phar": "^4.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - }, - { - "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" - } - ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" - }, - "time": "2021-10-19T17:43:47+00:00" - }, - { - "name": "phpdocumentor/type-resolver", - "version": "1.6.1", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "77a32518733312af16a44300404e945338981de3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3", - "reference": "77a32518733312af16a44300404e945338981de3", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" - }, - "require-dev": { - "ext-tokenizer": "*", - "psalm/phar": "^4.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", - "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1" - }, - "time": "2022-03-15T21:29:03+00:00" - }, - { - "name": "phpspec/prophecy", - "version": "v1.15.0", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", - "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" - }, - "require-dev": { - "phpspec/phpspec": "^6.0 || ^7.0", - "phpunit/phpunit": "^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Prophecy\\": "src/Prophecy" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" - }, - "time": "2021-12-08T12:19:24+00:00" - }, - { - "name": "phpunit/php-code-coverage", - "version": "9.2.15", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", - "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-libxml": "*", - "ext-xmlwriter": "*", - "nikic/php-parser": "^4.13.0", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-03-07T09:28:20+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-12-02T12:48:52+00:00" - }, - { - "name": "phpunit/php-invoker", - "version": "3.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcntl": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": [ - "process" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:58:55+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T05:33:50+00:00" - }, - { - "name": "phpunit/php-timer", - "version": "5.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:16:10+00:00" - }, - { - "name": "phpunit/phpunit", - "version": "9.5.20", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/12bc8879fb65aef2138b26fc633cb1e3620cffba", - "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.3.1", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "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.13", - "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/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.3", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.0", - "sebastian/version": "^3.0.2" - }, - "require-dev": { - "ext-pdo": "*", - "phpspec/prophecy-phpunit": "^2.0.1" - }, - "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.5-dev" - } - }, - "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.20" - }, - "funding": [ - { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-04-01T12:37:26+00:00" - }, - { - "name": "sebastian/cli-parser", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", - "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:08:49+00:00" - }, - { - "name": "sebastian/code-unit", - "version": "1.0.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the PHP code units", - "homepage": "https://github.com/sebastianbergmann/code-unit", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:08:54+00:00" - }, - { - "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:30:19+00:00" - }, - { - "name": "sebastian/comparator", - "version": "4.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T15:49:45+00:00" - }, - { - "name": "sebastian/complexity", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for calculating the complexity of PHP code units", - "homepage": "https://github.com/sebastianbergmann/complexity", - "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T15:52:27+00:00" - }, - { - "name": "sebastian/diff", - "version": "4.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:10:38+00:00" - }, - { - "name": "sebastian/environment", - "version": "5.1.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-posix": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-04-03T09:37:03+00:00" - }, - { - "name": "sebastian/exporter", - "version": "4.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", - "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "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.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-11-11T14:18:36+00:00" - }, - { - "name": "sebastian/global-state", - "version": "5.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-02-14T08:28:10+00:00" - }, - { - "name": "sebastian/lines-of-code", - "version": "1.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for counting the lines of code in PHP source code", - "homepage": "https://github.com/sebastianbergmann/lines-of-code", - "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-28T06:42:11+00:00" - }, - { - "name": "sebastian/object-enumerator", - "version": "4.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:12:34+00:00" - }, - { - "name": "sebastian/object-reflector", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Allows reflection of object attributes, including inherited and non-public ones", - "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:14:26+00:00" - }, - { - "name": "sebastian/recursion-context", - "version": "4.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.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" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:17:30+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" - }, - { - "name": "sebastian/type", - "version": "3.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", - "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-03-15T09:54:48+00:00" - }, - { - "name": "sebastian/version", - "version": "3.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:39:44+00:00" - }, - { - "name": "theseer/tokenizer", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - } - ], - "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "support": { - "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" - }, - "funding": [ - { - "url": "https://github.com/theseer", - "type": "github" - } - ], - "time": "2021-07-28T10:34:58+00:00" - }, - { - "name": "thunderer/shortcode", - "version": "v0.7.5", - "source": { - "type": "git", - "url": "https://github.com/thunderer/Shortcode.git", - "reference": "a4fee30613bd46efb421f8305aff0466a3268a99" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thunderer/Shortcode/zipball/a4fee30613bd46efb421f8305aff0466a3268a99", - "reference": "a4fee30613bd46efb421f8305aff0466a3268a99", - "shasum": "" - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": ">=4.1", - "symfony/yaml": ">=2.0" - }, - "suggest": { - "ext-dom": "if you want to use XML serializer", - "ext-json": "if you want to use JSON serializer", - "symfony/yaml": "if you want to use YAML serializer" - }, - "type": "library", - "autoload": { - "psr-4": { - "Thunder\\Shortcode\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Tomasz Kowalczyk", - "email": "tomasz@kowalczyk.cc" - } - ], - "description": "Advanced shortcode (BBCode) parser and engine for PHP", - "keywords": [ - "bbcode", - "engine", - "library", - "parser", - "shortcode" - ], - "support": { - "issues": "https://github.com/thunderer/Shortcode/issues", - "source": "https://github.com/thunderer/Shortcode/tree/v0.7.5" - }, - "time": "2022-01-13T18:53:33+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "php": "^7.2 || ^8.0" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<4.6.1 || 4.6.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.5.13" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.11.0" - }, - "time": "2022-06-03T18:03:27+00:00" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": "~7.4 || ~8.0 || ~8.1" - }, - "platform-dev": [], - "plugin-api-version": "2.2.0" -} diff --git a/phpunit.xml.dist b/phpunit.xml.dist index e4936a9..9f54b7e 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,23 +1,22 @@ - - - ./tests/ - - - - - - ./src/ - - - - - - - \ No newline at end of file + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" + colors="true" + bootstrap="vendor/autoload.php" + cacheDirectory="var/phpunit/cache"> + + + ./tests/ + + + + + + + + + + ./src/ + + + diff --git a/psalm.xml b/psalm.xml deleted file mode 100644 index e836113..0000000 --- a/psalm.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - diff --git a/src/Coduo/PHPHumanizer/Aeon/Calendar/Formatter.php b/src/Coduo/PHPHumanizer/Aeon/Calendar/Formatter.php index 65ec949..69e23a2 100644 --- a/src/Coduo/PHPHumanizer/Aeon/Calendar/Formatter.php +++ b/src/Coduo/PHPHumanizer/Aeon/Calendar/Formatter.php @@ -26,6 +26,10 @@ public function __construct(TranslatorInterface $translator) public function timeUnit(Unit $unit, string $locale = 'en') : string { + if (!\interface_exists('\Aeon\Calendar\Gregorian\Calendar')) { + throw new \RuntimeException('Please add "aeon-php/calendar": ^1.0 to composer.json first'); + } + $parts = []; foreach ((new UnitCompound($unit))->components() as $component) { diff --git a/src/Coduo/PHPHumanizer/Aeon/Calendar/UnitCompound.php b/src/Coduo/PHPHumanizer/Aeon/Calendar/UnitCompound.php index 117d5e3..4d30794 100644 --- a/src/Coduo/PHPHumanizer/Aeon/Calendar/UnitCompound.php +++ b/src/Coduo/PHPHumanizer/Aeon/Calendar/UnitCompound.php @@ -37,6 +37,10 @@ public function __construct(Unit $timeUnit) */ public function components() : array { + if (!\interface_exists('\Aeon\Calendar\Gregorian\Calendar')) { + throw new \RuntimeException('Please add "aeon-php/calendar": ^1.0 to composer.json first'); + } + $unit = $this->unit; $compoundResults = []; diff --git a/src/Coduo/PHPHumanizer/Collection/Formatter.php b/src/Coduo/PHPHumanizer/Collection/Formatter.php index 79d8eac..57c62e8 100644 --- a/src/Coduo/PHPHumanizer/Collection/Formatter.php +++ b/src/Coduo/PHPHumanizer/Collection/Formatter.php @@ -30,7 +30,7 @@ public function __construct(TranslatorInterface $translator, string $catalogue = * * @param array $collection */ - public function format(array $collection, int $limit = null) : string + public function format(array $collection, ?int $limit = null) : string { $count = \count($collection); diff --git a/src/Coduo/PHPHumanizer/Collection/Oxford.php b/src/Coduo/PHPHumanizer/Collection/Oxford.php index 2ec61ef..932a297 100644 --- a/src/Coduo/PHPHumanizer/Collection/Oxford.php +++ b/src/Coduo/PHPHumanizer/Collection/Oxford.php @@ -23,7 +23,7 @@ public function __construct(Formatter $formatter) /** * @param array $collection */ - public function format(array $collection, int $limit = null) : string + public function format(array $collection, ?int $limit = null) : string { return $this->formatter->format($collection, $limit); } diff --git a/src/Coduo/PHPHumanizer/CollectionHumanizer.php b/src/Coduo/PHPHumanizer/CollectionHumanizer.php index dc83f80..7077348 100644 --- a/src/Coduo/PHPHumanizer/CollectionHumanizer.php +++ b/src/Coduo/PHPHumanizer/CollectionHumanizer.php @@ -20,7 +20,7 @@ final class CollectionHumanizer /** * @param array $collection */ - public static function oxford(array $collection, int $limit = null, string $locale = 'en') : string + public static function oxford(array $collection, ?int $limit = null, string $locale = 'en') : string { $oxford = new Oxford( new Formatter(Builder::build($locale)) diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.af.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.af.php new file mode 100644 index 0000000..bc387fa --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.af.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] nou nou', + 'future' => '[0,Inf] netnou', + ], + 'second' => [ + 'past' => '[0,1] %count% sekonde gelede|[2,Inf] %count% sekondes gelede', + 'future' => '[0,1] %count% sekonde van nou af|[2,Inf] %count% sekondes van nou af', + ], + 'minute' => [ + 'past' => '{1} %count% minuut gelede|[2,Inf] %count% minute gelede', + 'future' => '{1} %count% minuut van nou af|[2,Inf] %count% minute van nou af', + ], + 'hour' => [ + 'past' => '{1} %count% uur gelede|[2,Inf] %count% ure gelede', + 'future' => '{1} %count% uur van nou af|[2,Inf] %count% ure van nou af', + ], + 'day' => [ + 'past' => '{1} %count% dag gelede|[2,Inf] %count% dae gelede', + 'future' => '{1} %count% dag van nou af|[2,Inf] %count% dae van nou af', + ], + 'week' => [ + 'past' => '{1} %count% week gelede|[2,Inf] %count% weke gelede', + 'future' => '{1} %count% week van nou af|[2,Inf] %count% weke van nou af', + ], + 'month' => [ + 'past' => '{1} %count% maand gelede|[2,Inf] %count% maande gelede', + 'future' => '{1} %count% maand van nou af|[2,Inf] %count% maande van nou af', + ], + 'year' => [ + 'past' => '{1} %count% jaar gelede|[2,Inf] %count% jaar gelede', + 'future' => '{1} %count% jaar van nou af|[2,Inf] %count% jaar van nou af', + ], + 'compound' => [ + 'second' => '[0,1] %count% sekonde|[2,Inf] %count% sekondes', + 'minute' => '{1} %count% minuut|[2,Inf] %count% minute', + 'hour' => '{1} %count% uur|[2,Inf] %count% ure', + 'day' => '{1} %count% dag|[2,Inf] %count% dae', + 'week' => '{1} %count% week|[2,Inf] %count% weke', + 'month' => '{1} %count% maand|[2,Inf] %count% maande', + 'year' => '{1} %count% jaar|[2,Inf] %count% jaar', + 'past' => '%value% gelede', + 'future' => '%value% van nou af', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.af.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.af.yml deleted file mode 100644 index 6d4f8dd..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.af.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] nou nou" - future: "[0,Inf] netnou" -second: - past: "[0,1] %count% sekonde gelede|[2,Inf] %count% sekondes gelede" - future: "[0,1] %count% sekonde van nou af|[2,Inf] %count% sekondes van nou af" -minute: - past: "{1} %count% minuut gelede|[2,Inf] %count% minute gelede" - future: "{1} %count% minuut van nou af|[2,Inf] %count% minute van nou af" -hour: - past: "{1} %count% uur gelede|[2,Inf] %count% ure gelede" - future: "{1} %count% uur van nou af|[2,Inf] %count% ure van nou af" -day: - past: "{1} %count% dag gelede|[2,Inf] %count% dae gelede" - future: "{1} %count% dag van nou af|[2,Inf] %count% dae van nou af" -week: - past: "{1} %count% week gelede|[2,Inf] %count% weke gelede" - future: "{1} %count% week van nou af|[2,Inf] %count% weke van nou af" -month: - past: "{1} %count% maand gelede|[2,Inf] %count% maande gelede" - future: "{1} %count% maand van nou af|[2,Inf] %count% maande van nou af" -year: - past: "{1} %count% jaar gelede|[2,Inf] %count% jaar gelede" - future: "{1} %count% jaar van nou af|[2,Inf] %count% jaar van nou af" - -compound: - second: "[0,1] %count% sekonde|[2,Inf] %count% sekondes" - minute: "{1} %count% minuut|[2,Inf] %count% minute" - hour: "{1} %count% uur|[2,Inf] %count% ure" - day: "{1} %count% dag|[2,Inf] %count% dae" - week: "{1} %count% week|[2,Inf] %count% weke" - month: "{1} %count% maand|[2,Inf] %count% maande" - year: "{1} %count% jaar|[2,Inf] %count% jaar" - past: "%value% gelede" - future: "%value% van nou af" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.az.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.az.php new file mode 100644 index 0000000..99d7920 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.az.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] indi', + 'future' => '[0,Inf] indi', + ], + 'second' => [ + 'past' => '[0,1] %count% saniyə əvvəl|[2,Inf] %count% saniyə əvvəl', + 'future' => '[0,1] %count% saniyə sonra|[2,Inf] %count% saniyə sonra', + ], + 'minute' => [ + 'past' => '{1} %count% dəqiqə əvvəl|[2,Inf] %count% dəqiqə əvvəl', + 'future' => '{1} %count% dəqiqə sonra|[2,Inf] %count% dəqiqə sonra', + ], + 'hour' => [ + 'past' => '{1} %count% saat əvvəl|[2,Inf] %count% saat əvvəl', + 'future' => '{1} %count% saat sonra|[2,Inf] %count% saat sonra', + ], + 'day' => [ + 'past' => '{1} %count% gün əvvəl|[2,Inf] %count% gün əvvəl', + 'future' => '{1} %count% gün sonra|[2,Inf] %count% gün sonra', + ], + 'week' => [ + 'past' => '{1} %count% həftə əvvəl|[2,Inf] %count% həftə əvvəl', + 'future' => '{1} %count% həftə sonra|[2,Inf] %count% həftə sonra', + ], + 'month' => [ + 'past' => '{1} %count% ay əvvəl|[2,Inf] %count% ay əvvəl', + 'future' => '{1} %count% ay sonra|[2,Inf] %count% ay sonra', + ], + 'year' => [ + 'past' => '{1} %count% il əvvəl|[2,Inf] %count% il əvvəl', + 'future' => '{1} %count% il sonra|[2,Inf] %count% il sonra', + ], + 'compound' => [ + 'second' => '[0,1] %count% saniyə|[2,Inf] %count% saniyə', + 'minute' => '{1} %count% dəqiqə|[2,Inf] %count% dəqiqə', + 'hour' => '{1} %count% saat|[2,Inf] %count% saat', + 'day' => '{1} %count% gün|[2,Inf] %count% gün', + 'week' => '{1} %count% həftə|[2,Inf] %count% həftə', + 'month' => '{1} %count% ay|[2,Inf] %count% ay', + 'year' => '{1} %count% il|[2,Inf] %count% il', + 'past' => '%value% əvvəl', + 'future' => '%value% sonra', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.az.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.az.yml deleted file mode 100644 index 7eceb68..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.az.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] indi" - future: "[0,Inf] indi" -second: - past: "[0,1] %count% saniyə əvvəl|[2,Inf] %count% saniyə əvvəl" - future: "[0,1] %count% saniyə sonra|[2,Inf] %count% saniyə sonra" -minute: - past: "{1} %count% dəqiqə əvvəl|[2,Inf] %count% dəqiqə əvvəl" - future: "{1} %count% dəqiqə sonra|[2,Inf] %count% dəqiqə sonra" -hour: - past: "{1} %count% saat əvvəl|[2,Inf] %count% saat əvvəl" - future: "{1} %count% saat sonra|[2,Inf] %count% saat sonra" -day: - past: "{1} %count% gün əvvəl|[2,Inf] %count% gün əvvəl" - future: "{1} %count% gün sonra|[2,Inf] %count% gün sonra" -week: - past: "{1} %count% həftə əvvəl|[2,Inf] %count% həftə əvvəl" - future: "{1} %count% həftə sonra|[2,Inf] %count% həftə sonra" -month: - past: "{1} %count% ay əvvəl|[2,Inf] %count% ay əvvəl" - future: "{1} %count% ay sonra|[2,Inf] %count% ay sonra" -year: - past: "{1} %count% il əvvəl|[2,Inf] %count% il əvvəl" - future: "{1} %count% il sonra|[2,Inf] %count% il sonra" - -compound: - second: "[0,1] %count% saniyə|[2,Inf] %count% saniyə" - minute: "{1} %count% dəqiqə|[2,Inf] %count% dəqiqə" - hour: "{1} %count% saat|[2,Inf] %count% saat" - day: "{1} %count% gün|[2,Inf] %count% gün" - week: "{1} %count% həftə|[2,Inf] %count% həftə" - month: "{1} %count% ay|[2,Inf] %count% ay" - year: "{1} %count% il|[2,Inf] %count% il" - past: "%value% əvvəl" - future: "%value% sonra" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.bg.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.bg.php new file mode 100644 index 0000000..5f8c92e --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.bg.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] в момента', + 'future' => '[0,Inf] в момента', + ], + 'second' => [ + 'past' => '[0,1] преди %count% секунда|[2,Inf] преди %count% секунди', + 'future' => '[0,1] след %count% секунда|[2,Inf] след %count% секунди', + ], + 'minute' => [ + 'past' => '{1} преди %count% минута|[2,Inf] преди %count% минути', + 'future' => '{1} след %count% минута|[2,Inf] след %count% минути', + ], + 'hour' => [ + 'past' => '{1} преди %count% час|[2,Inf] преди %count% часа', + 'future' => '{1} след %count% час|[2,Inf] след %count% часа', + ], + 'day' => [ + 'past' => '{1} преди %count% ден|[2,Inf] преди %count% дни', + 'future' => '{1} след %count% ден|[2,Inf] след %count% дни', + ], + 'week' => [ + 'past' => '{1} преди %count% седмица|[2,Inf] преди %count% седмици', + 'future' => '{1} след %count% седмица|[2,Inf] след %count% седмици', + ], + 'month' => [ + 'past' => '{1} преди %count% месец|[2,Inf] преди %count% месеца', + 'future' => '{1} след %count% месец|[2,Inf] след %count% месеца', + ], + 'year' => [ + 'past' => '{1} преди %count% година|[2,Inf] преди %count% години', + 'future' => '{1} след %count% година|[2,Inf] след %count% години', + ], + 'compound' => [ + 'second' => '[0,1] %count% секунда|[2,Inf] %count% секунди', + 'minute' => '{1} %count% минута|[2,Inf] %count% минути', + 'hour' => '{1} %count% час|[2,Inf] %count% часа', + 'day' => '{1} %count% ден|[2,Inf] %count% дни', + 'week' => '{1} %count% седмица|[2,Inf] %count% седмица', + 'month' => '{1} %count% месец|[2,Inf] %count% месеца', + 'year' => '{1} %count% година|[2,Inf] %count% години', + 'past' => '%value% преди това', + 'future' => '%value% след това', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.bg.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.bg.yml deleted file mode 100644 index 0ef236f..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.bg.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] в момента" - future: "[0,Inf] в момента" -second: - past: "[0,1] преди %count% секунда|[2,Inf] преди %count% секунди" - future: "[0,1] след %count% секунда|[2,Inf] след %count% секунди" -minute: - past: "{1} преди %count% минута|[2,Inf] преди %count% минути" - future: "{1} след %count% минута|[2,Inf] след %count% минути" -hour: - past: "{1} преди %count% час|[2,Inf] преди %count% часа" - future: "{1} след %count% час|[2,Inf] след %count% часа" -day: - past: "{1} преди %count% ден|[2,Inf] преди %count% дни" - future: "{1} след %count% ден|[2,Inf] след %count% дни" -week: - past: "{1} преди %count% седмица|[2,Inf] преди %count% седмици" - future: "{1} след %count% седмица|[2,Inf] след %count% седмици" -month: - past: "{1} преди %count% месец|[2,Inf] преди %count% месеца" - future: "{1} след %count% месец|[2,Inf] след %count% месеца" -year: - past: "{1} преди %count% година|[2,Inf] преди %count% години" - future: "{1} след %count% година|[2,Inf] след %count% години" - -compound: - second: "[0,1] %count% секунда|[2,Inf] %count% секунди" - minute: "{1} %count% минута|[2,Inf] %count% минути" - hour: "{1} %count% час|[2,Inf] %count% часа" - day: "{1} %count% ден|[2,Inf] %count% дни" - week: "{1} %count% седмица|[2,Inf] %count% седмица" - month: "{1} %count% месец|[2,Inf] %count% месеца" - year: "{1} %count% година|[2,Inf] %count% години" - past: "%value% преди това" - future: "%value% след това" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.cs.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.cs.php new file mode 100644 index 0000000..5417a4a --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.cs.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] právě teď', + 'future' => '[0,Inf] právě teď', + ], + 'second' => [ + 'past' => '{1} před vteřinou|[2, 4] před %count% vteřinami|[5,Inf] před %count% vteřinami', + 'future' => '{1} za vteřinu|[2, 4] za %count% vteřiny|[5,Inf] za %count% vteřin', + ], + 'minute' => [ + 'past' => '{1} před minutou|[2, Inf] před %count% minutami', + 'future' => '{1} za minutu|[2, 4] za %count% minuty|[5,Inf] za %count% minut', + ], + 'hour' => [ + 'past' => '{1} před hodinou|[2, Inf] před %count% hodinami', + 'future' => '{1} za hodinu|[2, 4] za %count% hodiny|[5,Inf] za %count% hodin', + ], + 'day' => [ + 'past' => '{1} včera|[2, Inf] před %count% dny', + 'future' => '{1} zítra|[2, 4] za %count% dny|[5,Inf] za %count% dní', + ], + 'week' => [ + 'past' => '{1} minulý týden|[2, Inf] před %count% týdny', + 'future' => '{1} za týden|[2, 4] za %count% týdny|[5,Inf] za %count% týdnů', + ], + 'month' => [ + 'past' => '{1} minulý měsíc|[2, Inf] před %count% měsíci', + 'future' => '{1} za měsíc|[2, 4] za %count% měsíce|[5,Inf] za %count% měsíců', + ], + 'year' => [ + 'past' => '{1} minulý rok|[2, Inf] před %count% lety', + 'future' => '{1} za rok|[2, 4] za %count% roky|[5,Inf] za %count% let', + ], + 'compound' => [ + 'second' => '{1} %count% vteřina |[2,4] %count% vteřiny|[5,Inf] %count% vteřin', + 'minute' => '{1} %count% minuta|[2,4] %count% minuty|[5,Inf] %count% minut', + 'hour' => '{1} %count% hodina|[2,4] %count% hodiny|[5,Inf] %count% hodin', + 'day' => '{1} %count% den |[2,4] %count% dny|[5,Inf] %count% dní', + 'week' => '{1} %count% týden|[2,4] %count% týdny|[5,Inf] %count% týdnů', + 'month' => '{1} %count% měsíc|[2,4] %count% měsíce|[5,Inf] %count% měsíců', + 'year' => '{1} %count% rok|[2,4] %count% roky|[5,Inf] %count% let', + 'past' => 'před %value% ', + 'future' => '%value% odteď', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.cs.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.cs.yml deleted file mode 100644 index 8c95565..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.cs.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] právě teď" - future: "[0,Inf] právě teď" -second: - past: "{1} před vteřinou|[2, 4] před %count% vteřinami|[5,Inf] před %count% vteřinami" - future: "{1} za vteřinu|[2, 4] za %count% vteřiny|[5,Inf] za %count% vteřin" -minute: - past: "{1} před minutou|[2, Inf] před %count% minutami" - future: "{1} za minutu|[2, 4] za %count% minuty|[5,Inf] za %count% minut" -hour: - past: "{1} před hodinou|[2, Inf] před %count% hodinami" - future: "{1} za hodinu|[2, 4] za %count% hodiny|[5,Inf] za %count% hodin" -day: - past: "{1} včera|[2, Inf] před %count% dny" - future: "{1} zítra|[2, 4] za %count% dny|[5,Inf] za %count% dní" -week: - past: "{1} minulý týden|[2, Inf] před %count% týdny" - future: "{1} za týden|[2, 4] za %count% týdny|[5,Inf] za %count% týdnů" -month: - past: "{1} minulý měsíc|[2, Inf] před %count% měsíci" - future: "{1} za měsíc|[2, 4] za %count% měsíce|[5,Inf] za %count% měsíců" -year: - past: "{1} minulý rok|[2, Inf] před %count% lety" - future: "{1} za rok|[2, 4] za %count% roky|[5,Inf] za %count% let" - -compound: - second: "{1} %count% vteřina |[2,4] %count% vteřiny|[5,Inf] %count% vteřin" - minute: "{1} %count% minuta|[2,4] %count% minuty|[5,Inf] %count% minut" - hour: "{1} %count% hodina|[2,4] %count% hodiny|[5,Inf] %count% hodin" - day: "{1} %count% den |[2,4] %count% dny|[5,Inf] %count% dní" - week: "{1} %count% týden|[2,4] %count% týdny|[5,Inf] %count% týdnů" - month: "{1} %count% měsíc|[2,4] %count% měsíce|[5,Inf] %count% měsíců" - year: "{1} %count% rok|[2,4] %count% roky|[5,Inf] %count% let" - past: "před %value% " - future: "%value% odteď" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.da.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.da.php new file mode 100644 index 0000000..e9feff4 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.da.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] lige nu', + 'future' => '[0,Inf] lige nu', + ], + 'second' => [ + 'past' => '[0,1] %count% sekund siden|[2,Inf] %count% sekunder siden', + 'future' => '[0,1] %count% sekund fra nu|[2,Inf] %count% sekunder fra nu', + ], + 'minute' => [ + 'past' => '{1} %count% minut siden|[2,Inf] %count% minutter siden', + 'future' => '{1} %count% minut fra nu|[2,Inf] %count% minutter fra nu', + ], + 'hour' => [ + 'past' => '{1} %count% time siden|[2,Inf] %count% timer siden', + 'future' => '{1} %count% time fra nu|[2,Inf] %count% timer fra nu', + ], + 'day' => [ + 'past' => '{1} %count% dag siden|[2,Inf] %count% dage siden', + 'future' => '{1} %count% dag fra nu|[2,Inf] %count% dage fra nu', + ], + 'week' => [ + 'past' => '{1} %count% uge siden|[2,Inf] %count% uger siden', + 'future' => '{1} %count% uge fra nu|[2,Inf] %count% uger fra nu', + ], + 'month' => [ + 'past' => '{1} %count% måned siden|[2,Inf] %count% måneder siden', + 'future' => '{1} %count% måned fra nu|[2,Inf] %count% måneder fra nu', + ], + 'year' => [ + 'past' => '{1} %count% år siden|[2,Inf] %count% år siden', + 'future' => '{1} %count% år fra nu|[2,Inf] %count% år fra nu', + ], + 'compound' => [ + 'second' => '[0,1] %count% sekund|[2,Inf] %count% sekunder', + 'minute' => '{1} %count% minut|[2,Inf] %count% minutter', + 'hour' => '{1} %count% time|[2,Inf] %count% timer', + 'day' => '{1} %count% dag|[2,Inf] %count% dage', + 'week' => '{1} %count% uge|[2,Inf] %count% uger', + 'month' => '{1} %count% måned|[2,Inf] %count% måneder', + 'year' => '{1} %count% år|[2,Inf] %count% år', + 'past' => '%value% siden', + 'future' => '%value% fra nu', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.da.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.da.yml deleted file mode 100644 index 8be37e2..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.da.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] lige nu" - future: "[0,Inf] lige nu" -second: - past: "[0,1] %count% sekund siden|[2,Inf] %count% sekunder siden" - future: "[0,1] %count% sekund fra nu|[2,Inf] %count% sekunder fra nu" -minute: - past: "{1} %count% minut siden|[2,Inf] %count% minutter siden" - future: "{1} %count% minut fra nu|[2,Inf] %count% minutter fra nu" -hour: - past: "{1} %count% time siden|[2,Inf] %count% timer siden" - future: "{1} %count% time fra nu|[2,Inf] %count% timer fra nu" -day: - past: "{1} %count% dag siden|[2,Inf] %count% dage siden" - future: "{1} %count% dag fra nu|[2,Inf] %count% dage fra nu" -week: - past: "{1} %count% uge siden|[2,Inf] %count% uger siden" - future: "{1} %count% uge fra nu|[2,Inf] %count% uger fra nu" -month: - past: "{1} %count% måned siden|[2,Inf] %count% måneder siden" - future: "{1} %count% måned fra nu|[2,Inf] %count% måneder fra nu" -year: - past: "{1} %count% år siden|[2,Inf] %count% år siden" - future: "{1} %count% år fra nu|[2,Inf] %count% år fra nu" - -compound: - second: "[0,1] %count% sekund|[2,Inf] %count% sekunder" - minute: "{1} %count% minut|[2,Inf] %count% minutter" - hour: "{1} %count% time|[2,Inf] %count% timer" - day: "{1} %count% dag|[2,Inf] %count% dage" - week: "{1} %count% uge|[2,Inf] %count% uger" - month: "{1} %count% måned|[2,Inf] %count% måneder" - year: "{1} %count% år|[2,Inf] %count% år" - past: "%value% siden" - future: "%value% fra nu" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.de.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.de.php new file mode 100644 index 0000000..cdf7808 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.de.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] jetzt gerade', + 'future' => '[0,Inf] jetzt gerade', + ], + 'second' => [ + 'past' => '[0,1] vor %count% Sekunde|[2,Inf] vor %count% Sekunden', + 'future' => '[0,1] in %count% Sekunde|[2,Inf] in %count% Sekunden', + ], + 'minute' => [ + 'past' => '{1} vor %count% Minute|[2,Inf] vor %count% Minuten', + 'future' => '{1} in %count% Minute|[2,Inf] in %count% Minuten', + ], + 'hour' => [ + 'past' => '{1} vor %count% Stunde|[2,Inf] vor %count% Stunden', + 'future' => '{1} in %count% Stunde|[2,Inf] in %count% Stunden', + ], + 'day' => [ + 'past' => '{1} vor %count% Tag|[2,Inf] vor %count% Tagen', + 'future' => '{1} in %count% Tag|[2,Inf] in %count% Tagen', + ], + 'week' => [ + 'past' => '{1} vor %count% Woche|[2,Inf] vor %count% Wochen', + 'future' => '{1} in %count% Woche|[2,Inf] in %count% Wochen', + ], + 'month' => [ + 'past' => '{1} vor %count% Monat|[2,Inf] vor %count% Monaten', + 'future' => '{1} in %count% Monat|[2,Inf] in %count% Monaten', + ], + 'year' => [ + 'past' => '{1} vor %count% Jahr|[2,Inf] vor %count% Jahren', + 'future' => '{1} in %count% Jahr|[2,Inf] in %count% Jahren', + ], + 'compound' => [ + 'second' => '[0,1] %count% Sekunde|[2,Inf] %count% Sekunden', + 'minute' => '{1} %count% Minute|[2,Inf] %count% Minuten', + 'hour' => '{1} %count% Stunde|[2,Inf] %count% Stunden', + 'day' => '{1} %count% Tag|[2,Inf] %count% Tagen', + 'week' => '{1} %count% Woche|[2,Inf] %count% Wochen', + 'month' => '{1} %count% Monat|[2,Inf] %count% Monaten', + 'year' => '{1} %count% Jahr|[2,Inf] %count% Jahren', + 'past' => 'vor %value%', + 'future' => 'in %value%', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.de.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.de.yml deleted file mode 100644 index b5a1e40..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.de.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] jetzt gerade" - future: "[0,Inf] jetzt gerade" -second: - past: "[0,1] vor %count% Sekunde|[2,Inf] vor %count% Sekunden" - future: "[0,1] in %count% Sekunde|[2,Inf] in %count% Sekunden" -minute: - past: "{1} vor %count% Minute|[2,Inf] vor %count% Minuten" - future: "{1} in %count% Minute|[2,Inf] in %count% Minuten" -hour: - past: "{1} vor %count% Stunde|[2,Inf] vor %count% Stunden" - future: "{1} in %count% Stunde|[2,Inf] in %count% Stunden" -day: - past: "{1} vor %count% Tag|[2,Inf] vor %count% Tagen" - future: "{1} in %count% Tag|[2,Inf] in %count% Tagen" -week: - past: "{1} vor %count% Woche|[2,Inf] vor %count% Wochen" - future: "{1} in %count% Woche|[2,Inf] in %count% Wochen" -month: - past: "{1} vor %count% Monat|[2,Inf] vor %count% Monaten" - future: "{1} in %count% Monat|[2,Inf] in %count% Monaten" -year: - past: "{1} vor %count% Jahr|[2,Inf] vor %count% Jahren" - future: "{1} in %count% Jahr|[2,Inf] in %count% Jahren" - -compound: - second: "[0,1] %count% Sekunde|[2,Inf] %count% Sekunden" - minute: "{1} %count% Minute|[2,Inf] %count% Minuten" - hour: "{1} %count% Stunde|[2,Inf] %count% Stunden" - day: "{1} %count% Tag|[2,Inf] %count% Tagen" - week: "{1} %count% Woche|[2,Inf] %count% Wochen" - month: "{1} %count% Monat|[2,Inf] %count% Monaten" - year: "{1} %count% Jahr|[2,Inf] %count% Jahren" - past: "vor %value%" - future: "in %value%" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.en.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.en.php new file mode 100644 index 0000000..a677387 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.en.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] just now', + 'future' => '[0,Inf] just now', + ], + 'second' => [ + 'past' => '[0,1] %count% second ago|[2,Inf] %count% seconds ago', + 'future' => '[0,1] %count% second from now|[2,Inf] %count% seconds from now', + ], + 'minute' => [ + 'past' => '{1} %count% minute ago|[2,Inf] %count% minutes ago', + 'future' => '{1} %count% minute from now|[2,Inf] %count% minutes from now', + ], + 'hour' => [ + 'past' => '{1} %count% hour ago|[2,Inf] %count% hours ago', + 'future' => '{1} %count% hour from now|[2,Inf] %count% hours from now', + ], + 'day' => [ + 'past' => '{1} %count% day ago|[2,Inf] %count% days ago', + 'future' => '{1} %count% day from now|[2,Inf] %count% days from now', + ], + 'week' => [ + 'past' => '{1} %count% week ago|[2,Inf] %count% weeks ago', + 'future' => '{1} %count% week from now|[2,Inf] %count% weeks from now', + ], + 'month' => [ + 'past' => '{1} %count% month ago|[2,Inf] %count% months ago', + 'future' => '{1} %count% month from now|[2,Inf] %count% months from now', + ], + 'year' => [ + 'past' => '{1} %count% year ago|[2,Inf] %count% years ago', + 'future' => '{1} %count% year from now|[2,Inf] %count% years from now', + ], + 'compound' => [ + 'second' => '[0,1] %count% second|[2,Inf] %count% seconds', + 'minute' => '{1} %count% minute|[2,Inf] %count% minutes', + 'hour' => '{1} %count% hour|[2,Inf] %count% hours', + 'day' => '{1} %count% day|[2,Inf] %count% days', + 'week' => '{1} %count% week|[2,Inf] %count% weeks', + 'month' => '{1} %count% month|[2,Inf] %count% months', + 'year' => '{1} %count% year|[2,Inf] %count% years', + 'past' => '%value% ago', + 'future' => '%value% from now', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.en.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.en.yml deleted file mode 100644 index 2a6a906..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.en.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] just now" - future: "[0,Inf] just now" -second: - past: "[0,1] %count% second ago|[2,Inf] %count% seconds ago" - future: "[0,1] %count% second from now|[2,Inf] %count% seconds from now" -minute: - past: "{1} %count% minute ago|[2,Inf] %count% minutes ago" - future: "{1} %count% minute from now|[2,Inf] %count% minutes from now" -hour: - past: "{1} %count% hour ago|[2,Inf] %count% hours ago" - future: "{1} %count% hour from now|[2,Inf] %count% hours from now" -day: - past: "{1} %count% day ago|[2,Inf] %count% days ago" - future: "{1} %count% day from now|[2,Inf] %count% days from now" -week: - past: "{1} %count% week ago|[2,Inf] %count% weeks ago" - future: "{1} %count% week from now|[2,Inf] %count% weeks from now" -month: - past: "{1} %count% month ago|[2,Inf] %count% months ago" - future: "{1} %count% month from now|[2,Inf] %count% months from now" -year: - past: "{1} %count% year ago|[2,Inf] %count% years ago" - future: "{1} %count% year from now|[2,Inf] %count% years from now" - -compound: - second: "[0,1] %count% second|[2,Inf] %count% seconds" - minute: "{1} %count% minute|[2,Inf] %count% minutes" - hour: "{1} %count% hour|[2,Inf] %count% hours" - day: "{1} %count% day|[2,Inf] %count% days" - week: "{1} %count% week|[2,Inf] %count% weeks" - month: "{1} %count% month|[2,Inf] %count% months" - year: "{1} %count% year|[2,Inf] %count% years" - past: "%value% ago" - future: "%value% from now" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.es.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.es.php new file mode 100644 index 0000000..5d3cfdd --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.es.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] ahora mismo', + 'future' => '[0,Inf] ahora mismo', + ], + 'second' => [ + 'past' => '[0,1] hace %count% segundo |[2,Inf] hace %count% segundos', + 'future' => '[0,1] dentro de %count% segundo|[2,Inf] dentro de %count% segundos', + ], + 'minute' => [ + 'past' => '{1} hace %count% minuto|[2,Inf] hace %count% minutos', + 'future' => '{1} dentro de %count% minuto|[2,Inf] dentro de %count% minutos', + ], + 'hour' => [ + 'past' => '{1} hace %count% hora|[2,Inf] hace %count% horas', + 'future' => '{1} dentro de %count% hora|[2,Inf] dentro de %count% horas', + ], + 'day' => [ + 'past' => '{1} hace %count% día|[2,Inf] hace %count% días', + 'future' => '{1} dentro de %count% día|[2,Inf] dentro de %count% días', + ], + 'week' => [ + 'past' => '{1} hace %count% semana|[2,Inf] hace %count% semanas', + 'future' => '{1} dentro de %count% semana|[2,Inf] dentro de %count% semanas', + ], + 'month' => [ + 'past' => '{1} hace %count% mes|[2,Inf] hace %count% meses', + 'future' => '{1} dentro de %count% mes|[2,Inf] dentro de %count% meses', + ], + 'year' => [ + 'past' => '{1} hace %count% año|[2,Inf] hace %count% años', + 'future' => '{1} dentro de %count% año|[2,Inf] dentro de %count% años', + ], + 'compound' => [ + 'second' => '[0,1] %count% segundo|[2,Inf] %count% segundos', + 'minute' => '{1} %count% minuto|[2,Inf] %count% minutos', + 'hour' => '{1} %count% hora|[2,Inf] %count% horas', + 'day' => '{1} %count% día|[2,Inf] %count% días', + 'week' => '{1} %count% semana|[2,Inf] %count% semanas', + 'month' => '{1} %count% mes|[2,Inf] %count% meses', + 'year' => '{1} %count% año|[2,Inf] %count% años', + 'past' => 'hace %value%', + 'future' => 'dentro de %value%', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.es.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.es.yml deleted file mode 100644 index 8105a11..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.es.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] ahora mismo" - future: "[0,Inf] ahora mismo" -second: - past: "[0,1] hace %count% segundo |[2,Inf] hace %count% segundos" - future: "[0,1] dentro de %count% segundo|[2,Inf] dentro de %count% segundos" -minute: - past: "{1} hace %count% minuto|[2,Inf] hace %count% minutos" - future: "{1} dentro de %count% minuto|[2,Inf] dentro de %count% minutos" -hour: - past: "{1} hace %count% hora|[2,Inf] hace %count% horas" - future: "{1} dentro de %count% hora|[2,Inf] dentro de %count% horas" -day: - past: "{1} hace %count% día|[2,Inf] hace %count% días" - future: "{1} dentro de %count% día|[2,Inf] dentro de %count% días" -week: - past: "{1} hace %count% semana|[2,Inf] hace %count% semanas" - future: "{1} dentro de %count% semana|[2,Inf] dentro de %count% semanas" -month: - past: "{1} hace %count% mes|[2,Inf] hace %count% meses" - future: "{1} dentro de %count% mes|[2,Inf] dentro de %count% meses" -year: - past: "{1} hace %count% año|[2,Inf] hace %count% años" - future: "{1} dentro de %count% año|[2,Inf] dentro de %count% años" - -compound: - second: "[0,1] %count% segundo|[2,Inf] %count% segundos" - minute: "{1} %count% minuto|[2,Inf] %count% minutos" - hour: "{1} %count% hora|[2,Inf] %count% horas" - day: "{1} %count% día|[2,Inf] %count% días" - week: "{1} %count% semana|[2,Inf] %count% semanas" - month: "{1} %count% mes|[2,Inf] %count% meses" - year: "{1} %count% año|[2,Inf] %count% años" - past: "hace %value%" - future: "dentro de %value%" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.php new file mode 100644 index 0000000..33e71c2 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] à l\'instant', + 'future' => '[0,Inf] à l\'instant', + ], + 'second' => [ + 'past' => '[0,1] il y a %count% seconde|[2,Inf] il y a %count% secondes', + 'future' => '[0,1] il y a maintenant %count% seconde|[2,Inf] il y a maintenant %count% secondes', + ], + 'minute' => [ + 'past' => '{1} il y a %count% minute|[2,Inf] il y a %count% minutes', + 'future' => '{1} il y a maintenant %count% minute|[2,Inf] il y a maintenant %count% minutes', + ], + 'hour' => [ + 'past' => '{1} il y a %count% heure|[2,Inf] il y a %count% heure', + 'future' => '{1} il y a maintenant %count% heure|[2,Inf] il y a maintenant %count% heures', + ], + 'day' => [ + 'past' => '{1} il y a %count% jour|[2,Inf] il y a %count% jours', + 'future' => '{1} il y a maintenant %count% jour|[2,Inf] il y a maintenant %count% jours', + ], + 'week' => [ + 'past' => '{1} il y a %count% semaine|[2,Inf] il y a %count% semaines', + 'future' => '{1} il y a maintenant %count% semaine|[2,Inf] il y a maintenant %count% semaines', + ], + 'month' => [ + 'past' => '{1} il y a %count% mois|[2,Inf] il y a %count% mois', + 'future' => '{1} %count% mois maintenant|[2,Inf] %count% mois maintenant', + ], + 'year' => [ + 'past' => '{1} il y a %count% année|[2,Inf] il y a %count% années', + 'future' => '{1} il y a maintenant %count% année|[2,Inf] il y a maintenant %count% années', + ], + 'compound' => [ + 'second' => '[0,1] %count% seconde|[2,Inf] %count% secondes', + 'minute' => '{1} %count% minute|[2,Inf] %count% minutes', + 'hour' => '{1} %count% heure|[2,Inf] %count% heures', + 'day' => '{1} %count% jour|[2,Inf] %count% jours', + 'week' => '{1} %count% semaine|[2,Inf] %count% semaines', + 'month' => '{1} %count% mois|[2,Inf] %count% mois', + 'year' => '{1} %count% année|[2,Inf] %count% années', + 'past' => '%value% il y a', + 'future' => '%value% maintenant', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml deleted file mode 100644 index e89fcec..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] à l'instant" - future: "[0,Inf] à l'instant" -second: - past: "[0,1] il y a %count% seconde|[2,Inf] il y a %count% secondes" - future: "[0,1] il y a maintenant %count% seconde|[2,Inf] il y a maintenant %count% secondes" -minute: - past: "{1} il y a %count% minute|[2,Inf] il y a %count% minutes" - future: "{1} il y a maintenant %count% minute|[2,Inf] il y a maintenant %count% minutes" -hour: - past: "{1} il y a %count% heure|[2,Inf] il y a %count% heure" - future: "{1} il y a maintenant %count% heure|[2,Inf] il y a maintenant %count% heures" -day: - past: "{1} il y a %count% jour|[2,Inf] il y a %count% jours" - future: "{1} il y a maintenant %count% jour|[2,Inf] il y a maintenant %count% jours" -week: - past: "{1} il y a %count% semaine|[2,Inf] il y a %count% semaines" - future: "{1} il y a maintenant %count% semaine|[2,Inf] il y a maintenant %count% semaines" -month: - past: "{1} il y a %count% mois|[2,Inf] il y a %count% mois" - future: "{1} %count% mois maintenant|[2,Inf] %count% mois maintenant" -year: - past: "{1} il y a %count% année|[2,Inf] il y a %count% années" - future: "{1} il y a maintenant %count% année|[2,Inf] il y a maintenant %count% années" - -compound: - second: "[0,1] %count% seconde|[2,Inf] %count% secondes" - minute: "{1} %count% minute|[2,Inf] %count% minutes" - hour: "{1} %count% heure|[2,Inf] %count% heures" - day: "{1} %count% jour|[2,Inf] %count% jours" - week: "{1} %count% semaine|[2,Inf] %count% semaines" - month: "{1} %count% mois|[2,Inf] %count% mois" - year: "{1} %count% année|[2,Inf] %count% années" - past: "%value% il y a" - future: "%value% maintenant" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.id.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.id.php new file mode 100644 index 0000000..2f8eecc --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.id.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] baru saja', + 'future' => '[0,Inf] baru saja', + ], + 'second' => [ + 'past' => '[0,1] %count% detik yang lalu|[2,Inf] %count% detik yang lalu', + 'future' => '[0,1] %count% detik dari sekarang|[2,Inf] %count% detik dari sekarang', + ], + 'minute' => [ + 'past' => '{1} %count% menit yang lalu|[2,Inf] %count% menit yang lalu', + 'future' => '{1} %count% menit dari sekarang|[2,Inf] %count% menit dari sekarang', + ], + 'hour' => [ + 'past' => '{1} %count% jam yang lalu|[2,Inf] %count% jam yang lalu', + 'future' => '{1} %count% jam dari sekarang|[2,Inf] %count% jam dari sekarang', + ], + 'day' => [ + 'past' => '{1} %count% hari yang lalu|[2,Inf] %count% hari yang lalu', + 'future' => '{1} %count% hari dari sekarang|[2,Inf] %count% hari dari sekarang', + ], + 'week' => [ + 'past' => '{1} %count% minggu yang lalu|[2,Inf] %count% minggu yang lalu', + 'future' => '{1} %count% minggu dari sekarang|[2,Inf] %count% minggu dari sekarang', + ], + 'month' => [ + 'past' => '{1} %count% bulan yang lalu|[2,Inf] %count% bulan yang lalu', + 'future' => '{1} %count% bulan dari sekarang|[2,Inf] %count% bulan dari sekarang', + ], + 'year' => [ + 'past' => '{1} %count% tahun yang lalu|[2,Inf] %count% tahun yang lalu', + 'future' => '{1} %count% tahun dari sekarang|[2,Inf] %count% tahun dari sekarang', + ], + 'compound' => [ + 'second' => '[0,1] %count% detik|[2,Inf] %count% detik', + 'minute' => '{1} %count% menit|[2,Inf] %count% menit', + 'hour' => '{1} %count% jam|[2,Inf] %count% jam', + 'day' => '{1} %count% hari|[2,Inf] %count% hari', + 'week' => '{1} %count% minggu|[2,Inf] %count% minggu', + 'month' => '{1} %count% bulan|[2,Inf] %count% bulan', + 'year' => '{1} %count% tahun|[2,Inf] %count% tahun', + 'past' => '%value% yang lalu', + 'future' => '%value% dari sekarang', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.id.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.id.yml deleted file mode 100644 index 9996408..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.id.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] baru saja" - future: "[0,Inf] baru saja" -second: - past: "[0,1] %count% detik yang lalu|[2,Inf] %count% detik yang lalu" - future: "[0,1] %count% detik dari sekarang|[2,Inf] %count% detik dari sekarang" -minute: - past: "{1} %count% menit yang lalu|[2,Inf] %count% menit yang lalu" - future: "{1} %count% menit dari sekarang|[2,Inf] %count% menit dari sekarang" -hour: - past: "{1} %count% jam yang lalu|[2,Inf] %count% jam yang lalu" - future: "{1} %count% jam dari sekarang|[2,Inf] %count% jam dari sekarang" -day: - past: "{1} %count% hari yang lalu|[2,Inf] %count% hari yang lalu" - future: "{1} %count% hari dari sekarang|[2,Inf] %count% hari dari sekarang" -week: - past: "{1} %count% minggu yang lalu|[2,Inf] %count% minggu yang lalu" - future: "{1} %count% minggu dari sekarang|[2,Inf] %count% minggu dari sekarang" -month: - past: "{1} %count% bulan yang lalu|[2,Inf] %count% bulan yang lalu" - future: "{1} %count% bulan dari sekarang|[2,Inf] %count% bulan dari sekarang" -year: - past: "{1} %count% tahun yang lalu|[2,Inf] %count% tahun yang lalu" - future: "{1} %count% tahun dari sekarang|[2,Inf] %count% tahun dari sekarang" - -compound: - second: "[0,1] %count% detik|[2,Inf] %count% detik" - minute: "{1} %count% menit|[2,Inf] %count% menit" - hour: "{1} %count% jam|[2,Inf] %count% jam" - day: "{1} %count% hari|[2,Inf] %count% hari" - week: "{1} %count% minggu|[2,Inf] %count% minggu" - month: "{1} %count% bulan|[2,Inf] %count% bulan" - year: "{1} %count% tahun|[2,Inf] %count% tahun" - past: "%value% yang lalu" - future: "%value% dari sekarang" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.it.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.it.php new file mode 100644 index 0000000..4389c53 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.it.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] adesso', + 'future' => '[0,Inf] adesso', + ], + 'second' => [ + 'past' => '[0,1] %count% secondo fa|[2,Inf] %count% secondi fa', + 'future' => '[0,1] %count% secondo da adesso|[2,Inf] %count% secondi da adesso', + ], + 'minute' => [ + 'past' => '{1} %count% minuto fa|[2,Inf] %count% minuti fa', + 'future' => '{1} %count% minuto da adesso|[2,Inf] %count% minuti da adesso', + ], + 'hour' => [ + 'past' => '{1} %count% ora fa|[2,Inf] %count% ore fa', + 'future' => '{1} %count% ora da adesso|[2,Inf] %count% ore da adesso', + ], + 'day' => [ + 'past' => '{1} %count% giorno fa|[2,Inf] %count% giorni fa', + 'future' => '{1} %count% giorno da adesso|[2,Inf] %count% giorni da adesso', + ], + 'week' => [ + 'past' => '{1} %count% settimana fa|[2,Inf] %count% settimane fa', + 'future' => '{1} %count% settimana da adesso|[2,Inf] %count% settimane da adesso', + ], + 'month' => [ + 'past' => '{1} %count% mese fa|[2,Inf] %count% mesi fa', + 'future' => '{1} %count% mese da adesso|[2,Inf] %count% mesi da adesso', + ], + 'year' => [ + 'past' => '{1} %count% anno fa|[2,Inf] %count% anni fa', + 'future' => '{1} %count% anno da adesso|[2,Inf] %count% anni da adesso', + ], + 'compound' => [ + 'second' => '[0,1] %count% secondo|[2,Inf] %count% secondi', + 'minute' => '{1} %count% minuto|[2,Inf] %count% minuti', + 'hour' => '{1} %count% ora|[2,Inf] %count% ore', + 'day' => '{1} %count% giorno|[2,Inf] %count% giorni', + 'week' => '{1} %count% settimana|[2,Inf] %count% settimane', + 'month' => '{1} %count% mese|[2,Inf] %count% mesi', + 'year' => '{1} %count% anno|[2,Inf] %count% anni', + 'past' => '%value% fa', + 'future' => '%value% da adesso', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml deleted file mode 100644 index 554365f..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] adesso" - future: "[0,Inf] adesso" -second: - past: "[0,1] %count% secondo fa|[2,Inf] %count% secondi fa" - future: "[0,1] %count% secondo da adesso|[2,Inf] %count% secondi da adesso" -minute: - past: "{1} %count% minuto fa|[2,Inf] %count% minuti fa" - future: "{1} %count% minuto da adesso|[2,Inf] %count% minuti da adesso" -hour: - past: "{1} %count% ora fa|[2,Inf] %count% ore fa" - future: "{1} %count% ora da adesso|[2,Inf] %count% ore da adesso" -day: - past: "{1} %count% giorno fa|[2,Inf] %count% giorni fa" - future: "{1} %count% giorno da adesso|[2,Inf] %count% giorni da adesso" -week: - past: "{1} %count% settimana fa|[2,Inf] %count% settimane fa" - future: "{1} %count% settimana da adesso|[2,Inf] %count% settimane da adesso" -month: - past: "{1} %count% mese fa|[2,Inf] %count% mesi fa" - future: "{1} %count% mese da adesso|[2,Inf] %count% mesi da adesso" -year: - past: "{1} %count% anno fa|[2,Inf] %count% anni fa" - future: "{1} %count% anno da adesso|[2,Inf] %count% anni da adesso" - -compound: - second: "[0,1] %count% secondo|[2,Inf] %count% secondi" - minute: "{1} %count% minuto|[2,Inf] %count% minuti" - hour: "{1} %count% ora|[2,Inf] %count% ore" - day: "{1} %count% giorno|[2,Inf] %count% giorni" - week: "{1} %count% settimana|[2,Inf] %count% settimane" - month: "{1} %count% mese|[2,Inf] %count% mesi" - year: "{1} %count% anno|[2,Inf] %count% anni" - past: "%value% fa" - future: "%value% da adesso" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.ja.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.ja.php new file mode 100644 index 0000000..3960542 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.ja.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] たった今', + 'future' => '[0,Inf] たった今', + ], + 'second' => [ + 'past' => '[0,1] %count% 秒前|[2,Inf] %count% 秒前', + 'future' => '[0,1] %count% 秒後|[2,Inf] %count% 秒後', + ], + 'minute' => [ + 'past' => '{1} %count% 分前|[2,Inf] %count% 分前', + 'future' => '{1} %count% 分後|[2,Inf] %count% 分後', + ], + 'hour' => [ + 'past' => '{1} %count% 時間前|[2,Inf] %count% 時間前', + 'future' => '{1} %count% 時間後|[2,Inf] %count% 時間後', + ], + 'day' => [ + 'past' => '{1} %count% 日前|[2,Inf] %count% 日前', + 'future' => '{1} %count% 日後|[2,Inf] %count% 日後', + ], + 'week' => [ + 'past' => '{1} %count% 週間前|[2,Inf] %count% 週間前', + 'future' => '{1} %count% 週間後|[2,Inf] %count% 週間後', + ], + 'month' => [ + 'past' => '{1} %count% ヶ月前|[2,Inf] %count% ヶ月前', + 'future' => '{1} %count% ヶ月後|[2,Inf] %count% ヶ月後', + ], + 'year' => [ + 'past' => '{1} %count% 年前|[2,Inf] %count% 年前', + 'future' => '{1} %count% 年後|[2,Inf] %count% 年後', + ], + 'compound' => [ + 'second' => '[0,1] %count% 秒|[2,Inf] %count% 秒', + 'minute' => '{1} %count% 分|[2,Inf] %count% 分', + 'hour' => '{1} %count% 時間|[2,Inf] %count% 時間', + 'day' => '{1} %count% 日|[2,Inf] %count% 日', + 'week' => '{1} %count% 週間|[2,Inf] %count% 週間', + 'month' => '{1} %count% 月|[2,Inf] %count% 月', + 'year' => '{1} %count% 年|[2,Inf] %count% 年', + 'past' => '%value%前', + 'future' => '%value%後', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.ja.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.ja.yml deleted file mode 100644 index 055fa3d..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.ja.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] たった今" - future: "[0,Inf] たった今" -second: - past: "[0,1] %count% 秒前|[2,Inf] %count% 秒前" - future: "[0,1] %count% 秒後|[2,Inf] %count% 秒後" -minute: - past: "{1} %count% 分前|[2,Inf] %count% 分前" - future: "{1} %count% 分後|[2,Inf] %count% 分後" -hour: - past: "{1} %count% 時間前|[2,Inf] %count% 時間前" - future: "{1} %count% 時間後|[2,Inf] %count% 時間後" -day: - past: "{1} %count% 日前|[2,Inf] %count% 日前" - future: "{1} %count% 日後|[2,Inf] %count% 日後" -week: - past: "{1} %count% 週間前|[2,Inf] %count% 週間前" - future: "{1} %count% 週間後|[2,Inf] %count% 週間後" -month: - past: "{1} %count% ヶ月前|[2,Inf] %count% ヶ月前" - future: "{1} %count% ヶ月後|[2,Inf] %count% ヶ月後" -year: - past: "{1} %count% 年前|[2,Inf] %count% 年前" - future: "{1} %count% 年後|[2,Inf] %count% 年後" - -compound: - second: "[0,1] %count% 秒|[2,Inf] %count% 秒" - minute: "{1} %count% 分|[2,Inf] %count% 分" - hour: "{1} %count% 時間|[2,Inf] %count% 時間" - day: "{1} %count% 日|[2,Inf] %count% 日" - week: "{1} %count% 週間|[2,Inf] %count% 週間" - month: "{1} %count% 月|[2,Inf] %count% 月" - year: "{1} %count% 年|[2,Inf] %count% 年" - past: "%value%前" - future: "%value%後" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.nl.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.nl.php new file mode 100644 index 0000000..57851ca --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.nl.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] zojuist', + 'future' => '[0,Inf] zojuist', + ], + 'second' => [ + 'past' => '[0,1] %count% seconde geleden|[2,Inf] %count% seconden geleden', + 'future' => '[0,1] over %count% seconde|[2,Inf] over %count% seconden', + ], + 'minute' => [ + 'past' => '{1} %count% minuut geleden|[2,Inf] %count% minuten geleden', + 'future' => '{1} over %count% minuut|[2,Inf] over %count% minuten', + ], + 'hour' => [ + 'past' => '{1} %count% uur geleden|[2,Inf] %count% uren geleden', + 'future' => '{1} over %count% uur|[2,Inf] over %count% uren', + ], + 'day' => [ + 'past' => '{1} %count% dag geleden|[2,Inf] %count% dagen geleden', + 'future' => '{1} over %count% dag|[2,Inf] over %count% dagen', + ], + 'week' => [ + 'past' => '{1} %count% week geleden|[2,Inf] %count% weken geleden', + 'future' => '{1} over %count% week|[2,Inf] over %count% weken', + ], + 'month' => [ + 'past' => '{1} %count% maand geleden|[2,Inf] %count% maanden geleden', + 'future' => '{1} over %count% maand|[2,Inf] over %count% maanden', + ], + 'year' => [ + 'past' => '{1} %count% jaar geleden|[2,Inf] %count% jaren geleden', + 'future' => '{1} over %count% jaar|[2,Inf] over %count% jaren', + ], + 'compound' => [ + 'second' => '[0,1] %count% seconde|[2,Inf] %count% seconden', + 'minute' => '{1} %count% minuut|[2,Inf] %count% minuten', + 'hour' => '{1} %count% uur|[2,Inf] %count% uren', + 'day' => '{1} %count% dag|[2,Inf] %count% dagen', + 'week' => '{1} %count% week|[2,Inf] %count% weken', + 'month' => '{1} %count% maand|[2,Inf] %count% maanden', + 'year' => '{1} %count% jaar|[2,Inf] %count% jaren', + 'past' => '%value% geleden', + 'future' => '%value% vanaf nu', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.nl.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.nl.yml deleted file mode 100644 index d36c5cb..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.nl.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] zojuist" - future: "[0,Inf] zojuist" -second: - past: "[0,1] %count% seconde geleden|[2,Inf] %count% seconden geleden" - future: "[0,1] over %count% seconde|[2,Inf] over %count% seconden" -minute: - past: "{1} %count% minuut geleden|[2,Inf] %count% minuten geleden" - future: "{1} over %count% minuut|[2,Inf] over %count% minuten" -hour: - past: "{1} %count% uur geleden|[2,Inf] %count% uren geleden" - future: "{1} over %count% uur|[2,Inf] over %count% uren" -day: - past: "{1} %count% dag geleden|[2,Inf] %count% dagen geleden" - future: "{1} over %count% dag|[2,Inf] over %count% dagen" -week: - past: "{1} %count% week geleden|[2,Inf] %count% weken geleden" - future: "{1} over %count% week|[2,Inf] over %count% weken" -month: - past: "{1} %count% maand geleden|[2,Inf] %count% maanden geleden" - future: "{1} over %count% maand|[2,Inf] over %count% maanden" -year: - past: "{1} %count% jaar geleden|[2,Inf] %count% jaren geleden" - future: "{1} over %count% jaar|[2,Inf] over %count% jaren" - -compound: - second: "[0,1] %count% seconde|[2,Inf] %count% seconden" - minute: "{1} %count% minuut|[2,Inf] %count% minuten" - hour: "{1} %count% uur|[2,Inf] %count% uren" - day: "{1} %count% dag|[2,Inf] %count% dagen" - week: "{1} %count% week|[2,Inf] %count% weken" - month: "{1} %count% maand|[2,Inf] %count% maanden" - year: "{1} %count% jaar|[2,Inf] %count% jaren" - past: "%value% geleden" - future: "%value% vanaf nu" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.no.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.no.php new file mode 100644 index 0000000..3da884d --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.no.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] akkurat nå', + 'future' => '[0,Inf] akkurat nå', + ], + 'second' => [ + 'past' => '[0,1] %count% sekund siden|[2,Inf] %count% sekunder siden', + 'future' => '[0,1] %count% sekund fra nå|[2,Inf] %count% sekunder fra nå', + ], + 'minute' => [ + 'past' => '{1} %count% minutt siden|[2,Inf] %count% minutter siden', + 'future' => '{1} %count% minutt fra nå|[2,Inf] %count% minutter fra nå', + ], + 'hour' => [ + 'past' => '{1} %count% time siden|[2,Inf] %count% timer siden', + 'future' => '{1} %count% time fra nå|[2,Inf] %count% timer fra nå', + ], + 'day' => [ + 'past' => '{1} %count% dag siden|[2,Inf] %count% dager siden', + 'future' => '{1} %count% dag fra nå|[2,Inf] %count% dager fra nå', + ], + 'week' => [ + 'past' => '{1} %count% uke siden|[2,Inf] %count% uker siden', + 'future' => '{1} %count% uke fra nå|[2,Inf] %count% uker fra nå', + ], + 'month' => [ + 'past' => '{1} %count% måned siden|[2,Inf] %count% måneder siden', + 'future' => '{1} %count% måned fra nå|[2,Inf] %count% måneder fra nå', + ], + 'year' => [ + 'past' => '{1} %count% år siden|[2,Inf] %count% år siden', + 'future' => '{1} %count% år fra nå|[2,Inf] %count% år fra nå', + ], + 'compound' => [ + 'second' => '[0,1] %count% sekund|[2,Inf] %count% sekunder', + 'minute' => '{1} %count% minutt|[2,Inf] %count% minutter', + 'hour' => '{1} %count% time|[2,Inf] %count% timer', + 'day' => '{1} %count% dag|[2,Inf] %count% dager', + 'week' => '{1} %count% uke|[2,Inf] %count% uker', + 'month' => '{1} %count% måned|[2,Inf] %count% måneder', + 'year' => '{1} %count% år|[2,Inf] %count% år', + 'past' => '%value% siden', + 'future' => '%value% fra nå', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.no.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.no.yml deleted file mode 100644 index 06a7f3e..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.no.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] akkurat nå" - future: "[0,Inf] akkurat nå" -second: - past: "[0,1] %count% sekund siden|[2,Inf] %count% sekunder siden" - future: "[0,1] %count% sekund fra nå|[2,Inf] %count% sekunder fra nå" -minute: - past: "{1} %count% minutt siden|[2,Inf] %count% minutter siden" - future: "{1} %count% minutt fra nå|[2,Inf] %count% minutter fra nå" -hour: - past: "{1} %count% time siden|[2,Inf] %count% timer siden" - future: "{1} %count% time fra nå|[2,Inf] %count% timer fra nå" -day: - past: "{1} %count% dag siden|[2,Inf] %count% dager siden" - future: "{1} %count% dag fra nå|[2,Inf] %count% dager fra nå" -week: - past: "{1} %count% uke siden|[2,Inf] %count% uker siden" - future: "{1} %count% uke fra nå|[2,Inf] %count% uker fra nå" -month: - past: "{1} %count% måned siden|[2,Inf] %count% måneder siden" - future: "{1} %count% måned fra nå|[2,Inf] %count% måneder fra nå" -year: - past: "{1} %count% år siden|[2,Inf] %count% år siden" - future: "{1} %count% år fra nå|[2,Inf] %count% år fra nå" - -compound: - second: "[0,1] %count% sekund|[2,Inf] %count% sekunder" - minute: "{1} %count% minutt|[2,Inf] %count% minutter" - hour: "{1} %count% time|[2,Inf] %count% timer" - day: "{1} %count% dag|[2,Inf] %count% dager" - week: "{1} %count% uke|[2,Inf] %count% uker" - month: "{1} %count% måned|[2,Inf] %count% måneder" - year: "{1} %count% år|[2,Inf] %count% år" - past: "%value% siden" - future: "%value% fra nå" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.pl.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.pl.php new file mode 100644 index 0000000..05fb2f3 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.pl.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] w tym momencie', + 'future' => '[0,Inf] w tym momencie', + ], + 'second' => [ + 'past' => '[0,1] sekundę temu|[2, 4] %count% sekundy temu|[5,Inf] %count% sekund temu', + 'future' => '[0,1] za sekundę|[2, 4] za %count% sekund|[5,Inf] za %count% sekund', + ], + 'minute' => [ + 'past' => '{1} minutę temu|[2, 4] %count% minuty temu|[5,Inf] %count% minut temu', + 'future' => '{1} za minutę|[2, 4] za %count% minuty|[5,Inf] za %count% minut', + ], + 'hour' => [ + 'past' => '{1} godzinę temu|[2, 4] %count% godziny temu|[5,Inf] %count% godzin temu', + 'future' => '{1} za godzinę|[2, 4] za %count% godziny|[5,Inf] za %count% godzin', + ], + 'day' => [ + 'past' => '{1} wczoraj|[2, Inf] %count% dni temu', + 'future' => '{1} jutro|[2, Inf] za %count% dni', + ], + 'week' => [ + 'past' => '{1} tydzień temu|[2, 4] %count% tygodnie temu|[5,Inf] %count% tygodni temu', + 'future' => '{1} za tydzień|[2, 4] za %count% tygodnie|[5,Inf] za %count% tygodni', + ], + 'month' => [ + 'past' => '{1} miesiąc temu|[2, 4] %count% miesiące temu|[5,Inf] %count% miesięcy temu', + 'future' => '{1} za miesiąc|[2, 4] za %count% miesiące|[5,Inf] za %count% miesięcy', + ], + 'year' => [ + 'past' => '{1} rok temu|[2, 4] %count% lata temu|[5,Inf] %count% lat temu', + 'future' => '{1} za rok|[2, 4] za %count% lata|[5,Inf] za %count% lat', + ], + 'compound' => [ + 'second' => '[0,1] %count% sekunda|[2,4] %count% sekundy|[5,Inf] %count% sekund', + 'minute' => '{1} %count% minuta|[2,4] %count% minuty|[5,Inf] %count% minut', + 'hour' => '{1} %count% godzina|[2,4] %count% godziny|[5,Inf] %count% godzin', + 'day' => '{1} %count% dzień|[2,Inf] %count% dni', + 'week' => '{1} %count% tydzień|[2,4] %count% tygodnie|[5,Inf] %count% tygodni', + 'month' => '{1} %count% miesiąc|[2,4] %count% miesiące|[5,Inf] %count% miesięcy', + 'year' => '{1} %count% rok|[2,4] %count% lata|[5,Inf] %count% lat', + 'past' => '%value% temu', + 'future' => '%value% od teraz', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.pl.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.pl.yml deleted file mode 100644 index 45fcc71..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.pl.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] w tym momencie" - future: "[0,Inf] w tym momencie" -second: - past: "[0,1] sekundę temu|[2, 4] %count% sekundy temu|[5,Inf] %count% sekund temu" - future: "[0,1] za sekundę|[2, 4] za %count% sekund|[5,Inf] za %count% sekund" -minute: - past: "{1} minutę temu|[2, 4] %count% minuty temu|[5,Inf] %count% minut temu" - future: "{1} za minutę|[2, 4] za %count% minuty|[5,Inf] za %count% minut" -hour: - past: "{1} godzinę temu|[2, 4] %count% godziny temu|[5,Inf] %count% godzin temu" - future: "{1} za godzinę|[2, 4] za %count% godziny|[5,Inf] za %count% godzin" -day: - past: "{1} wczoraj|[2, Inf] %count% dni temu" - future: "{1} jutro|[2, Inf] za %count% dni" -week: - past: "{1} tydzień temu|[2, 4] %count% tygodnie temu|[5,Inf] %count% tygodni temu" - future: "{1} za tydzień|[2, 4] za %count% tygodnie|[5,Inf] za %count% tygodni" -month: - past: "{1} miesiąc temu|[2, 4] %count% miesiące temu|[5,Inf] %count% miesięcy temu" - future: "{1} za miesiąc|[2, 4] za %count% miesiące|[5,Inf] za %count% miesięcy" -year: - past: "{1} rok temu|[2, 4] %count% lata temu|[5,Inf] %count% lat temu" - future: "{1} za rok|[2, 4] za %count% lata|[5,Inf] za %count% lat" - -compound: - second: "[0,1] %count% sekunda|[2,4] %count% sekundy|[5,Inf] %count% sekund" - minute: "{1} %count% minuta|[2,4] %count% minuty|[5,Inf] %count% minut" - hour: "{1} %count% godzina|[2,4] %count% godziny|[5,Inf] %count% godzin" - day: "{1} %count% dzień|[2,Inf] %count% dni" - week: "{1} %count% tydzień|[2,4] %count% tygodnie|[5,Inf] %count% tygodni" - month: "{1} %count% miesiąc|[2,4] %count% miesiące|[5,Inf] %count% miesięcy" - year: "{1} %count% rok|[2,4] %count% lata|[5,Inf] %count% lat" - past: "%value% temu" - future: "%value% od teraz" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.pt.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.pt.php new file mode 100644 index 0000000..6684afd --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.pt.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] agora', + 'future' => '[0,Inf] agora', + ], + 'second' => [ + 'past' => '[0,1] %count% segundo atrás|[2,Inf] %count% segundos atrás', + 'future' => '[0,1] %count% segundo a partir de agora|[2,Inf] %count% segundos a partir de agora', + ], + 'minute' => [ + 'past' => '{1} %count% minuto atrás|[2,Inf] %count% minutos atrás', + 'future' => '{1} %count% minuto a partir de agora|[2,Inf] %count% minutos a partir de agora', + ], + 'hour' => [ + 'past' => '{1} %count% hora atrás|[2,Inf] %count% horas atrás', + 'future' => '{1} %count% hora a partir de agora|[2,Inf] %count% horas a partir de agora', + ], + 'day' => [ + 'past' => '{1} %count% dia atrás|[2,Inf] %count% dias atrás', + 'future' => '{1} %count% dia a partir de agora|[2,Inf] %count% dias a partir de agora', + ], + 'week' => [ + 'past' => '{1} %count% semana atrás|[2,Inf] %count% semanas atrás', + 'future' => '{1} %count% semana a partir de agora|[2,Inf] %count% semanas a partir de agora', + ], + 'month' => [ + 'past' => '{1} %count% mês atrás|[2,Inf] %count% meses atrás', + 'future' => '{1} %count% mês a partir de agora|[2,Inf] %count% meses a partir de agora', + ], + 'year' => [ + 'past' => '{1} %count% ano atrás|[2,Inf] %count% anos atrás', + 'future' => '{1} %count% ano a partir de agora|[2,Inf] %count% anos a partir de agora', + ], + 'compound' => [ + 'second' => '[0,1] %count% segundo|[2,Inf] %count% segundos', + 'minute' => '{1} %count% minuto|[2,Inf] %count% minutos', + 'hour' => '{1} %count% hora|[2,Inf] %count% horas', + 'day' => '{1} %count% dia|[2,Inf] %count% dias', + 'week' => '{1} %count% semana|[2,Inf] %count% semana', + 'month' => '{1} %count% mês|[2,Inf] %count% meses', + 'year' => '{1} %count% ano|[2,Inf] %count% anos', + 'past' => '%value% atrás', + 'future' => '%value% a partir de agora', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.pt.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.pt.yml deleted file mode 100644 index a5e7ea7..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.pt.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] agora" - future: "[0,Inf] agora" -second: - past: "[0,1] %count% segundo atrás|[2,Inf] %count% segundos atrás" - future: "[0,1] %count% segundo a partir de agora|[2,Inf] %count% segundos a partir de agora" -minute: - past: "{1} %count% minuto atrás|[2,Inf] %count% minutos atrás" - future: "{1} %count% minuto a partir de agora|[2,Inf] %count% minutos a partir de agora" -hour: - past: "{1} %count% hora atrás|[2,Inf] %count% horas atrás" - future: "{1} %count% hora a partir de agora|[2,Inf] %count% horas a partir de agora" -day: - past: "{1} %count% dia atrás|[2,Inf] %count% dias atrás" - future: "{1} %count% dia a partir de agora|[2,Inf] %count% dias a partir de agora" -week: - past: "{1} %count% semana atrás|[2,Inf] %count% semanas atrás" - future: "{1} %count% semana a partir de agora|[2,Inf] %count% semanas a partir de agora" -month: - past: "{1} %count% mês atrás|[2,Inf] %count% meses atrás" - future: "{1} %count% mês a partir de agora|[2,Inf] %count% meses a partir de agora" -year: - past: "{1} %count% ano atrás|[2,Inf] %count% anos atrás" - future: "{1} %count% ano a partir de agora|[2,Inf] %count% anos a partir de agora" - -compound: - second: "[0,1] %count% segundo|[2,Inf] %count% segundos" - minute: "{1} %count% minuto|[2,Inf] %count% minutos" - hour: "{1} %count% hora|[2,Inf] %count% horas" - day: "{1} %count% dia|[2,Inf] %count% dias" - week: "{1} %count% semana|[2,Inf] %count% semana" - month: "{1} %count% mês|[2,Inf] %count% meses" - year: "{1} %count% ano|[2,Inf] %count% anos" - past: "%value% atrás" - future: "%value% a partir de agora" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.pt_BR.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.pt_BR.php new file mode 100644 index 0000000..91f4ee5 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.pt_BR.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] atrás', + 'future' => '[0,Inf] a partir de agora', + ], + 'second' => [ + 'past' => '[0,1] %count% segundo atrás|[2,Inf] %count% segundos atrás', + 'future' => '[0,1] %count% segundo a partir de agora|[2,Inf] %count% segundos a partir de agora', + ], + 'minute' => [ + 'past' => '{1} %count% minuto atrás|[2,Inf] %count% minutos atrás', + 'future' => '{1} %count% minuto a partir de agora|[2,Inf] %count% minutos a partir de agora', + ], + 'hour' => [ + 'past' => '{1} %count% hora atrás|[2,Inf] %count% horas atrás', + 'future' => '{1} %count% hora a partir de agora|[2,Inf] %count% horas a partir de agora', + ], + 'day' => [ + 'past' => '{1} %count% dia atrás|[2,Inf] %count% dias atrás', + 'future' => '{1} %count% dia a partir de agora|[2,Inf] %count% dias a partir de agora', + ], + 'week' => [ + 'past' => '{1} %count% semana atrás|[2,Inf] %count% semanas atrás', + 'future' => '{1} %count% semana a partir de agora|[2,Inf] %count% semanas a partir de agora', + ], + 'month' => [ + 'past' => '{1} %count% mês atrás|[2,Inf] %count% meses atrás', + 'future' => '{1} %count% mês a partir de agora|[2,Inf] %count% meses a partir de agora', + ], + 'year' => [ + 'past' => '{1} %count% ano atrás|[2,Inf] %count% anos atrás', + 'future' => '{1} %count% ano a partir de agora|[2,Inf] %count% anos a partir de agora', + ], + 'compound' => [ + 'second' => '[0,1] %count% segundo|[2,Inf] %count% segundos', + 'minute' => '{1} %count% minuto|[2,Inf] %count% minutos', + 'hour' => '{1} %count% hora|[2,Inf] %count% horas', + 'day' => '{1} %count% dia|[2,Inf] %count% dias', + 'week' => '{1} %count% semana|[2,Inf] %count% semana', + 'month' => '{1} %count% mês|[2,Inf] %count% meses', + 'year' => '{1} %count% ano|[2,Inf] %count% anos', + 'past' => '%value% atrás', + 'future' => '%value% a partir de agora', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.pt_BR.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.pt_BR.yml deleted file mode 100644 index 221b8bf..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.pt_BR.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] atrás" - future: "[0,Inf] a partir de agora" -second: - past: "[0,1] %count% segundo atrás|[2,Inf] %count% segundos atrás" - future: "[0,1] %count% segundo a partir de agora|[2,Inf] %count% segundos a partir de agora" -minute: - past: "{1} %count% minuto atrás|[2,Inf] %count% minutos atrás" - future: "{1} %count% minuto a partir de agora|[2,Inf] %count% minutos a partir de agora" -hour: - past: "{1} %count% hora atrás|[2,Inf] %count% horas atrás" - future: "{1} %count% hora a partir de agora|[2,Inf] %count% horas a partir de agora" -day: - past: "{1} %count% dia atrás|[2,Inf] %count% dias atrás" - future: "{1} %count% dia a partir de agora|[2,Inf] %count% dias a partir de agora" -week: - past: "{1} %count% semana atrás|[2,Inf] %count% semanas atrás" - future: "{1} %count% semana a partir de agora|[2,Inf] %count% semanas a partir de agora" -month: - past: "{1} %count% mês atrás|[2,Inf] %count% meses atrás" - future: "{1} %count% mês a partir de agora|[2,Inf] %count% meses a partir de agora" -year: - past: "{1} %count% ano atrás|[2,Inf] %count% anos atrás" - future: "{1} %count% ano a partir de agora|[2,Inf] %count% anos a partir de agora" - -compound: - second: "[0,1] %count% segundo|[2,Inf] %count% segundos" - minute: "{1} %count% minuto|[2,Inf] %count% minutos" - hour: "{1} %count% hora|[2,Inf] %count% horas" - day: "{1} %count% dia|[2,Inf] %count% dias" - week: "{1} %count% semana|[2,Inf] %count% semana" - month: "{1} %count% mês|[2,Inf] %count% meses" - year: "{1} %count% ano|[2,Inf] %count% anos" - past: "%value% atrás" - future: "%value% a partir de agora" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.ro.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.ro.php new file mode 100644 index 0000000..5a9726b --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.ro.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] mai înainte', + 'future' => '[0,Inf] imediat', + ], + 'second' => [ + 'past' => '[0,1] %count% secundă în urmă|[2,Inf] %count% secunde în urmă', + 'future' => '[0,1] %count% secundă de acum|[2,Inf] %count% secundă de acum', + ], + 'minute' => [ + 'past' => '{1} %count% minut în urmă|[2,Inf] %count% minute în urmă', + 'future' => '{1} %count% minut de acum|[2,Inf] %count% minute de acum', + ], + 'hour' => [ + 'past' => '{1} %count% oră în urmă|[2,Inf] %count% ore în urmă', + 'future' => '{1} %count% oră de acum|[2,Inf] %count% ore de acum', + ], + 'day' => [ + 'past' => '{1} %count% zi în urmă|[2,Inf] %count% zile în urmă', + 'future' => '{1} %count% zi de acum|[2,Inf] %count% zile de acum', + ], + 'week' => [ + 'past' => '{1} %count% săptămână în urmă|[2,Inf] %count% săptămâni în urmă', + 'future' => '{1} %count% săptămână de acum|[2,Inf] %count% săptămâni de acum', + ], + 'month' => [ + 'past' => '{1} %count% lună în urmă|[2,Inf] %count% luni în urmă', + 'future' => '{1} %count% lună de acum|[2,Inf] %count% luni de acum', + ], + 'year' => [ + 'past' => '{1} %count% an în urmă|[2,Inf] %count% ani în urmă', + 'future' => '{1} %count% an de acum|[2,Inf] %count% ani de acum', + ], + 'compound' => [ + 'second' => '[0,1] %count% secundă|[2,Inf] %count% secunde', + 'minute' => '{1} %count% minut|[2,Inf] %count% minute', + 'hour' => '{1} %count% oră|[2,Inf] %count% ore', + 'day' => '{1} %count% zi|[2,Inf] %count% zile', + 'week' => '{1} %count% săptămană|[2,Inf] %count% săptămani', + 'month' => '{1} %count% lună|[2,Inf] %count% luni', + 'year' => '{1} %count% an|[2,Inf] %count% ani', + 'ago' => 'în urmă', + 'from_now' => 'de acum', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.ro.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.ro.yml deleted file mode 100644 index 9d83184..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.ro.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] mai înainte" - future: "[0,Inf] imediat" -second: - past: "[0,1] %count% secundă în urmă|[2,Inf] %count% secunde în urmă" - future: "[0,1] %count% secundă de acum|[2,Inf] %count% secundă de acum" -minute: - past: "{1} %count% minut în urmă|[2,Inf] %count% minute în urmă" - future: "{1} %count% minut de acum|[2,Inf] %count% minute de acum" -hour: - past: "{1} %count% oră în urmă|[2,Inf] %count% ore în urmă" - future: "{1} %count% oră de acum|[2,Inf] %count% ore de acum" -day: - past: "{1} %count% zi în urmă|[2,Inf] %count% zile în urmă" - future: "{1} %count% zi de acum|[2,Inf] %count% zile de acum" -week: - past: "{1} %count% săptămână în urmă|[2,Inf] %count% săptămâni în urmă" - future: "{1} %count% săptămână de acum|[2,Inf] %count% săptămâni de acum" -month: - past: "{1} %count% lună în urmă|[2,Inf] %count% luni în urmă" - future: "{1} %count% lună de acum|[2,Inf] %count% luni de acum" -year: - past: "{1} %count% an în urmă|[2,Inf] %count% ani în urmă" - future: "{1} %count% an de acum|[2,Inf] %count% ani de acum" - -compound: - second: "[0,1] %count% secundă|[2,Inf] %count% secunde" - minute: "{1} %count% minut|[2,Inf] %count% minute" - hour: "{1} %count% oră|[2,Inf] %count% ore" - day: "{1} %count% zi|[2,Inf] %count% zile" - week: "{1} %count% săptămană|[2,Inf] %count% săptămani" - month: "{1} %count% lună|[2,Inf] %count% luni" - year: "{1} %count% an|[2,Inf] %count% ani" - ago: "în urmă" - from_now: "de acum" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.ru.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.ru.php new file mode 100644 index 0000000..15044e5 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.ru.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] сейчас', + 'future' => '[0,Inf] сейчас', + ], + 'second' => [ + 'past' => '%count% секунду назад|%count% секунды назад|%count% секунд назад', + 'future' => 'через %count% секунду|через %count% секунды|через %count% секунд', + ], + 'minute' => [ + 'past' => '%count% минуту назад|%count% минуты назад|%count% минут назад', + 'future' => 'через %count% минуту|через %count% минуты|через %count% минут', + ], + 'hour' => [ + 'past' => '%count% час назад|%count% часа назад|%count% часов назад', + 'future' => 'через %count% час|через %count% часа|через %count% часов', + ], + 'day' => [ + 'past' => '%count% день назад|%count% дня назад|%count% дней назад', + 'future' => 'через %count% день|через %count% дня|через %count% дней', + ], + 'week' => [ + 'past' => '%count% неделю назад|%count% недели назад|%count% недель назад', + 'future' => 'через %count% неделю|через %count% недели|через %count% недель', + ], + 'month' => [ + 'past' => '%count% месяц назад|%count% месяца назад|%count% месяцев назад', + 'future' => 'через %count% месяц|через %count% месяца|через %count% месяцев', + ], + 'year' => [ + 'past' => '%count% год назад|%count% года назад|%count% лет назад', + 'future' => 'через %count% год|через %count% года|через %count% лет', + ], + 'compound' => [ + 'second' => '%count% секунда|%count% секунды|%count% секунд', + 'minute' => '%count% минута|%count% минуты|%count% минут', + 'hour' => '%count% час|%count% часа|%count% часов', + 'day' => '%count% день|%count% дня|%count% дней', + 'week' => '%count% неделя|%count% недели|%count% недель', + 'month' => '%count% месяц|%count% месяца|%count% месяцев', + 'year' => '%count% год|%count% года|%count% лет', + 'past' => '%value% назад', + 'future' => 'через %value%', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.ru.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.ru.yml deleted file mode 100644 index ecbcaec..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.ru.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] сейчас" - future: "[0,Inf] сейчас" -second: - past: "%count% секунду назад|%count% секунды назад|%count% секунд назад" - future: "через %count% секунду|через %count% секунды|через %count% секунд" -minute: - past: "%count% минуту назад|%count% минуты назад|%count% минут назад" - future: "через %count% минуту|через %count% минуты|через %count% минут" -hour: - past: "%count% час назад|%count% часа назад|%count% часов назад" - future: "через %count% час|через %count% часа|через %count% часов" -day: - past: "%count% день назад|%count% дня назад|%count% дней назад" - future: "через %count% день|через %count% дня|через %count% дней" -week: - past: "%count% неделю назад|%count% недели назад|%count% недель назад" - future: "через %count% неделю|через %count% недели|через %count% недель" -month: - past: "%count% месяц назад|%count% месяца назад|%count% месяцев назад" - future: "через %count% месяц|через %count% месяца|через %count% месяцев" -year: - past: "%count% год назад|%count% года назад|%count% лет назад" - future: "через %count% год|через %count% года|через %count% лет" - -compound: - second: "%count% секунда|%count% секунды|%count% секунд" - minute: "%count% минута|%count% минуты|%count% минут" - hour: "%count% час|%count% часа|%count% часов" - day: "%count% день|%count% дня|%count% дней" - week: "%count% неделя|%count% недели|%count% недель" - month: "%count% месяц|%count% месяца|%count% месяцев" - year: "%count% год|%count% года|%count% лет" - past: "%value% назад" - future: "через %value%" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.sk.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.sk.php new file mode 100644 index 0000000..52e6cdf --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.sk.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] práve teraz', + 'future' => '[0,Inf] práve teraz', + ], + 'second' => [ + 'past' => '{1} pred sekundou|[2, 4] pred %count% sekundami|[5,Inf] pred %count% sekundami', + 'future' => '{1} o sekundu|[2, 4] o %count% sekundy|[5,Inf] o %count% sekúnd', + ], + 'minute' => [ + 'past' => '{1} pred minútou|[2, Inf] pred %count% minútami', + 'future' => '{1} o minútu|[2, 4] o %count% minúty|[5,Inf] o %count% minút', + ], + 'hour' => [ + 'past' => '{1} pred hodinou|[2, Inf] pred %count% hodinami', + 'future' => '{1} o hodinu|[2, 4] o %count% hodiny|[5,Inf] o %count% hodín', + ], + 'day' => [ + 'past' => '{1} včera|[2, Inf] pred %count% dňami', + 'future' => '{1} zajtra|[2, 4] o %count% dni|[5,Inf] o %count% dní', + ], + 'week' => [ + 'past' => '{1} minulý týždeň|[2, Inf] pred %count% týždňami', + 'future' => '{1} o týždeň|[2, 4] o %count% týždne|[5,Inf] o %count% týždňov', + ], + 'month' => [ + 'past' => '{1} minulý mesiac|[2, Inf] pred %count% mesiacmi', + 'future' => '{1} o mesiac|[2, 4] o %count% mesiace|[5,Inf] o %count% mesiacov', + ], + 'year' => [ + 'past' => '{1} minulý rok|[2, Inf] pred %count% rokmi', + 'future' => '{1} za rok|[2, 4] o %count% roky|[5,Inf] o %count% rokov', + ], + 'compound' => [ + 'second' => '{1} %count% sekunda|[2,4] %count% sekundy|[5,Inf] %count% sekúnd', + 'minute' => '{1} %count% minúta|[2,4] %count% minúty|[5,Inf] %count% minút', + 'hour' => '{1} %count% hodina|[2,4] %count% hodiny|[5,Inf] %count% hodín', + 'day' => '{1} %count% deň|[2,4] %count% dni|[5,Inf] %count% dní', + 'week' => '{1} %count% týždeň|[2,4] %count% týždne|[5,Inf] %count% týždňov', + 'month' => '{1} %count% mesiac|[2,4] %count% mesiace|[5,Inf] %count% mesiacov', + 'year' => '{1} %count% rok|[2,4] %count% roky|[5,Inf] %count% rokov', + 'past' => '%value% dozadu', + 'future' => '%value% od teraz', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.sk.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.sk.yml deleted file mode 100644 index f9a7591..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.sk.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] práve teraz" - future: "[0,Inf] práve teraz" -second: - past: "{1} pred sekundou|[2, 4] pred %count% sekundami|[5,Inf] pred %count% sekundami" - future: "{1} o sekundu|[2, 4] o %count% sekundy|[5,Inf] o %count% sekúnd" -minute: - past: "{1} pred minútou|[2, Inf] pred %count% minútami" - future: "{1} o minútu|[2, 4] o %count% minúty|[5,Inf] o %count% minút" -hour: - past: "{1} pred hodinou|[2, Inf] pred %count% hodinami" - future: "{1} o hodinu|[2, 4] o %count% hodiny|[5,Inf] o %count% hodín" -day: - past: "{1} včera|[2, Inf] pred %count% dňami" - future: "{1} zajtra|[2, 4] o %count% dni|[5,Inf] o %count% dní" -week: - past: "{1} minulý týždeň|[2, Inf] pred %count% týždňami" - future: "{1} o týždeň|[2, 4] o %count% týždne|[5,Inf] o %count% týždňov" -month: - past: "{1} minulý mesiac|[2, Inf] pred %count% mesiacmi" - future: "{1} o mesiac|[2, 4] o %count% mesiace|[5,Inf] o %count% mesiacov" -year: - past: "{1} minulý rok|[2, Inf] pred %count% rokmi" - future: "{1} za rok|[2, 4] o %count% roky|[5,Inf] o %count% rokov" - -compound: - second: "{1} %count% sekunda|[2,4] %count% sekundy|[5,Inf] %count% sekúnd" - minute: "{1} %count% minúta|[2,4] %count% minúty|[5,Inf] %count% minút" - hour: "{1} %count% hodina|[2,4] %count% hodiny|[5,Inf] %count% hodín" - day: "{1} %count% deň|[2,4] %count% dni|[5,Inf] %count% dní" - week: "{1} %count% týždeň|[2,4] %count% týždne|[5,Inf] %count% týždňov" - month: "{1} %count% mesiac|[2,4] %count% mesiace|[5,Inf] %count% mesiacov" - year: "{1} %count% rok|[2,4] %count% roky|[5,Inf] %count% rokov" - past: "%value% dozadu" - future: "%value% od teraz" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.sv.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.sv.php new file mode 100644 index 0000000..9945a5b --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.sv.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] nyss', + 'future' => '[0,Inf] nyss', + ], + 'second' => [ + 'past' => '{0} för 0 sekunder sedan|{1} för 1 sekund sedan|[2,Inf] för %count% sekunder sedan', + 'future' => '{0} om 0 sekunder|{1} om 1 sekund|[2,Inf] om %count% sekunder', + ], + 'minute' => [ + 'past' => '{0} för 0 minuter sedan|{1} för 1 minut sedan|[2,Inf] för %count% minuter sedan', + 'future' => '{0} om 0 minuter|{1} om 1 minut|[2,Inf] om %count% minuter', + ], + 'hour' => [ + 'past' => '{0} för 0 timmar sedan|{1} för 1 timme sedan|[2,Inf] för %count% timmar sedan', + 'future' => '{0} om 0 timmar|{1} om 1 timme|[2,Inf] om %count% timmar', + ], + 'day' => [ + 'past' => '{0} för 0 dagar sedan|{1} för 1 dag sedan|[2,Inf] för %count% dagar sedan', + 'future' => '{0} om 0 dagar|{1} om 1 dag|[2,Inf] om %count% dagar', + ], + 'week' => [ + 'past' => '{0} för 0 veckor sedan|{1} för 1 vecka sedan|[2,Inf] för %count% veckor sedan', + 'future' => '{0} om 0 veckor|{1} om 1 vecka|[2,Inf] om %count% veckor', + ], + 'month' => [ + 'past' => '{0} för 0 månader sedan|{1} för 1 månad sedan|[2,Inf] för %count% månader sedan', + 'future' => '{0} om 0 månader|{1} om 1 månad|[2,Inf] om %count% månader', + ], + 'year' => [ + 'past' => '[0,Inf] för %count% år sedan', + 'future' => '[0,Inf] om %count% år', + ], + 'compound' => [ + 'second' => '{0} 0 sekunder|{1} 1 sekund|[2,Inf] %count% sekunder', + 'minute' => '{0} 0 minuter|{1} 1 minut|[2,Inf] %count% minuter', + 'hour' => '{0} 0 timmar|{1} 1 timme|[2,Inf] %count% timmar', + 'day' => '{0} 0 dagar|{1} 1 dag|[2,Inf] %count% dagar', + 'week' => '{0} 0 veckor|{1} 1 vecka|[2,Inf] %count% veckor', + 'month' => '{0} 0 månader|{1} 1 månad|[2,Inf] %count% månader', + 'year' => '[0,Inf] %count% år', + 'past' => 'för %value% sedan', + 'future' => 'om %value%', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.th.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.th.php new file mode 100644 index 0000000..25a6f81 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.th.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] เมื่อสักครู่', + 'future' => '[0,Inf] เร็วๆนี้', + ], + 'second' => [ + 'past' => '[1,Inf] %count% วินาทีที่แล้ว', + 'future' => '[1,Inf] อีก %count% วินาที', + ], + 'minute' => [ + 'past' => '[1,Inf] %count% นาทีที่แล้ว', + 'future' => '[1,Inf] อีก %count% นาที', + ], + 'hour' => [ + 'past' => '[1,Inf] %count% ชั่วโมงที่แล้ว', + 'future' => '[1,Inf] อีก %count% ชั่วโมง', + ], + 'day' => [ + 'past' => '[1,Inf] %count% วันที่แล้ว', + 'future' => '[1,Inf] อีก %count% วัน', + ], + 'week' => [ + 'past' => '[1,Inf] %count% สัปดาห์ที่แล้ว', + 'future' => '[1,Inf] อีก %count% สัปดาห์', + ], + 'month' => [ + 'past' => '[1,Inf] %count% เดือนที่แล้ว', + 'future' => '[1,Inf] อีก %count% เดือน', + ], + 'year' => [ + 'past' => '[1,Inf] %count% ปีที่แล้ว', + 'future' => '[1,Inf] อีก %count% ปี', + ], + 'compound' => [ + 'second' => '[0,Inf] %count% วินาที', + 'minute' => '[1,Inf] %count% นาที', + 'hour' => '[1,Inf] %count% ชั่วโมง', + 'day' => '[1,Inf] %count% วัน', + 'week' => '[1,Inf] %count% สัปดาห์', + 'month' => '[1,Inf] %count% เดือน', + 'year' => '[1,Inf] %count% ปี', + 'past' => '%value%ที่แล้ว', + 'future' => 'อีก %value%', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.th.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.th.yml deleted file mode 100644 index ca7da99..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.th.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] เมื่อสักครู่" - future: "[0,Inf] เร็วๆนี้" -second: - past: "[1,Inf] %count% วินาทีที่แล้ว" - future: "[1,Inf] อีก %count% วินาที" -minute: - past: "[1,Inf] %count% นาทีที่แล้ว" - future: "[1,Inf] อีก %count% นาที" -hour: - past: "[1,Inf] %count% ชั่วโมงที่แล้ว" - future: "[1,Inf] อีก %count% ชั่วโมง" -day: - past: "[1,Inf] %count% วันที่แล้ว" - future: "[1,Inf] อีก %count% วัน" -week: - past: "[1,Inf] %count% สัปดาห์ที่แล้ว" - future: "[1,Inf] อีก %count% สัปดาห์" -month: - past: "[1,Inf] %count% เดือนที่แล้ว" - future: "[1,Inf] อีก %count% เดือน" -year: - past: "[1,Inf] %count% ปีที่แล้ว" - future: "[1,Inf] อีก %count% ปี" - -compound: - second: "[0,Inf] %count% วินาที" - minute: "[1,Inf] %count% นาที" - hour: "[1,Inf] %count% ชั่วโมง" - day: "[1,Inf] %count% วัน" - week: "[1,Inf] %count% สัปดาห์" - month: "[1,Inf] %count% เดือน" - year: "[1,Inf] %count% ปี" - past: "%value%ที่แล้ว" - future: "อีก %value%" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.tr.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.tr.php new file mode 100644 index 0000000..8b58d1e --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.tr.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] şimdi', + 'future' => '[0,Inf] şimdi', + ], + 'second' => [ + 'past' => '[0,1] %count% saniye önce|[2,Inf] %count% saniye önce', + 'future' => '[0,1] %count% saniye sonra|[2,Inf] %count% saniye sonra', + ], + 'minute' => [ + 'past' => '{1} %count% dakika önce|[2,Inf] %count% dakika önce', + 'future' => '{1} %count% dakika sonra|[2,Inf] %count% dakika sonra', + ], + 'hour' => [ + 'past' => '{1} %count% saat önce|[2,Inf] %count% saat önce', + 'future' => '{1} %count% saat sonra|[2,Inf] %count% saat sonra', + ], + 'day' => [ + 'past' => '{1} %count% gün önce|[2,Inf] %count% gün önce', + 'future' => '{1} %count% gün sonra|[2,Inf] %count% gün sonra', + ], + 'week' => [ + 'past' => '{1} %count% hafta önce|[2,Inf] %count% hafta önce', + 'future' => '{1} %count% hafta sonra|[2,Inf] %count% hafta sonra', + ], + 'month' => [ + 'past' => '{1} %count% ay önce|[2,Inf] %count% ay önce', + 'future' => '{1} %count% ay sonra|[2,Inf] %count% ay sonra', + ], + 'year' => [ + 'past' => '{1} %count% yıl önce|[2,Inf] %count% yıl önce', + 'future' => '{1} %count% yıl sonra|[2,Inf] %count% yıl sonra', + ], + 'compound' => [ + 'second' => '[0,1] %count% saniye|[2,Inf] %count% saniye', + 'minute' => '{1} %count% dakika|[2,Inf] %count% dakika', + 'hour' => '{1} %count% saat|[2,Inf] %count% saat', + 'day' => '{1} %count% gün|[2,Inf] %count% gün', + 'week' => '{1} %count% hafta|[2,Inf] %count% hafta', + 'month' => '{1} %count% ay|[2,Inf] %count% ay', + 'year' => '{1} %count% yıl|[2,Inf] %count% yıl', + 'past' => '%value% önce', + 'future' => '%value% sonra', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.tr.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.tr.yml deleted file mode 100644 index 04325cf..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.tr.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] şimdi" - future: "[0,Inf] şimdi" -second: - past: "[0,1] %count% saniye önce|[2,Inf] %count% saniye önce" - future: "[0,1] %count% saniye sonra|[2,Inf] %count% saniye sonra" -minute: - past: "{1} %count% dakika önce|[2,Inf] %count% dakika önce" - future: "{1} %count% dakika sonra|[2,Inf] %count% dakika sonra" -hour: - past: "{1} %count% saat önce|[2,Inf] %count% saat önce" - future: "{1} %count% saat sonra|[2,Inf] %count% saat sonra" -day: - past: "{1} %count% gün önce|[2,Inf] %count% gün önce" - future: "{1} %count% gün sonra|[2,Inf] %count% gün sonra" -week: - past: "{1} %count% hafta önce|[2,Inf] %count% hafta önce" - future: "{1} %count% hafta sonra|[2,Inf] %count% hafta sonra" -month: - past: "{1} %count% ay önce|[2,Inf] %count% ay önce" - future: "{1} %count% ay sonra|[2,Inf] %count% ay sonra" -year: - past: "{1} %count% yıl önce|[2,Inf] %count% yıl önce" - future: "{1} %count% yıl sonra|[2,Inf] %count% yıl sonra" - -compound: - second: "[0,1] %count% saniye|[2,Inf] %count% saniye" - minute: "{1} %count% dakika|[2,Inf] %count% dakika" - hour: "{1} %count% saat|[2,Inf] %count% saat" - day: "{1} %count% gün|[2,Inf] %count% gün" - week: "{1} %count% hafta|[2,Inf] %count% hafta" - month: "{1} %count% ay|[2,Inf] %count% ay" - year: "{1} %count% yıl|[2,Inf] %count% yıl" - past: "%value% önce" - future: "%value% sonra" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.uk.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.uk.php new file mode 100644 index 0000000..22499b5 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.uk.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] зараз', + 'future' => '[0,Inf] зараз', + ], + 'second' => [ + 'past' => '%count% секунду тому|%count% секунди тому|%count% секунд тому', + 'future' => 'через %count% секунду|через %count% секунди|через %count% секунд', + ], + 'minute' => [ + 'past' => '%count% хвилину тому|%count% хвилини тому|%count% хвилин тому', + 'future' => 'через %count% хвилину|через %count% хвилини|через %count% хвилин', + ], + 'hour' => [ + 'past' => '%count% годину тому|%count% години тому|%count% годин тому', + 'future' => 'через %count% годину|через %count% години|через %count% годин', + ], + 'day' => [ + 'past' => '%count% день тому|%count% дні тому|%count% днів тому', + 'future' => 'через %count% день|через %count% дні|через %count% днів', + ], + 'week' => [ + 'past' => '%count% тиждень тому|%count% тижні тому|%count% тижнів тому', + 'future' => 'через %count% тиждень|через %count% тижні|через %count% тижнів', + ], + 'month' => [ + 'past' => '%count% місяць тому|%count% місяці тому|%count% місяців тому', + 'future' => 'через %count% місяць|через %count% місяці|через %count% місяців', + ], + 'year' => [ + 'past' => '%count% рік тому|%count% роки тому|%count% років тому', + 'future' => 'через %count% рік|через %count% роки|через %count% років', + ], + 'compound' => [ + 'second' => '%count% секунда|%count% секунди|%count% секунд', + 'minute' => '%count% хвилина|%count% хвилини|%count% хвилин', + 'hour' => '%count% година|%count% години|%count% годин', + 'day' => '%count% день|%count% дні|%count% днів', + 'week' => '%count% тиждень|%count% тижні|%count% тижнів', + 'month' => '%count% місяць|%count% місяця|%count% місяців', + 'year' => '%count% рік|%count% роки|%count% років', + 'past' => '%value% тому', + 'future' => 'через %value%', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.uk.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.uk.yml deleted file mode 100644 index 58b6daf..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.uk.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] зараз" - future: "[0,Inf] зараз" -second: - past: "%count% секунду тому|%count% секунди тому|%count% секунд тому" - future: "через %count% секунду|через %count% секунди|через %count% секунд" -minute: - past: "%count% хвилину тому|%count% хвилини тому|%count% хвилин тому" - future: "через %count% хвилину|через %count% хвилини|через %count% хвилин" -hour: - past: "%count% годину тому|%count% години тому|%count% годин тому" - future: "через %count% годину|через %count% години|через %count% годин" -day: - past: "%count% день тому|%count% дні тому|%count% днів тому" - future: "через %count% день|через %count% дні|через %count% днів" -week: - past: "%count% тиждень тому|%count% тижні тому|%count% тижнів тому" - future: "через %count% тиждень|через %count% тижні|через %count% тижнів" -month: - past: "%count% місяць тому|%count% місяці тому|%count% місяців тому" - future: "через %count% місяць|через %count% місяці|через %count% місяців" -year: - past: "%count% рік тому|%count% роки тому|%count% років тому" - future: "через %count% рік|через %count% роки|через %count% років" - -compound: - second: "%count% секунда|%count% секунди|%count% секунд" - minute: "%count% хвилина|%count% хвилини|%count% хвилин" - hour: "%count% година|%count% години|%count% годин" - day: "%count% день|%count% дні|%count% днів" - week: "%count% тиждень|%count% тижні|%count% тижнів" - month: "%count% місяць|%count% місяця|%count% місяців" - year: "%count% рік|%count% роки|%count% років" - past: "%value% тому" - future: "через %value%" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_CN.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_CN.php new file mode 100644 index 0000000..2833fef --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_CN.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] 刚刚', + 'future' => '[0,Inf] 刚刚', + ], + 'second' => [ + 'past' => '[1,Inf] %count% 秒前', + 'future' => '[1,Inf] %count% 秒后', + ], + 'minute' => [ + 'past' => '[1,Inf] %count% 分钟前', + 'future' => '[1,Inf] %count% 分钟后', + ], + 'hour' => [ + 'past' => '[1,Inf] %count% 小时前', + 'future' => '[1,Inf] %count% 小时后', + ], + 'day' => [ + 'past' => '[1,Inf] %count% 天前', + 'future' => '[1,Inf] %count% 天后', + ], + 'week' => [ + 'past' => '[1,Inf] %count% 周前', + 'future' => '[1,Inf] %count% 周后', + ], + 'month' => [ + 'past' => '[1,Inf] %count% 个月前', + 'future' => '[1,Inf] %count% 个月后', + ], + 'year' => [ + 'past' => '[1,Inf] %count% 年前', + 'future' => '[1,Inf] %count% 年后', + ], + 'compound' => [ + 'second' => '[0,Inf] %count% 秒', + 'minute' => '[1,Inf] %count% 分钟', + 'hour' => '[1,Inf] %count% 小时', + 'day' => '[1,Inf] %count% 天', + 'week' => '[1,Inf] %count% 周', + 'month' => '[1,Inf] %count% 个月', + 'year' => '[1,Inf] %count% 年', + 'past' => '%value%前', + 'future' => '%value%后', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_CN.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_CN.yml deleted file mode 100644 index d0bddc5..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_CN.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] 刚刚" - future: "[0,Inf] 刚刚" -second: - past: "[1,Inf] %count% 秒前" - future: "[1,Inf] %count% 秒后" -minute: - past: "[1,Inf] %count% 分钟前" - future: "[1,Inf] %count% 分钟后" -hour: - past: "[1,Inf] %count% 小时前" - future: "[1,Inf] %count% 小时后" -day: - past: "[1,Inf] %count% 天前" - future: "[1,Inf] %count% 天后" -week: - past: "[1,Inf] %count% 周前" - future: "[1,Inf] %count% 周后" -month: - past: "[1,Inf] %count% 个月前" - future: "[1,Inf] %count% 个月后" -year: - past: "[1,Inf] %count% 年前" - future: "[1,Inf] %count% 年后" - -compound: - second: "[0,Inf] %count% 秒" - minute: "[1,Inf] %count% 分钟" - hour: "[1,Inf] %count% 小时" - day: "[1,Inf] %count% 天" - week: "[1,Inf] %count% 周" - month: "[1,Inf] %count% 个月" - year: "[1,Inf] %count% 年" - past: "%value%前" - future: "%value%后" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_TW.php b/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_TW.php new file mode 100644 index 0000000..011ce66 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_TW.php @@ -0,0 +1,47 @@ + [ + 'past' => '[0,Inf] 剛剛', + 'future' => '[0,Inf] 剛剛', + ], + 'second' => [ + 'past' => '[1,Inf] %count% 秒前', + 'future' => '[1,Inf] %count% 秒後', + ], + 'minute' => [ + 'past' => '[1,Inf] %count% 分鐘前', + 'future' => '[1,Inf] %count% 分鐘後', + ], + 'hour' => [ + 'past' => '[1,Inf] %count% 小時前', + 'future' => '[1,Inf] %count% 小時後', + ], + 'day' => [ + 'past' => '[1,Inf] %count% 天前', + 'future' => '[1,Inf] %count% 天後', + ], + 'week' => [ + 'past' => '[1,Inf] %count% 週前', + 'future' => '[1,Inf] %count% 週後', + ], + 'month' => [ + 'past' => '[1,Inf] %count% 個月前', + 'future' => '[1,Inf] %count% 個月後', + ], + 'year' => [ + 'past' => '[1,Inf] %count% 年前', + 'future' => '[1,Inf] %count% 年後', + ], + 'compound' => [ + 'second' => '[0,Inf] %count% 秒', + 'minute' => '[1,Inf] %count% 分鐘', + 'hour' => '[1,Inf] %count% 小時', + 'day' => '[1,Inf] %count% 天', + 'week' => '[1,Inf] %count% 週', + 'month' => '[1,Inf] %count% 個月', + 'year' => '[1,Inf] %count% 年', + 'past' => '%value%前', + 'future' => '%value%後', + ], +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_TW.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_TW.yml deleted file mode 100644 index b11a092..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/difference.zh_TW.yml +++ /dev/null @@ -1,35 +0,0 @@ -just_now: - past: "[0,Inf] 剛剛" - future: "[0,Inf] 剛剛" -second: - past: "[1,Inf] %count% 秒前" - future: "[1,Inf] %count% 秒後" -minute: - past: "[1,Inf] %count% 分鐘前" - future: "[1,Inf] %count% 分鐘後" -hour: - past: "[1,Inf] %count% 小時前" - future: "[1,Inf] %count% 小時後" -day: - past: "[1,Inf] %count% 天前" - future: "[1,Inf] %count% 天後" -week: - past: "[1,Inf] %count% 週前" - future: "[1,Inf] %count% 週後" -month: - past: "[1,Inf] %count% 個月前" - future: "[1,Inf] %count% 個月後" -year: - past: "[1,Inf] %count% 年前" - future: "[1,Inf] %count% 年後" - -compound: - second: "[0,Inf] %count% 秒" - minute: "[1,Inf] %count% 分鐘" - hour: "[1,Inf] %count% 小時" - day: "[1,Inf] %count% 天" - week: "[1,Inf] %count% 週" - month: "[1,Inf] %count% 個月" - year: "[1,Inf] %count% 年" - past: "%value%前" - future: "%value%後" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.cs.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.cs.php new file mode 100644 index 0000000..23c9f36 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.cs.php @@ -0,0 +1,7 @@ + '%first% a %second%', + 'comma_separated' => '%list%, a %last%', + 'comma_separated_with_limit' => '[1,4] %list%, a %count% další|[5,Inf] %list%, a %count% dalších', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.cs.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.cs.yml deleted file mode 100644 index 2075228..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.cs.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% a %second%" -comma_separated: "%list%, a %last%" -comma_separated_with_limit: "[1,4] %list%, a %count% další|[5,Inf] %list%, a %count% dalších" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.da.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.da.php new file mode 100644 index 0000000..e5d4ce8 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.da.php @@ -0,0 +1,7 @@ + '%first% og %second%', + 'comma_separated' => '%list%, og %last%', + 'comma_separated_with_limit' => '{1} %list%, og 1 anden|[2,Inf] %list%, og %count% andre', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.da.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.da.yml deleted file mode 100644 index ecf652e..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.da.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% og %second%" -comma_separated: "%list%, og %last%" -comma_separated_with_limit: "{1} %list%, og 1 anden|[2,Inf] %list%, og %count% andre" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.en.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.en.php new file mode 100644 index 0000000..c6c07f3 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.en.php @@ -0,0 +1,7 @@ + '%first% and %second%', + 'comma_separated' => '%list%, and %last%', + 'comma_separated_with_limit' => '{1} %list%, and 1 other|[2,Inf] %list%, and %count% others', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.en.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.en.yml deleted file mode 100644 index 22eb5cf..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.en.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% and %second%" -comma_separated: "%list%, and %last%" -comma_separated_with_limit: "{1} %list%, and 1 other|[2,Inf] %list%, and %count% others" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.php new file mode 100644 index 0000000..618a233 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.php @@ -0,0 +1,7 @@ + '%first% y %second%', + 'comma_separated' => '%list%, y %last%', + 'comma_separated_with_limit' => '{1} %list%, y 1 más|[2,Inf] %list%, y %count% más', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml deleted file mode 100644 index 1335e9f..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% y %second%" -comma_separated: "%list%, y %last%" -comma_separated_with_limit: "{1} %list%, y 1 más|[2,Inf] %list%, y %count% más" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.fr.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.fr.php new file mode 100644 index 0000000..0ff0dc2 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.fr.php @@ -0,0 +1,7 @@ + '%first% et %second%', + 'comma_separated' => '%list% et %last%', + 'comma_separated_with_limit' => '{1} %list% et 1 autre|[2,Inf] %list% et %count% autres', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.fr.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.fr.yml deleted file mode 100644 index d44e036..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.fr.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% et %second%" -comma_separated: "%list% et %last%" -comma_separated_with_limit: "{1} %list% et 1 autre|[2,Inf] %list% et %count% autres" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.id.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.id.php new file mode 100644 index 0000000..5cc8a46 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.id.php @@ -0,0 +1,7 @@ + '%first% dan %second%', + 'comma_separated' => '%list%, dan %last%', + 'comma_separated_with_limit' => '{1} %list%, dan 1 lainnya|[2,Inf] %list%, dan %count% lainnya', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.id.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.id.yml deleted file mode 100644 index 3ff1323..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.id.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% dan %second%" -comma_separated: "%list%, dan %last%" -comma_separated_with_limit: "{1} %list%, dan 1 lainnya|[2,Inf] %list%, dan %count% lainnya" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.it.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.it.php new file mode 100644 index 0000000..a135f18 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.it.php @@ -0,0 +1,7 @@ + '%first% e %second%', + 'comma_separated' => '%list% e %last%', + 'comma_separated_with_limit' => '{1} %list% ed un altro|[2,Inf] %list% e %count% altri', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.it.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.it.yml deleted file mode 100644 index 9441aad..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.it.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% e %second%" -comma_separated: "%list% e %last%" -comma_separated_with_limit: "{1} %list% ed un altro|[2,Inf] %list% e %count% altri" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ja.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ja.php new file mode 100644 index 0000000..d5ba791 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ja.php @@ -0,0 +1,7 @@ + '%first% と %second%', + 'comma_separated' => '%list% と %last%', + 'comma_separated_with_limit' => '{1} %list% ともうひとり|[2,Inf] %list% ともう %count% 人', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ja.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ja.yml deleted file mode 100644 index 378f91a..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ja.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% と %second%" -comma_separated: "%list% と %last%" -comma_separated_with_limit: "{1} %list% ともうひとり|[2,Inf] %list% ともう %count% 人" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.nl.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.nl.php new file mode 100644 index 0000000..22c5601 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.nl.php @@ -0,0 +1,7 @@ + '%first% en %second%', + 'comma_separated' => '%list%, en %last%', + 'comma_separated_with_limit' => '{1} %list%, en 1 andere|[2,Inf] %list%, en %count% andere', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.nl.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.nl.yml deleted file mode 100644 index 0ba299b..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.nl.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% en %second%" -comma_separated: "%list%, en %last%" -comma_separated_with_limit: "{1} %list%, en 1 andere|[2,Inf] %list%, en %count% andere" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.pl.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.pl.php new file mode 100644 index 0000000..3f49e92 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.pl.php @@ -0,0 +1,7 @@ + '%first% i %second%', + 'comma_separated' => '%list% i %last%', + 'comma_separated_with_limit' => '{1} %list% i 1 inny|[2,Inf] %list% i %count% innych', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.pl.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.pl.yml deleted file mode 100644 index 6a999c0..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.pl.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% i %second%" -comma_separated: "%list% i %last%" -comma_separated_with_limit: "{1} %list% i 1 inny|[2,Inf] %list% i %count% innych" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ro.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ro.php new file mode 100644 index 0000000..451e09c --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ro.php @@ -0,0 +1,7 @@ + '%first% și %second%', + 'comma_separated' => '%list% și %last%', + 'comma_separated_with_limit' => '{1} %list% și încă unul|[2,Inf] %list% și %count% alții', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ro.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ro.yml deleted file mode 100644 index e991007..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ro.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% și %second%" -comma_separated: "%list% și %last%" -comma_separated_with_limit: "{1} %list% și încă unul|[2,Inf] %list% și %count% alții" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ru.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ru.php new file mode 100644 index 0000000..5d688d1 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ru.php @@ -0,0 +1,7 @@ + '%first% и %second%', + 'comma_separated' => '%list% и %last%', + 'comma_separated_with_limit' => '{1} %list% и ещё 1|[2,Inf] %list% и ещё %count%', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ru.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.ru.yml deleted file mode 100644 index 903c661..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.ru.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% и %second%" -comma_separated: "%list% и %last%" -comma_separated_with_limit: "{1} %list% и ещё 1|[2,Inf] %list% и ещё %count%" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.sk.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.sk.php new file mode 100644 index 0000000..915779e --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.sk.php @@ -0,0 +1,7 @@ + '%first% a %second%', + 'comma_separated' => '%list%, a %last%', + 'comma_separated_with_limit' => '[1,4] %list%, a %count% ďalší|[5,Inf] %list%, a %count% ďalších', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.sk.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.sk.yml deleted file mode 100644 index d47f17b..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.sk.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% a %second%" -comma_separated: "%list%, a %last%" -comma_separated_with_limit: "[1,4] %list%, a %count% ďalší|[5,Inf] %list%, a %count% ďalších" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.sv.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.sv.php new file mode 100644 index 0000000..5df6ada --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.sv.php @@ -0,0 +1,7 @@ + '%first% och %second%', + 'comma_separated' => '%list%, och %last%', + 'comma_separated_with_limit' => '[1,Inf] %list%, och %count% till', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.th.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.th.php new file mode 100644 index 0000000..5d282c4 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.th.php @@ -0,0 +1,7 @@ + '%first% และ %second%', + 'comma_separated' => '%list% และ %last%', + 'comma_separated_with_limit' => '{1} %list% และอีก 1|[2,Inf] %list% และอีก %count%', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.th.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.th.yml deleted file mode 100644 index 02dc12e..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.th.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% และ %second%" -comma_separated: "%list% และ %last%" -comma_separated_with_limit: "{1} %list% และอีก 1|[2,Inf] %list% และอีก %count%" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.uk.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.uk.php new file mode 100644 index 0000000..77a11cb --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.uk.php @@ -0,0 +1,7 @@ + '%first% та %second%', + 'comma_separated' => '%list% та %last%', + 'comma_separated_with_limit' => '{1} %list% і ще 1|[2,Inf] %list% і ще %count%', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.uk.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.uk.yml deleted file mode 100644 index 117fba9..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.uk.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% та %second%" -comma_separated: "%list% та %last%" -comma_separated_with_limit: "{1} %list% і ще 1|[2,Inf] %list% і ще %count%" \ No newline at end of file diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_CN.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_CN.php new file mode 100644 index 0000000..5b7d1eb --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_CN.php @@ -0,0 +1,7 @@ + '%first% 和 %second%', + 'comma_separated' => '%list%, 和 %last%', + 'comma_separated_with_limit' => '{1} %list% 和另一个|[2,Inf] %list% 和另 %count% 个', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_CN.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_CN.yml deleted file mode 100644 index 1bf660e..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_CN.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% 和 %second%" -comma_separated: "%list%, 和 %last%" -comma_separated_with_limit: "{1} %list% 和另一个|[2,Inf] %list% 和另 %count% 个" diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_TW.php b/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_TW.php new file mode 100644 index 0000000..633ae70 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_TW.php @@ -0,0 +1,7 @@ + '%first% 和 %second%', + 'comma_separated' => '%list%, 和 %last%', + 'comma_separated_with_limit' => '{1} %list% 和另一個|[2,Inf] %list% 和另 %count% 個', +]; diff --git a/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_TW.yml b/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_TW.yml deleted file mode 100644 index 61dc201..0000000 --- a/src/Coduo/PHPHumanizer/Resources/translations/oxford.zh_TW.yml +++ /dev/null @@ -1,3 +0,0 @@ -only_two: "%first% 和 %second%" -comma_separated: "%list%, 和 %last%" -comma_separated_with_limit: "{1} %list% 和另一個|[2,Inf] %list% 和另 %count% 個" diff --git a/src/Coduo/PHPHumanizer/String/BinarySuffix.php b/src/Coduo/PHPHumanizer/String/BinarySuffix.php index 9332d4a..a522482 100644 --- a/src/Coduo/PHPHumanizer/String/BinarySuffix.php +++ b/src/Coduo/PHPHumanizer/String/BinarySuffix.php @@ -34,7 +34,7 @@ final class BinarySuffix 0 => '# bytes', ]; - public function __construct(int $number, string $locale = 'en', int $precision = null) + public function __construct(int $number, string $locale = 'en', ?int $precision = null) { if (!\class_exists(\NumberFormatter::class)) { throw new \RuntimeException('Binary suffix converter requires intl extension!'); diff --git a/src/Coduo/PHPHumanizer/Translator/Builder.php b/src/Coduo/PHPHumanizer/Translator/Builder.php index 5eb04f1..7fb7dcf 100644 --- a/src/Coduo/PHPHumanizer/Translator/Builder.php +++ b/src/Coduo/PHPHumanizer/Translator/Builder.php @@ -11,7 +11,7 @@ namespace Coduo\PHPHumanizer\Translator; -use Symfony\Component\Translation\Loader\YamlFileLoader; +use Symfony\Component\Translation\Loader\PhpFileLoader; use Symfony\Component\Translation\Translator; final class Builder @@ -25,16 +25,16 @@ public static function build(string $locale) : Translator { if (!isset(self::$translators[$locale])) { $translator = new Translator($locale); - $translator->addLoader('yml', new YamlFileLoader()); + $translator->addLoader('php', new PhpFileLoader()); $iterator = new \FilesystemIterator(__DIR__ . '/../Resources/translations'); - $filter = new \RegexIterator($iterator, '/[aA-zZ]+\.([a-z]{2}|[a-z]{2}\_[A-Z]{2})\.yml$/'); + $filter = new \RegexIterator($iterator, '/[aA-zZ]+\.([a-z]{2}|[a-z]{2}\_[A-Z]{2})\.php$/'); /** @var \SplFileInfo $file */ foreach ($filter as $file) { - $resourceName = $file->getBasename('.yml'); + $resourceName = $file->getBasename('.php'); [$fileDomain, $fileLocale] = \explode('.', $resourceName); - $translator->addResource('yml', $file->getPathname(), $fileLocale, $fileDomain); + $translator->addResource('php', $file->getPathname(), $fileLocale, $fileDomain); } self::$translators[$locale] = $translator; diff --git a/tests/Coduo/PHPHumanizer/Tests/CollectionHumanizerTest.php b/tests/Coduo/PHPHumanizer/Tests/CollectionHumanizerTest.php index 76737e0..f11b6d4 100644 --- a/tests/Coduo/PHPHumanizer/Tests/CollectionHumanizerTest.php +++ b/tests/Coduo/PHPHumanizer/Tests/CollectionHumanizerTest.php @@ -16,15 +16,7 @@ final class CollectionHumanizerTest extends TestCase { - /** - * @dataProvider oxfordCollectionProvider - */ - public function test_oxford_collections_humanizing($collection, $limit, $locale, $expectedResult) : void - { - $this->assertSame($expectedResult, CollectionHumanizer::oxford($collection, $limit, $locale)); - } - - public function oxfordCollectionProvider() + public static function oxfordCollectionProvider() { return [ // English @@ -90,4 +82,12 @@ public function oxfordCollectionProvider() [['Michal', 'Norbert', 'Lukasz', 'Pawel'], null, 'ja', 'Michal, Norbert, Lukasz と Pawel'], ]; } + + /** + * @dataProvider oxfordCollectionProvider + */ + public function test_oxford_collections_humanizing($collection, $limit, $locale, $expectedResult) : void + { + $this->assertSame($expectedResult, CollectionHumanizer::oxford($collection, $limit, $locale)); + } } diff --git a/tests/Coduo/PHPHumanizer/Tests/DateTimeHumanizerTest.php b/tests/Coduo/PHPHumanizer/Tests/DateTimeHumanizerTest.php index 2d709a8..72ca15f 100644 --- a/tests/Coduo/PHPHumanizer/Tests/DateTimeHumanizerTest.php +++ b/tests/Coduo/PHPHumanizer/Tests/DateTimeHumanizerTest.php @@ -21,47 +21,7 @@ class DateTimeHumanizerTest extends TestCase { - /** - * @dataProvider humanizeDataProvider - */ - public function test_humanize_difference_between_dates(string $firstDate, string $secondDate, string $expected, string $locale) : void - { - $this->assertSame($expected, DateTimeHumanizer::difference(new \DateTime($firstDate), new \DateTime($secondDate), $locale)); - } - - /** - * @dataProvider humanizeDataProvider - */ - public function test_humanize_time_period(string $firstDate, string $secondDate, string $expected, string $locale) : void - { - $this->assertSame($expected, DateTimeHumanizer::timePeriod(new TimePeriod(DateTime::fromString($firstDate), DateTime::fromString($secondDate)), $locale)); - } - - /** - * @dataProvider preciseDifferenceDataProvider - */ - public function test_humanize_precise_difference_between_dates(string $firstDate, string $secondDate, string $expected, string $locale) : void - { - $this->assertSame($expected, DateTimeHumanizer::timePeriodPrecise(new TimePeriod(DateTime::fromString($firstDate), DateTime::fromString($secondDate)), $locale)); - } - - /** - * @dataProvider preciseDifferenceDataProvider - */ - public function test_humanize_time_period_precise(string $firstDate, string $secondDate, string $expected, string $locale) : void - { - $this->assertSame($expected, DateTimeHumanizer::preciseDifference(new \DateTime($firstDate), new \DateTime($secondDate), $locale)); - } - - /** - * @dataProvider timeUnitDataProvider - */ - public function test_humanize_time_unit(Unit $unit, string $expected, string $locale) : void - { - $this->assertSame($expected, DateTimeHumanizer::timeUnit($unit, $locale)); - } - - public function humanizeDataProvider() : array + public static function humanizeDataProvider() : array { return [ // English @@ -276,10 +236,29 @@ public function humanizeDataProvider() : array ['2014-05-01', '2014-04-01', '1 ヶ月前', 'ja'], ['2015-05-01', '2014-04-01', '1 年前', 'ja'], ['2014-05-01', '2016-04-01', '2 年後', 'ja'], + + // Swedish + ['2014-04-26 13:00:00', '2014-04-26 13:00:00', 'nyss', 'sv'], + ['2014-04-26 13:00:00', '2014-04-26 13:00:05', 'om 5 sekunder', 'sv'], + ['2014-04-26 13:00:00', '2014-04-26 12:59:00', 'för 1 minut sedan', 'sv'], + ['2014-04-26 13:00:00', '2014-04-26 12:45:00', 'för 15 minuter sedan', 'sv'], + ['2014-04-26 13:00:00', '2014-04-26 13:15:00', 'om 15 minuter', 'sv'], + ['2014-04-26 13:00:00', '2014-04-26 14:00:00', 'om 1 timme', 'sv'], + ['2014-04-26 13:00:00', '2014-04-26 15:00:00', 'om 2 timmar', 'sv'], + ['2014-04-26 13:00:00', '2014-04-26 12:00:00', 'för 1 timme sedan', 'sv'], + ['2014-04-26', '2014-04-25', 'för 1 dag sedan', 'sv'], + ['2014-04-26', '2014-04-24', 'för 2 dagar sedan', 'sv'], + ['2014-04-26', '2014-04-28', 'om 2 dagar', 'sv'], + ['2014-04-01', '2014-04-15', 'om 2 veckor', 'sv'], + ['2014-04-15', '2014-04-07', 'för 1 vecka sedan', 'sv'], + ['2014-01-01', '2014-04-01', 'om 3 månader', 'sv'], + ['2014-05-01', '2014-04-01', 'för 1 månad sedan', 'sv'], + ['2015-05-01', '2014-04-01', 'för 1 år sedan', 'sv'], + ['2014-05-01', '2016-04-01', 'om 2 år', 'sv'], ]; } - public function preciseDifferenceDataProvider() : array + public static function preciseDifferenceDataProvider() : array { return [ // Azerbaijani @@ -471,10 +450,20 @@ public function preciseDifferenceDataProvider() : array ['2014-04-26 13:00:00', '2014-04-28 23:00:00', '2 日, 10 時間後', 'ja'], ['2014-04-26 13:00:00', '2014-04-25 11:20:00', '1 日, 1 時間, 40 分前', 'ja'], ['2014-04-26 13:00:00', '2016-04-27 13:00:00', '2 年, 1 日後', 'ja'], + + // Swedish + ['2014-04-26 13:00:00', '2014-04-26 12:58:15', 'för 1 minut, 45 sekunder sedan', 'sv'], + ['2014-04-26 13:00:00', '2014-04-26 11:20:00', 'för 1 timme, 40 minuter sedan', 'sv'], + ['2014-04-26 13:00:00', '2014-04-27 13:15:00', 'om 1 dag, 15 minuter', 'sv'], + ['2014-04-26 13:00:00', '2014-05-03 15:00:00', 'om 7 dagar, 2 timmar', 'sv'], + ['2014-04-26 13:00:00', '2015-04-28 17:00:00', 'om 1 år, 2 dagar, 4 timmar', 'sv'], + ['2014-04-26 13:00:00', '2014-04-28 23:00:00', 'om 2 dagar, 10 timmar', 'sv'], + ['2014-04-26 13:00:00', '2014-04-25 11:20:00', 'för 1 dag, 1 timme, 40 minuter sedan', 'sv'], + ['2014-04-26 13:00:00', '2016-04-27 13:00:00', 'om 2 år, 1 dag', 'sv'], ]; } - public function timeUnitDataProvider() : array + public static function timeUnitDataProvider() : array { return [ // English @@ -506,6 +495,61 @@ public function timeUnitDataProvider() : array 'pl', ], [RelativeTimeUnit::months(14), '1 rok i 2 miesiące', 'pl'], + + // Swedish + [TimeUnit::seconds(20), '20 sekunder', 'sv'], + [TimeUnit::minutes(20), '20 minuter', 'sv'], + [TimeUnit::minutes(20)->add(TimeUnit::seconds(5)), '20 minuter och 5 sekunder', 'sv'], + [ + TimeUnit::days(2) + ->add(TimeUnit::hours(3)) + ->add(TimeUnit::minutes(25)) + ->add(TimeUnit::seconds(30)) + ->add(TimeUnit::milliseconds(200)), + '2 dagar, 3 timmar, 25 minuter, och 30.2 sekunder', + 'sv', + ], + [RelativeTimeUnit::months(14), '1 år och 2 månader', 'sv'], ]; } + + /** + * @dataProvider humanizeDataProvider + */ + public function test_humanize_difference_between_dates(string $firstDate, string $secondDate, string $expected, string $locale) : void + { + $this->assertSame($expected, DateTimeHumanizer::difference(new \DateTime($firstDate), new \DateTime($secondDate), $locale)); + } + + /** + * @dataProvider humanizeDataProvider + */ + public function test_humanize_time_period(string $firstDate, string $secondDate, string $expected, string $locale) : void + { + $this->assertSame($expected, DateTimeHumanizer::timePeriod(new TimePeriod(DateTime::fromString($firstDate), DateTime::fromString($secondDate)), $locale)); + } + + /** + * @dataProvider preciseDifferenceDataProvider + */ + public function test_humanize_precise_difference_between_dates(string $firstDate, string $secondDate, string $expected, string $locale) : void + { + $this->assertSame($expected, DateTimeHumanizer::timePeriodPrecise(new TimePeriod(DateTime::fromString($firstDate), DateTime::fromString($secondDate)), $locale)); + } + + /** + * @dataProvider preciseDifferenceDataProvider + */ + public function test_humanize_time_period_precise(string $firstDate, string $secondDate, string $expected, string $locale) : void + { + $this->assertSame($expected, DateTimeHumanizer::preciseDifference(new \DateTime($firstDate), new \DateTime($secondDate), $locale)); + } + + /** + * @dataProvider timeUnitDataProvider + */ + public function test_humanize_time_unit(Unit $unit, string $expected, string $locale) : void + { + $this->assertSame($expected, DateTimeHumanizer::timeUnit($unit, $locale)); + } } diff --git a/tests/Coduo/PHPHumanizer/Tests/NumberHumanizerTest.php b/tests/Coduo/PHPHumanizer/Tests/NumberHumanizerTest.php index ccca05e..e5bcf2b 100644 --- a/tests/Coduo/PHPHumanizer/Tests/NumberHumanizerTest.php +++ b/tests/Coduo/PHPHumanizer/Tests/NumberHumanizerTest.php @@ -17,566 +17,569 @@ class NumberHumanizerTest extends TestCase { /** - * @dataProvider ordinalIndicatorProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_return_ordinal_suffix($expected, $number) : void + public static function ordinalIndicatorProvider() { - $this->assertSame($expected, NumberHumanizer::ordinal($number)); + return [ + ['st', 1], + ['nd', 2], + ['rd', 23], + ['nd', 1002], + ['th', -111], + ]; } /** - * @dataProvider ordinalIndicatorDutchProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_return_ordinal_suffix_dutch($expected, $number) : void + public static function ordinalIndicatorDutchProvider() { - $this->assertSame($expected, NumberHumanizer::ordinal($number, 'nl')); + return [ + ['e', 1], + ['e', 2], + ['e', 23], + ['e', 1002], + ['e', -111], + ]; } /** - * @dataProvider ordinalIndicatorIndonesianProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_return_ordinal_suffix_indonesian($expected, $number) : void + public static function ordinalIndicatorIndonesianProvider() { - $this->assertSame($expected, NumberHumanizer::ordinal($number, 'id')); + return [ + ['ke-', 1], + ['ke-', 2], + ['ke-', 23], + ['ke-', 1002], + ['ke-', -111], + ]; } /** - * @dataProvider ordinalSuffixPtEsItProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_return_ordinal_suffix_spanish($expected, $number) : void + public static function ordinalizeDataProvider() { - $this->assertSame($expected, NumberHumanizer::ordinal($number, 'es')); + return [ + ['1st', 1], + ['2nd', 2], + ['23rd', 23], + ['1002nd', 1002], + ['-111th', -111], + ]; } /** - * @dataProvider ordinalSuffixPtEsItProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_return_ordinal_suffix_italian($expected, $number) : void + public static function ordinalizeDataDutchProvider() { - $this->assertSame($expected, NumberHumanizer::ordinal($number, 'it')); + return [ + ['1e', 1], + ['2e', 2], + ['23e', 23], + ['1002e', 1002], + ['-111e', -111], + ]; } /** - * @dataProvider ordinalSuffixGermanProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_return_ordinal_suffix_german($expected, $number) : void + public static function ordinalizeDataIndonesianProvider() { - $this->assertSame($expected, NumberHumanizer::ordinal($number, 'de')); + return [ + ['ke-1', 1], + ['ke-2', 2], + ['ke-23', 23], + ['ke-1002', 1002], + ['ke--111', -111], + ]; } /** - * @dataProvider ordinalSuffixFrenchProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_return_ordinal_suffix_french($expected, $number) : void + public static function ordinalizeDataPtEsItProvider() { - $this->assertSame($expected, NumberHumanizer::ordinal($number, 'fr')); + return [ + ['1o', 1], + ['2o', 2], + ['23o', 23], + ['1002o', 1002], + ['-111o', -111], + ]; } /** - * @dataProvider ordinalizeDataProvider - * @depends test_return_ordinal_suffix - * - * @param $expected - * @param $number + * @return array */ - public function test_ordinalize_numbers($expected, $number) : void + public static function ordinalizeDataGermanProvider() { - $this->assertSame($expected, NumberHumanizer::ordinalize($number)); + return [ + ['1.', 1], + ['2.', 2], + ['23.', 23], + ['1002.', 1002], + ['-111.', -111], + ]; } /** - * @dataProvider ordinalizeDataDutchProvider - * @depends test_return_ordinal_suffix_dutch - * - * @param $expected - * @param $number + * @return array */ - public function test_ordinalize_numbers_dutch($expected, $number) : void + public static function ordinalizeDataFrenchProvider() { - $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'nl')); + return [ + ['1er', 1], + ['2e', 2], + ['23e', 23], + ['1002e', 1002], + ['-111e', -111], + ]; } /** - * @dataProvider ordinalizeDataIndonesianProvider - * @depends test_return_ordinal_suffix_indonesian - * - * @param $expected - * @param $number + * @return array */ - public function test_ordinalize_numbers_indonesian($expected, $number) : void + public static function ordinalSuffixPtEsItProvider() { - $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'id')); + return [ + ['o', 1], + ['o', 2], + ['o', 23], + ['o', 1002], + ['o', -111], + ]; } /** - * @dataProvider ordinalizeDataPtEsItProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_ordinalize_numbers_portuguese($expected, $number) : void + public static function ordinalSuffixGermanProvider() { - $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'pt')); + return [ + ['.', 1], + ['.', 2], + ['.', 23], + ['.', 1002], + ['.', -111], + ]; } /** - * @dataProvider ordinalizeDataPtEsItProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_ordinalize_numbers_spanish($expected, $number) : void + public static function ordinalSuffixFrenchProvider() { - $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'es')); + return [ + ['er', 1], + ['e', 2], + ['e', 23], + ['e', 1002], + ['e', -111], + ]; } /** - * @dataProvider ordinalizeDataPtEsItProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_ordinalize_numbers_italian($expected, $number) : void + public static function binarySuffixDataProvider() { - $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'it')); - } + return [ + [-1, -1], + ['0 bytes', 0], + ['1 bytes', 1], + ['1 kB', 1024], + ['1 kB', 1025], + ['1.5 kB', 1536], + ['84.4 kB', 86450], + ['5 MB', 1048576 * 5], + ['2 GB', 1073741824 * 2], + ['3 TB', 1099511627776 * 3], + ['1.18 PB', 1325899906842624], - /** - * @dataProvider ordinalizeDataGermanProvider - * - * @param $expected - * @param $number - */ - public function test_ordinalize_numbers_german($expected, $number) : void - { - $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'de')); + ['1,5 kB', 1536, 'pl'], + ['1,18 PB', 1325899906842624, 'pl'], + ]; } /** - * @dataProvider ordinalizeDataFrenchProvider - * - * @param $expected - * @param $number + * @return array */ - public function test_ordinalize_numbers_french($expected, $number) : void + public static function preciseBinarySuffixDataProvider() { - $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'fr')); + return [ + // Negative case + [-1, -1, 3], + + // Byte Cases + ['0 bytes', 0, 3], + ['1 bytes', 1, 0], + ['1023 bytes', 1023, 3], + + // Kilobyte Cases + ['1.000 kB', 1024, 3], + ['2 kB', 1588, 0], + ['1.6 kB', 1588, 1], + ['1.55 kB', 1588, 2], + ['1.551 kB', 1588, 3], + + // Megabyte Cases + ['5.00 MB', (1048576 * 5), 2], + ['5.00 MB', (1048576 * 5) + 600, 2], + ['5.001 MB', (1048576 * 5) + 600, 3], + + // Gigabyte Cases + ['2 GB', 1073741824 * 2, 0], + ['2.0 GB', 1073741824 * 2, 1], + + // Terabyte Cases + ['3.00 TB', 1099511627776 * 3, 2], + + // Petabyte Case + ['1.178 PB', 1325899906842624, 3], + + // Locale Cases + ['1,500 kB', 1536, 3, 'pl'], + ['1,178 PB', 1325899906842624, 3, 'pl'], + ]; } /** - * @dataProvider binarySuffixDataProvider - * - * @param $expected - * @param $number - * @param string $locale + * @return array */ - public function test_convert_number_to_string_with_binary_suffix($expected, $number, $locale = 'en') : void + public static function metricSuffixDataProvider() { - $this->assertSame($expected, NumberHumanizer::binarySuffix($number, $locale)); - } - - /** - * @dataProvider preciseBinarySuffixDataProvider - * - * @param $expected - * @param $number - * @param string $locale - * @param int $precision + return [ + ['-1', -1], + ['0', 0], + ['1', 1], + ['101', 101], + ['1k', 1000], + ['1.2k', 1240], + ['1.24M', 1240000], + ['3.5M', 3500000], + + ['1,2k', 1240, 'pl'], + ['1,24M', 1240000, 'pl'], + ['3,5M', 3500000, 'pl'], + ]; + } + + /** + * @return array */ - public function test_convert_number_to_string_with_precise_binary_suffix($expected, $number, $precision, $locale = 'en') : void + public static function romanDataProvider() { - $this->assertSame($expected, NumberHumanizer::preciseBinarySuffix($number, $precision, $locale)); + return [ + ['I', 1], + ['V', 5], + ['IX', 9], + ['X', 10], + ['CXXV', 125], + ['MCCC', 1300], + ['MMMCMXCIX', 3999], + ]; } - public function test_statically_throw_exception_when_converting_to_string_with_precise_binary_suffix_negative_precision() : void + /** + * @return array + */ + public static function romanExceptionProvider() { - $this->expectException(\InvalidArgumentException::class); - - NumberHumanizer::preciseBinarySuffix(1, -1); + return [ + [-1], + [4000], + ]; } - public function test_statically_throw_exception_when_converting_to_string_with_precise_binary_suffix_large_precision() : void + /** + * @return array + */ + public static function arabicExceptionProvider() { - $this->expectException(\InvalidArgumentException::class); - - NumberHumanizer::preciseBinarySuffix(1, 4); + return [ + [''], + ['foobar'], + ]; } /** - * @dataProvider metricSuffixDataProvider + * @dataProvider ordinalIndicatorProvider * * @param $expected * @param $number - * @param string $locale */ - public function test_convert_number_to_string_with_metric_suffix($expected, $number, $locale = 'en') : void + public function test_return_ordinal_suffix($expected, $number) : void { - $this->assertSame($expected, NumberHumanizer::metricSuffix($number, $locale)); + $this->assertSame($expected, NumberHumanizer::ordinal($number)); } - public function test_statically_throw_exception_when_converting_to_string_with_metric_suffix_non_numeric_values() : void + /** + * @dataProvider ordinalIndicatorDutchProvider + * + * @param $expected + * @param $number + */ + public function test_return_ordinal_suffix_dutch($expected, $number) : void { - $this->expectException(\InvalidArgumentException::class); - - NumberHumanizer::metricSuffix('as12'); + $this->assertSame($expected, NumberHumanizer::ordinal($number, 'nl')); } /** - * @dataProvider romanDataProvider + * @dataProvider ordinalIndicatorIndonesianProvider * * @param $expected * @param $number */ - public function test_converts_numbers_to_roman($expected, $number) : void + public function test_return_ordinal_suffix_indonesian($expected, $number) : void { - $this->assertSame($expected, NumberHumanizer::toRoman($number)); + $this->assertSame($expected, NumberHumanizer::ordinal($number, 'id')); } /** - * @dataProvider romanDataProvider + * @dataProvider ordinalSuffixPtEsItProvider * * @param $expected * @param $number */ - public function test_convert_roman_numbers_to_arabic($number, $expected) : void + public function test_return_ordinal_suffix_spanish($expected, $number) : void { - $this->assertSame($expected, NumberHumanizer::fromRoman($number)); + $this->assertSame($expected, NumberHumanizer::ordinal($number, 'es')); } /** - * @dataProvider romanExceptionProvider + * @dataProvider ordinalSuffixPtEsItProvider * + * @param $expected * @param $number */ - public function test_statically_throw_exception_when_converting_number_is_out_of_range($number) : void + public function test_return_ordinal_suffix_italian($expected, $number) : void { - $this->expectException(\InvalidArgumentException::class); - - NumberHumanizer::toRoman($number); + $this->assertSame($expected, NumberHumanizer::ordinal($number, 'it')); } /** - * @dataProvider arabicExceptionProvider + * @dataProvider ordinalSuffixGermanProvider * + * @param $expected * @param $number */ - public function test_statically_throw_exception_when_converting_roman_number_is_invalid($number) : void + public function test_return_ordinal_suffix_german($expected, $number) : void { - $this->expectException(\InvalidArgumentException::class); - - NumberHumanizer::fromRoman($number); + $this->assertSame($expected, NumberHumanizer::ordinal($number, 'de')); } /** - * @return array + * @dataProvider ordinalSuffixFrenchProvider + * + * @param $expected + * @param $number */ - public function ordinalIndicatorProvider() + public function test_return_ordinal_suffix_french($expected, $number) : void { - return [ - ['st', 1], - ['nd', 2], - ['rd', 23], - ['nd', 1002], - ['th', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinal($number, 'fr')); } /** - * @return array + * @dataProvider ordinalizeDataProvider + * + * @depends test_return_ordinal_suffix + * + * @param $expected + * @param $number */ - public function ordinalIndicatorDutchProvider() + public function test_ordinalize_numbers($expected, $number) : void { - return [ - ['e', 1], - ['e', 2], - ['e', 23], - ['e', 1002], - ['e', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinalize($number)); } /** - * @return array + * @dataProvider ordinalizeDataDutchProvider + * + * @depends test_return_ordinal_suffix_dutch + * + * @param $expected + * @param $number */ - public function ordinalIndicatorIndonesianProvider() + public function test_ordinalize_numbers_dutch($expected, $number) : void { - return [ - ['ke-', 1], - ['ke-', 2], - ['ke-', 23], - ['ke-', 1002], - ['ke-', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'nl')); } /** - * @return array + * @dataProvider ordinalizeDataIndonesianProvider + * + * @depends test_return_ordinal_suffix_indonesian + * + * @param $expected + * @param $number */ - public function ordinalizeDataProvider() + public function test_ordinalize_numbers_indonesian($expected, $number) : void { - return [ - ['1st', 1], - ['2nd', 2], - ['23rd', 23], - ['1002nd', 1002], - ['-111th', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'id')); } /** - * @return array + * @dataProvider ordinalizeDataPtEsItProvider + * + * @param $expected + * @param $number */ - public function ordinalizeDataDutchProvider() + public function test_ordinalize_numbers_portuguese($expected, $number) : void { - return [ - ['1e', 1], - ['2e', 2], - ['23e', 23], - ['1002e', 1002], - ['-111e', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'pt')); } /** - * @return array + * @dataProvider ordinalizeDataPtEsItProvider + * + * @param $expected + * @param $number */ - public function ordinalizeDataIndonesianProvider() + public function test_ordinalize_numbers_spanish($expected, $number) : void { - return [ - ['ke-1', 1], - ['ke-2', 2], - ['ke-23', 23], - ['ke-1002', 1002], - ['ke--111', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'es')); } /** - * @return array + * @dataProvider ordinalizeDataPtEsItProvider + * + * @param $expected + * @param $number */ - public function ordinalizeDataPtEsItProvider() + public function test_ordinalize_numbers_italian($expected, $number) : void { - return [ - ['1o', 1], - ['2o', 2], - ['23o', 23], - ['1002o', 1002], - ['-111o', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'it')); } /** - * @return array + * @dataProvider ordinalizeDataGermanProvider + * + * @param $expected + * @param $number */ - public function ordinalizeDataGermanProvider() + public function test_ordinalize_numbers_german($expected, $number) : void { - return [ - ['1.', 1], - ['2.', 2], - ['23.', 23], - ['1002.', 1002], - ['-111.', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'de')); } /** - * @return array + * @dataProvider ordinalizeDataFrenchProvider + * + * @param $expected + * @param $number */ - public function ordinalizeDataFrenchProvider() + public function test_ordinalize_numbers_french($expected, $number) : void { - return [ - ['1er', 1], - ['2e', 2], - ['23e', 23], - ['1002e', 1002], - ['-111e', -111], - ]; + $this->assertSame($expected, NumberHumanizer::ordinalize($number, 'fr')); } /** - * @return array + * @dataProvider binarySuffixDataProvider + * + * @param $expected + * @param $number + * @param string $locale */ - public function ordinalSuffixPtEsItProvider() + public function test_convert_number_to_string_with_binary_suffix($expected, $number, $locale = 'en') : void { - return [ - ['o', 1], - ['o', 2], - ['o', 23], - ['o', 1002], - ['o', -111], - ]; + $this->assertSame($expected, NumberHumanizer::binarySuffix($number, $locale)); } /** - * @return array + * @dataProvider preciseBinarySuffixDataProvider + * + * @param $expected + * @param $number + * @param string $locale + * @param int $precision */ - public function ordinalSuffixGermanProvider() + public function test_convert_number_to_string_with_precise_binary_suffix($expected, $number, $precision, $locale = 'en') : void { - return [ - ['.', 1], - ['.', 2], - ['.', 23], - ['.', 1002], - ['.', -111], - ]; + $this->assertSame($expected, NumberHumanizer::preciseBinarySuffix($number, $precision, $locale)); } - /** - * @return array - */ - public function ordinalSuffixFrenchProvider() + public function test_statically_throw_exception_when_converting_to_string_with_precise_binary_suffix_negative_precision() : void { - return [ - ['er', 1], - ['e', 2], - ['e', 23], - ['e', 1002], - ['e', -111], - ]; + $this->expectException(\InvalidArgumentException::class); + + NumberHumanizer::preciseBinarySuffix(1, -1); } - /** - * @return array - */ - public function binarySuffixDataProvider() + public function test_statically_throw_exception_when_converting_to_string_with_precise_binary_suffix_large_precision() : void { - return [ - [-1, -1], - ['0 bytes', 0], - ['1 bytes', 1], - ['1 kB', 1024], - ['1 kB', 1025], - ['1.5 kB', 1536], - ['84.4 kB', 86450], - ['5 MB', 1048576 * 5], - ['2 GB', 1073741824 * 2], - ['3 TB', 1099511627776 * 3], - ['1.18 PB', 1325899906842624], + $this->expectException(\InvalidArgumentException::class); - ['1,5 kB', 1536, 'pl'], - ['1,18 PB', 1325899906842624, 'pl'], - ]; + NumberHumanizer::preciseBinarySuffix(1, 4); } /** - * @return array + * @dataProvider metricSuffixDataProvider + * + * @param $expected + * @param $number + * @param string $locale */ - public function preciseBinarySuffixDataProvider() + public function test_convert_number_to_string_with_metric_suffix($expected, $number, $locale = 'en') : void { - return [ - // Negative case - [-1, -1, 3], - - // Byte Cases - ['0 bytes', 0, 3], - ['1 bytes', 1, 0], - ['1023 bytes', 1023, 3], - - // Kilobyte Cases - ['1.000 kB', 1024, 3], - ['2 kB', 1588, 0], - ['1.6 kB', 1588, 1], - ['1.55 kB', 1588, 2], - ['1.551 kB', 1588, 3], - - // Megabyte Cases - ['5.00 MB', (1048576 * 5), 2], - ['5.00 MB', (1048576 * 5) + 600, 2], - ['5.001 MB', (1048576 * 5) + 600, 3], - - // Gigabyte Cases - ['2 GB', 1073741824 * 2, 0], - ['2.0 GB', 1073741824 * 2, 1], - - // Terabyte Cases - ['3.00 TB', 1099511627776 * 3, 2], + $this->assertSame($expected, NumberHumanizer::metricSuffix($number, $locale)); + } - // Petabyte Case - ['1.178 PB', 1325899906842624, 3], + public function test_statically_throw_exception_when_converting_to_string_with_metric_suffix_non_numeric_values() : void + { + $this->expectException(\InvalidArgumentException::class); - // Locale Cases - ['1,500 kB', 1536, 3, 'pl'], - ['1,178 PB', 1325899906842624, 3, 'pl'], - ]; + NumberHumanizer::metricSuffix('as12'); } /** - * @return array + * @dataProvider romanDataProvider + * + * @param $expected + * @param $number */ - public function metricSuffixDataProvider() + public function test_converts_numbers_to_roman($expected, $number) : void { - return [ - ['-1', -1], - ['0', 0], - ['1', 1], - ['101', 101], - ['1k', 1000], - ['1.2k', 1240], - ['1.24M', 1240000], - ['3.5M', 3500000], - - ['1,2k', 1240, 'pl'], - ['1,24M', 1240000, 'pl'], - ['3,5M', 3500000, 'pl'], - ]; + $this->assertSame($expected, NumberHumanizer::toRoman($number)); } /** - * @return array + * @dataProvider romanDataProvider + * + * @param $expected + * @param $number */ - public function romanDataProvider() + public function test_convert_roman_numbers_to_arabic($number, $expected) : void { - return [ - ['I', 1], - ['V', 5], - ['IX', 9], - ['X', 10], - ['CXXV', 125], - ['MCCC', 1300], - ['MMMCMXCIX', 3999], - ]; + $this->assertSame($expected, NumberHumanizer::fromRoman($number)); } /** - * @return array + * @dataProvider romanExceptionProvider + * + * @param $number */ - public function romanExceptionProvider() + public function test_statically_throw_exception_when_converting_number_is_out_of_range($number) : void { - return [ - [-1], - [4000], - ]; + $this->expectException(\InvalidArgumentException::class); + + NumberHumanizer::toRoman($number); } /** - * @return array + * @dataProvider arabicExceptionProvider + * + * @param $number */ - public function arabicExceptionProvider() + public function test_statically_throw_exception_when_converting_roman_number_is_invalid($number) : void { - return [ - [''], - ['foobar'], - ]; + $this->expectException(\InvalidArgumentException::class); + + NumberHumanizer::fromRoman($number); } } diff --git a/tests/Coduo/PHPHumanizer/Tests/StringHumanizerTest.php b/tests/Coduo/PHPHumanizer/Tests/StringHumanizerTest.php index 9a27009..692364f 100644 --- a/tests/Coduo/PHPHumanizer/Tests/StringHumanizerTest.php +++ b/tests/Coduo/PHPHumanizer/Tests/StringHumanizerTest.php @@ -16,70 +16,7 @@ class StringHumanizerTest extends TestCase { - /** - * @dataProvider humanizeStringProvider - * - * @param $input - * @param $expected - * @param $capitalize - * @param $separator - * @param array $forbiddenWords - */ - public function test_humanize_strings($input, $expected, $capitalize, $separator, array $forbiddenWords) : void - { - $this->assertSame($expected, StringHumanizer::humanize($input, $capitalize, $separator, $forbiddenWords)); - } - - /** - * @dataProvider truncateStringProvider - * - * @param $text - * @param $expected - * @param $charactersCount - * @param string $append - */ - public function test_truncate_string_to_word_closest_to_a_certain_number_of_characters($text, $expected, $charactersCount, $append = '') : void - { - $this->assertSame($expected, StringHumanizer::truncate($text, $charactersCount, $append)); - } - - /** - * @dataProvider truncateHtmlStringProvider - * - * @param $text - * @param $charactersCount - * @param $allowedTags - * @param $expected - * @param $append - */ - public function test_truncate_string_to_word_closest_to_a_certain_number_of_characters_with_html_tags($text, $charactersCount, $allowedTags, $expected, $append = '') : void - { - $this->assertSame($expected, StringHumanizer::truncateHtml($text, $charactersCount, $allowedTags, $append)); - } - - /** - * @dataProvider removeAllShortcodesProvider - * - * @param $text - * @param $expected - */ - public function test_remove_all_shortcodes_from_text($text, $expected) : void - { - $this->assertSame($expected, StringHumanizer::removeShortcodes($text)); - } - - /** - * @dataProvider removeShortcodeTagsProvider - * - * @param $text - * @param $expected - */ - public function test_remove_only_shortcode_tags_from_text($text, $expected) : void - { - $this->assertSame($expected, StringHumanizer::removeShortcodeTags($text)); - } - - public function removeAllShortcodesProvider() + public static function removeAllShortcodesProvider() { return [ ['some [text] containing [shortcodes /] and [stuff]with[/stuff] content', 'some containing and content'], @@ -87,7 +24,7 @@ public function removeAllShortcodesProvider() ]; } - public function removeShortcodeTagsProvider() + public static function removeShortcodeTagsProvider() { return [ ['some [text] containing [shortcodes /] and [stuff]with[/stuff] content', 'some containing and with content'], @@ -98,7 +35,7 @@ public function removeShortcodeTagsProvider() /** * @return array */ - public function humanizeStringProvider() + public static function humanizeStringProvider() { return [ ['news_count', 'News count', true, '_', ['id']], @@ -114,7 +51,7 @@ public function humanizeStringProvider() /** * @return array */ - public function truncateStringProvider() + public static function truncateStringProvider() { $longText = 'Lorem ipsum dolorem si amet, lorem ipsum. Dolorem sic et nunc.'; $shortText = 'Short text'; @@ -142,7 +79,7 @@ public function truncateStringProvider() /** * @return array */ - public function truncateHtmlStringProvider() + public static function truncateHtmlStringProvider() { $text = '

HyperText Markup Language, commonly referred to as HTML, is the standard markup language used to create web pages.[1] Web browsers can read HTML files and render them into visible or audible web pages. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language.

'; @@ -162,4 +99,67 @@ public function truncateHtmlStringProvider() [$text, 75, '', 'HyperText Markup Language, commonly referred to as HTML, is the standard markup...', '...'], ]; } + + /** + * @dataProvider humanizeStringProvider + * + * @param $input + * @param $expected + * @param $capitalize + * @param $separator + * @param array $forbiddenWords + */ + public function test_humanize_strings($input, $expected, $capitalize, $separator, array $forbiddenWords) : void + { + $this->assertSame($expected, StringHumanizer::humanize($input, $capitalize, $separator, $forbiddenWords)); + } + + /** + * @dataProvider truncateStringProvider + * + * @param $text + * @param $expected + * @param $charactersCount + * @param string $append + */ + public function test_truncate_string_to_word_closest_to_a_certain_number_of_characters($text, $expected, $charactersCount, $append = '') : void + { + $this->assertSame($expected, StringHumanizer::truncate($text, $charactersCount, $append)); + } + + /** + * @dataProvider truncateHtmlStringProvider + * + * @param $text + * @param $charactersCount + * @param $allowedTags + * @param $expected + * @param $append + */ + public function test_truncate_string_to_word_closest_to_a_certain_number_of_characters_with_html_tags($text, $charactersCount, $allowedTags, $expected, $append = '') : void + { + $this->assertSame($expected, StringHumanizer::truncateHtml($text, $charactersCount, $allowedTags, $append)); + } + + /** + * @dataProvider removeAllShortcodesProvider + * + * @param $text + * @param $expected + */ + public function test_remove_all_shortcodes_from_text($text, $expected) : void + { + $this->assertSame($expected, StringHumanizer::removeShortcodes($text)); + } + + /** + * @dataProvider removeShortcodeTagsProvider + * + * @param $text + * @param $expected + */ + public function test_remove_only_shortcode_tags_from_text($text, $expected) : void + { + $this->assertSame($expected, StringHumanizer::removeShortcodeTags($text)); + } } diff --git a/tools/composer.json b/tools/composer.json index 797e9e8..31cd76d 100644 --- a/tools/composer.json +++ b/tools/composer.json @@ -3,9 +3,8 @@ "description": "PHP Humanizer - Tools", "autoload": {}, "require-dev": { - "phpunit/phpunit": "^9.5", - "vimeo/psalm": "^4.6", - "phpstan/phpstan": "^1.0.0", - "friendsofphp/php-cs-fixer": "^3.1" + "phpunit/phpunit": "^10", + "phpstan/phpstan": "^1", + "friendsofphp/php-cs-fixer": "^3.53" } } diff --git a/tools/composer.lock b/tools/composer.lock index 702dbc0..25cea75 100644 --- a/tools/composer.lock +++ b/tools/composer.lock @@ -4,136 +4,35 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "489c61ff2dc7801b7b9e59e0d3622b3a", + "content-hash": "52130002fb8d6b03652b0158924085b4", "packages": [], "packages-dev": [ { - "name": "amphp/amp", - "version": "v2.6.2", + "name": "clue/ndjson-react", + "version": "v1.3.0", "source": { "type": "git", - "url": "https://github.com/amphp/amp.git", - "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" + "url": "https://github.com/clue/reactphp-ndjson.git", + "reference": "392dc165fce93b5bb5c637b67e59619223c931b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", - "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "url": "https://api.github.com/repos/clue/reactphp-ndjson/zipball/392dc165fce93b5bb5c637b67e59619223c931b0", + "reference": "392dc165fce93b5bb5c637b67e59619223c931b0", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=5.3", + "react/stream": "^1.2" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1", - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^7 | ^8 | ^9", - "psalm/phar": "^3.11@dev", - "react/promise": "^2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "files": [ - "lib/functions.php", - "lib/Internal/functions.php" - ], - "psr-4": { - "Amp\\": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Lowrey", - "email": "rdlowrey@php.net" - }, - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Bob Weinand", - "email": "bobwei9@hotmail.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "A non-blocking concurrency framework for PHP applications.", - "homepage": "https://amphp.org/amp", - "keywords": [ - "async", - "asynchronous", - "awaitable", - "concurrency", - "event", - "event-loop", - "future", - "non-blocking", - "promise" - ], - "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.6.2" - }, - "funding": [ - { - "url": "https://github.com/amphp", - "type": "github" - } - ], - "time": "2022-02-20T17:52:18+00:00" - }, - { - "name": "amphp/byte-stream", - "version": "v1.8.1", - "source": { - "type": "git", - "url": "https://github.com/amphp/byte-stream.git", - "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", - "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", - "shasum": "" - }, - "require": { - "amphp/amp": "^2", - "php": ">=7.1" - }, - "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.4", - "friendsofphp/php-cs-fixer": "^2.3", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6 || ^7 || ^8", - "psalm/phar": "^3.11.4" + "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35", + "react/event-loop": "^1.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, "autoload": { - "files": [ - "lib/functions.php" - ], "psr-4": { - "Amp\\ByteStream\\": "lib" + "Clue\\React\\NDJson\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -142,134 +41,68 @@ ], "authors": [ { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" + "name": "Christian Lück", + "email": "christian@clue.engineering" } ], - "description": "A stream abstraction to make working with non-blocking I/O simple.", - "homepage": "http://amphp.org/byte-stream", + "description": "Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.", + "homepage": "https://github.com/clue/reactphp-ndjson", "keywords": [ - "amp", - "amphp", - "async", - "io", - "non-blocking", - "stream" - ], - "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/v1.8.1" - }, - "funding": [ - { - "url": "https://github.com/amphp", - "type": "github" - } - ], - "time": "2021-03-30T17:13:30+00:00" - }, - { - "name": "composer/package-versions-deprecated", - "version": "1.11.99.5", - "source": { - "type": "git", - "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", - "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.1.0 || ^2.0", - "php": "^7 || ^8" - }, - "replace": { - "ocramius/package-versions": "1.11.99" - }, - "require-dev": { - "composer/composer": "^1.9.3 || ^2.0@dev", - "ext-zip": "^1.13", - "phpunit/phpunit": "^6.5 || ^7" - }, - "type": "composer-plugin", - "extra": { - "class": "PackageVersions\\Installer", - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "PackageVersions\\": "src/PackageVersions" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" + "NDJSON", + "json", + "jsonlines", + "newline", + "reactphp", + "streaming" ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" - } - ], - "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", "support": { - "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" + "issues": "https://github.com/clue/reactphp-ndjson/issues", + "source": "https://github.com/clue/reactphp-ndjson/tree/v1.3.0" }, "funding": [ { - "url": "https://packagist.com", + "url": "https://clue.engineering/support", "type": "custom" }, { - "url": "https://github.com/composer", + "url": "https://github.com/clue", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" } ], - "time": "2022-01-17T14:14:24+00:00" + "time": "2022-12-23T10:58:28+00:00" }, { "name": "composer/pcre", - "version": "3.0.0", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd" + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/e300eb6c535192decd27a85bc72a9290f0d6b3bd", - "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd", + "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e", + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e", "shasum": "" }, "require": { "php": "^7.4 || ^8.0" }, + "conflict": { + "phpstan/phpstan": "<1.11.10" + }, "require-dev": { - "phpstan/phpstan": "^1.3", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^5" + "phpstan/phpstan": "^1.12 || ^2", + "phpstan/phpstan-strict-rules": "^1 || ^2", + "phpunit/phpunit": "^8 || ^9" }, "type": "library", "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + }, "branch-alias": { "dev-main": "3.x-dev" } @@ -299,7 +132,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.0.0" + "source": "https://github.com/composer/pcre/tree/3.3.2" }, "funding": [ { @@ -315,28 +148,28 @@ "type": "tidelift" } ], - "time": "2022-02-25T20:21:48+00:00" + "time": "2024-11-12T16:29:46+00:00" }, { "name": "composer/semver", - "version": "3.3.2", + "version": "3.4.4", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" + "reference": "198166618906cb2de69b95d7d47e5fa8aa1b2b95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/composer/semver/zipball/198166618906cb2de69b95d7d47e5fa8aa1b2b95", + "reference": "198166618906cb2de69b95d7d47e5fa8aa1b2b95", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.11", + "symfony/phpunit-bridge": "^3 || ^7" }, "type": "library", "extra": { @@ -378,9 +211,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.3.2" + "source": "https://github.com/composer/semver/tree/3.4.4" }, "funding": [ { @@ -390,26 +223,22 @@ { "url": "https://github.com/composer", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" } ], - "time": "2022-04-01T19:23:25+00:00" + "time": "2025-08-20T19:15:30+00:00" }, { "name": "composer/xdebug-handler", - "version": "3.0.3", + "version": "3.0.5", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ced299686f41dce890debac69273b47ffe98a40c" + "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6c1925561632e83d60a44492e0b344cf48ab85ef", + "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef", "shasum": "" }, "require": { @@ -420,7 +249,7 @@ "require-dev": { "phpstan/phpstan": "^1.0", "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" + "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5" }, "type": "library", "autoload": { @@ -444,9 +273,9 @@ "performance" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.5" }, "funding": [ { @@ -462,76 +291,87 @@ "type": "tidelift" } ], - "time": "2022-02-25T21:32:43+00:00" + "time": "2024-05-06T16:37:16+00:00" }, { - "name": "dnoegel/php-xdg-base-dir", - "version": "v0.1.1", + "name": "evenement/evenement", + "version": "v3.0.2", "source": { "type": "git", - "url": "https://github.com/dnoegel/php-xdg-base-dir.git", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" + "url": "https://github.com/igorw/evenement.git", + "reference": "0a16b0d71ab13284339abb99d9d2bd813640efbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "url": "https://api.github.com/repos/igorw/evenement/zipball/0a16b0d71ab13284339abb99d9d2bd813640efbc", + "reference": "0a16b0d71ab13284339abb99d9d2bd813640efbc", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": ">=7.0" }, "require-dev": { - "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" + "phpunit/phpunit": "^9 || ^6" }, "type": "library", "autoload": { "psr-4": { - "XdgBaseDir\\": "src/" + "Evenement\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "implementation of xdg base directory specification for php", + "authors": [ + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + } + ], + "description": "Événement is a very simple event dispatching library for PHP", + "keywords": [ + "event-dispatcher", + "event-emitter" + ], "support": { - "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", - "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" + "issues": "https://github.com/igorw/evenement/issues", + "source": "https://github.com/igorw/evenement/tree/v3.0.2" }, - "time": "2019-12-04T15:06:13+00:00" + "time": "2023-08-08T05:53:35+00:00" }, { - "name": "doctrine/annotations", - "version": "1.13.2", + "name": "fidry/cpu-core-counter", + "version": "1.3.0", "source": { "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08" + "url": "https://github.com/theofidry/cpu-core-counter.git", + "reference": "db9508f7b1474469d9d3c53b86f817e344732678" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/5b668aef16090008790395c02c893b1ba13f7e08", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/db9508f7b1474469d9d3c53b86f817e344732678", + "reference": "db9508f7b1474469d9d3c53b86f817e344732678", "shasum": "" }, "require": { - "doctrine/lexer": "1.*", - "ext-tokenizer": "*", - "php": "^7.1 || ^8.0", - "psr/cache": "^1 || ^2 || ^3" + "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/cache": "^1.11 || ^2.0", - "doctrine/coding-standard": "^6.0 || ^8.1", - "phpstan/phpstan": "^0.12.20", - "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", - "symfony/cache": "^4.4 || ^5.2" + "fidry/makefile": "^0.2.0", + "fidry/php-cs-fixer-config": "^1.1.2", + "phpstan/extension-installer": "^1.2.0", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-deprecation-rules": "^2.0.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^8.5.31 || ^9.5.26", + "webmozarts/strict-phpunit": "^7.5" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" + "Fidry\\CpuCoreCounter\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -540,71 +380,96 @@ ], "authors": [ { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" + "name": "Théo FIDRY", + "email": "theo.fidry@gmail.com" } ], - "description": "Docblock Annotations Parser", - "homepage": "https://www.doctrine-project.org/projects/annotations.html", + "description": "Tiny utility to get the number of CPU cores.", "keywords": [ - "annotations", - "docblock", - "parser" + "CPU", + "core" ], "support": { - "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.13.2" + "issues": "https://github.com/theofidry/cpu-core-counter/issues", + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.3.0" }, - "time": "2021-08-05T19:00:23+00:00" + "funding": [ + { + "url": "https://github.com/theofidry", + "type": "github" + } + ], + "time": "2025-08-14T07:29:31+00:00" }, { - "name": "doctrine/instantiator", - "version": "1.4.1", + "name": "friendsofphp/php-cs-fixer", + "version": "v3.91.3", "source": { "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" + "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", + "reference": "9f10aa6390cea91da175ea608880e942d7c0226e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/9f10aa6390cea91da175ea608880e942d7c0226e", + "reference": "9f10aa6390cea91da175ea608880e942d7c0226e", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "clue/ndjson-react": "^1.3", + "composer/semver": "^3.4", + "composer/xdebug-handler": "^3.0.5", + "ext-filter": "*", + "ext-hash": "*", + "ext-json": "*", + "ext-tokenizer": "*", + "fidry/cpu-core-counter": "^1.3", + "php": "^7.4 || ^8.0", + "react/child-process": "^0.6.6", + "react/event-loop": "^1.5", + "react/socket": "^1.16", + "react/stream": "^1.4", + "sebastian/diff": "^4.0.6 || ^5.1.1 || ^6.0.2 || ^7.0", + "symfony/console": "^5.4.47 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/event-dispatcher": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/filesystem": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/finder": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/options-resolver": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", + "symfony/polyfill-mbstring": "^1.33", + "symfony/polyfill-php80": "^1.33", + "symfony/polyfill-php81": "^1.33", + "symfony/polyfill-php84": "^1.33", + "symfony/process": "^5.4.47 || ^6.4.24 || ^7.2 || ^8.0", + "symfony/stopwatch": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.22" + "facile-it/paraunit": "^1.3.1 || ^2.7", + "infection/infection": "^0.31.0", + "justinrainbow/json-schema": "^6.5", + "keradus/cli-executor": "^2.2", + "mikey179/vfsstream": "^1.6.12", + "php-coveralls/php-coveralls": "^2.9", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.6", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.6", + "phpunit/phpunit": "^9.6.25 || ^10.5.53 || ^11.5.34", + "symfony/var-dumper": "^5.4.48 || ^6.4.24 || ^7.3.2 || ^8.0", + "symfony/yaml": "^5.4.45 || ^6.4.24 || ^7.3.2 || ^8.0" }, - "type": "library", + "suggest": { + "ext-dom": "For handling output formats in XML", + "ext-mbstring": "For handling non-UTF8 characters." + }, + "bin": [ + "php-cs-fixer" + ], + "type": "application", "autoload": { "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } + "PhpCsFixer\\": "src/" + }, + "exclude-from-classmap": [ + "src/**/Internal/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -612,547 +477,362 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Dariusz Rumiński", + "email": "dariusz.ruminski@gmail.com" } ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "description": "A tool to automatically fix PHP code style", "keywords": [ - "constructor", - "instantiate" + "Static code analysis", + "fixer", + "standards", + "static analysis" ], "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.1" + "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.91.3" }, "funding": [ { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" + "url": "https://github.com/keradus", + "type": "github" } ], - "time": "2022-03-03T08:28:38+00:00" + "time": "2025-12-05T19:45:37+00:00" }, { - "name": "doctrine/lexer", - "version": "1.2.3", + "name": "myclabs/deep-copy", + "version": "1.13.4", "source": { "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3 <3.2.2" + }, "require-dev": { - "doctrine/coding-standard": "^9.0", - "phpstan/phpstan": "^1.3", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.11" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], "psr-4": { - "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + "DeepCopy\\": "src/DeepCopy/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "description": "Create deep copies (clones) of your objects", "keywords": [ - "annotations", - "docblock", - "lexer", - "parser", - "php" + "clone", + "copy", + "duplicate", + "object", + "object graph" ], "support": { - "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.3" + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" }, "funding": [ { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", "type": "tidelift" } ], - "time": "2022-02-28T11:07:21+00:00" + "time": "2025-08-01T08:46:24+00:00" }, { - "name": "felixfbecker/advanced-json-rpc", - "version": "v3.2.1", + "name": "nikic/php-parser", + "version": "v5.7.0", "source": { "type": "git", - "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", - "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447" + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447", - "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/dca41cd15c2ac9d055ad70dbfd011130757d1f82", + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82", "shasum": "" }, "require": { - "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "php": "^7.1 || ^8.0", - "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0" + "ext-ctype": "*", + "ext-json": "*", + "ext-tokenizer": "*", + "php": ">=7.4" }, "require-dev": { - "phpunit/phpunit": "^7.0 || ^8.0" + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^9.0" }, + "bin": [ + "bin/php-parse" + ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, "autoload": { "psr-4": { - "AdvancedJsonRpc\\": "lib/" + "PhpParser\\": "lib/PhpParser" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "ISC" + "BSD-3-Clause" ], "authors": [ { - "name": "Felix Becker", - "email": "felix.b@outlook.com" + "name": "Nikita Popov" } ], - "description": "A more advanced JSONRPC implementation", + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], "support": { - "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", - "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1" + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v5.7.0" }, - "time": "2021-06-11T22:34:44+00:00" + "time": "2025-12-06T11:56:16+00:00" }, { - "name": "felixfbecker/language-server-protocol", - "version": "v1.5.2", + "name": "phar-io/manifest", + "version": "2.0.4", "source": { "type": "git", - "url": "https://github.com/felixfbecker/php-language-server-protocol.git", - "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" + "url": "https://github.com/phar-io/manifest.git", + "reference": "54750ef60c58e43759730615a392c31c80e23176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", - "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", "shasum": "" }, "require": { - "php": ">=7.1" - }, - "require-dev": { - "phpstan/phpstan": "*", - "squizlabs/php_codesniffer": "^3.1", - "vimeo/psalm": "^4.0" + "ext-dom": "*", + "ext-libxml": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { - "psr-4": { - "LanguageServerProtocol\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "ISC" + "BSD-3-Clause" ], "authors": [ { - "name": "Felix Becker", - "email": "felix.b@outlook.com" - } - ], - "description": "PHP classes for the Language Server Protocol", - "keywords": [ - "language", - "microsoft", - "php", - "server" - ], - "support": { - "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", - "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" - }, - "time": "2022-03-02T22:36:06+00:00" - }, - { - "name": "friendsofphp/php-cs-fixer", - "version": "v3.8.0", - "source": { - "type": "git", - "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3", - "reference": "cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3", - "shasum": "" - }, - "require": { - "composer/semver": "^3.2", - "composer/xdebug-handler": "^3.0.3", - "doctrine/annotations": "^1.13", - "ext-json": "*", - "ext-tokenizer": "*", - "php": "^7.4 || ^8.0", - "php-cs-fixer/diff": "^2.0", - "symfony/console": "^5.4 || ^6.0", - "symfony/event-dispatcher": "^5.4 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0", - "symfony/finder": "^5.4 || ^6.0", - "symfony/options-resolver": "^5.4 || ^6.0", - "symfony/polyfill-mbstring": "^1.23", - "symfony/polyfill-php80": "^1.25", - "symfony/polyfill-php81": "^1.25", - "symfony/process": "^5.4 || ^6.0", - "symfony/stopwatch": "^5.4 || ^6.0" - }, - "require-dev": { - "justinrainbow/json-schema": "^5.2", - "keradus/cli-executor": "^1.5", - "mikey179/vfsstream": "^1.6.10", - "php-coveralls/php-coveralls": "^2.5.2", - "php-cs-fixer/accessible-object": "^1.1", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", - "phpspec/prophecy": "^1.15", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5", - "phpunitgoodpractices/polyfill": "^1.5", - "phpunitgoodpractices/traits": "^1.9.1", - "symfony/phpunit-bridge": "^6.0", - "symfony/yaml": "^5.4 || ^6.0" - }, - "suggest": { - "ext-dom": "For handling output formats in XML", - "ext-mbstring": "For handling non-UTF8 characters." - }, - "bin": [ - "php-cs-fixer" - ], - "type": "application", - "autoload": { - "psr-4": { - "PhpCsFixer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" }, { - "name": "Dariusz Rumiński", - "email": "dariusz.ruminski@gmail.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" } ], - "description": "A tool to automatically fix PHP code style", + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { - "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.8.0" + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.4" }, "funding": [ { - "url": "https://github.com/keradus", + "url": "https://github.com/theseer", "type": "github" } ], - "time": "2022-03-18T17:20:59+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" - }, - "require-dev": { - "doctrine/collections": "^1.6.8", - "doctrine/common": "^2.13.3 || ^3.2.2", - "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" - }, - "type": "library", - "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Create deep copies (clones) of your objects", - "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" - ], - "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" - } - ], - "time": "2022-03-03T13:19:32+00:00" + "time": "2024-03-03T12:33:53+00:00" }, { - "name": "netresearch/jsonmapper", - "version": "v4.0.0", + "name": "phar-io/version", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d" + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d", - "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { - "ext-json": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-spl": "*", - "php": ">=7.1" - }, - "require-dev": { - "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", - "squizlabs/php_codesniffer": "~3.5" + "php": "^7.2 || ^8.0" }, "type": "library", "autoload": { - "psr-0": { - "JsonMapper": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "OSL-3.0" + "BSD-3-Clause" ], "authors": [ { - "name": "Christian Weiske", - "email": "cweiske@cweiske.de", - "homepage": "http://github.com/cweiske/jsonmapper/", + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", "role": "Developer" } ], - "description": "Map nested JSON structures onto PHP classes", + "description": "Library for handling version information and constraints", "support": { - "email": "cweiske@cweiske.de", - "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.0.0" + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2020-12-01T19:48:11+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { - "name": "nikic/php-parser", - "version": "v4.14.0", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1" - }, + "name": "phpstan/phpstan", + "version": "1.12.32", "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/34bea19b6e03d8153165d8f30bba4c3be86184c1", - "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2770dcdf5078d0b0d53f94317e06affe88419aa8", + "reference": "2770dcdf5078d0b0d53f94317e06affe88419aa8", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=7.0" + "php": "^7.2|^8.0" }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "conflict": { + "phpstan/phpstan-shim": "*" }, "bin": [ - "bin/php-parse" + "phpstan", + "phpstan.phar" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } + "files": [ + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } + "MIT" ], - "description": "A PHP parser written in PHP", + "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ - "parser", - "php" + "dev", + "static analysis" ], "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.14.0" - }, - "time": "2022-05-31T20:59:12+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": "" - } + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ + "funding": [ { - "name": "Bryan Tong", - "email": "bryan@nullivex.com", - "homepage": "https://www.nullivex.com" + "url": "https://github.com/ondrejmirtes", + "type": "github" }, { - "name": "Tony Butler", - "email": "spudz76@gmail.com", - "homepage": "https://www.nullivex.com" + "url": "https://github.com/phpstan", + "type": "github" } ], - "description": "Array2XML conversion library credit to lalit.org", - "homepage": "https://www.nullivex.com", - "keywords": [ - "array", - "array conversion", - "xml", - "xml conversion" - ], - "support": { - "issues": "https://github.com/nullivex/lib-array2xml/issues", - "source": "https://github.com/nullivex/lib-array2xml/tree/master" - }, - "time": "2019-03-29T20:06:56+00:00" + "time": "2025-09-30T10:16:31+00:00" }, { - "name": "phar-io/manifest", - "version": "2.0.3", + "name": "phpunit/php-code-coverage", + "version": "10.1.16", "source": { "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "7e308268858ed6baedc8704a304727d20bc07c77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7e308268858ed6baedc8704a304727d20bc07c77", + "reference": "7e308268858ed6baedc8704a304727d20bc07c77", "shasum": "" }, "require": { "ext-dom": "*", - "ext-phar": "*", + "ext-libxml": "*", "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" + "nikic/php-parser": "^4.19.1 || ^5.1.0", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-text-template": "^3.0.1", + "sebastian/code-unit-reverse-lookup": "^3.0.0", + "sebastian/complexity": "^3.2.0", + "sebastian/environment": "^6.1.0", + "sebastian/lines-of-code": "^2.0.2", + "sebastian/version": "^4.0.1", + "theseer/tokenizer": "^1.2.3" + }, + "require-dev": { + "phpunit/phpunit": "^10.1" + }, + "suggest": { + "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": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-main": "10.1.x-dev" } }, "autoload": { @@ -1165,102 +845,58 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de", - "role": "Developer" + "role": "lead" } ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" - }, - "time": "2021-07-20T11:28:43+00:00" - }, - { - "name": "phar-io/version", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.16" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, + "funding": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "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.2.1" - }, - "time": "2022-02-21T01:04:05+00:00" + "time": "2024-08-22T04:31:57+00:00" }, { - "name": "php-cs-fixer/diff", - "version": "v2.0.2", + "name": "phpunit/php-file-iterator", + "version": "4.1.0", "source": { "type": "git", - "url": "https://github.com/PHP-CS-Fixer/diff.git", - "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3" + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/29dc0d507e838c4580d018bd8b5cb412474f7ec3", - "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0 || ^8.0" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", - "symfony/process": "^3.3" + "phpunit/phpunit": "^10.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, "autoload": { "classmap": [ "src/" @@ -1273,757 +909,723 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "sebastian/diff v3 backport support for PHP 5.6+", - "homepage": "https://github.com/PHP-CS-Fixer", + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", "keywords": [ - "diff" + "filesystem", + "iterator" ], "support": { - "issues": "https://github.com/PHP-CS-Fixer/diff/issues", - "source": "https://github.com/PHP-CS-Fixer/diff/tree/v2.0.2" - }, - "time": "2020-10-14T08:32:19+00:00" - }, - { - "name": "phpdocumentor/reflection-common", - "version": "2.2.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-2.x": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src/" - } + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "funding": [ { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" - ], - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" - }, - "time": "2020-06-27T09:03:43+00:00" + "time": "2023-08-31T06:24:48+00:00" }, { - "name": "phpdocumentor/reflection-docblock", - "version": "5.3.0", + "name": "phpunit/php-invoker", + "version": "4.0.0", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", "shasum": "" }, "require": { - "ext-filter": "*", - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", - "webmozart/assert": "^1.9.1" + "php": ">=8.1" }, "require-dev": { - "mockery/mockery": "~1.3.2", - "psalm/phar": "^4.8" + "ext-pcntl": "*", + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-pcntl": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.x-dev" + "dev-main": "4.0-dev" } }, "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - }, - { - "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], "support": { - "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" }, - "time": "2021-10-19T17:43:47+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:56:09+00:00" }, { - "name": "phpdocumentor/type-resolver", - "version": "1.6.1", + "name": "phpunit/php-text-template", + "version": "3.0.1", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "77a32518733312af16a44300404e945338981de3" + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3", - "reference": "77a32518733312af16a44300404e945338981de3", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" + "php": ">=8.1" }, "require-dev": { - "ext-tokenizer": "*", - "psalm/phar": "^4.8" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-1.x": "1.x-dev" + "dev-main": "3.0-dev" } }, "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1" + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" }, - "time": "2022-03-15T21:29:03+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-31T14:07:24+00:00" }, { - "name": "phpspec/prophecy", - "version": "v1.15.0", + "name": "phpunit/php-timer", + "version": "6.0.0", "source": { "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", "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" + "php": ">=8.1" }, "require-dev": { - "phpspec/phpspec": "^6.0 || ^7.0", - "phpunit/phpunit": "^8.0 || ^9.0" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "6.0-dev" } }, "autoload": { - "psr-4": { - "Prophecy\\": "src/Prophecy" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" + "timer" ], "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" }, - "time": "2021-12-08T12:19:24+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:57:52+00:00" }, { - "name": "phpstan/phpstan", - "version": "1.7.11", + "name": "phpunit/phpunit", + "version": "10.5.60", "source": { "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "62fcadcde81b4037e42ad2489119d31c46f00191" + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "f2e26f52f80ef77832e359205f216eeac00e320c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/62fcadcde81b4037e42ad2489119d31c46f00191", - "reference": "62fcadcde81b4037e42ad2489119d31c46f00191", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f2e26f52f80ef77832e359205f216eeac00e320c", + "reference": "f2e26f52f80ef77832e359205f216eeac00e320c", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.13.4", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.1.16", + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-invoker": "^4.0.0", + "phpunit/php-text-template": "^3.0.1", + "phpunit/php-timer": "^6.0.0", + "sebastian/cli-parser": "^2.0.1", + "sebastian/code-unit": "^2.0.0", + "sebastian/comparator": "^5.0.4", + "sebastian/diff": "^5.1.1", + "sebastian/environment": "^6.1.0", + "sebastian/exporter": "^5.1.4", + "sebastian/global-state": "^6.0.2", + "sebastian/object-enumerator": "^5.0.0", + "sebastian/recursion-context": "^5.0.1", + "sebastian/type": "^4.0.0", + "sebastian/version": "^4.0.1" }, - "conflict": { - "phpstan/phpstan-shim": "*" + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files" }, "bin": [ - "phpstan", - "phpstan.phar" + "phpunit" ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "10.5-dev" + } + }, "autoload": { "files": [ - "bootstrap.php" + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" ], - "description": "PHPStan - PHP Static Analysis Tool", "support": { - "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.7.11" + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.60" }, "funding": [ { - "url": "https://github.com/ondrejmirtes", - "type": "github" + "url": "https://phpunit.de/sponsors.html", + "type": "custom" }, { - "url": "https://github.com/phpstan", + "url": "https://github.com/sebastianbergmann", "type": "github" }, { - "url": "https://www.patreon.com/phpstan", - "type": "patreon" + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" }, { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", "type": "tidelift" } ], - "time": "2022-06-07T08:47:03+00:00" + "time": "2025-12-06T07:50:42+00:00" }, { - "name": "phpunit/php-code-coverage", - "version": "9.2.15", + "name": "psr/container", + "version": "2.0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", - "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-libxml": "*", - "ext-xmlwriter": "*", - "nikic/php-parser": "^4.13.0", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" + "php": ">=7.4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Psr\\Container\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", "keywords": [ - "coverage", - "testing", - "xunit" + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-03-07T09:28:20+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", + "name": "psr/event-dispatcher", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", "shasum": "" }, "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" + "php": ">=7.2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "description": "Standard interfaces for event handling.", "keywords": [ - "filesystem", - "iterator" + "events", + "psr", + "psr-14" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-12-02T12:48:52+00:00" + "time": "2019-01-08T18:20:26+00:00" }, { - "name": "phpunit/php-invoker", - "version": "3.1.1", + "name": "psr/log", + "version": "3.0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + "url": "https://github.com/php-fig/log.git", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { - "php": ">=7.3" - }, - "require-dev": { - "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcntl": "*" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Psr\\Log\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", "keywords": [ - "process" + "log", + "psr", + "psr-3" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:58:55+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { - "name": "phpunit/php-text-template", - "version": "2.0.4", + "name": "react/cache", + "version": "v1.2.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + "url": "https://github.com/reactphp/cache.git", + "reference": "d47c472b64aa5608225f47965a484b75c7817d5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "url": "https://api.github.com/repos/reactphp/cache/zipball/d47c472b64aa5608225f47965a484b75c7817d5b", + "reference": "d47c472b64aa5608225f47965a484b75c7817d5b", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=5.3.0", + "react/promise": "^3.0 || ^2.0 || ^1.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "React\\Cache\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" } ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "description": "Async, Promise-based cache interface for ReactPHP", "keywords": [ - "template" + "cache", + "caching", + "promise", + "reactphp" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + "issues": "https://github.com/reactphp/cache/issues", + "source": "https://github.com/reactphp/cache/tree/v1.2.0" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", - "type": "github" + "url": "https://opencollective.com/reactphp", + "type": "open_collective" } ], - "time": "2020-10-26T05:33:50+00:00" + "time": "2022-11-30T15:59:55+00:00" }, { - "name": "phpunit/php-timer", - "version": "5.0.3", + "name": "react/child-process", + "version": "v0.6.6", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + "url": "https://github.com/reactphp/child-process.git", + "reference": "1721e2b93d89b745664353b9cfc8f155ba8a6159" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "url": "https://api.github.com/repos/reactphp/child-process/zipball/1721e2b93d89b745664353b9cfc8f155ba8a6159", + "reference": "1721e2b93d89b745664353b9cfc8f155ba8a6159", "shasum": "" }, "require": { - "php": ">=7.3" + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "php": ">=5.3.0", + "react/event-loop": "^1.2", + "react/stream": "^1.4" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/socket": "^1.16", + "sebastian/environment": "^5.0 || ^3.0 || ^2.0 || ^1.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] + "autoload": { + "psr-4": { + "React\\ChildProcess\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" } ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", + "description": "Event-driven library for executing child processes with ReactPHP.", "keywords": [ - "timer" + "event-driven", + "process", + "reactphp" ], "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + "issues": "https://github.com/reactphp/child-process/issues", + "source": "https://github.com/reactphp/child-process/tree/v0.6.6" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", - "type": "github" + "url": "https://opencollective.com/reactphp", + "type": "open_collective" } ], - "time": "2020-10-26T13:16:10+00:00" + "time": "2025-01-01T16:37:48+00:00" }, { - "name": "phpunit/phpunit", - "version": "9.5.20", + "name": "react/dns", + "version": "v1.14.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba" + "url": "https://github.com/reactphp/dns.git", + "reference": "7562c05391f42701c1fccf189c8225fece1cd7c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/12bc8879fb65aef2138b26fc633cb1e3620cffba", - "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba", + "url": "https://api.github.com/repos/reactphp/dns/zipball/7562c05391f42701c1fccf189c8225fece1cd7c3", + "reference": "7562c05391f42701c1fccf189c8225fece1cd7c3", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "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.13", - "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/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.3", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.0", - "sebastian/version": "^3.0.2" + "php": ">=5.3.0", + "react/cache": "^1.0 || ^0.6 || ^0.5", + "react/event-loop": "^1.2", + "react/promise": "^3.2 || ^2.7 || ^1.2.1" }, "require-dev": { - "ext-pdo": "*", - "phpspec/prophecy-phpunit": "^2.0.1" + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/async": "^4.3 || ^3 || ^2", + "react/promise-timer": "^1.11" }, - "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" - }, - "bin": [ - "phpunit" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.5-dev" - } - }, "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], - "classmap": [ - "src/" - ] + "psr-4": { + "React\\Dns\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" } ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", + "description": "Async DNS resolver for ReactPHP", "keywords": [ - "phpunit", - "testing", - "xunit" + "async", + "dns", + "dns-resolver", + "reactphp" ], "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.20" + "issues": "https://github.com/reactphp/dns/issues", + "source": "https://github.com/reactphp/dns/tree/v1.14.0" }, "funding": [ { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" + "url": "https://opencollective.com/reactphp", + "type": "open_collective" } ], - "time": "2022-04-01T12:37:26+00:00" + "time": "2025-11-18T19:34:28+00:00" }, { - "name": "psr/cache", - "version": "1.0.1", + "name": "react/event-loop", + "version": "v1.6.0", "source": { "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + "url": "https://github.com/reactphp/event-loop.git", + "reference": "ba276bda6083df7e0050fd9b33f66ad7a4ac747a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "url": "https://api.github.com/repos/reactphp/event-loop/zipball/ba276bda6083df7e0050fd9b33f66ad7a4ac747a", + "reference": "ba276bda6083df7e0050fd9b33f66ad7a4ac747a", "shasum": "" }, "require": { "php": ">=5.3.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" + }, + "suggest": { + "ext-pcntl": "For signal handling support when using the StreamSelectLoop" }, + "type": "library", "autoload": { "psr-4": { - "Psr\\Cache\\": "src/" + "React\\EventLoop\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2032,42 +1634,71 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" } ], - "description": "Common interface for caching libraries", + "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.", "keywords": [ - "cache", - "psr", - "psr-6" + "asynchronous", + "event-loop" ], "support": { - "source": "https://github.com/php-fig/cache/tree/master" + "issues": "https://github.com/reactphp/event-loop/issues", + "source": "https://github.com/reactphp/event-loop/tree/v1.6.0" }, - "time": "2016-08-06T20:24:11+00:00" + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2025-11-17T20:46:25+00:00" }, { - "name": "psr/container", - "version": "1.1.2", + "name": "react/promise", + "version": "v3.3.0", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + "url": "https://github.com/reactphp/promise.git", + "reference": "23444f53a813a3296c1368bb104793ce8d88f04a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://api.github.com/repos/reactphp/promise/zipball/23444f53a813a3296c1368bb104793ce8d88f04a", + "reference": "23444f53a813a3296c1368bb104793ce8d88f04a", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=7.1.0" + }, + "require-dev": { + "phpstan/phpstan": "1.12.28 || 1.4.10", + "phpunit/phpunit": "^9.6 || ^7.5" }, "type": "library", "autoload": { + "files": [ + "src/functions_include.php" + ], "psr-4": { - "Psr\\Container\\": "src/" + "React\\Promise\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2076,51 +1707,75 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "A lightweight implementation of CommonJS Promises/A for PHP", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "promise", + "promises" ], "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" + "issues": "https://github.com/reactphp/promise/issues", + "source": "https://github.com/reactphp/promise/tree/v3.3.0" }, - "time": "2021-11-05T16:50:12+00:00" + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2025-08-19T18:57:03+00:00" }, { - "name": "psr/event-dispatcher", - "version": "1.0.0", + "name": "react/socket", + "version": "v1.17.0", "source": { "type": "git", - "url": "https://github.com/php-fig/event-dispatcher.git", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + "url": "https://github.com/reactphp/socket.git", + "reference": "ef5b17b81f6f60504c539313f94f2d826c5faa08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "url": "https://api.github.com/repos/reactphp/socket/zipball/ef5b17b81f6f60504c539313f94f2d826c5faa08", + "reference": "ef5b17b81f6f60504c539313f94f2d826c5faa08", "shasum": "" }, "require": { - "php": ">=7.2.0" + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "php": ">=5.3.0", + "react/dns": "^1.13", + "react/event-loop": "^1.2", + "react/promise": "^3.2 || ^2.6 || ^1.2.1", + "react/stream": "^1.4" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/async": "^4.3 || ^3.3 || ^2", + "react/promise-stream": "^1.4", + "react/promise-timer": "^1.11" }, + "type": "library", "autoload": { "psr-4": { - "Psr\\EventDispatcher\\": "src/" + "React\\Socket\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2129,48 +1784,73 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" } ], - "description": "Standard interfaces for event handling.", + "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP", "keywords": [ - "events", - "psr", - "psr-14" + "Connection", + "Socket", + "async", + "reactphp", + "stream" ], "support": { - "issues": "https://github.com/php-fig/event-dispatcher/issues", - "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + "issues": "https://github.com/reactphp/socket/issues", + "source": "https://github.com/reactphp/socket/tree/v1.17.0" }, - "time": "2019-01-08T18:20:26+00:00" + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2025-11-19T20:47:34+00:00" }, { - "name": "psr/log", - "version": "1.1.4", + "name": "react/stream", + "version": "v1.4.0", "source": { "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + "url": "https://github.com/reactphp/stream.git", + "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "url": "https://api.github.com/repos/reactphp/stream/zipball/1e5b0acb8fe55143b5b426817155190eb6f5b18d", + "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d", "shasum": "" }, "require": { - "php": ">=5.3.0" + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "php": ">=5.3.8", + "react/event-loop": "^1.2" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } + "require-dev": { + "clue/stream-filter": "~1.2", + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" }, + "type": "library", "autoload": { "psr-4": { - "Psr\\Log\\": "Psr/Log/" + "React\\Stream\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2179,46 +1859,73 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" } ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", + "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP", "keywords": [ - "log", - "psr", - "psr-3" + "event-driven", + "io", + "non-blocking", + "pipe", + "reactphp", + "readable", + "stream", + "writable" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" + "issues": "https://github.com/reactphp/stream/issues", + "source": "https://github.com/reactphp/stream/tree/v1.4.0" }, - "time": "2021-05-03T11:20:27+00:00" + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-06-11T12:45:25+00:00" }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -2241,7 +1948,8 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.1" }, "funding": [ { @@ -2249,32 +1957,32 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2024-03-02T07:12:49+00:00" }, { "name": "sebastian/code-unit", - "version": "1.0.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -2297,7 +2005,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" }, "funding": [ { @@ -2305,32 +2013,32 @@ "type": "github" } ], - "time": "2020-10-26T13:08:54+00:00" + "time": "2023-02-03T06:58:43+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -2352,7 +2060,7 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" }, "funding": [ { @@ -2360,34 +2068,36 @@ "type": "github" } ], - "time": "2020-09-28T05:30:19+00:00" + "time": "2023-02-03T06:59:15+00:00" }, { "name": "sebastian/comparator", - "version": "4.0.6", + "version": "5.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382" + "reference": "e8e53097718d2b53cfb2aa859b06a41abf58c62e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/e8e53097718d2b53cfb2aa859b06a41abf58c62e", + "reference": "e8e53097718d2b53cfb2aa859b06a41abf58c62e", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -2426,41 +2136,54 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.4" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/comparator", + "type": "tidelift" } ], - "time": "2020-10-26T15:49:45+00:00" + "time": "2025-09-07T05:25:07+00:00" }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "68ff824baeae169ec9f2137158ee529584553799" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", + "reference": "68ff824baeae169ec9f2137158ee529584553799", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.2-dev" } }, "autoload": { @@ -2483,7 +2206,8 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" }, "funding": [ { @@ -2491,33 +2215,33 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-12-21T08:37:17+00:00" }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "5.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/c41e007b4b62af48218231d6c2275e4c9b975b2e", + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" + "phpunit/phpunit": "^10.0", + "symfony/process": "^6.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -2549,7 +2273,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.1.1" }, "funding": [ { @@ -2557,27 +2282,27 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2024-03-02T07:15:17+00:00" }, { "name": "sebastian/environment", - "version": "5.1.4", + "version": "6.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/8074dbcd93529b357029f5cc5058fd3e43666984", + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "suggest": { "ext-posix": "*" @@ -2585,7 +2310,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1-dev" + "dev-main": "6.1-dev" } }, "autoload": { @@ -2604,7 +2329,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -2612,7 +2337,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.1.0" }, "funding": [ { @@ -2620,34 +2346,34 @@ "type": "github" } ], - "time": "2022-04-03T09:37:03+00:00" + "time": "2024-03-23T08:47:14+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.4", + "version": "5.1.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" + "reference": "0735b90f4da94969541dac1da743446e276defa6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", - "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/0735b90f4da94969541dac1da743446e276defa6", + "reference": "0735b90f4da94969541dac1da743446e276defa6", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -2689,46 +2415,56 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.4" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/exporter", + "type": "tidelift" } ], - "time": "2021-11-11T14:18:36+00:00" + "time": "2025-09-24T06:09:11+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.5", + "version": "6.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -2747,13 +2483,14 @@ } ], "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", + "homepage": "https://www.github.com/sebastianbergmann/global-state", "keywords": [ "global state" ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.2" }, "funding": [ { @@ -2761,33 +2498,33 @@ "type": "github" } ], - "time": "2022-02-14T08:28:10+00:00" + "time": "2024-03-02T07:19:19+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -2810,7 +2547,8 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" }, "funding": [ { @@ -2818,34 +2556,34 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-12-21T08:38:20+00:00" }, { "name": "sebastian/object-enumerator", - "version": "4.0.4", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -2867,7 +2605,7 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" }, "funding": [ { @@ -2875,32 +2613,32 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2023-02-03T07:08:32+00:00" }, { "name": "sebastian/object-reflector", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -2922,7 +2660,7 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" }, "funding": [ { @@ -2930,32 +2668,32 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-02-03T07:06:18+00:00" }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "47e34210757a2f37a97dcd207d032e1b01e64c7a" }, "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/47e34210757a2f37a97dcd207d032e1b01e64c7a", + "reference": "47e34210757a2f37a97dcd207d032e1b01e64c7a", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -2977,103 +2715,61 @@ "email": "whatthejeff@gmail.com" }, { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.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" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:17:30+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Adam Harvey", + "email": "aharvey@php.net" } ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "security": "https://github.com/sebastianbergmann/recursion-context/security/policy", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/recursion-context", + "type": "tidelift" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2025-08-10T07:50:56+00:00" }, { "name": "sebastian/type", - "version": "3.0.0", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -3096,7 +2792,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" }, "funding": [ { @@ -3104,29 +2800,29 @@ "type": "github" } ], - "time": "2022-03-15T09:54:48+00:00" + "time": "2023-02-03T07:10:45+00:00" }, { "name": "sebastian/version", - "version": "3.0.2", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -3149,7 +2845,7 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" }, "funding": [ { @@ -3157,56 +2853,43 @@ "type": "github" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2023-02-07T11:34:05+00:00" }, { "name": "symfony/console", - "version": "v5.4.9", + "version": "v8.0.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb" + "reference": "fcb73f69d655b48fcb894a262f074218df08bd58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/829d5d1bf60b2efeb0887b7436873becc71a45eb", - "reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb", + "url": "https://api.github.com/repos/symfony/console/zipball/fcb73f69d655b48fcb894a262f074218df08bd58", + "reference": "fcb73f69d655b48fcb894a262f074218df08bd58", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" - }, - "conflict": { - "psr/log": ">=3", - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" + "php": ">=8.4", + "symfony/polyfill-mbstring": "^1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^7.4|^8.0" }, "provide": { - "psr/log-implementation": "1.0|2.0" + "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { - "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "psr/log": "^1|^2|^3", + "symfony/config": "^7.4|^8.0", + "symfony/dependency-injection": "^7.4|^8.0", + "symfony/event-dispatcher": "^7.4|^8.0", + "symfony/http-foundation": "^7.4|^8.0", + "symfony/http-kernel": "^7.4|^8.0", + "symfony/lock": "^7.4|^8.0", + "symfony/messenger": "^7.4|^8.0", + "symfony/process": "^7.4|^8.0", + "symfony/stopwatch": "^7.4|^8.0", + "symfony/var-dumper": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -3235,12 +2918,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.9" + "source": "https://github.com/symfony/console/tree/v8.0.1" }, "funding": [ { @@ -3251,38 +2934,42 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-18T06:17:34+00:00" + "time": "2025-12-05T15:25:33+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -3307,7 +2994,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" }, "funding": [ { @@ -3323,48 +3010,44 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.9", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc" + "reference": "573f95783a2ec6e38752979db139f09fec033f03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", - "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/573f95783a2ec6e38752979db139f09fec033f03", + "reference": "573f95783a2ec6e38752979db139f09fec033f03", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/event-dispatcher-contracts": "^2|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.4", + "symfony/event-dispatcher-contracts": "^2.5|^3" }, "conflict": { - "symfony/dependency-injection": "<4.4" + "symfony/security-http": "<7.4", + "symfony/service-contracts": "<2.5" }, "provide": { "psr/event-dispatcher-implementation": "1.0", - "symfony/event-dispatcher-implementation": "2.0" + "symfony/event-dispatcher-implementation": "2.0|3.0" }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^4.4|^5.0|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/stopwatch": "^4.4|^5.0|^6.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" + "symfony/config": "^7.4|^8.0", + "symfony/dependency-injection": "^7.4|^8.0", + "symfony/error-handler": "^7.4|^8.0", + "symfony/expression-language": "^7.4|^8.0", + "symfony/framework-bundle": "^7.4|^8.0", + "symfony/http-foundation": "^7.4|^8.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -3392,7 +3075,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.9" + "source": "https://github.com/symfony/event-dispatcher/tree/v8.0.0" }, "funding": [ { @@ -3403,42 +3086,43 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-05T16:45:39+00:00" + "time": "2025-10-30T14:17:19+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1" + "reference": "59eb412e93815df44f05f342958efa9f46b1e586" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1", - "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/59eb412e93815df44f05f342958efa9f46b1e586", + "reference": "59eb412e93815df44f05f342958efa9f46b1e586", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "psr/event-dispatcher": "^1" }, - "suggest": { - "symfony/event-dispatcher-implementation": "" - }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -3471,7 +3155,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.1" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.6.0" }, "funding": [ { @@ -3487,27 +3171,29 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.9", + "version": "v8.0.1", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba" + "reference": "d937d400b980523dc9ee946bb69972b5e619058d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/36a017fa4cce1eff1b8e8129ff53513abcef05ba", - "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/d937d400b980523dc9ee946bb69972b5e619058d", + "reference": "d937d400b980523dc9ee946bb69972b5e619058d", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.4", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" + "symfony/polyfill-mbstring": "~1.8" + }, + "require-dev": { + "symfony/process": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -3535,7 +3221,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.9" + "source": "https://github.com/symfony/filesystem/tree/v8.0.1" }, "funding": [ { @@ -3546,31 +3232,36 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-20T13:55:35+00:00" + "time": "2025-12-01T09:13:36+00:00" }, { "name": "symfony/finder", - "version": "v5.4.8", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9" + "reference": "7598dd5770580fa3517ec83e8da0c9b9e01f4291" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/9b630f3427f3ebe7cd346c277a1408b00249dad9", - "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9", + "url": "https://api.github.com/repos/symfony/finder/zipball/7598dd5770580fa3517ec83e8da0c9b9e01f4291", + "reference": "7598dd5770580fa3517ec83e8da0c9b9e01f4291", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.4" + }, + "require-dev": { + "symfony/filesystem": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -3598,7 +3289,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.8" + "source": "https://github.com/symfony/finder/tree/v8.0.0" }, "funding": [ { @@ -3609,32 +3300,34 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-04-15T08:07:45+00:00" + "time": "2025-11-05T14:36:47+00:00" }, { "name": "symfony/options-resolver", - "version": "v5.4.3", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8" + "reference": "d2b592535ffa6600c265a3893a7f7fd2bad82dd7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/cc1147cb11af1b43f503ac18f31aa3bec213aba8", - "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/d2b592535ffa6600c265a3893a7f7fd2bad82dd7", + "reference": "d2b592535ffa6600c265a3893a7f7fd2bad82dd7", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php73": "~1.0", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.4", + "symfony/deprecation-contracts": "^2.5|^3" }, "type": "library", "autoload": { @@ -3667,7 +3360,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v5.4.3" + "source": "https://github.com/symfony/options-resolver/tree/v8.0.0" }, "funding": [ { @@ -3678,29 +3371,33 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2025-11-12T15:55:31+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.26.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-ctype": "*" @@ -3710,12 +3407,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3749,7 +3443,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" }, "funding": [ { @@ -3760,41 +3454,42 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.26.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "433d05519ce6990bf3530fba6957499d327395c2" + "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", - "reference": "433d05519ce6990bf3530fba6957499d327395c2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", + "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3830,7 +3525,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" }, "funding": [ { @@ -3841,41 +3536,42 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2025-06-27T09:58:17+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.26.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "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-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3914,7 +3610,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" }, "funding": [ { @@ -3925,29 +3621,34 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.26.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", "shasum": "" }, "require": { - "php": ">=7.1" + "ext-iconv": "*", + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -3957,12 +3658,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3997,7 +3695,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" }, "funding": [ { @@ -4008,38 +3706,39 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2024-12-23T08:48:59+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.26.0", + "name": "symfony/polyfill-php80", + "version": "v1.33.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/0cc9dd0f17f61d8131e7df6b84bd344899fe2608", + "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4047,7 +3746,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" + "Symfony\\Polyfill\\Php80\\": "" }, "classmap": [ "Resources/stubs" @@ -4058,6 +3757,10 @@ "MIT" ], "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -4067,7 +3770,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -4076,7 +3779,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.33.0" }, "funding": [ { @@ -4087,38 +3790,39 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2025-01-02T08:10:11+00:00" }, { - "name": "symfony/polyfill-php80", - "version": "v1.26.0", + "name": "symfony/polyfill-php81", + "version": "v1.33.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4126,7 +3830,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" + "Symfony\\Polyfill\\Php81\\": "" }, "classmap": [ "Resources/stubs" @@ -4137,10 +3841,6 @@ "MIT" ], "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -4150,7 +3850,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -4159,7 +3859,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.33.0" }, "funding": [ { @@ -4170,38 +3870,39 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-10T07:21:04+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { - "name": "symfony/polyfill-php81", - "version": "v1.26.0", + "name": "symfony/polyfill-php84", + "version": "v1.33.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" + "url": "https://github.com/symfony/polyfill-php84.git", + "reference": "d8ced4d875142b6a7426000426b8abc631d6b191" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", - "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/d8ced4d875142b6a7426000426b8abc631d6b191", + "reference": "d8ced4d875142b6a7426000426b8abc631d6b191", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.26-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4209,7 +3910,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" + "Symfony\\Polyfill\\Php84\\": "" }, "classmap": [ "Resources/stubs" @@ -4229,7 +3930,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.4+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -4238,7 +3939,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php84/tree/v1.33.0" }, "funding": [ { @@ -4249,30 +3950,33 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2025-06-24T13:30:11+00:00" }, { "name": "symfony/process", - "version": "v5.4.8", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "597f3fff8e3e91836bb0bd38f5718b56ddbde2f3" + "reference": "a0a750500c4ce900d69ba4e9faf16f82c10ee149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/597f3fff8e3e91836bb0bd38f5718b56ddbde2f3", - "reference": "597f3fff8e3e91836bb0bd38f5718b56ddbde2f3", + "url": "https://api.github.com/repos/symfony/process/zipball/a0a750500c4ce900d69ba4e9faf16f82c10ee149", + "reference": "a0a750500c4ce900d69ba4e9faf16f82c10ee149", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.4" }, "type": "library", "autoload": { @@ -4300,7 +4004,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.8" + "source": "https://github.com/symfony/process/tree/v8.0.0" }, "funding": [ { @@ -4311,52 +4015,56 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-04-08T05:07:18+00:00" + "time": "2025-10-16T16:25:44+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.5.1", + "version": "v3.6.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c" + "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c", - "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/45112560a3ba2d715666a509a0bc9521d10b6c43", + "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "ext-psr": "<1.1|>=2" }, - "suggest": { - "symfony/service-implementation": "" - }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4383,7 +4091,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.6.1" }, "funding": [ { @@ -4394,30 +4102,34 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-03-13T20:07:29+00:00" + "time": "2025-07-15T11:30:57+00:00" }, { "name": "symfony/stopwatch", - "version": "v5.4.5", + "version": "v8.0.0", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30" + "reference": "67df1914c6ccd2d7b52f70d40cf2aea02159d942" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/4d04b5c24f3c9a1a168a131f6cbe297155bc0d30", - "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/67df1914c6ccd2d7b52f70d40cf2aea02159d942", + "reference": "67df1914c6ccd2d7b52f70d40cf2aea02159d942", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/service-contracts": "^1|^2|^3" + "php": ">=8.4", + "symfony/service-contracts": "^2.5|^3" }, "type": "library", "autoload": { @@ -4445,7 +4157,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.4.5" + "source": "https://github.com/symfony/stopwatch/tree/v8.0.0" }, "funding": [ { @@ -4456,43 +4168,47 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-02-18T16:06:09+00:00" + "time": "2025-08-04T07:36:47+00:00" }, { "name": "symfony/string", - "version": "v5.4.9", + "version": "v8.0.1", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99" + "reference": "ba65a969ac918ce0cc3edfac6cdde847eba231dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", - "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", + "url": "https://api.github.com/repos/symfony/string/zipball/ba65a969ac918ce0cc3edfac6cdde847eba231dc", + "reference": "ba65a969ac918ce0cc3edfac6cdde847eba231dc", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "php": ">=8.4", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-intl-grapheme": "^1.33", + "symfony/polyfill-intl-normalizer": "^1.0", + "symfony/polyfill-mbstring": "^1.0" }, "conflict": { - "symfony/translation-contracts": ">=3.0" + "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0|^6.0" + "symfony/emoji": "^7.4|^8.0", + "symfony/http-client": "^7.4|^8.0", + "symfony/intl": "^7.4|^8.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -4531,7 +4247,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.9" + "source": "https://github.com/symfony/string/tree/v8.0.1" }, "funding": [ { @@ -4542,25 +4258,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2022-04-19T10:40:37+00:00" + "time": "2025-12-01T09:13:36+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "b7489ce515e168639d17feec34b8847c326b0b3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b7489ce515e168639d17feec34b8847c326b0b3c", + "reference": "b7489ce515e168639d17feec34b8847c326b0b3c", "shasum": "" }, "require": { @@ -4589,7 +4309,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.3.1" }, "funding": [ { @@ -4597,231 +4317,15 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" - }, - { - "name": "vimeo/psalm", - "version": "4.23.0", - "source": { - "type": "git", - "url": "https://github.com/vimeo/psalm.git", - "reference": "f1fe6ff483bf325c803df9f510d09a03fd796f88" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/f1fe6ff483bf325c803df9f510d09a03fd796f88", - "reference": "f1fe6ff483bf325c803df9f510d09a03fd796f88", - "shasum": "" - }, - "require": { - "amphp/amp": "^2.4.2", - "amphp/byte-stream": "^1.5", - "composer/package-versions-deprecated": "^1.8.0", - "composer/semver": "^1.4 || ^2.0 || ^3.0", - "composer/xdebug-handler": "^1.1 || ^2.0 || ^3.0", - "dnoegel/php-xdg-base-dir": "^0.1.1", - "ext-ctype": "*", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-simplexml": "*", - "ext-tokenizer": "*", - "felixfbecker/advanced-json-rpc": "^3.0.3", - "felixfbecker/language-server-protocol": "^1.5", - "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.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", - "symfony/polyfill-php80": "^1.25", - "webmozart/path-util": "^2.3" - }, - "provide": { - "psalm/psalm": "self.version" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.2", - "brianium/paratest": "^4.0||^6.0", - "ext-curl": "*", - "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" - }, - "suggest": { - "ext-curl": "In order to send data to shepherd", - "ext-igbinary": "^2.0.5 is required, used to serialize caching data" - }, - "bin": [ - "psalm", - "psalm-language-server", - "psalm-plugin", - "psalm-refactor", - "psalter" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.x-dev", - "dev-3.x": "3.x-dev", - "dev-2.x": "2.x-dev", - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "files": [ - "src/functions.php", - "src/spl_object_id.php" - ], - "psr-4": { - "Psalm\\": "src/Psalm/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Matthew Brown" - } - ], - "description": "A static analysis tool for finding errors in PHP applications", - "keywords": [ - "code", - "inspection", - "php" - ], - "support": { - "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.23.0" - }, - "time": "2022-04-28T17:35:49+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "php": "^7.2 || ^8.0" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<4.6.1 || 4.6.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.5.13" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.11.0" - }, - "time": "2022-06-03T18:03:27+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" - }, - "abandoned": "symfony/filesystem", - "time": "2015-12-17T08:42:14+00:00" + "time": "2025-11-17T20:03:58+00:00" } ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "2.2.0" + "platform": {}, + "platform-dev": {}, + "plugin-api-version": "2.6.0" } diff --git a/tools/php-cs-fixer b/tools/php-cs-fixer deleted file mode 100755 index 859a4c3..0000000 Binary files a/tools/php-cs-fixer and /dev/null differ