From 03c64d34b090005847040c98829cb856644d7bd9 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 10:24:07 -0600 Subject: [PATCH 01/26] Move `tests/Unit/*` to `tests/unit/*` (#6) Moves `tests/Unit/*` to `tests/unit/*`. Signed-off-by: Nathanael Esayeas --- tests/{Unit => unit}/CaseConverterTest.php | 0 .../{Unit => unit}/Exception/FailedToSplitStringExceptionTest.php | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename tests/{Unit => unit}/CaseConverterTest.php (100%) rename tests/{Unit => unit}/Exception/FailedToSplitStringExceptionTest.php (100%) diff --git a/tests/Unit/CaseConverterTest.php b/tests/unit/CaseConverterTest.php similarity index 100% rename from tests/Unit/CaseConverterTest.php rename to tests/unit/CaseConverterTest.php diff --git a/tests/Unit/Exception/FailedToSplitStringExceptionTest.php b/tests/unit/Exception/FailedToSplitStringExceptionTest.php similarity index 100% rename from tests/Unit/Exception/FailedToSplitStringExceptionTest.php rename to tests/unit/Exception/FailedToSplitStringExceptionTest.php From 8381768b1ae7b0225b2e7bc80182e26375d45927 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 10:24:18 -0600 Subject: [PATCH 02/26] Move `tests/Fixture/*` to `tests/fixture/*` (#7) Moves `tests/Fixture/*` to `tests/fixture/*`. Signed-off-by: Nathanael Esayeas --- tests/{Fixture => fixture}/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/{Fixture => fixture}/.gitkeep (100%) diff --git a/tests/Fixture/.gitkeep b/tests/fixture/.gitkeep similarity index 100% rename from tests/Fixture/.gitkeep rename to tests/fixture/.gitkeep From 05a17409ff6d4276cdefce05b9724a92f71d5368 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 10:26:27 -0600 Subject: [PATCH 03/26] Update `automation.yml` file (#8) Updates `automation.yml` workflow file. Signed-off-by: Nathanael Esayeas --- .github/workflows/automation.yml | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml index 29218d4..9be40a4 100644 --- a/.github/workflows/automation.yml +++ b/.github/workflows/automation.yml @@ -1,28 +1,22 @@ name: Automation on: - pull_request: - push: + pull_request: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request + push: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push branches: - # Default branch - - "main" - # Release branches - ## 1.2.x - e.g. Semantic Versioning - - "[0-9]+.[0-9]+.x" - ## v1 - e.g. GitHub Actions Versioning - - "v[0-9]+" - # Scheduled workflow - schedule: - # Runs hourly - - cron: "0 * * * *" - # Manually Trigger workflow - workflow_dispatch: + - "main" # Default branch + - "[0-9]+.[0-9]+.x" # Release branches (1.2.x - e.g. Semantic Versioning) + - "v[0-9]+" # v1 - e.g. GitHub Actions Versioning + schedule: # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule + - cron: "0 * * * *" # Runs hourly + workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatch -# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions # values: read, write, none -permissions: +permissions: # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions # actions: Work with GitHub Actions. For example, actions: write permits an action to cancel a workflow run. actions: write + # attestations: Work with artifact attestations. For example, attestations: write permits an action to generate an artifact attestation for a build. + attestations: write # checks: Work with check runs and check suites. For example, checks: write permits an action to create a check run. checks: write # contents: Work with the contents of the repository. For example, contents: read permits an action to list the commits, and contents:write allows the action to create a release. From 713901c516411cb18b53c060e293b30072351b27 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 10:26:41 -0600 Subject: [PATCH 04/26] Drop configuration (#9) Removes `psalm.xml.dist` and `psalm-baseline.xml` configuration files. Signed-off-by: Nathanael Esayeas --- psalm-baseline.xml | 2 -- psalm.xml.dist | 79 ---------------------------------------------- 2 files changed, 81 deletions(-) delete mode 100644 psalm-baseline.xml delete mode 100644 psalm.xml.dist diff --git a/psalm-baseline.xml b/psalm-baseline.xml deleted file mode 100644 index 7bf39a8..0000000 --- a/psalm-baseline.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/psalm.xml.dist b/psalm.xml.dist deleted file mode 100644 index b61b40e..0000000 --- a/psalm.xml.dist +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From c01b7e0d1970504e74a19f7321eca83d9a51ffa6 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 10:26:56 -0600 Subject: [PATCH 05/26] Update README.md (#10) Updates the `README.md` file. Signed-off-by: Nathanael Esayeas --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 2964aea..4f232a6 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ [![Supported PHP Version](https://badgen.net/packagist/php/ghostwriter/case-converter?color=8892bf)](https://www.php.net/supported-versions) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ghostwriter?label=Sponsor+@ghostwriter/case-converter&logo=GitHub+Sponsors)](https://github.com/sponsors/ghostwriter) [![Code Coverage](https://codecov.io/gh/ghostwriter/case-converter/branch/main/graph/badge.svg)](https://codecov.io/gh/ghostwriter/case-converter) -[![Type Coverage](https://shepherd.dev/github/ghostwriter/case-converter/coverage.svg)](https://shepherd.dev/github/ghostwriter/case-converter) -[![Psalm Level](https://shepherd.dev/github/ghostwriter/case-converter/level.svg)](https://psalm.dev/docs/running_psalm/error_levels) [![Latest Version on Packagist](https://badgen.net/packagist/v/ghostwriter/case-converter)](https://packagist.org/packages/ghostwriter/case-converter) [![Downloads](https://badgen.net/packagist/dt/ghostwriter/case-converter?color=blue)](https://packagist.org/packages/ghostwriter/case-converter) From bbc422b1038784a1601b44e97b279f34ba64a060 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 10:27:10 -0600 Subject: [PATCH 06/26] Update infection.json5.dist (#11) Updates `infection.json5.dist` file Signed-off-by: Nathanael Esayeas --- infection.json5.dist | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/infection.json5.dist b/infection.json5.dist index 246c04e..515d7ef 100644 --- a/infection.json5.dist +++ b/infection.json5.dist @@ -1,12 +1,11 @@ { - "$schema": "https://raw.githubusercontent.com/infection/infection/0.29.6/resources/schema.json", + "$schema": "https://raw.githubusercontent.com/infection/infection/0.29.10/resources/schema.json", "source": { "directories": [ - "src", - "tests" + "src" ], "excludes": [ - "tests/Fixture", + "tests", "vendor" ] }, From 2ade365b862d472932998bdd74352327a7e4b791 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 11:03:14 -0600 Subject: [PATCH 07/26] Update .gitattributes (#12) Updates `.gitattributes` to include the file extensions used in the project Signed-off-by: Nathanael Esayeas --- .gitattributes | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.gitattributes b/.gitattributes index 5b3dcc6..b1f6304 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,24 +1,8 @@ # Auto detect text files and perform LF normalization * text=auto -*.bash text eol=lf -*.css text diff=css -*.gif binary -*.html text diff=html -*.ico binary -*.jpeg binary -*.jpg binary *.lock text -diff *.md text diff=markdown *.php text eol=lf diff=php -*.phpt text eol=lf diff=php -*.phtml text eol=lf diff=html -*.png binary -*.py text diff=python -*.sh text eol=lf -*.svg text -*.txt text -*.webp binary -*.zip binary /.editorconfig export-ignore /.gitattributes export-ignore /.github export-ignore @@ -26,6 +10,4 @@ /composer.lock export-ignore /infection.json5.dist export-ignore /phpunit.xml.dist export-ignore -/psalm-baseline.xml export-ignore -/psalm.xml.dist export-ignore /tests export-ignore From d1b5ee0ec180bb07e66243b2c722e9a10fdbd1dc Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 11:24:50 -0600 Subject: [PATCH 08/26] Update .gitattributes (#13) Updates `.gitattributes` to include the file extensions used in the project Signed-off-by: Nathanael Esayeas --- .gitattributes | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index b1f6304..a4f680d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,5 @@ # Auto detect text files and perform LF normalization * text=auto -*.lock text -diff *.md text diff=markdown *.php text eol=lf diff=php /.editorconfig export-ignore From edec1bde81445ddd2f5ee1fada1fa067ef0374ab Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 11:45:02 -0600 Subject: [PATCH 09/26] Bump LICENSE file (#14) Updates License file for 2025. - Update `LICENSE` Signed-off-by: Nathanael Esayeas --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index cc71924..ac94877 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2014-2024, Nathanael Esayeas +Copyright (c) 2014-2025, Nathanael Esayeas All rights reserved. Redistribution and use in source and binary forms, with or without From 922c3785ac3565435025a200e489dd112828145b Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Sat, 18 Jan 2025 11:45:56 -0600 Subject: [PATCH 10/26] Update composer.lock (#15) Updates the `composer.lock` file Signed-off-by: Nathanael Esayeas --- composer.lock | 696 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 420 insertions(+), 276 deletions(-) diff --git a/composer.lock b/composer.lock index 386356c..6f593b9 100644 --- a/composer.lock +++ b/composer.lock @@ -9,16 +9,16 @@ "packages-dev": [ { "name": "composer/ca-bundle", - "version": "1.5.1", + "version": "1.5.5", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "063d9aa8696582f5a41dffbbaf3c81024f0a604a" + "reference": "08c50d5ec4c6ced7d0271d2862dec8c1033283e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/063d9aa8696582f5a41dffbbaf3c81024f0a604a", - "reference": "063d9aa8696582f5a41dffbbaf3c81024f0a604a", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/08c50d5ec4c6ced7d0271d2862dec8c1033283e6", + "reference": "08c50d5ec4c6ced7d0271d2862dec8c1033283e6", "shasum": "" }, "require": { @@ -28,8 +28,8 @@ }, "require-dev": { "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8 || ^9", "psr/log": "^1.0 || ^2.0 || ^3.0", - "symfony/phpunit-bridge": "^4.2 || ^5", "symfony/process": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "type": "library", @@ -65,7 +65,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.5.1" + "source": "https://github.com/composer/ca-bundle/tree/1.5.5" }, "funding": [ { @@ -81,20 +81,20 @@ "type": "tidelift" } ], - "time": "2024-07-08T15:28:20+00:00" + "time": "2025-01-08T16:17:16+00:00" }, { "name": "composer/class-map-generator", - "version": "1.3.4", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/composer/class-map-generator.git", - "reference": "b1b3fd0b4eaf3ddf3ee230bc340bf3fff454a1a3" + "reference": "4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/b1b3fd0b4eaf3ddf3ee230bc340bf3fff454a1a3", - "reference": "b1b3fd0b4eaf3ddf3ee230bc340bf3fff454a1a3", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915", + "reference": "4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915", "shasum": "" }, "require": { @@ -103,12 +103,12 @@ "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" }, "require-dev": { - "phpstan/phpstan": "^1.6", - "phpstan/phpstan-deprecation-rules": "^1", - "phpstan/phpstan-phpunit": "^1", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/filesystem": "^5.4 || ^6", - "symfony/phpunit-bridge": "^5" + "phpstan/phpstan": "^1.12 || ^2", + "phpstan/phpstan-deprecation-rules": "^1 || ^2", + "phpstan/phpstan-phpunit": "^1 || ^2", + "phpstan/phpstan-strict-rules": "^1.1 || ^2", + "phpunit/phpunit": "^8", + "symfony/filesystem": "^5.4 || ^6" }, "type": "library", "extra": { @@ -138,7 +138,7 @@ ], "support": { "issues": "https://github.com/composer/class-map-generator/issues", - "source": "https://github.com/composer/class-map-generator/tree/1.3.4" + "source": "https://github.com/composer/class-map-generator/tree/1.5.0" }, "funding": [ { @@ -154,52 +154,52 @@ "type": "tidelift" } ], - "time": "2024-06-12T14:13:04+00:00" + "time": "2024-11-25T16:11:06+00:00" }, { "name": "composer/composer", - "version": "2.7.7", + "version": "2.8.4", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "291942978f39435cf904d33739f98d7d4eca7b23" + "reference": "112e37d1dca22b3fdb81cf3524ab4994f47fdb8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/291942978f39435cf904d33739f98d7d4eca7b23", - "reference": "291942978f39435cf904d33739f98d7d4eca7b23", + "url": "https://api.github.com/repos/composer/composer/zipball/112e37d1dca22b3fdb81cf3524ab4994f47fdb8c", + "reference": "112e37d1dca22b3fdb81cf3524ab4994f47fdb8c", "shasum": "" }, "require": { - "composer/ca-bundle": "^1.0", - "composer/class-map-generator": "^1.3.3", + "composer/ca-bundle": "^1.5", + "composer/class-map-generator": "^1.4.0", "composer/metadata-minifier": "^1.0", - "composer/pcre": "^2.1 || ^3.1", + "composer/pcre": "^2.2 || ^3.2", "composer/semver": "^3.3", "composer/spdx-licenses": "^1.5.7", "composer/xdebug-handler": "^2.0.2 || ^3.0.3", - "justinrainbow/json-schema": "^5.2.11", + "justinrainbow/json-schema": "^5.3", "php": "^7.2.5 || ^8.0", "psr/log": "^1.0 || ^2.0 || ^3.0", - "react/promise": "^2.8 || ^3", + "react/promise": "^2.11 || ^3.2", "seld/jsonlint": "^1.4", "seld/phar-utils": "^1.2", "seld/signal-handler": "^2.0", - "symfony/console": "^5.4.11 || ^6.0.11 || ^7", - "symfony/filesystem": "^5.4 || ^6.0 || ^7", - "symfony/finder": "^5.4 || ^6.0 || ^7", + "symfony/console": "^5.4.35 || ^6.3.12 || ^7.0.3", + "symfony/filesystem": "^5.4.35 || ^6.3.12 || ^7.0.3", + "symfony/finder": "^5.4.35 || ^6.3.12 || ^7.0.3", "symfony/polyfill-php73": "^1.24", "symfony/polyfill-php80": "^1.24", "symfony/polyfill-php81": "^1.24", - "symfony/process": "^5.4 || ^6.0 || ^7" + "symfony/process": "^5.4.35 || ^6.3.12 || ^7.0.3" }, "require-dev": { - "phpstan/phpstan": "^1.11.0", + "phpstan/phpstan": "^1.11.8", "phpstan/phpstan-deprecation-rules": "^1.2.0", "phpstan/phpstan-phpunit": "^1.4.0", "phpstan/phpstan-strict-rules": "^1.6.0", "phpstan/phpstan-symfony": "^1.4.0", - "symfony/phpunit-bridge": "^6.4.1 || ^7.0.1" + "symfony/phpunit-bridge": "^6.4.3 || ^7.0.1" }, "suggest": { "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", @@ -211,13 +211,13 @@ ], "type": "library", "extra": { - "branch-alias": { - "dev-main": "2.7-dev" - }, "phpstan": { "includes": [ "phpstan/rules.neon" ] + }, + "branch-alias": { + "dev-main": "2.8-dev" } }, "autoload": { @@ -252,7 +252,7 @@ "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.7.7" + "source": "https://github.com/composer/composer/tree/2.8.4" }, "funding": [ { @@ -268,7 +268,7 @@ "type": "tidelift" } ], - "time": "2024-06-10T20:11:12+00:00" + "time": "2024-12-11T10:57:47+00:00" }, { "name": "composer/metadata-minifier", @@ -341,38 +341,38 @@ }, { "name": "composer/pcre", - "version": "3.2.0", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "ea4ab6f9580a4fd221e0418f2c357cdd39102a90" + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/ea4ab6f9580a4fd221e0418f2c357cdd39102a90", - "reference": "ea4ab6f9580a4fd221e0418f2c357cdd39102a90", + "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e", + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e", "shasum": "" }, "require": { "php": "^7.4 || ^8.0" }, "conflict": { - "phpstan/phpstan": "<1.11.8" + "phpstan/phpstan": "<1.11.10" }, "require-dev": { - "phpstan/phpstan": "^1.11.8", - "phpstan/phpstan-strict-rules": "^1.1", + "phpstan/phpstan": "^1.12 || ^2", + "phpstan/phpstan-strict-rules": "^1 || ^2", "phpunit/phpunit": "^8 || ^9" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.x-dev" - }, "phpstan": { "includes": [ "extension.neon" ] + }, + "branch-alias": { + "dev-main": "3.x-dev" } }, "autoload": { @@ -400,7 +400,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.2.0" + "source": "https://github.com/composer/pcre/tree/3.3.2" }, "funding": [ { @@ -416,28 +416,28 @@ "type": "tidelift" } ], - "time": "2024-07-25T09:36:02+00:00" + "time": "2024-11-12T16:29:46+00:00" }, { "name": "composer/semver", - "version": "3.4.2", + "version": "3.4.3", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6" + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/c51258e759afdb17f1fd1fe83bc12baaef6309d6", - "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6", + "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", "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": { @@ -481,7 +481,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.2" + "source": "https://github.com/composer/semver/tree/3.4.3" }, "funding": [ { @@ -497,7 +497,7 @@ "type": "tidelift" } ], - "time": "2024-07-12T11:35:52+00:00" + "time": "2024-09-19T14:15:21+00:00" }, { "name": "composer/spdx-licenses", @@ -651,38 +651,43 @@ "source": { "type": "git", "url": "https://github.com/ghostwriter/coding-standard.git", - "reference": "8e445ce33e3c644378509c480e6a72c0b1d66404" + "reference": "1dd832550f4e6859e4f90e176609e3c17a8afd00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ghostwriter/coding-standard/zipball/8e445ce33e3c644378509c480e6a72c0b1d66404", - "reference": "8e445ce33e3c644378509c480e6a72c0b1d66404", + "url": "https://api.github.com/repos/ghostwriter/coding-standard/zipball/1dd832550f4e6859e4f90e176609e3c17a8afd00", + "reference": "1dd832550f4e6859e4f90e176609e3c17a8afd00", "shasum": "" }, "require": { "composer-plugin-api": "^2.6.0", "composer-runtime-api": "^2.2.2", - "composer/composer": "^2.7.7", + "composer/composer": "^2.8.4", "mockery/mockery": "^1.6.12", "php": "^8.2", - "phpunit/phpunit": "^11.2.8" + "phpunit/phpunit": "11.5.2", + "symfony/var-dumper": "^7.2.0" }, "conflict": { - "vimeo/psalm": "<4.30" + "vimeo/psalm": "<5.26" + }, + "require-dev": { + "ghostwriter/container": "^4.0.3", + "ghostwriter/filesystem": "^0.1.1", + "ghostwriter/shell": "^0.1.0" }, "default-branch": true, "bin": [ "tools/infection", "tools/phive", - "tools/phpactor", - "tools/psalm" + "tools/phpactor" ], "type": "composer-plugin", "extra": { "class": "Ghostwriter\\CodingStandard\\Plugin\\ComposerPlugin", + "plugin-optional": false, "plugin-modifies-downloads": false, - "plugin-modifies-install-path": false, - "plugin-optional": false + "plugin-modifies-install-path": false }, "autoload": { "psr-4": { @@ -722,7 +727,7 @@ "type": "github" } ], - "time": "2024-07-25T13:48:17+00:00" + "time": "2025-01-15T03:14:49+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -925,16 +930,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.12.0", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", "shasum": "" }, "require": { @@ -973,7 +978,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" }, "funding": [ { @@ -981,20 +986,20 @@ "type": "tidelift" } ], - "time": "2024-06-12T14:39:25+00:00" + "time": "2024-11-08T17:47:46+00:00" }, { "name": "nikic/php-parser", - "version": "v5.1.0", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" + "reference": "447a020a1f875a434d62f2a401f53b82a396e494" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494", + "reference": "447a020a1f875a434d62f2a401f53b82a396e494", "shasum": "" }, "require": { @@ -1037,9 +1042,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0" }, - "time": "2024-07-01T20:03:41+00:00" + "time": "2024-12-30T11:07:19+00:00" }, { "name": "phar-io/manifest", @@ -1161,35 +1166,35 @@ }, { "name": "phpunit/php-code-coverage", - "version": "11.0.5", + "version": "11.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "19b6365ab8b59a64438c0c3f4241feeb480c9861" + "reference": "418c59fd080954f8c4aa5631d9502ecda2387118" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/19b6365ab8b59a64438c0c3f4241feeb480c9861", - "reference": "19b6365ab8b59a64438c0c3f4241feeb480c9861", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/418c59fd080954f8c4aa5631d9502ecda2387118", + "reference": "418c59fd080954f8c4aa5631d9502ecda2387118", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^5.0", + "nikic/php-parser": "^5.3.1", "php": ">=8.2", - "phpunit/php-file-iterator": "^5.0", - "phpunit/php-text-template": "^4.0", - "sebastian/code-unit-reverse-lookup": "^4.0", - "sebastian/complexity": "^4.0", - "sebastian/environment": "^7.0", - "sebastian/lines-of-code": "^3.0", - "sebastian/version": "^5.0", - "theseer/tokenizer": "^1.2.0" + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-text-template": "^4.0.1", + "sebastian/code-unit-reverse-lookup": "^4.0.1", + "sebastian/complexity": "^4.0.1", + "sebastian/environment": "^7.2.0", + "sebastian/lines-of-code": "^3.0.1", + "sebastian/version": "^5.0.2", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.5.0" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -1198,7 +1203,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "11.0-dev" + "dev-main": "11.0.x-dev" } }, "autoload": { @@ -1227,7 +1232,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.5" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.8" }, "funding": [ { @@ -1235,20 +1240,20 @@ "type": "github" } ], - "time": "2024-07-03T05:05:37+00:00" + "time": "2024-12-11T12:34:27+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "5.0.1", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "6ed896bf50bbbfe4d504a33ed5886278c78e4a26" + "reference": "118cfaaa8bc5aef3287bf315b6060b1174754af6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6ed896bf50bbbfe4d504a33ed5886278c78e4a26", - "reference": "6ed896bf50bbbfe4d504a33ed5886278c78e4a26", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/118cfaaa8bc5aef3287bf315b6060b1174754af6", + "reference": "118cfaaa8bc5aef3287bf315b6060b1174754af6", "shasum": "" }, "require": { @@ -1288,7 +1293,7 @@ "support": { "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/5.0.1" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/5.1.0" }, "funding": [ { @@ -1296,7 +1301,7 @@ "type": "github" } ], - "time": "2024-07-03T05:06:37+00:00" + "time": "2024-08-27T05:02:59+00:00" }, { "name": "phpunit/php-invoker", @@ -1484,16 +1489,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.2.8", + "version": "11.5.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a7a29e8d3113806f18f99d670f580a30e8ffff39" + "reference": "153d0531b9f7e883c5053160cad6dd5ac28140b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a7a29e8d3113806f18f99d670f580a30e8ffff39", - "reference": "a7a29e8d3113806f18f99d670f580a30e8ffff39", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/153d0531b9f7e883c5053160cad6dd5ac28140b3", + "reference": "153d0531b9f7e883c5053160cad6dd5ac28140b3", "shasum": "" }, "require": { @@ -1503,25 +1508,26 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.12.0", + "myclabs/deep-copy": "^1.12.1", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.2", - "phpunit/php-code-coverage": "^11.0.5", - "phpunit/php-file-iterator": "^5.0.1", + "phpunit/php-code-coverage": "^11.0.8", + "phpunit/php-file-iterator": "^5.1.0", "phpunit/php-invoker": "^5.0.1", "phpunit/php-text-template": "^4.0.1", "phpunit/php-timer": "^7.0.1", "sebastian/cli-parser": "^3.0.2", - "sebastian/code-unit": "^3.0.1", - "sebastian/comparator": "^6.0.1", + "sebastian/code-unit": "^3.0.2", + "sebastian/comparator": "^6.2.1", "sebastian/diff": "^6.0.2", "sebastian/environment": "^7.2.0", - "sebastian/exporter": "^6.1.3", + "sebastian/exporter": "^6.3.0", "sebastian/global-state": "^7.0.2", "sebastian/object-enumerator": "^6.0.1", - "sebastian/type": "^5.0.1", - "sebastian/version": "^5.0.1" + "sebastian/type": "^5.1.0", + "sebastian/version": "^5.0.2", + "staabm/side-effects-detector": "^1.0.5" }, "suggest": { "ext-soap": "To be able to generate mocks based on WSDL files" @@ -1532,7 +1538,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "11.2-dev" + "dev-main": "11.5-dev" } }, "autoload": { @@ -1564,7 +1570,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.2.8" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.2" }, "funding": [ { @@ -1580,7 +1586,7 @@ "type": "tidelift" } ], - "time": "2024-07-18T14:56:37+00:00" + "time": "2024-12-21T05:51:08+00:00" }, { "name": "psr/container", @@ -1637,16 +1643,16 @@ }, { "name": "psr/log", - "version": "3.0.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -1681,9 +1687,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "react/promise", @@ -1817,23 +1823,23 @@ }, { "name": "sebastian/code-unit", - "version": "3.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "6bb7d09d6623567178cf54126afa9c2310114268" + "reference": "ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/6bb7d09d6623567178cf54126afa9c2310114268", - "reference": "6bb7d09d6623567178cf54126afa9c2310114268", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca", + "reference": "ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.5" }, "type": "library", "extra": { @@ -1862,7 +1868,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", "security": "https://github.com/sebastianbergmann/code-unit/security/policy", - "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.1" + "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.2" }, "funding": [ { @@ -1870,7 +1876,7 @@ "type": "github" } ], - "time": "2024-07-03T04:44:28+00:00" + "time": "2024-12-12T09:59:06+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -1930,16 +1936,16 @@ }, { "name": "sebastian/comparator", - "version": "6.0.1", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "131942b86d3587291067a94f295498ab6ac79c20" + "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/131942b86d3587291067a94f295498ab6ac79c20", - "reference": "131942b86d3587291067a94f295498ab6ac79c20", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/d4e47a769525c4dd38cea90e5dcd435ddbbc7115", + "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115", "shasum": "" }, "require": { @@ -1950,12 +1956,15 @@ "sebastian/exporter": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.4" + }, + "suggest": { + "ext-bcmath": "For comparing BcMath\\Number objects" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "6.2-dev" } }, "autoload": { @@ -1995,7 +2004,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/6.0.1" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.0" }, "funding": [ { @@ -2003,7 +2012,7 @@ "type": "github" } ], - "time": "2024-07-03T04:48:07+00:00" + "time": "2025-01-06T10:28:19+00:00" }, { "name": "sebastian/complexity", @@ -2196,16 +2205,16 @@ }, { "name": "sebastian/exporter", - "version": "6.1.3", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e" + "reference": "3473f61172093b2da7de1fb5782e1f24cc036dc3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e", - "reference": "c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/3473f61172093b2da7de1fb5782e1f24cc036dc3", + "reference": "3473f61172093b2da7de1fb5782e1f24cc036dc3", "shasum": "" }, "require": { @@ -2214,7 +2223,7 @@ "sebastian/recursion-context": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^11.2" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { @@ -2262,7 +2271,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/6.1.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/6.3.0" }, "funding": [ { @@ -2270,7 +2279,7 @@ "type": "github" } ], - "time": "2024-07-03T04:56:19+00:00" + "time": "2024-12-05T09:17:50+00:00" }, { "name": "sebastian/global-state", @@ -2572,28 +2581,28 @@ }, { "name": "sebastian/type", - "version": "5.0.1", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "fb6a6566f9589e86661291d13eba708cce5eb4aa" + "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb6a6566f9589e86661291d13eba708cce5eb4aa", - "reference": "fb6a6566f9589e86661291d13eba708cce5eb4aa", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/461b9c5da241511a2a0e8f240814fb23ce5c0aac", + "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -2617,7 +2626,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/type/issues", "security": "https://github.com/sebastianbergmann/type/security/policy", - "source": "https://github.com/sebastianbergmann/type/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/type/tree/5.1.0" }, "funding": [ { @@ -2625,20 +2634,20 @@ "type": "github" } ], - "time": "2024-07-03T05:11:49+00:00" + "time": "2024-09-17T13:12:04+00:00" }, { "name": "sebastian/version", - "version": "5.0.1", + "version": "5.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "45c9debb7d039ce9b97de2f749c2cf5832a06ac4" + "reference": "c687e3387b99f5b03b6caa64c74b63e2936ff874" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/45c9debb7d039ce9b97de2f749c2cf5832a06ac4", - "reference": "45c9debb7d039ce9b97de2f749c2cf5832a06ac4", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c687e3387b99f5b03b6caa64c74b63e2936ff874", + "reference": "c687e3387b99f5b03b6caa64c74b63e2936ff874", "shasum": "" }, "require": { @@ -2671,7 +2680,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/version/issues", "security": "https://github.com/sebastianbergmann/version/security/policy", - "source": "https://github.com/sebastianbergmann/version/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/version/tree/5.0.2" }, "funding": [ { @@ -2679,7 +2688,7 @@ "type": "github" } ], - "time": "2024-07-03T05:13:08+00:00" + "time": "2024-10-09T05:16:32+00:00" }, { "name": "seld/jsonlint", @@ -2854,18 +2863,70 @@ }, "time": "2023-09-03T09:24:00+00:00" }, + { + "name": "staabm/side-effects-detector", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/staabm/side-effects-detector.git", + "reference": "d8334211a140ce329c13726d4a715adbddd0a163" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/staabm/side-effects-detector/zipball/d8334211a140ce329c13726d4a715adbddd0a163", + "reference": "d8334211a140ce329c13726d4a715adbddd0a163", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.6", + "phpunit/phpunit": "^9.6.21", + "symfony/var-dumper": "^5.4.43", + "tomasvotruba/type-coverage": "1.0.0", + "tomasvotruba/unused-public": "1.0.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "lib/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A static analysis tool to detect side effects in PHP code", + "keywords": [ + "static analysis" + ], + "support": { + "issues": "https://github.com/staabm/side-effects-detector/issues", + "source": "https://github.com/staabm/side-effects-detector/tree/1.0.5" + }, + "funding": [ + { + "url": "https://github.com/staabm", + "type": "github" + } + ], + "time": "2024-10-20T05:08:20+00:00" + }, { "name": "symfony/console", - "version": "v7.1.3", + "version": "v7.2.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "cb1dcb30ebc7005c29864ee78adb47b5fb7c3cd9" + "reference": "fefcc18c0f5d0efe3ab3152f15857298868dc2c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/cb1dcb30ebc7005c29864ee78adb47b5fb7c3cd9", - "reference": "cb1dcb30ebc7005c29864ee78adb47b5fb7c3cd9", + "url": "https://api.github.com/repos/symfony/console/zipball/fefcc18c0f5d0efe3ab3152f15857298868dc2c3", + "reference": "fefcc18c0f5d0efe3ab3152f15857298868dc2c3", "shasum": "" }, "require": { @@ -2929,7 +2990,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.1.3" + "source": "https://github.com/symfony/console/tree/v7.2.1" }, "funding": [ { @@ -2945,20 +3006,20 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:41:01+00:00" + "time": "2024-12-11T03:49:26+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", "shasum": "" }, "require": { @@ -2966,12 +3027,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -2996,7 +3057,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" }, "funding": [ { @@ -3012,20 +3073,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/filesystem", - "version": "v7.1.2", + "version": "v7.2.0", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "92a91985250c251de9b947a14bb2c9390b1a562c" + "reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/92a91985250c251de9b947a14bb2c9390b1a562c", - "reference": "92a91985250c251de9b947a14bb2c9390b1a562c", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/b8dce482de9d7c9fe2891155035a7248ab5c7fdb", + "reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb", "shasum": "" }, "require": { @@ -3062,7 +3123,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.1.2" + "source": "https://github.com/symfony/filesystem/tree/v7.2.0" }, "funding": [ { @@ -3078,20 +3139,20 @@ "type": "tidelift" } ], - "time": "2024-06-28T10:03:55+00:00" + "time": "2024-10-25T15:15:23+00:00" }, { "name": "symfony/finder", - "version": "v7.1.3", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "717c6329886f32dc65e27461f80f2a465412fdca" + "reference": "87a71856f2f56e4100373e92529eed3171695cfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/717c6329886f32dc65e27461f80f2a465412fdca", - "reference": "717c6329886f32dc65e27461f80f2a465412fdca", + "url": "https://api.github.com/repos/symfony/finder/zipball/87a71856f2f56e4100373e92529eed3171695cfb", + "reference": "87a71856f2f56e4100373e92529eed3171695cfb", "shasum": "" }, "require": { @@ -3126,7 +3187,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.1.3" + "source": "https://github.com/symfony/finder/tree/v7.2.2" }, "funding": [ { @@ -3142,24 +3203,24 @@ "type": "tidelift" } ], - "time": "2024-07-24T07:08:44+00:00" + "time": "2024-12-30T19:00:17+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "0424dff1c58f028c451efff2045f5d92410bd540" + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", - "reference": "0424dff1c58f028c451efff2045f5d92410bd540", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-ctype": "*" @@ -3170,8 +3231,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3205,7 +3266,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" }, "funding": [ { @@ -3221,24 +3282,24 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", - "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" @@ -3246,8 +3307,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3283,7 +3344,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" }, "funding": [ { @@ -3299,24 +3360,24 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", - "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "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" @@ -3324,8 +3385,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3364,7 +3425,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" }, "funding": [ { @@ -3380,24 +3441,24 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", - "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -3408,8 +3469,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3444,7 +3505,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" }, "funding": [ { @@ -3460,30 +3521,30 @@ "type": "tidelift" } ], - "time": "2024-06-19T12:30:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "ec444d3f3f6505bb28d11afa41e75faadebc10a1" + "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/ec444d3f3f6505bb28d11afa41e75faadebc10a1", - "reference": "ec444d3f3f6505bb28d11afa41e75faadebc10a1", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/0f68c03565dcaaf25a890667542e8bd75fe7e5bb", + "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3520,7 +3581,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.31.0" }, "funding": [ { @@ -3536,30 +3597,30 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", - "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3600,7 +3661,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" }, "funding": [ { @@ -3616,30 +3677,30 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "3fb075789fb91f9ad9af537c4012d523085bd5af" + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/3fb075789fb91f9ad9af537c4012d523085bd5af", - "reference": "3fb075789fb91f9ad9af537c4012d523085bd5af", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3676,7 +3737,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" }, "funding": [ { @@ -3692,20 +3753,20 @@ "type": "tidelift" } ], - "time": "2024-06-19T12:30:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/process", - "version": "v7.1.3", + "version": "v7.2.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "7f2f542c668ad6c313dc4a5e9c3321f733197eca" + "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/7f2f542c668ad6c313dc4a5e9c3321f733197eca", - "reference": "7f2f542c668ad6c313dc4a5e9c3321f733197eca", + "url": "https://api.github.com/repos/symfony/process/zipball/d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", + "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", "shasum": "" }, "require": { @@ -3737,7 +3798,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.1.3" + "source": "https://github.com/symfony/process/tree/v7.2.0" }, "funding": [ { @@ -3753,20 +3814,20 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:44:47+00:00" + "time": "2024-11-06T14:24:19+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", "shasum": "" }, "require": { @@ -3779,12 +3840,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -3820,7 +3881,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" }, "funding": [ { @@ -3836,20 +3897,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:20:29+00:00" }, { "name": "symfony/string", - "version": "v7.1.3", + "version": "v7.2.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "ea272a882be7f20cad58d5d78c215001617b7f07" + "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/ea272a882be7f20cad58d5d78c215001617b7f07", - "reference": "ea272a882be7f20cad58d5d78c215001617b7f07", + "url": "https://api.github.com/repos/symfony/string/zipball/446e0d146f991dde3e73f45f2c97a9faad773c82", + "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82", "shasum": "" }, "require": { @@ -3907,7 +3968,90 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.3" + "source": "https://github.com/symfony/string/tree/v7.2.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": "2024-11-13T13:31:26+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v7.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c6a22929407dec8765d6e2b6ff85b800b245879c", + "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/console": "<6.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/uid": "^6.4|^7.0", + "twig/twig": "^3.12" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "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": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v7.2.0" }, "funding": [ { @@ -3923,7 +4067,7 @@ "type": "tidelift" } ], - "time": "2024-07-22T10:25:37+00:00" + "time": "2024-11-08T15:48:14+00:00" }, { "name": "theseer/tokenizer", @@ -3987,7 +4131,7 @@ "php": ">=8.3", "ext-mbstring": "*" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "8.3.999" }, From 2e9b1f0eb92efa483b7a483a885089acbf513fef Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Tue, 28 Jan 2025 11:15:37 -0600 Subject: [PATCH 11/26] Update `automation.yml` file (#16) Updates `automation.yml` workflow file. Signed-off-by: Nathanael Esayeas --- .github/workflows/automation.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml index 9be40a4..bda6c97 100644 --- a/.github/workflows/automation.yml +++ b/.github/workflows/automation.yml @@ -46,6 +46,5 @@ jobs: automation: uses: ghostwriter/compliance/.github/workflows/automation.yml@v1 secrets: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} INFECTION_DASHBOARD_API_KEY: ${{ secrets.INFECTION_DASHBOARD_API_KEY }} From 89b7e5f46fe56dc53f07602ac9a46fc70f341b5b Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Tue, 28 Jan 2025 11:16:11 -0600 Subject: [PATCH 12/26] Update README.md (#17) Updates the `README.md` file. Signed-off-by: Nathanael Esayeas --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 4f232a6..03e8da1 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,6 @@ [![Compliance](https://github.com/ghostwriter/case-converter/actions/workflows/automation.yml/badge.svg)](https://github.com/ghostwriter/case-converter/actions/workflows/automation.yml) [![Supported PHP Version](https://badgen.net/packagist/php/ghostwriter/case-converter?color=8892bf)](https://www.php.net/supported-versions) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ghostwriter?label=Sponsor+@ghostwriter/case-converter&logo=GitHub+Sponsors)](https://github.com/sponsors/ghostwriter) -[![Code Coverage](https://codecov.io/gh/ghostwriter/case-converter/branch/main/graph/badge.svg)](https://codecov.io/gh/ghostwriter/case-converter) -[![Latest Version on Packagist](https://badgen.net/packagist/v/ghostwriter/case-converter)](https://packagist.org/packages/ghostwriter/case-converter) [![Downloads](https://badgen.net/packagist/dt/ghostwriter/case-converter?color=blue)](https://packagist.org/packages/ghostwriter/case-converter) Convert strings from and to `AdaCase`, `CamelCase`, `CobolCase`, `KebabCase`, `Lowercase`, `MacroCase`, `PascalCase`, `SentenceCase`, `SnakeCase`, `TitleCase`, `TrainCase`, and `Uppercase`. From 2f10290ce9ee3f226d7a4b5331c87217d0d982f0 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Thu, 30 Jan 2025 10:48:38 -0600 Subject: [PATCH 13/26] Update README.md (#18) Updates the `README.md` file. Signed-off-by: Nathanael Esayeas --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03e8da1..564734e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # CaseConverter -[![Compliance](https://github.com/ghostwriter/case-converter/actions/workflows/automation.yml/badge.svg)](https://github.com/ghostwriter/case-converter/actions/workflows/automation.yml) -[![Supported PHP Version](https://badgen.net/packagist/php/ghostwriter/case-converter?color=8892bf)](https://www.php.net/supported-versions) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ghostwriter?label=Sponsor+@ghostwriter/case-converter&logo=GitHub+Sponsors)](https://github.com/sponsors/ghostwriter) +[![Automation](https://github.com/ghostwriter/case-converter/actions/workflows/automation.yml/badge.svg)](https://github.com/ghostwriter/case-converter/actions/workflows/automation.yml) +[![Supported PHP Version](https://badgen.net/packagist/php/ghostwriter/case-converter?color=8892bf)](https://www.php.net/supported-versions) [![Downloads](https://badgen.net/packagist/dt/ghostwriter/case-converter?color=blue)](https://packagist.org/packages/ghostwriter/case-converter) Convert strings from and to `AdaCase`, `CamelCase`, `CobolCase`, `KebabCase`, `Lowercase`, `MacroCase`, `PascalCase`, `SentenceCase`, `SnakeCase`, `TitleCase`, `TrainCase`, and `Uppercase`. From a2c471de8e275fcb40552411dd58cff02c440720 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Thu, 30 Jan 2025 12:02:55 -0600 Subject: [PATCH 14/26] Update composer.lock (#19) Updates the `composer.lock` file Signed-off-by: Nathanael Esayeas --- composer.lock | 1454 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 1349 insertions(+), 105 deletions(-) diff --git a/composer.lock b/composer.lock index 6f593b9..e29e184 100644 --- a/composer.lock +++ b/composer.lock @@ -7,6 +7,424 @@ "content-hash": "99ab91d99801f7ccc6fe216b68c37c77", "packages": [], "packages-dev": [ + { + "name": "amphp/amp", + "version": "v3.1.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/amp.git", + "reference": "7cf7fef3d667bfe4b2560bc87e67d5387a7bcde9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/amp/zipball/7cf7fef3d667bfe4b2560bc87e67d5387a7bcde9", + "reference": "7cf7fef3d667bfe4b2560bc87e67d5387a7bcde9", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "revolt/event-loop": "^1 || ^0.2" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "phpunit/phpunit": "^9", + "psalm/phar": "5.23.1" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php", + "src/Future/functions.php", + "src/Internal/functions.php" + ], + "psr-4": { + "Amp\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + }, + { + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" + } + ], + "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": { + "issues": "https://github.com/amphp/amp/issues", + "source": "https://github.com/amphp/amp/tree/v3.1.0" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2025-01-26T16:07:39+00:00" + }, + { + "name": "amphp/byte-stream", + "version": "v2.1.1", + "source": { + "type": "git", + "url": "https://github.com/amphp/byte-stream.git", + "reference": "daa00f2efdbd71565bf64ffefa89e37542addf93" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/daa00f2efdbd71565bf64ffefa89e37542addf93", + "reference": "daa00f2efdbd71565bf64ffefa89e37542addf93", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "amphp/parser": "^1.1", + "amphp/pipeline": "^1", + "amphp/serialization": "^1", + "amphp/sync": "^2", + "php": ">=8.1", + "revolt/event-loop": "^1 || ^0.2.3" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "phpunit/phpunit": "^9", + "psalm/phar": "5.22.1" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php", + "src/Internal/functions.php" + ], + "psr-4": { + "Amp\\ByteStream\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A stream abstraction to make working with non-blocking I/O simple.", + "homepage": "https://amphp.org/byte-stream", + "keywords": [ + "amp", + "amphp", + "async", + "io", + "non-blocking", + "stream" + ], + "support": { + "issues": "https://github.com/amphp/byte-stream/issues", + "source": "https://github.com/amphp/byte-stream/tree/v2.1.1" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2024-02-17T04:49:38+00:00" + }, + { + "name": "amphp/parser", + "version": "v1.1.1", + "source": { + "type": "git", + "url": "https://github.com/amphp/parser.git", + "reference": "3cf1f8b32a0171d4b1bed93d25617637a77cded7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/parser/zipball/3cf1f8b32a0171d4b1bed93d25617637a77cded7", + "reference": "3cf1f8b32a0171d4b1bed93d25617637a77cded7", + "shasum": "" + }, + "require": { + "php": ">=7.4" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Parser\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A generator parser to make streaming parsers simple.", + "homepage": "https://github.com/amphp/parser", + "keywords": [ + "async", + "non-blocking", + "parser", + "stream" + ], + "support": { + "issues": "https://github.com/amphp/parser/issues", + "source": "https://github.com/amphp/parser/tree/v1.1.1" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2024-03-21T19:16:53+00:00" + }, + { + "name": "amphp/pipeline", + "version": "v1.2.2", + "source": { + "type": "git", + "url": "https://github.com/amphp/pipeline.git", + "reference": "97cbf289f4d8877acfe58dd90ed5a4370a43caa4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/pipeline/zipball/97cbf289f4d8877acfe58dd90ed5a4370a43caa4", + "reference": "97cbf289f4d8877acfe58dd90ed5a4370a43caa4", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "php": ">=8.1", + "revolt/event-loop": "^1" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.18" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Pipeline\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Asynchronous iterators and operators.", + "homepage": "https://amphp.org/pipeline", + "keywords": [ + "amp", + "amphp", + "async", + "io", + "iterator", + "non-blocking" + ], + "support": { + "issues": "https://github.com/amphp/pipeline/issues", + "source": "https://github.com/amphp/pipeline/tree/v1.2.2" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2025-01-19T15:42:46+00:00" + }, + { + "name": "amphp/serialization", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/serialization.git", + "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/serialization/zipball/693e77b2fb0b266c3c7d622317f881de44ae94a1", + "reference": "693e77b2fb0b266c3c7d622317f881de44ae94a1", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "phpunit/phpunit": "^9 || ^8 || ^7" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Amp\\Serialization\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Serialization tools for IPC and data storage in PHP.", + "homepage": "https://github.com/amphp/serialization", + "keywords": [ + "async", + "asynchronous", + "serialization", + "serialize" + ], + "support": { + "issues": "https://github.com/amphp/serialization/issues", + "source": "https://github.com/amphp/serialization/tree/master" + }, + "time": "2020-03-25T21:39:07+00:00" + }, + { + "name": "amphp/sync", + "version": "v2.3.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/sync.git", + "reference": "217097b785130d77cfcc58ff583cf26cd1770bf1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/sync/zipball/217097b785130d77cfcc58ff583cf26cd1770bf1", + "reference": "217097b785130d77cfcc58ff583cf26cd1770bf1", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "amphp/pipeline": "^1", + "amphp/serialization": "^1", + "php": ">=8.1", + "revolt/event-loop": "^1 || ^0.2" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "phpunit/phpunit": "^9", + "psalm/phar": "5.23" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Amp\\Sync\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + }, + { + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" + } + ], + "description": "Non-blocking synchronization primitives for PHP based on Amp and Revolt.", + "homepage": "https://github.com/amphp/sync", + "keywords": [ + "async", + "asynchronous", + "mutex", + "semaphore", + "synchronization" + ], + "support": { + "issues": "https://github.com/amphp/sync/issues", + "source": "https://github.com/amphp/sync/tree/v2.3.0" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2024-08-03T19:31:26+00:00" + }, { "name": "composer/ca-bundle", "version": "1.5.5", @@ -158,16 +576,16 @@ }, { "name": "composer/composer", - "version": "2.8.4", + "version": "2.8.5", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "112e37d1dca22b3fdb81cf3524ab4994f47fdb8c" + "reference": "ae208dc1e182bd45d99fcecb956501da212454a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/112e37d1dca22b3fdb81cf3524ab4994f47fdb8c", - "reference": "112e37d1dca22b3fdb81cf3524ab4994f47fdb8c", + "url": "https://api.github.com/repos/composer/composer/zipball/ae208dc1e182bd45d99fcecb956501da212454a1", + "reference": "ae208dc1e182bd45d99fcecb956501da212454a1", "shasum": "" }, "require": { @@ -252,7 +670,7 @@ "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.8.4" + "source": "https://github.com/composer/composer/tree/2.8.5" }, "funding": [ { @@ -268,7 +686,7 @@ "type": "tidelift" } ], - "time": "2024-12-11T10:57:47+00:00" + "time": "2025-01-21T14:23:40+00:00" }, { "name": "composer/metadata-minifier", @@ -646,42 +1064,287 @@ "time": "2024-05-06T16:37:16+00:00" }, { - "name": "ghostwriter/coding-standard", - "version": "dev-main", + "name": "dnoegel/php-xdg-base-dir", + "version": "v0.1.1", "source": { "type": "git", - "url": "https://github.com/ghostwriter/coding-standard.git", - "reference": "1dd832550f4e6859e4f90e176609e3c17a8afd00" + "url": "https://github.com/dnoegel/php-xdg-base-dir.git", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ghostwriter/coding-standard/zipball/1dd832550f4e6859e4f90e176609e3c17a8afd00", - "reference": "1dd832550f4e6859e4f90e176609e3c17a8afd00", + "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", "shasum": "" }, "require": { - "composer-plugin-api": "^2.6.0", - "composer-runtime-api": "^2.2.2", - "composer/composer": "^2.8.4", - "mockery/mockery": "^1.6.12", - "php": "^8.2", - "phpunit/phpunit": "11.5.2", - "symfony/var-dumper": "^7.2.0" - }, - "conflict": { - "vimeo/psalm": "<5.26" + "php": ">=5.3.2" }, "require-dev": { - "ghostwriter/container": "^4.0.3", - "ghostwriter/filesystem": "^0.1.1", - "ghostwriter/shell": "^0.1.0" + "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" }, - "default-branch": true, - "bin": [ - "tools/infection", - "tools/phive", - "tools/phpactor" - ], + "type": "library", + "autoload": { + "psr-4": { + "XdgBaseDir\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "implementation of xdg base directory specification for php", + "support": { + "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", + "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" + }, + "time": "2019-12-04T15:06:13+00:00" + }, + { + "name": "doctrine/deprecations", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/31610dbb31faa98e6b5447b62340826f54fbc4e9", + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^12", + "phpstan/phpstan": "1.4.10 || 2.0.3", + "phpstan/phpstan-phpunit": "^1.0 || ^2", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psr/log": "^1 || ^2 || ^3" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Deprecations\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", + "support": { + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/1.1.4" + }, + "time": "2024-12-07T21:18:45+00:00" + }, + { + "name": "felixfbecker/advanced-json-rpc", + "version": "v3.2.1", + "source": { + "type": "git", + "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447", + "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" + }, + "require-dev": { + "phpunit/phpunit": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "AdvancedJsonRpc\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Felix Becker", + "email": "felix.b@outlook.com" + } + ], + "description": "A more advanced JSONRPC implementation", + "support": { + "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", + "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1" + }, + "time": "2021-06-11T22:34:44+00:00" + }, + { + "name": "felixfbecker/language-server-protocol", + "version": "v1.5.3", + "source": { + "type": "git", + "url": "https://github.com/felixfbecker/php-language-server-protocol.git", + "reference": "a9e113dbc7d849e35b8776da39edaf4313b7b6c9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/a9e113dbc7d849e35b8776da39edaf4313b7b6c9", + "reference": "a9e113dbc7d849e35b8776da39edaf4313b7b6c9", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "phpstan/phpstan": "*", + "squizlabs/php_codesniffer": "^3.1", + "vimeo/psalm": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "LanguageServerProtocol\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "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.3" + }, + "time": "2024-04-30T00:40:11+00:00" + }, + { + "name": "fidry/cpu-core-counter", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/theofidry/cpu-core-counter.git", + "reference": "8520451a140d3f46ac33042715115e290cf5785f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f", + "reference": "8520451a140d3f46ac33042715115e290cf5785f", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "fidry/makefile": "^0.2.0", + "fidry/php-cs-fixer-config": "^1.1.2", + "phpstan/extension-installer": "^1.2.0", + "phpstan/phpstan": "^1.9.2", + "phpstan/phpstan-deprecation-rules": "^1.0.0", + "phpstan/phpstan-phpunit": "^1.2.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^8.5.31 || ^9.5.26", + "webmozarts/strict-phpunit": "^7.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Fidry\\CpuCoreCounter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Théo FIDRY", + "email": "theo.fidry@gmail.com" + } + ], + "description": "Tiny utility to get the number of CPU cores.", + "keywords": [ + "CPU", + "core" + ], + "support": { + "issues": "https://github.com/theofidry/cpu-core-counter/issues", + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0" + }, + "funding": [ + { + "url": "https://github.com/theofidry", + "type": "github" + } + ], + "time": "2024-08-06T10:04:20+00:00" + }, + { + "name": "ghostwriter/coding-standard", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/ghostwriter/coding-standard.git", + "reference": "92cf69c4d1b68ad4a6f6a4d80d1ee5fb873526ae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ghostwriter/coding-standard/zipball/92cf69c4d1b68ad4a6f6a4d80d1ee5fb873526ae", + "reference": "92cf69c4d1b68ad4a6f6a4d80d1ee5fb873526ae", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^2.6.0", + "composer-runtime-api": "^2.2.2", + "composer/composer": "^2.8.5", + "mockery/mockery": "^1.6.12", + "php": "^8.2", + "phpunit/phpunit": "^11.5.5", + "symfony/var-dumper": "^7.2.3", + "vimeo/psalm": "^6.0.0" + }, + "conflict": { + "vimeo/psalm": "<6.0" + }, + "require-dev": { + "ghostwriter/container": "^4.0.3", + "ghostwriter/filesystem": "^0.1.1", + "ghostwriter/shell": "^0.1.0" + }, + "default-branch": true, + "bin": [ + "tools/infection", + "tools/phive", + "tools/phpactor" + ], "type": "composer-plugin", "extra": { "class": "Ghostwriter\\CodingStandard\\Plugin\\ComposerPlugin", @@ -727,7 +1390,7 @@ "type": "github" } ], - "time": "2025-01-15T03:14:49+00:00" + "time": "2025-01-30T16:52:18+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -988,6 +1651,57 @@ ], "time": "2024-11-08T17:47:46+00:00" }, + { + "name": "netresearch/jsonmapper", + "version": "v4.5.0", + "source": { + "type": "git", + "url": "https://github.com/cweiske/jsonmapper.git", + "reference": "8e76efb98ee8b6afc54687045e1b8dba55ac76e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8e76efb98ee8b6afc54687045e1b8dba55ac76e5", + "reference": "8e76efb98ee8b6afc54687045e1b8dba55ac76e5", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=7.1" + }, + "require-dev": { + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0 || ~10.0", + "squizlabs/php_codesniffer": "~3.5" + }, + "type": "library", + "autoload": { + "psr-0": { + "JsonMapper": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "OSL-3.0" + ], + "authors": [ + { + "name": "Christian Weiske", + "email": "cweiske@cweiske.de", + "homepage": "http://github.com/cweiske/jsonmapper/", + "role": "Developer" + } + ], + "description": "Map nested JSON structures onto PHP classes", + "support": { + "email": "cweiske@cweiske.de", + "issues": "https://github.com/cweiske/jsonmapper/issues", + "source": "https://github.com/cweiske/jsonmapper/tree/v4.5.0" + }, + "time": "2024-09-08T10:13:13+00:00" + }, { "name": "nikic/php-parser", "version": "v5.4.0", @@ -1071,98 +1785,320 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "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.4" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+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.6.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8", + "reference": "e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8", + "shasum": "" + }, + "require": { + "doctrine/deprecations": "^1.1", + "ext-filter": "*", + "php": "^7.4 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.7", + "phpstan/phpdoc-parser": "^1.7|^2.0", + "webmozart/assert": "^1.9.1" + }, + "require-dev": { + "mockery/mockery": "~1.3.5 || ~1.6.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-webmozart-assert": "^1.2", + "phpunit/phpunit": "^9.5", + "psalm/phar": "^5.26" + }, + "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": "opensource@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.6.1" + }, + "time": "2024-12-07T09:39:29+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "1.10.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/679e3ce485b99e84c775d28e2e96fade9a7fb50a", + "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a", + "shasum": "" + }, + "require": { + "doctrine/deprecations": "^1.0", + "php": "^7.3 || ^8.0", + "phpdocumentor/reflection-common": "^2.0", + "phpstan/phpdoc-parser": "^1.18|^2.0" + }, + "require-dev": { + "ext-tokenizer": "*", + "phpbench/phpbench": "^1.2", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^9.5", + "rector/rector": "^0.13.9", + "vimeo/psalm": "^4.25" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "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" + "name": "Mike van Riel", + "email": "me@mikevanriel.com" } ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.4" + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.10.0" }, - "funding": [ - { - "url": "https://github.com/theseer", - "type": "github" - } - ], - "time": "2024-03-03T12:33:53+00:00" + "time": "2024-11-09T15:12:26+00:00" }, { - "name": "phar-io/version", - "version": "3.2.1", + "name": "phpstan/phpdoc-parser", + "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/c00d78fb6b29658347f9d37ebe104bffadf36299", + "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^5.3.0", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^9.6", + "symfony/process": "^5.2" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "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" - } + "MIT" ], - "description": "Library for handling version information and constraints", + "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { - "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.2.1" + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.0" }, - "time": "2022-02-21T01:04:05+00:00" + "time": "2024-10-13T11:29:49+00:00" }, { "name": "phpunit/php-code-coverage", @@ -1489,16 +2425,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.5.2", + "version": "11.5.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "153d0531b9f7e883c5053160cad6dd5ac28140b3" + "reference": "b9a975972f580c0491f834eb0818ad2b32fd8bba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/153d0531b9f7e883c5053160cad6dd5ac28140b3", - "reference": "153d0531b9f7e883c5053160cad6dd5ac28140b3", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b9a975972f580c0491f834eb0818ad2b32fd8bba", + "reference": "b9a975972f580c0491f834eb0818ad2b32fd8bba", "shasum": "" }, "require": { @@ -1519,7 +2455,7 @@ "phpunit/php-timer": "^7.0.1", "sebastian/cli-parser": "^3.0.2", "sebastian/code-unit": "^3.0.2", - "sebastian/comparator": "^6.2.1", + "sebastian/comparator": "^6.3.0", "sebastian/diff": "^6.0.2", "sebastian/environment": "^7.2.0", "sebastian/exporter": "^6.3.0", @@ -1570,7 +2506,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.5" }, "funding": [ { @@ -1586,7 +2522,7 @@ "type": "tidelift" } ], - "time": "2024-12-21T05:51:08+00:00" + "time": "2025-01-29T14:01:11+00:00" }, { "name": "psr/container", @@ -1764,6 +2700,78 @@ ], "time": "2024-05-24T10:39:05+00:00" }, + { + "name": "revolt/event-loop", + "version": "v1.0.6", + "source": { + "type": "git", + "url": "https://github.com/revoltphp/event-loop.git", + "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/25de49af7223ba039f64da4ae9a28ec2d10d0254", + "reference": "25de49af7223ba039f64da4ae9a28ec2d10d0254", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "ext-json": "*", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.15" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Revolt\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "ceesjank@gmail.com" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Rock-solid event loop for concurrent PHP applications.", + "keywords": [ + "async", + "asynchronous", + "concurrency", + "event", + "event-loop", + "non-blocking", + "scheduler" + ], + "support": { + "issues": "https://github.com/revoltphp/event-loop/issues", + "source": "https://github.com/revoltphp/event-loop/tree/v1.0.6" + }, + "time": "2023-11-30T05:34:44+00:00" + }, { "name": "sebastian/cli-parser", "version": "3.0.2", @@ -2863,6 +3871,74 @@ }, "time": "2023-09-03T09:24:00+00:00" }, + { + "name": "spatie/array-to-xml", + "version": "3.4.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/array-to-xml.git", + "reference": "7dcfc67d60b0272926dabad1ec01f6b8a5fb5e67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/7dcfc67d60b0272926dabad1ec01f6b8a5fb5e67", + "reference": "7dcfc67d60b0272926dabad1ec01f6b8a5fb5e67", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "php": "^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.2", + "pestphp/pest": "^1.21", + "spatie/pest-plugin-snapshots": "^1.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Spatie\\ArrayToXml\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://freek.dev", + "role": "Developer" + } + ], + "description": "Convert an array to xml", + "homepage": "https://github.com/spatie/array-to-xml", + "keywords": [ + "array", + "convert", + "xml" + ], + "support": { + "source": "https://github.com/spatie/array-to-xml/tree/3.4.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-12-16T12:45:15+00:00" + }, { "name": "staabm/side-effects-detector", "version": "1.0.5", @@ -3988,16 +5064,16 @@ }, { "name": "symfony/var-dumper", - "version": "v7.2.0", + "version": "v7.2.3", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c" + "reference": "82b478c69745d8878eb60f9a049a4d584996f73a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c6a22929407dec8765d6e2b6ff85b800b245879c", - "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/82b478c69745d8878eb60f9a049a4d584996f73a", + "reference": "82b478c69745d8878eb60f9a049a4d584996f73a", "shasum": "" }, "require": { @@ -4051,7 +5127,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.2.0" + "source": "https://github.com/symfony/var-dumper/tree/v7.2.3" }, "funding": [ { @@ -4067,7 +5143,7 @@ "type": "tidelift" } ], - "time": "2024-11-08T15:48:14+00:00" + "time": "2025-01-17T11:39:41+00:00" }, { "name": "theseer/tokenizer", @@ -4118,6 +5194,174 @@ } ], "time": "2024-03-03T12:36:25+00:00" + }, + { + "name": "vimeo/psalm", + "version": "6.0.0", + "source": { + "type": "git", + "url": "https://github.com/vimeo/psalm.git", + "reference": "b8e96bb617bf59382113b1b56cef751f648a7dc9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/b8e96bb617bf59382113b1b56cef751f648a7dc9", + "reference": "b8e96bb617bf59382113b1b56cef751f648a7dc9", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "amphp/byte-stream": "^2", + "composer-runtime-api": "^2", + "composer/semver": "^1.4 || ^2.0 || ^3.0", + "composer/xdebug-handler": "^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.1", + "felixfbecker/language-server-protocol": "^1.5.3", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1 || ^1.0.0", + "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", + "nikic/php-parser": "^5.0.0", + "php": "~8.1.17 || ~8.2.4 || ~8.3.0 || ~8.4.0", + "sebastian/diff": "^4.0 || ^5.0 || ^6.0", + "spatie/array-to-xml": "^2.17.0 || ^3.0", + "symfony/console": "^4.1.6 || ^5.0 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0" + }, + "provide": { + "psalm/psalm": "self.version" + }, + "require-dev": { + "amphp/phpunit-util": "^3", + "bamarni/composer-bin-plugin": "^1.4", + "brianium/paratest": "^6.9", + "dg/bypass-finals": "^1.5", + "ext-curl": "*", + "mockery/mockery": "^1.5", + "nunomaduro/mock-final-classes": "^1.1", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpdoc-parser": "^1.6", + "phpunit/phpunit": "^9.6", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.19", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.6", + "symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.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": "project", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev", + "dev-2.x": "2.x-dev", + "dev-3.x": "3.x-dev", + "dev-4.x": "4.x-dev", + "dev-5.x": "5.x-dev", + "dev-6.x": "6.x-dev", + "dev-master": "7.x-dev" + } + }, + "autoload": { + "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", + "static analysis" + ], + "support": { + "docs": "https://psalm.dev/docs", + "issues": "https://github.com/vimeo/psalm/issues", + "source": "https://github.com/vimeo/psalm" + }, + "time": "2025-01-26T12:03:19+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": [], From cf14c7c23e9aeed865cd864682b6236f260c58a9 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 13:07:59 -0600 Subject: [PATCH 15/26] Update composer.lock (#20) Updates the `composer.lock` file Signed-off-by: Nathanael Esayeas --- composer.lock | 843 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 811 insertions(+), 32 deletions(-) diff --git a/composer.lock b/composer.lock index e29e184..1aa67be 100644 --- a/composer.lock +++ b/composer.lock @@ -163,6 +163,244 @@ ], "time": "2024-02-17T04:49:38+00:00" }, + { + "name": "amphp/cache", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/amphp/cache.git", + "reference": "46912e387e6aa94933b61ea1ead9cf7540b7797c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/cache/zipball/46912e387e6aa94933b61ea1ead9cf7540b7797c", + "reference": "46912e387e6aa94933b61ea1ead9cf7540b7797c", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "amphp/serialization": "^1", + "amphp/sync": "^2", + "php": ">=8.1", + "revolt/event-loop": "^1 || ^0.2" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Amp\\Cache\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + }, + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" + } + ], + "description": "A fiber-aware cache API based on Amp and Revolt.", + "homepage": "https://amphp.org/cache", + "support": { + "issues": "https://github.com/amphp/cache/issues", + "source": "https://github.com/amphp/cache/tree/v2.0.1" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2024-04-19T03:38:06+00:00" + }, + { + "name": "amphp/dns", + "version": "v2.4.0", + "source": { + "type": "git", + "url": "https://github.com/amphp/dns.git", + "reference": "78eb3db5fc69bf2fc0cb503c4fcba667bc223c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/dns/zipball/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71", + "reference": "78eb3db5fc69bf2fc0cb503c4fcba667bc223c71", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "amphp/byte-stream": "^2", + "amphp/cache": "^2", + "amphp/parser": "^1", + "amphp/process": "^2", + "daverandom/libdns": "^2.0.2", + "ext-filter": "*", + "ext-json": "*", + "php": ">=8.1", + "revolt/event-loop": "^1 || ^0.2" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "phpunit/phpunit": "^9", + "psalm/phar": "5.20" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Amp\\Dns\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Wright", + "email": "addr@daverandom.com" + }, + { + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" + }, + { + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + }, + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + } + ], + "description": "Async DNS resolution for Amp.", + "homepage": "https://github.com/amphp/dns", + "keywords": [ + "amp", + "amphp", + "async", + "client", + "dns", + "resolve" + ], + "support": { + "issues": "https://github.com/amphp/dns/issues", + "source": "https://github.com/amphp/dns/tree/v2.4.0" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2025-01-19T15:43:40+00:00" + }, + { + "name": "amphp/parallel", + "version": "v2.3.1", + "source": { + "type": "git", + "url": "https://github.com/amphp/parallel.git", + "reference": "5113111de02796a782f5d90767455e7391cca190" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/parallel/zipball/5113111de02796a782f5d90767455e7391cca190", + "reference": "5113111de02796a782f5d90767455e7391cca190", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "amphp/byte-stream": "^2", + "amphp/cache": "^2", + "amphp/parser": "^1", + "amphp/pipeline": "^1", + "amphp/process": "^2", + "amphp/serialization": "^1", + "amphp/socket": "^2", + "amphp/sync": "^2", + "php": ">=8.1", + "revolt/event-loop": "^1" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.18" + }, + "type": "library", + "autoload": { + "files": [ + "src/Context/functions.php", + "src/Context/Internal/functions.php", + "src/Ipc/functions.php", + "src/Worker/functions.php" + ], + "psr-4": { + "Amp\\Parallel\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + }, + { + "name": "Stephen Coakley", + "email": "me@stephencoakley.com" + } + ], + "description": "Parallel processing component for Amp.", + "homepage": "https://github.com/amphp/parallel", + "keywords": [ + "async", + "asynchronous", + "concurrent", + "multi-processing", + "multi-threading" + ], + "support": { + "issues": "https://github.com/amphp/parallel/issues", + "source": "https://github.com/amphp/parallel/tree/v2.3.1" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2024-12-21T01:56:09+00:00" + }, { "name": "amphp/parser", "version": "v1.1.1", @@ -292,6 +530,74 @@ ], "time": "2025-01-19T15:42:46+00:00" }, + { + "name": "amphp/process", + "version": "v2.0.3", + "source": { + "type": "git", + "url": "https://github.com/amphp/process.git", + "reference": "52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/process/zipball/52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d", + "reference": "52e08c09dec7511d5fbc1fb00d3e4e79fc77d58d", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "amphp/byte-stream": "^2", + "amphp/sync": "^2", + "php": ">=8.1", + "revolt/event-loop": "^1 || ^0.2" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "phpunit/phpunit": "^9", + "psalm/phar": "^5.4" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Amp\\Process\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" + }, + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A fiber-aware process manager based on Amp and Revolt.", + "homepage": "https://amphp.org/process", + "support": { + "issues": "https://github.com/amphp/process/issues", + "source": "https://github.com/amphp/process/tree/v2.0.3" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2024-04-19T03:13:44+00:00" + }, { "name": "amphp/serialization", "version": "v1.0.0", @@ -310,16 +616,87 @@ "php": ">=7.1" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "phpunit/phpunit": "^9 || ^8 || ^7" + "amphp/php-cs-fixer-config": "dev-master", + "phpunit/phpunit": "^9 || ^8 || ^7" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Amp\\Serialization\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Serialization tools for IPC and data storage in PHP.", + "homepage": "https://github.com/amphp/serialization", + "keywords": [ + "async", + "asynchronous", + "serialization", + "serialize" + ], + "support": { + "issues": "https://github.com/amphp/serialization/issues", + "source": "https://github.com/amphp/serialization/tree/master" + }, + "time": "2020-03-25T21:39:07+00:00" + }, + { + "name": "amphp/socket", + "version": "v2.3.1", + "source": { + "type": "git", + "url": "https://github.com/amphp/socket.git", + "reference": "58e0422221825b79681b72c50c47a930be7bf1e1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/socket/zipball/58e0422221825b79681b72c50c47a930be7bf1e1", + "reference": "58e0422221825b79681b72c50c47a930be7bf1e1", + "shasum": "" + }, + "require": { + "amphp/amp": "^3", + "amphp/byte-stream": "^2", + "amphp/dns": "^2", + "ext-openssl": "*", + "kelunik/certificate": "^1.1", + "league/uri": "^6.5 | ^7", + "league/uri-interfaces": "^2.3 | ^7", + "php": ">=8.1", + "revolt/event-loop": "^1 || ^0.2" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "amphp/process": "^2", + "phpunit/phpunit": "^9", + "psalm/phar": "5.20" }, "type": "library", "autoload": { "files": [ - "src/functions.php" + "src/functions.php", + "src/Internal/functions.php", + "src/SocketAddress/functions.php" ], "psr-4": { - "Amp\\Serialization\\": "src" + "Amp\\Socket\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -327,6 +704,10 @@ "MIT" ], "authors": [ + { + "name": "Daniel Lowrey", + "email": "rdlowrey@gmail.com" + }, { "name": "Aaron Piotrowski", "email": "aaron@trowski.com" @@ -336,19 +717,28 @@ "email": "me@kelunik.com" } ], - "description": "Serialization tools for IPC and data storage in PHP.", - "homepage": "https://github.com/amphp/serialization", + "description": "Non-blocking socket connection / server implementations based on Amp and Revolt.", + "homepage": "https://github.com/amphp/socket", "keywords": [ + "amp", "async", - "asynchronous", - "serialization", - "serialize" + "encryption", + "non-blocking", + "sockets", + "tcp", + "tls" ], "support": { - "issues": "https://github.com/amphp/serialization/issues", - "source": "https://github.com/amphp/serialization/tree/master" + "issues": "https://github.com/amphp/socket/issues", + "source": "https://github.com/amphp/socket/tree/v2.3.1" }, - "time": "2020-03-25T21:39:07+00:00" + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2024-04-21T14:33:03+00:00" }, { "name": "amphp/sync", @@ -1063,6 +1453,50 @@ ], "time": "2024-05-06T16:37:16+00:00" }, + { + "name": "daverandom/libdns", + "version": "v2.1.0", + "source": { + "type": "git", + "url": "https://github.com/DaveRandom/LibDNS.git", + "reference": "b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/DaveRandom/LibDNS/zipball/b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a", + "reference": "b84c94e8fe6b7ee4aecfe121bfe3b6177d303c8a", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "Required for IDN support" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "LibDNS\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "DNS protocol implementation written in pure PHP", + "keywords": [ + "dns" + ], + "support": { + "issues": "https://github.com/DaveRandom/LibDNS/issues", + "source": "https://github.com/DaveRandom/LibDNS/tree/v2.1.0" + }, + "time": "2024-04-12T12:12:48+00:00" + }, { "name": "dnoegel/php-xdg-base-dir", "version": "v0.1.1", @@ -1313,12 +1747,12 @@ "source": { "type": "git", "url": "https://github.com/ghostwriter/coding-standard.git", - "reference": "92cf69c4d1b68ad4a6f6a4d80d1ee5fb873526ae" + "reference": "a395065e178551271c93c7099fede9a66773f7d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ghostwriter/coding-standard/zipball/92cf69c4d1b68ad4a6f6a4d80d1ee5fb873526ae", - "reference": "92cf69c4d1b68ad4a6f6a4d80d1ee5fb873526ae", + "url": "https://api.github.com/repos/ghostwriter/coding-standard/zipball/a395065e178551271c93c7099fede9a66773f7d5", + "reference": "a395065e178551271c93c7099fede9a66773f7d5", "shasum": "" }, "require": { @@ -1327,9 +1761,9 @@ "composer/composer": "^2.8.5", "mockery/mockery": "^1.6.12", "php": "^8.2", - "phpunit/phpunit": "^11.5.5", + "phpunit/phpunit": "^11.5.6", "symfony/var-dumper": "^7.2.3", - "vimeo/psalm": "^6.0.0" + "vimeo/psalm": "^6.1.0" }, "conflict": { "vimeo/psalm": "<6.0" @@ -1390,7 +1824,7 @@ "type": "github" } ], - "time": "2025-01-30T16:52:18+00:00" + "time": "2025-01-31T09:19:20+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -1508,6 +1942,238 @@ }, "time": "2024-07-06T21:00:26+00:00" }, + { + "name": "kelunik/certificate", + "version": "v1.1.3", + "source": { + "type": "git", + "url": "https://github.com/kelunik/certificate.git", + "reference": "7e00d498c264d5eb4f78c69f41c8bd6719c0199e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kelunik/certificate/zipball/7e00d498c264d5eb4f78c69f41c8bd6719c0199e", + "reference": "7e00d498c264d5eb4f78c69f41c8bd6719c0199e", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "php": ">=7.0" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "^2", + "phpunit/phpunit": "^6 | 7 | ^8 | ^9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Kelunik\\Certificate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "Access certificate details and transform between different formats.", + "keywords": [ + "DER", + "certificate", + "certificates", + "openssl", + "pem", + "x509" + ], + "support": { + "issues": "https://github.com/kelunik/certificate/issues", + "source": "https://github.com/kelunik/certificate/tree/v1.1.3" + }, + "time": "2023-02-03T21:26:53+00:00" + }, + { + "name": "league/uri", + "version": "7.5.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/uri.git", + "reference": "81fb5145d2644324614cc532b28efd0215bda430" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/uri/zipball/81fb5145d2644324614cc532b28efd0215bda430", + "reference": "81fb5145d2644324614cc532b28efd0215bda430", + "shasum": "" + }, + "require": { + "league/uri-interfaces": "^7.5", + "php": "^8.1" + }, + "conflict": { + "league/uri-schemes": "^1.0" + }, + "suggest": { + "ext-bcmath": "to improve IPV4 host parsing", + "ext-fileinfo": "to create Data URI from file contennts", + "ext-gmp": "to improve IPV4 host parsing", + "ext-intl": "to handle IDN host with the best performance", + "jeremykendall/php-domain-parser": "to resolve Public Suffix and Top Level Domain", + "league/uri-components": "Needed to easily manipulate URI objects components", + "php-64bit": "to improve IPV4 host parsing", + "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Uri\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://nyamsprod.com" + } + ], + "description": "URI manipulation library", + "homepage": "https://uri.thephpleague.com", + "keywords": [ + "data-uri", + "file-uri", + "ftp", + "hostname", + "http", + "https", + "middleware", + "parse_str", + "parse_url", + "psr-7", + "query-string", + "querystring", + "rfc3986", + "rfc3987", + "rfc6570", + "uri", + "uri-template", + "url", + "ws" + ], + "support": { + "docs": "https://uri.thephpleague.com", + "forum": "https://thephpleague.slack.com", + "issues": "https://github.com/thephpleague/uri-src/issues", + "source": "https://github.com/thephpleague/uri/tree/7.5.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/nyamsprod", + "type": "github" + } + ], + "time": "2024-12-08T08:40:02+00:00" + }, + { + "name": "league/uri-interfaces", + "version": "7.5.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/uri-interfaces.git", + "reference": "08cfc6c4f3d811584fb09c37e2849e6a7f9b0742" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/08cfc6c4f3d811584fb09c37e2849e6a7f9b0742", + "reference": "08cfc6c4f3d811584fb09c37e2849e6a7f9b0742", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "php": "^8.1", + "psr/http-factory": "^1", + "psr/http-message": "^1.1 || ^2.0" + }, + "suggest": { + "ext-bcmath": "to improve IPV4 host parsing", + "ext-gmp": "to improve IPV4 host parsing", + "ext-intl": "to handle IDN host with the best performance", + "php-64bit": "to improve IPV4 host parsing", + "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Uri\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://nyamsprod.com" + } + ], + "description": "Common interfaces and classes for URI representation and interaction", + "homepage": "https://uri.thephpleague.com", + "keywords": [ + "data-uri", + "file-uri", + "ftp", + "hostname", + "http", + "https", + "parse_str", + "parse_url", + "psr-7", + "query-string", + "querystring", + "rfc3986", + "rfc3987", + "rfc6570", + "uri", + "url", + "ws" + ], + "support": { + "docs": "https://uri.thephpleague.com", + "forum": "https://thephpleague.slack.com", + "issues": "https://github.com/thephpleague/uri-src/issues", + "source": "https://github.com/thephpleague/uri-interfaces/tree/7.5.0" + }, + "funding": [ + { + "url": "https://github.com/sponsors/nyamsprod", + "type": "github" + } + ], + "time": "2024-12-08T08:18:47+00:00" + }, { "name": "mockery/mockery", "version": "1.6.12", @@ -2425,16 +3091,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.5.5", + "version": "11.5.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "b9a975972f580c0491f834eb0818ad2b32fd8bba" + "reference": "3c3ae14c90f244cdda95028c3e469028e8d1c02c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b9a975972f580c0491f834eb0818ad2b32fd8bba", - "reference": "b9a975972f580c0491f834eb0818ad2b32fd8bba", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3c3ae14c90f244cdda95028c3e469028e8d1c02c", + "reference": "3c3ae14c90f244cdda95028c3e469028e8d1c02c", "shasum": "" }, "require": { @@ -2506,7 +3172,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.5" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.6" }, "funding": [ { @@ -2522,7 +3188,7 @@ "type": "tidelift" } ], - "time": "2025-01-29T14:01:11+00:00" + "time": "2025-01-31T07:03:30+00:00" }, { "name": "psr/container", @@ -2577,6 +3243,114 @@ }, "time": "2021-11-05T16:47:00+00:00" }, + { + "name": "psr/http-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory" + }, + "time": "2024-04-15T12:06:14+00:00" + }, + { + "name": "psr/http-message", + "version": "2.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/2.0" + }, + "time": "2023-04-04T09:54:51+00:00" + }, { "name": "psr/log", "version": "3.0.2", @@ -5197,21 +5971,22 @@ }, { "name": "vimeo/psalm", - "version": "6.0.0", + "version": "6.1.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "b8e96bb617bf59382113b1b56cef751f648a7dc9" + "reference": "827971f8bc7a28bb4f842f34bf8901521de1cea3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/b8e96bb617bf59382113b1b56cef751f648a7dc9", - "reference": "b8e96bb617bf59382113b1b56cef751f648a7dc9", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/827971f8bc7a28bb4f842f34bf8901521de1cea3", + "reference": "827971f8bc7a28bb4f842f34bf8901521de1cea3", "shasum": "" }, "require": { "amphp/amp": "^3", "amphp/byte-stream": "^2", + "amphp/parallel": "^2.3", "composer-runtime-api": "^2", "composer/semver": "^1.4 || ^2.0 || ^3.0", "composer/xdebug-handler": "^2.0 || ^3.0", @@ -5231,8 +6006,8 @@ "php": "~8.1.17 || ~8.2.4 || ~8.3.0 || ~8.4.0", "sebastian/diff": "^4.0 || ^5.0 || ^6.0", "spatie/array-to-xml": "^2.17.0 || ^3.0", - "symfony/console": "^4.1.6 || ^5.0 || ^6.0 || ^7.0", - "symfony/filesystem": "^5.4 || ^6.0 || ^7.0" + "symfony/console": "^6.0 || ^7.0", + "symfony/filesystem": "^6.0 || ^7.0" }, "provide": { "psalm/psalm": "self.version" @@ -5252,7 +6027,7 @@ "psalm/plugin-phpunit": "^0.19", "slevomat/coding-standard": "^8.4", "squizlabs/php_codesniffer": "^3.6", - "symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0" + "symfony/process": "^6.0 || ^7.0" }, "suggest": { "ext-curl": "In order to send data to shepherd", @@ -5289,6 +6064,10 @@ "authors": [ { "name": "Matthew Brown" + }, + { + "name": "Daniil Gentili", + "email": "daniil@daniil.it" } ], "description": "A static analysis tool for finding errors in PHP applications", @@ -5303,7 +6082,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2025-01-26T12:03:19+00:00" + "time": "2025-01-30T19:33:41+00:00" }, { "name": "webmozart/assert", From 7814bc2b8b119ce7ae4b0f7d5c80b03b895fa99d Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:02:11 -0600 Subject: [PATCH 16/26] Update composer.lock (#21) Updates the `composer.lock` file Signed-off-by: Nathanael Esayeas --- composer.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.lock b/composer.lock index 1aa67be..da78ca3 100644 --- a/composer.lock +++ b/composer.lock @@ -6154,7 +6154,7 @@ "php": ">=8.3", "ext-mbstring": "*" }, - "platform-dev": {}, + "platform-dev": [], "platform-overrides": { "php": "8.3.999" }, From f436ba04f6113be4defa2f2ba8416f31d98bce5d Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:16:39 -0600 Subject: [PATCH 17/26] Update phpunit.xml.dist (#22) Updates phpunit.xml.dist file Signed-off-by: Nathanael Esayeas --- phpunit.xml.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f8f1480..9caa4be 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,6 @@ Date: Fri, 31 Jan 2025 18:29:06 -0600 Subject: [PATCH 18/26] Update composer.json Signed-off-by: Nathanael Esayeas --- composer.json | 74 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 31 deletions(-) diff --git a/composer.json b/composer.json index f3e88a0..fd1fc96 100644 --- a/composer.json +++ b/composer.json @@ -31,9 +31,7 @@ "homepage": "https://github.com/ghostwriter/case-converter", "support": { "issues": "https://github.com/ghostwriter/case-converter/issues", - "forum": "https://github.com/ghostwriter/case-converter/discussions", "source": "https://github.com/ghostwriter/case-converter", - "docs": "https://github.com/ghostwriter/case-converter", "rss": "https://github.com/ghostwriter/case-converter/releases.atom", "security": "https://github.com/ghostwriter/case-converter/security/advisories/new" }, @@ -43,13 +41,19 @@ "url": "https://github.com/sponsors/ghostwriter" } ], - "_comment": "#BlackLivesMatter", + "_comment": [ + "#BlackLivesMatter", + "#FreePalestine", + "#StandWithUkraine" + ], "require": { "php": ">=8.3", "ext-mbstring": "*" }, "require-dev": { - "ghostwriter/coding-standard": "dev-main" + "ghostwriter/coding-standard": "@dev", + "ghostwriter/psalm-plugin": "@dev", + "ghostwriter/testify": "@dev" }, "replace": {}, "minimum-stability": "stable", @@ -61,19 +65,27 @@ }, "autoload-dev": { "psr-4": { - "Tests\\": "tests" - } + "Tests\\Unit\\": "tests/unit/" + }, + "files": [ + "tests/bootstrap.php" + ], + "exclude-from-classmap": [ + "tests/fixture/" + ] }, "config": { "allow-plugins": { "ghostwriter/coding-standard": true }, + "bump-after-update": true, "classmap-authoritative": false, "discard-changes": true, "optimize-autoloader": true, "platform": { "php": "8.3.999" }, + "platform-check": true, "preferred-install": "dist", "prepend-autoloader": true, "process-timeout": 5000, @@ -81,43 +93,43 @@ "use-parent-dir": false }, "scripts": { + "bin_composer": "vendor/ghostwriter/coding-standard/tools/composer", "bin_ecs": "ecs check --clear-cache --no-interaction", - "bin_infection": "infection --ansi --show-mutations --threads=max --min-msi=0 --min-covered-msi=0", - "bin_phive": "phive", - "bin_phpunit": "phpunit --do-not-cache-result --colors=always", + "bin_infection": "vendor/ghostwriter/coding-standard/tools/infection --ansi --min-covered-msi=0 --min-msi=0 --show-mutations --threads=max", + "bin_normalize": "vendor/ghostwriter/coding-standard/tools/composer-normalize", + "bin_phive": "vendor/ghostwriter/coding-standard/tools/phive", + "bin_phpunit": "vendor/ghostwriter/coding-standard/tools/phpunit --do-not-cache-result --colors=always", "bin_psalm": "psalm --no-cache", - "bin_rector": "rector process --no-ansi --clear-cache", + "bin_rector": "rector process --clear-cache --no-ansi", "cache:clear": "rm -rf ./.cache/*", "check": [ - "@composer validate", + "@cache:clear", + "@bin_composer validate", + "@composer-normalize", "@ecs", "@test" ], - "dev": [ - "@cache:clear", - "@check", - "@psalm:update", - "@psalm:security", - "@psalm:dry-run" - ], + "composer-normalize": "@bin_normalize --no-cache --diff --no-check-lock --no-scripts --no-plugins", "ecs": "@bin_ecs --fix", "git:submodule:update": "git submodule update --depth=1 --init --recursive --recommend-shallow --remote", - "infection": "@bin_infection", - "phpunit": "@bin_phpunit", - "phpunit:migrate": "@bin_phpunit --migrate-configuration", - "psalm": "@bin_psalm --show-info=true", - "psalm:alter": "@bin_psalm --alter --allow-backwards-incompatible-changes=false --safe-types", - "psalm:baseline": "@psalm --no-diff --set-baseline=psalm-baseline.xml", - "psalm:dry-run": "@psalm:alter --issues=all --dry-run", - "psalm:fix": "@psalm:alter --issues=UnnecessaryVarAnnotation,MissingPureAnnotation,MissingImmutableAnnotation", - "psalm:security": "@psalm --no-diff --taint-analysis", - "psalm:shepherd": "@psalm --no-diff --shepherd --stats", - "psalm:update": "@psalm --no-diff --update-baseline=psalm-baseline.xml", + "infection": [ + "@xdebug", + "@bin_infection" + ], + "phpunit": [ + "@xdebug", + "@bin_phpunit" + ], + "phpunit:migrate": [ + "@xdebug", + "@bin_phpunit --migrate-configuration" + ], "rector": "@bin_rector", + "rector:dry-run": "@rector --dry-run", "test": [ "@phpunit", - "@psalm:shepherd", "@infection" - ] + ], + "xdebug": "@putenv XDEBUG_MODE=coverage" } } From 0cf2a42ec341f032126c7b6ae2a7e524fa352852 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:29:06 -0600 Subject: [PATCH 19/26] Update composer.lock Signed-off-by: Nathanael Esayeas --- composer.lock | 389 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 387 insertions(+), 2 deletions(-) diff --git a/composer.lock b/composer.lock index da78ca3..a6697b0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "99ab91d99801f7ccc6fe216b68c37c77", + "content-hash": "8b17e88be37909341db58d8f0d246667", "packages": [], "packages-dev": [ { @@ -1826,6 +1826,389 @@ ], "time": "2025-01-31T09:19:20+00:00" }, + { + "name": "ghostwriter/config", + "version": "0.4.1", + "source": { + "type": "git", + "url": "https://github.com/ghostwriter/config.git", + "reference": "bcbe21a32abd8e2788c58e74a9bb82b676b4be5f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ghostwriter/config/zipball/bcbe21a32abd8e2788c58e74a9bb82b676b4be5f", + "reference": "bcbe21a32abd8e2788c58e74a9bb82b676b4be5f", + "shasum": "" + }, + "require": { + "php": ">=8.1 <8.4" + }, + "require-dev": { + "ghostwriter/coding-standard": "dev-main" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ghostwriter\\Config\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Developer" + } + ], + "description": "Provides an object that maps configuration keys to values.", + "homepage": "https://github.com/ghostwriter/config", + "keywords": [ + "config", + "ghostwriter" + ], + "support": { + "docs": "https://github.com/ghostwriter/config", + "forum": "https://github.com/ghostwriter/config/discussions", + "issues": "https://github.com/ghostwriter/config/issues", + "rss": "https://github.com/ghostwriter/config/releases.atom", + "source": "https://github.com/ghostwriter/config" + }, + "funding": [ + { + "url": "https://github.com/sponsors/ghostwriter", + "type": "github" + } + ], + "time": "2023-07-11T10:18:30+00:00" + }, + { + "name": "ghostwriter/container", + "version": "4.0.3", + "source": { + "type": "git", + "url": "https://github.com/ghostwriter/container.git", + "reference": "a36501ae47e77441504b04500e303d118509f162" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ghostwriter/container/zipball/a36501ae47e77441504b04500e303d118509f162", + "reference": "a36501ae47e77441504b04500e303d118509f162", + "shasum": "" + }, + "require": { + "php": ">=8.3" + }, + "require-dev": { + "ghostwriter/coding-standard": "dev-main" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ghostwriter\\Container\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Developer" + } + ], + "description": "Provides an extensible Dependency Injection Service Container for Automated Object Composition, Interception, and Lifetime Management.", + "homepage": "https://github.com/ghostwriter/container", + "keywords": [ + "container", + "ghostwriter" + ], + "support": { + "docs": "https://github.com/ghostwriter/container", + "forum": "https://github.com/ghostwriter/container/discussions", + "issues": "https://github.com/ghostwriter/container/issues", + "rss": "https://github.com/ghostwriter/container/releases.atom", + "security": "https://github.com/ghostwriter/container/security/advisories/new", + "source": "https://github.com/ghostwriter/container" + }, + "funding": [ + { + "url": "https://github.com/sponsors/ghostwriter", + "type": "github" + } + ], + "time": "2024-10-09T18:15:29+00:00" + }, + { + "name": "ghostwriter/event-dispatcher", + "version": "5.0.2", + "source": { + "type": "git", + "url": "https://github.com/ghostwriter/event-dispatcher.git", + "reference": "3fd8e9b0714298930b2a250a4c369c05c614a33a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ghostwriter/event-dispatcher/zipball/3fd8e9b0714298930b2a250a4c369c05c614a33a", + "reference": "3fd8e9b0714298930b2a250a4c369c05c614a33a", + "shasum": "" + }, + "require": { + "ghostwriter/container": "^4.0.2", + "php": ">=8.3" + }, + "require-dev": { + "ghostwriter/coding-standard": "dev-main" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ghostwriter\\EventDispatcher\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Developer" + } + ], + "description": "Event Dispatcher implementation.", + "keywords": [ + "event-dispatcher", + "ghostwriter" + ], + "support": { + "docs": "https://github.com/ghostwriter/event-dispatcher", + "forum": "https://github.com/ghostwriter/event-dispatcher/discussions", + "issues": "https://github.com/ghostwriter/event-dispatcher/issues", + "rss": "https://github.com/ghostwriter/event-dispatcher/releases.atom", + "security": "https://github.com/ghostwriter/event-dispatcher/security/advisories/new", + "source": "https://github.com/ghostwriter/event-dispatcher" + }, + "funding": [ + { + "url": "https://github.com/sponsors/ghostwriter", + "type": "github" + } + ], + "time": "2024-07-15T22:32:15+00:00" + }, + { + "name": "ghostwriter/filesystem", + "version": "0.1.1", + "source": { + "type": "git", + "url": "https://github.com/ghostwriter/filesystem.git", + "reference": "48779b1db050cdeb3c1d9ff9752f75acd1318398" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ghostwriter/filesystem/zipball/48779b1db050cdeb3c1d9ff9752f75acd1318398", + "reference": "48779b1db050cdeb3c1d9ff9752f75acd1318398", + "shasum": "" + }, + "require": { + "php": ">=8.3" + }, + "require-dev": { + "ghostwriter/coding-standard": "dev-main" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ghostwriter\\Filesystem\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Developer" + } + ], + "description": "Filesystem implementation for PHP", + "homepage": "https://github.com/ghostwriter/filesystem", + "keywords": [ + "filesystem", + "ghostwriter" + ], + "support": { + "docs": "https://github.com/ghostwriter/filesystem", + "forum": "https://github.com/ghostwriter/filesystem/discussions", + "issues": "https://github.com/ghostwriter/filesystem/issues", + "rss": "https://github.com/ghostwriter/filesystem/releases.atom", + "security": "https://github.com/ghostwriter/filesystem/security/advisories/new", + "source": "https://github.com/ghostwriter/filesystem" + }, + "funding": [ + { + "url": "https://github.com/sponsors/ghostwriter", + "type": "github" + } + ], + "time": "2024-10-10T16:28:42+00:00" + }, + { + "name": "ghostwriter/psalm-plugin", + "version": "0.2.0", + "source": { + "type": "git", + "url": "https://github.com/ghostwriter/psalm-plugin.git", + "reference": "c1e0e0110f2e8ad5dd3f4f8decd698dcd4803f60" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ghostwriter/psalm-plugin/zipball/c1e0e0110f2e8ad5dd3f4f8decd698dcd4803f60", + "reference": "c1e0e0110f2e8ad5dd3f4f8decd698dcd4803f60", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "replace": { + "ghostwriter/example-psalm-plugin": "*", + "ghostwriter/phpunit-psalm-plugin": "*" + }, + "require-dev": { + "ghostwriter/coding-standard": "dev-main", + "ghostwriter/psalm-plugin-tester": "^0.2 || ^0.3 || ^1.0", + "psr/container": "^1.1 || ^2.0", + "vimeo/psalm": "^5.0 || ^6.0" + }, + "type": "psalm-plugin", + "extra": { + "psalm": { + "pluginClass": "Ghostwriter\\PsalmPlugin\\Plugin" + } + }, + "autoload": { + "psr-4": { + "Ghostwriter\\PsalmPlugin\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Developer" + } + ], + "description": "Provides a plugin for Psalm", + "homepage": "https://github.com/ghostwriter/psalm-plugin", + "keywords": [ + "dev", + "ghostwriter", + "psalm", + "psalm-plugin", + "static analysis" + ], + "support": { + "docs": "https://github.com/ghostwriter/psalm-plugin", + "forum": "https://github.com/ghostwriter/psalm-plugin/discussions", + "issues": "https://github.com/ghostwriter/psalm-plugin/issues", + "rss": "https://github.com/ghostwriter/psalm-plugin/releases.atom", + "source": "https://github.com/ghostwriter/psalm-plugin" + }, + "funding": [ + { + "url": "https://github.com/sponsors/ghostwriter", + "type": "github" + } + ], + "time": "2023-08-27T13:19:25+00:00" + }, + { + "name": "ghostwriter/testify", + "version": "0.1.0", + "source": { + "type": "git", + "url": "https://github.com/ghostwriter/testify.git", + "reference": "521ce8427315003b8a6834064dfac3408f51224d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ghostwriter/testify/zipball/521ce8427315003b8a6834064dfac3408f51224d", + "reference": "521ce8427315003b8a6834064dfac3408f51224d", + "shasum": "" + }, + "require": { + "ghostwriter/case-converter": "^1.0.0", + "ghostwriter/config": "^0.4.1", + "ghostwriter/container": "^4.0.3", + "ghostwriter/event-dispatcher": "^5.0.2", + "ghostwriter/filesystem": "^0.1.1", + "php": ">=8.3" + }, + "require-dev": { + "ghostwriter/coding-standard": "dev-main" + }, + "bin": [ + "bin/testify" + ], + "type": "library", + "autoload": { + "psr-4": { + "Ghostwriter\\Testify\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Developer" + } + ], + "description": "Automated test Generation for PHP code.", + "homepage": "https://github.com/ghostwriter/testify", + "keywords": [ + "dev", + "ghostwriter", + "testify", + "testing" + ], + "support": { + "docs": "https://github.com/ghostwriter/testify", + "forum": "https://github.com/ghostwriter/testify/discussions", + "issues": "https://github.com/ghostwriter/testify/issues", + "rss": "https://github.com/ghostwriter/testify/releases.atom", + "security": "https://github.com/ghostwriter/testify/security/advisories/new", + "source": "https://github.com/ghostwriter/testify" + }, + "funding": [ + { + "url": "https://github.com/sponsors/ghostwriter", + "type": "github" + } + ], + "time": "2024-10-10T16:46:54+00:00" + }, { "name": "hamcrest/hamcrest-php", "version": "v2.0.1", @@ -6146,7 +6529,9 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "ghostwriter/coding-standard": 20 + "ghostwriter/coding-standard": 20, + "ghostwriter/psalm-plugin": 20, + "ghostwriter/testify": 20 }, "prefer-stable": true, "prefer-lowest": false, From 4b0a764d4a2b7bb3652e7638deaa8491f0a3dbc6 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:29:06 -0600 Subject: [PATCH 20/26] Update phpunit.xml.dist Signed-off-by: Nathanael Esayeas --- phpunit.xml.dist | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9caa4be..63ee4e4 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,6 +1,7 @@ - - - - + + + + + + src @@ -39,8 +43,8 @@ - tests - tests/Fixture + tests/unit + tests/fixture From e186fa2ab9466b59adbe77299db678c863479180 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:29:06 -0600 Subject: [PATCH 21/26] Update CaseConverter.php Signed-off-by: Nathanael Esayeas --- src/CaseConverter.php | 111 ++++++++++++++++++++++-------------------- 1 file changed, 58 insertions(+), 53 deletions(-) diff --git a/src/CaseConverter.php b/src/CaseConverter.php index ad20fd8..b3da071 100644 --- a/src/CaseConverter.php +++ b/src/CaseConverter.php @@ -24,25 +24,20 @@ use function str_contains; use function ucfirst; -/** - * @psalm-immutable - * - * @psalm-pure - */ final readonly class CaseConverter implements CaseConverterInterface { /** - * @var pure-Closure(string):string + * @var Closure(string):string */ private Closure $lower; /** - * @var pure-Closure(string):string + * @var Closure(string):string */ private Closure $title; /** - * @var pure-Closure(string):string + * @var Closure(string):string */ private Closure $upper; @@ -53,7 +48,14 @@ public function __construct() $this->title = static fn (string $word): string => mb_convert_case($word, MB_CASE_TITLE, 'UTF-8'); } + public static function new(): self + { + return new self(); + } + /** + * eg. The_Quick_Brown_Fox_Jumps_Over_The_Lazy_Dog. + * * @throws FailedToSplitStringException */ #[Override] @@ -63,6 +65,8 @@ public function adaCase(string $string): string } /** + * eg. theQuickBrownFoxJumpsOverTheLazyDog. + * * @throws FailedToSplitStringException */ #[Override] @@ -72,6 +76,8 @@ public function camelCase(string $string): string } /** + * eg. THE-QUICK-BROWN-FOX-JUMPS-OVER-THE-LAZY-DOG. + * * @throws FailedToSplitStringException */ #[Override] @@ -81,6 +87,8 @@ public function cobolCase(string $string): string } /** + * eg. the.quick.brown.fox.jumps.over.the.lazy.dog. + * * @throws FailedToSplitStringException */ #[Override] @@ -90,6 +98,8 @@ public function dotCase(string $string): string } /** + * eg. the-quick-brown-fox-jumps-over-the-lazy-dog. + * * @throws FailedToSplitStringException */ #[Override] @@ -99,6 +109,8 @@ public function kebabCase(string $string): string } /** + * eg. the quick brown fox jumps over the lazy dog. + * * @throws FailedToSplitStringException */ #[Override] @@ -108,6 +120,8 @@ public function lowerCase(string $string): string } /** + * eg. THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG. + * * @throws FailedToSplitStringException */ #[Override] @@ -117,6 +131,8 @@ public function macroCase(string $string): string } /** + * eg. TheQuickBrownFoxJumpsOverTheLazyDog. + * * @throws FailedToSplitStringException */ #[Override] @@ -126,6 +142,8 @@ public function pascalCase(string $string): string } /** + * eg. The quick brown fox jumps over the lazy dog. + * * @throws FailedToSplitStringException */ #[Override] @@ -135,6 +153,8 @@ public function sentenceCase(string $string): string } /** + * eg. the_quick_brown_fox_jumps_over_the_lazy_dog. + * * @throws FailedToSplitStringException */ #[Override] @@ -144,6 +164,8 @@ public function snakeCase(string $string): string } /** + * eg. The Quick Brown Fox Jumps Over The Lazy Dog. + * * @throws FailedToSplitStringException */ #[Override] @@ -153,6 +175,8 @@ public function titleCase(string $string): string } /** + * eg. The-Quick-Brown-Fox-Jumps-Over-The-Lazy-Dog. + * * @throws FailedToSplitStringException */ #[Override] @@ -162,6 +186,8 @@ public function trainCase(string $string): string } /** + * eg. THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. + * * @throws FailedToSplitStringException */ #[Override] @@ -171,8 +197,8 @@ public function upperCase(string $string): string } /** - * @param list $words - * @param pure-Closure(string):string $converter + * @param list $words + * @param Closure(string):string $converter */ private function glueDash(array $words, Closure $converter): string { @@ -180,8 +206,8 @@ private function glueDash(array $words, Closure $converter): string } /** - * @param list $words - * @param pure-Closure(string):string $converter + * @param list $words + * @param Closure(string):string $converter */ private function glueDot(array $words, Closure $converter): string { @@ -189,8 +215,8 @@ private function glueDot(array $words, Closure $converter): string } /** - * @param list $words - * @param pure-Closure(string):string $converter + * @param list $words + * @param Closure(string):string $converter */ private function glueSpace(array $words, Closure $converter): string { @@ -198,8 +224,8 @@ private function glueSpace(array $words, Closure $converter): string } /** - * @param list $words - * @param pure-Closure(string):string $converter + * @param list $words + * @param Closure(string):string $converter */ private function glueUnderscore(array $words, Closure $converter): string { @@ -207,33 +233,30 @@ private function glueUnderscore(array $words, Closure $converter): string } /** - * @param list $words - * @param pure-Closure(string):string $converter + * @param list $words + * @param Closure(string):string $converter */ private function glueUppercase(array $words, Closure $converter): string { return implode('', $this->map($converter, $words)); } - /** - * @psalm-pure - */ private function isUppercaseWord(string $string): bool { return preg_match('#^\p{Lu}+$#u', $string) === 1; } /** - * @param pure-Closure(string):string $converter - * @param list $words + * @param Closure(string):string $converter + * @param list $words * * @return list */ private function map(Closure $converter, array $words): array { /** - * @var pure-Closure(string):string $converter - * @var list $words + * @var Closure(string):string $converter + * @var list $words * * @return list */ @@ -247,27 +270,14 @@ private function map(Closure $converter, array $words): array */ private function split(string $string): array { - if (str_contains($string, '_')) { - return $this->splitUnderscore($string); - } - - if (str_contains($string, '-')) { - return $this->splitDash($string); - } - - if (str_contains($string, ' ')) { - return $this->splitSpace($string); - } - - if (str_contains($string, '.')) { - return $this->splitDot($string); - } - - if ($this->isUppercaseWord($string)) { - return $this->splitUnderscore($string); - } - - return $this->splitUppercase($string); + return match (true) { + str_contains($string, '_') => $this->splitUnderscore($string), + str_contains($string, '-') => $this->splitDash($string), + str_contains($string, ' ') => $this->splitSpace($string), + str_contains($string, '.') => $this->splitDot($string), + $this->isUppercaseWord($string) => $this->splitUnderscore($string), + default => $this->splitUppercase($string), + }; } /** @@ -317,7 +327,7 @@ private function splitUnderscore(string $string): array */ private function splitUppercase(string $string): array { - return $this->words($string, '#(?=\p{Lu}{1})#u'); + return $this->words($string, '#(?=\p{Lu})#u'); } /** @@ -333,16 +343,11 @@ private function words(string $string, string $pattern): array */ $words = preg_split($pattern, $string, 0, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); - if ($words === false) { + if (false === $words) { throw new FailedToSplitStringException($string . ' | ' . $pattern); } /** @return list */ return $words; } - - public static function new(): self - { - return new self(); - } } From 2976b3d61ded82433f2c9bbe14ea582d448cac74 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:29:06 -0600 Subject: [PATCH 22/26] Update FailedToSplitStringException.php Signed-off-by: Nathanael Esayeas --- src/Exception/FailedToSplitStringException.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Exception/FailedToSplitStringException.php b/src/Exception/FailedToSplitStringException.php index 1eb25a6..31f3cd1 100644 --- a/src/Exception/FailedToSplitStringException.php +++ b/src/Exception/FailedToSplitStringException.php @@ -7,6 +7,4 @@ use Ghostwriter\CaseConverter\Interface\Exception\CaseConverterExceptionInterface; use RuntimeException; -final class FailedToSplitStringException extends RuntimeException implements CaseConverterExceptionInterface -{ -} +final class FailedToSplitStringException extends RuntimeException implements CaseConverterExceptionInterface {} From 5b3ea09ad290ec46d0c90b0cc07ce86b99ec8b8f Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:29:06 -0600 Subject: [PATCH 23/26] Update CaseConverterExceptionInterface.php Signed-off-by: Nathanael Esayeas --- src/Interface/Exception/CaseConverterExceptionInterface.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Interface/Exception/CaseConverterExceptionInterface.php b/src/Interface/Exception/CaseConverterExceptionInterface.php index c800802..d345d9e 100644 --- a/src/Interface/Exception/CaseConverterExceptionInterface.php +++ b/src/Interface/Exception/CaseConverterExceptionInterface.php @@ -6,6 +6,4 @@ use Throwable; -interface CaseConverterExceptionInterface extends Throwable -{ -} +interface CaseConverterExceptionInterface extends Throwable {} From e98989d59e6c7656655b9c86829ee4f16faf951e Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:29:06 -0600 Subject: [PATCH 24/26] Add bootstrap.php Signed-off-by: Nathanael Esayeas --- tests/bootstrap.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/bootstrap.php diff --git a/tests/bootstrap.php b/tests/bootstrap.php new file mode 100644 index 0000000..00b1c05 --- /dev/null +++ b/tests/bootstrap.php @@ -0,0 +1,31 @@ +addPsr4('Tests\\Fixture\\', $fixturePath); + +/** + * when test fixtures have multiple namespaces. + * + * @psalm-suppress UncaughtThrowInGlobalScope + */ +$classLoader->addPsr4('', $fixturePath); + +return $classLoader; From b8aa83acacd6bc53063dcefca4ac42549b36f960 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:29:07 -0600 Subject: [PATCH 25/26] Update CaseConverterTest.php Signed-off-by: Nathanael Esayeas --- tests/unit/CaseConverterTest.php | 91 ++++++++++++++++++-------------- 1 file changed, 50 insertions(+), 41 deletions(-) diff --git a/tests/unit/CaseConverterTest.php b/tests/unit/CaseConverterTest.php index 01bb323..9ae77e5 100644 --- a/tests/unit/CaseConverterTest.php +++ b/tests/unit/CaseConverterTest.php @@ -13,126 +13,135 @@ #[CoversClass(CaseConverter::class)] final class CaseConverterTest extends TestCase { - public const array CASES = [ - self::ADACASE, - self::CAMELCASE, - self::COBOLCASE, - self::DOTCASE, - self::KEBABCASE, - self::LOWERCASE, - self::MACROCASE, - self::PASCALCASE, - self::SENTENCECASE, - self::SNAKECASE, - self::TITLECASE, - self::TRAINCASE, - self::UPPERCASE, + private const array CASES = [ + self::ADA_CASE, + self::CAMEL_CASE, + self::COBOL_CASE, + self::DOT_CASE, + self::KEBAB_CASE, + self::LOWER_CASE, + self::MACRO_CASE, + self::PASCAL_CASE, + self::SENTENCE_CASE, + self::SNAKE_CASE, + self::TITLE_CASE, + self::TRAIN_CASE, + self::UPPER_CASE, ]; - public const string THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG = 'The quick brown fox jumps over the lazy dog'; + private const string THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG = 'The quick brown fox jumps over the lazy dog'; - public const string ADACASE = 'The_Quick_Brown_Fox_Jumps_Over_The_Lazy_Dog'; + private const string ADA_CASE = 'The_Quick_Brown_Fox_Jumps_Over_The_Lazy_Dog'; - public const string CAMELCASE = 'theQuickBrownFoxJumpsOverTheLazyDog'; + private const string CAMEL_CASE = 'theQuickBrownFoxJumpsOverTheLazyDog'; - public const string COBOLCASE = 'THE-QUICK-BROWN-FOX-JUMPS-OVER-THE-LAZY-DOG'; + private const string COBOL_CASE = 'THE-QUICK-BROWN-FOX-JUMPS-OVER-THE-LAZY-DOG'; - public const string DOTCASE = 'the.quick.brown.fox.jumps.over.the.lazy.dog'; + private const string DOT_CASE = 'the.quick.brown.fox.jumps.over.the.lazy.dog'; - public const string KEBABCASE = 'the-quick-brown-fox-jumps-over-the-lazy-dog'; + private const string KEBAB_CASE = 'the-quick-brown-fox-jumps-over-the-lazy-dog'; - public const string LOWERCASE = 'the quick brown fox jumps over the lazy dog'; + private const string LOWER_CASE = 'the quick brown fox jumps over the lazy dog'; - public const string MACROCASE = 'THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG'; + private const string MACRO_CASE = 'THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG'; - public const string PASCALCASE = 'TheQuickBrownFoxJumpsOverTheLazyDog'; + private const string PASCAL_CASE = 'TheQuickBrownFoxJumpsOverTheLazyDog'; - public const string SENTENCECASE = 'The quick brown fox jumps over the lazy dog'; + private const string SENTENCE_CASE = 'The quick brown fox jumps over the lazy dog'; - public const string SNAKECASE = 'the_quick_brown_fox_jumps_over_the_lazy_dog'; + private const string SNAKE_CASE = 'the_quick_brown_fox_jumps_over_the_lazy_dog'; - public const string TITLECASE = 'The Quick Brown Fox Jumps Over The Lazy Dog'; + private const string TITLE_CASE = 'The Quick Brown Fox Jumps Over The Lazy Dog'; - public const string TRAINCASE = 'The-Quick-Brown-Fox-Jumps-Over-The-Lazy-Dog'; + private const string TRAIN_CASE = 'The-Quick-Brown-Fox-Jumps-Over-The-Lazy-Dog'; - public const string UPPERCASE = 'THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG'; + private const string UPPER_CASE = 'THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG'; + + private CaseConverter $caseConverter; + + protected function setUp(): void + { + parent::setUp(); + + $this->caseConverter = CaseConverter::new(); + } #[DataProvider('dataProviderFrom')] public function testToAdaCase(string $string): void { - self::assertSame(self::ADACASE, CaseConverter::new()->adaCase($string)); + self::assertSame(self::ADA_CASE, $this->caseConverter->toAdaCase($string)); } #[DataProvider('dataProviderFrom')] public function testToCamelCase(string $string): void { - self::assertSame(self::CAMELCASE, CaseConverter::new()->camelCase($string)); + self::assertSame(self::CAMEL_CASE, $this->caseConverter->toCamelCase($string)); } #[DataProvider('dataProviderFrom')] public function testToCobolCase(string $string): void { - self::assertSame(self::COBOLCASE, CaseConverter::new()->cobolCase($string)); + self::assertSame(self::COBOL_CASE, $this->caseConverter->toCobolCase($string)); } #[DataProvider('dataProviderFrom')] public function testToDotCase(string $string): void { - self::assertSame(self::DOTCASE, CaseConverter::new()->dotCase($string)); + self::assertSame(self::DOT_CASE, $this->caseConverter->toDotCase($string)); } #[DataProvider('dataProviderFrom')] public function testToKebabCase(string $string): void { - self::assertSame(self::KEBABCASE, CaseConverter::new()->kebabCase($string)); + self::assertSame(self::KEBAB_CASE, $this->caseConverter->toKebabCase($string)); } #[DataProvider('dataProviderFrom')] public function testToLowerCase(string $string): void { - self::assertSame(self::LOWERCASE, CaseConverter::new()->lowerCase($string)); + self::assertSame(self::LOWER_CASE, $this->caseConverter->toLowerCase($string)); } #[DataProvider('dataProviderFrom')] public function testToMacroCase(string $string): void { - self::assertSame(self::MACROCASE, CaseConverter::new()->macroCase($string)); + self::assertSame(self::MACRO_CASE, $this->caseConverter->toMacroCase($string)); } #[DataProvider('dataProviderFrom')] public function testToPascalCase(string $string): void { - self::assertSame(self::PASCALCASE, CaseConverter::new()->pascalCase($string)); + self::assertSame(self::PASCAL_CASE, $this->caseConverter->toPascalCase($string)); } #[DataProvider('dataProviderFrom')] public function testToSentenceCase(string $string): void { - self::assertSame(self::SENTENCECASE, CaseConverter::new()->sentenceCase($string)); + self::assertSame(self::SENTENCE_CASE, $this->caseConverter->toSentenceCase($string)); } #[DataProvider('dataProviderFrom')] public function testToSnakeCase(string $string): void { - self::assertSame(self::SNAKECASE, CaseConverter::new()->snakeCase($string)); + self::assertSame(self::SNAKE_CASE, $this->caseConverter->toSnakeCase($string)); } #[DataProvider('dataProviderFrom')] public function testToTitleCase(string $string): void { - self::assertSame(self::TITLECASE, CaseConverter::new()->titleCase($string)); + self::assertSame(self::TITLE_CASE, $this->caseConverter->toTitleCase($string)); } #[DataProvider('dataProviderFrom')] public function testToTrainCase(string $string): void { - self::assertSame(self::TRAINCASE, CaseConverter::new()->trainCase($string)); + self::assertSame(self::TRAIN_CASE, $this->caseConverter->toTrainCase($string)); } #[DataProvider('dataProviderFrom')] public function testToUpperCase(string $string): void { - self::assertSame(self::UPPERCASE, CaseConverter::new()->upperCase($string)); + self::assertSame(self::UPPER_CASE, $this->caseConverter->toUpperCase($string)); } public static function dataProviderFrom(): Generator From 53eb15acf6ca8e4a621a5a88ff4b0c91e2849e89 Mon Sep 17 00:00:00 2001 From: Nathanael Esayeas Date: Fri, 31 Jan 2025 18:30:45 -0600 Subject: [PATCH 26/26] Update phpunit.xml.dist (#23) Updates phpunit.xml.dist file Signed-off-by: Nathanael Esayeas --- phpunit.xml.dist | 1 - 1 file changed, 1 deletion(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 63ee4e4..24b8f67 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -24,7 +24,6 @@ failOnSkipped="true" failOnWarning="true" requireCoverageMetadata="true" - stopOnFailure="false" >