diff --git a/plugins/wp-graphql-webhooks/.distignore b/plugins/wpgraphql-webhooks/.distignore similarity index 100% rename from plugins/wp-graphql-webhooks/.distignore rename to plugins/wpgraphql-webhooks/.distignore diff --git a/plugins/wp-graphql-webhooks/.editorconfig b/plugins/wpgraphql-webhooks/.editorconfig similarity index 100% rename from plugins/wp-graphql-webhooks/.editorconfig rename to plugins/wpgraphql-webhooks/.editorconfig diff --git a/plugins/wp-graphql-webhooks/.env.dist b/plugins/wpgraphql-webhooks/.env.dist similarity index 95% rename from plugins/wp-graphql-webhooks/.env.dist rename to plugins/wpgraphql-webhooks/.env.dist index b778fd31..698915a1 100644 --- a/plugins/wp-graphql-webhooks/.env.dist +++ b/plugins/wpgraphql-webhooks/.env.dist @@ -35,4 +35,4 @@ WORDPRESS_DB_USER=${DB_USER} WORDPRESS_DB_PASSWORD=${DB_PASSWORD} WORDPRESS_DB_NAME=${DB_NAME} -PLUGIN_SLUG=wp-graphql-webhooks \ No newline at end of file +PLUGIN_SLUG=wpgraphql-webhooks \ No newline at end of file diff --git a/plugins/wp-graphql-webhooks/.gitattributes b/plugins/wpgraphql-webhooks/.gitattributes similarity index 92% rename from plugins/wp-graphql-webhooks/.gitattributes rename to plugins/wpgraphql-webhooks/.gitattributes index 8e416105..47053af6 100644 --- a/plugins/wp-graphql-webhooks/.gitattributes +++ b/plugins/wpgraphql-webhooks/.gitattributes @@ -6,7 +6,7 @@ /docs export-ignore /phpstan export-ignore /tests export-ignore -/wp-graphql-webhooks export-ignore +/wpgraphql-webhooks export-ignore /.coveralls export-ignore /.distignore export-ignore diff --git a/plugins/wp-graphql-webhooks/.gitignore b/plugins/wpgraphql-webhooks/.gitignore similarity index 100% rename from plugins/wp-graphql-webhooks/.gitignore rename to plugins/wpgraphql-webhooks/.gitignore diff --git a/plugins/wp-graphql-webhooks/.phpcs.xml.dist b/plugins/wpgraphql-webhooks/.phpcs.xml.dist similarity index 99% rename from plugins/wp-graphql-webhooks/.phpcs.xml.dist rename to plugins/wpgraphql-webhooks/.phpcs.xml.dist index 7d8c6d18..e8bf7268 100644 --- a/plugins/wp-graphql-webhooks/.phpcs.xml.dist +++ b/plugins/wpgraphql-webhooks/.phpcs.xml.dist @@ -3,7 +3,7 @@ Sniffs for the WPGraphQL plugin ecosystem - ./wp-graphql-webhooks.php + ./wpgraphql-webhooks.php ./activation.php ./deactivation.php ./src/ diff --git a/plugins/wp-graphql-webhooks/CHANGELOG.md b/plugins/wpgraphql-webhooks/CHANGELOG.md similarity index 100% rename from plugins/wp-graphql-webhooks/CHANGELOG.md rename to plugins/wpgraphql-webhooks/CHANGELOG.md diff --git a/plugins/wp-graphql-webhooks/README.md b/plugins/wpgraphql-webhooks/README.md similarity index 100% rename from plugins/wp-graphql-webhooks/README.md rename to plugins/wpgraphql-webhooks/README.md diff --git a/plugins/wp-graphql-webhooks/Sniffs/ControlStructures/ElseKeywordSniff.php b/plugins/wpgraphql-webhooks/Sniffs/ControlStructures/ElseKeywordSniff.php similarity index 100% rename from plugins/wp-graphql-webhooks/Sniffs/ControlStructures/ElseKeywordSniff.php rename to plugins/wpgraphql-webhooks/Sniffs/ControlStructures/ElseKeywordSniff.php diff --git a/plugins/wp-graphql-webhooks/activation.php b/plugins/wpgraphql-webhooks/activation.php similarity index 100% rename from plugins/wp-graphql-webhooks/activation.php rename to plugins/wpgraphql-webhooks/activation.php diff --git a/plugins/wp-graphql-webhooks/assets/css/admin.css b/plugins/wpgraphql-webhooks/assets/css/admin.css similarity index 100% rename from plugins/wp-graphql-webhooks/assets/css/admin.css rename to plugins/wpgraphql-webhooks/assets/css/admin.css diff --git a/plugins/wp-graphql-webhooks/assets/js/admin.js b/plugins/wpgraphql-webhooks/assets/js/admin.js similarity index 100% rename from plugins/wp-graphql-webhooks/assets/js/admin.js rename to plugins/wpgraphql-webhooks/assets/js/admin.js diff --git a/plugins/wp-graphql-webhooks/bin/_lib.sh b/plugins/wpgraphql-webhooks/bin/_lib.sh similarity index 100% rename from plugins/wp-graphql-webhooks/bin/_lib.sh rename to plugins/wpgraphql-webhooks/bin/_lib.sh diff --git a/plugins/wp-graphql-webhooks/bin/build-docker.sh b/plugins/wpgraphql-webhooks/bin/build-docker.sh similarity index 100% rename from plugins/wp-graphql-webhooks/bin/build-docker.sh rename to plugins/wpgraphql-webhooks/bin/build-docker.sh diff --git a/plugins/wp-graphql-webhooks/bin/install-plugins.sh b/plugins/wpgraphql-webhooks/bin/install-plugins.sh similarity index 100% rename from plugins/wp-graphql-webhooks/bin/install-plugins.sh rename to plugins/wpgraphql-webhooks/bin/install-plugins.sh diff --git a/plugins/wp-graphql-webhooks/bin/install-test-env.sh b/plugins/wpgraphql-webhooks/bin/install-test-env.sh similarity index 97% rename from plugins/wp-graphql-webhooks/bin/install-test-env.sh rename to plugins/wpgraphql-webhooks/bin/install-test-env.sh index 468e3af0..da9e4575 100644 --- a/plugins/wp-graphql-webhooks/bin/install-test-env.sh +++ b/plugins/wpgraphql-webhooks/bin/install-test-env.sh @@ -144,12 +144,12 @@ setup_file_permissions() { setup_plugin() { if [ "${SKIP_WP_SETUP}" = "true" ]; then - echo -e "$(warning_message "Skipping wp-graphql--webhooks installation...")" + echo -e "$(warning_message "Skipping wpgraphql--webhooks installation...")" return 0 fi # Add this repo as a plugin to the repo - if [ ! -d $WORDPRESS_ROOT_DIR/wp-content/plugins/wp-graphql-webhooks ]; then + if [ ! -d $WORDPRESS_ROOT_DIR/wp-content/plugins/wpgraphql-webhooks ]; then echo -e "$(status_message "Symlinking the plugin to the WordPress plugins directory...")" cd "$ORIGINAL_PATH" diff --git a/plugins/wp-graphql-webhooks/bin/run-codeception.sh b/plugins/wpgraphql-webhooks/bin/run-codeception.sh similarity index 100% rename from plugins/wp-graphql-webhooks/bin/run-codeception.sh rename to plugins/wpgraphql-webhooks/bin/run-codeception.sh diff --git a/plugins/wp-graphql-webhooks/bin/sync-package-version.sh b/plugins/wpgraphql-webhooks/bin/sync-package-version.sh similarity index 96% rename from plugins/wp-graphql-webhooks/bin/sync-package-version.sh rename to plugins/wpgraphql-webhooks/bin/sync-package-version.sh index 910b03f7..6b8bf8eb 100755 --- a/plugins/wp-graphql-webhooks/bin/sync-package-version.sh +++ b/plugins/wpgraphql-webhooks/bin/sync-package-version.sh @@ -38,8 +38,8 @@ else echo -e "${YELLOW}⚠ readme.txt not found${NC}" fi -# Update wp-graphql-webhooks.php -PLUGIN_FILE="wp-graphql-webhooks.php" +# Update wpgraphql-webhooks.php +PLUGIN_FILE="wpgraphql-webhooks.php" if [ -f "$PLUGIN_FILE" ]; then echo "Updating main plugin file: $PLUGIN_FILE..." diff --git a/plugins/wp-graphql-webhooks/composer.json b/plugins/wpgraphql-webhooks/composer.json similarity index 98% rename from plugins/wp-graphql-webhooks/composer.json rename to plugins/wpgraphql-webhooks/composer.json index 5e7bcba3..9c7bacac 100644 --- a/plugins/wp-graphql-webhooks/composer.json +++ b/plugins/wpgraphql-webhooks/composer.json @@ -1,5 +1,5 @@ { - "name": "wpengine/wp-graphql-webhooks", + "name": "wpengine/wpgraphql-webhooks", "description": "Headless webhooks for WPGraphQL", "type": "library", "license": "GPL-2.0", diff --git a/plugins/wp-graphql-webhooks/composer.lock b/plugins/wpgraphql-webhooks/composer.lock similarity index 93% rename from plugins/wp-graphql-webhooks/composer.lock rename to plugins/wpgraphql-webhooks/composer.lock index 8ee946c0..391095b7 100644 --- a/plugins/wp-graphql-webhooks/composer.lock +++ b/plugins/wpgraphql-webhooks/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": "296d34c535b1b1b2d96b903639e40ac5", + "content-hash": "58a289a58e25d2f7c5d82a4424b10b9c", "packages": [ { "name": "axepress/wp-graphql-plugin-boilerplate", @@ -70,43 +70,36 @@ "packages-dev": [ { "name": "amphp/amp", - "version": "v2.6.4", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/amphp/amp.git", - "reference": "ded3d9be08f526089eb7ee8d9f16a9768f9dec2d" + "reference": "7cf7fef3d667bfe4b2560bc87e67d5387a7bcde9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/ded3d9be08f526089eb7ee8d9f16a9768f9dec2d", - "reference": "ded3d9be08f526089eb7ee8d9f16a9768f9dec2d", + "url": "https://api.github.com/repos/amphp/amp/zipball/7cf7fef3d667bfe4b2560bc87e67d5387a7bcde9", + "reference": "7cf7fef3d667bfe4b2560bc87e67d5387a7bcde9", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1", + "revolt/event-loop": "^1 || ^0.2" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1", - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^7 | ^8 | ^9", - "react/promise": "^2", - "vimeo/psalm": "^3.12" + "amphp/php-cs-fixer-config": "^2", + "phpunit/phpunit": "^9", + "psalm/phar": "5.23.1" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, "autoload": { "files": [ - "lib/functions.php", - "lib/Internal/functions.php" + "src/functions.php", + "src/Future/functions.php", + "src/Internal/functions.php" ], "psr-4": { - "Amp\\": "lib" + "Amp\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -114,10 +107,6 @@ "MIT" ], "authors": [ - { - "name": "Daniel Lowrey", - "email": "rdlowrey@php.net" - }, { "name": "Aaron Piotrowski", "email": "aaron@trowski.com" @@ -129,6 +118,10 @@ { "name": "Niklas Keller", "email": "me@kelunik.com" + }, + { + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" } ], "description": "A non-blocking concurrency framework for PHP applications.", @@ -145,9 +138,8 @@ "promise" ], "support": { - "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.6.4" + "source": "https://github.com/amphp/amp/tree/v3.1.0" }, "funding": [ { @@ -155,41 +147,45 @@ "type": "github" } ], - "time": "2024-03-21T18:52:26+00:00" + "time": "2025-01-26T16:07:39+00:00" }, { "name": "amphp/byte-stream", - "version": "v1.8.2", + "version": "v2.1.2", "source": { "type": "git", "url": "https://github.com/amphp/byte-stream.git", - "reference": "4f0e968ba3798a423730f567b1b50d3441c16ddc" + "reference": "55a6bd071aec26fa2a3e002618c20c35e3df1b46" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/4f0e968ba3798a423730f567b1b50d3441c16ddc", - "reference": "4f0e968ba3798a423730f567b1b50d3441c16ddc", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/55a6bd071aec26fa2a3e002618c20c35e3df1b46", + "reference": "55a6bd071aec26fa2a3e002618c20c35e3df1b46", "shasum": "" }, "require": { - "amphp/amp": "^2", - "php": ">=7.1" + "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": "dev-master", - "amphp/phpunit-util": "^1.4", - "friendsofphp/php-cs-fixer": "^2.3", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6 || ^7 || ^8", - "psalm/phar": "^3.11.4" + "amphp/php-cs-fixer-config": "^2", + "amphp/phpunit-util": "^3", + "phpunit/phpunit": "^9", + "psalm/phar": "5.22.1" }, "type": "library", "autoload": { "files": [ - "lib/functions.php" + "src/functions.php", + "src/Internal/functions.php" ], "psr-4": { - "Amp\\ByteStream\\": "lib" + "Amp\\ByteStream\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -218,7 +214,269 @@ ], "support": { "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/v1.8.2" + "source": "https://github.com/amphp/byte-stream/tree/v2.1.2" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2025-03-16T17:10:27+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.3", + "source": { + "type": "git", + "url": "https://github.com/amphp/pipeline.git", + "reference": "7b52598c2e9105ebcddf247fc523161581930367" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/pipeline/zipball/7b52598c2e9105ebcddf247fc523161581930367", + "reference": "7b52598c2e9105ebcddf247fc523161581930367", + "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.3" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2025-03-16T16:33:53+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": [ { @@ -226,7 +484,7 @@ "type": "github" } ], - "time": "2024-04-13T18:00:56+00:00" + "time": "2024-08-03T19:31:26+00:00" }, { "name": "automattic/vipwpcs", @@ -393,25 +651,31 @@ }, { "name": "behat/gherkin", - "version": "v4.10.0", + "version": "v4.14.0", "source": { "type": "git", "url": "https://github.com/Behat/Gherkin.git", - "reference": "cbb83c4c435dd8d05a161f2a5ae322e61b2f4db6" + "reference": "34c9b59c59355a7b4c53b9f041c8dbd1c8acc3b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/Gherkin/zipball/cbb83c4c435dd8d05a161f2a5ae322e61b2f4db6", - "reference": "cbb83c4c435dd8d05a161f2a5ae322e61b2f4db6", + "url": "https://api.github.com/repos/Behat/Gherkin/zipball/34c9b59c59355a7b4c53b9f041c8dbd1c8acc3b4", + "reference": "34c9b59c59355a7b4c53b9f041c8dbd1c8acc3b4", "shasum": "" }, "require": { - "php": "~7.2|~8.0" + "composer-runtime-api": "^2.2", + "php": "8.1.* || 8.2.* || 8.3.* || 8.4.*" }, "require-dev": { - "cucumber/cucumber": "dev-gherkin-24.1.0", - "phpunit/phpunit": "~8|~9", - "symfony/yaml": "~3|~4|~5|~6|~7" + "cucumber/gherkin-monorepo": "dev-gherkin-v32.1.1", + "friendsofphp/php-cs-fixer": "^3.65", + "mikey179/vfsstream": "^1.6", + "phpstan/extension-installer": "^1", + "phpstan/phpstan": "^2", + "phpstan/phpstan-phpunit": "^2", + "phpunit/phpunit": "^10.5", + "symfony/yaml": "^5.4 || ^6.4 || ^7.0" }, "suggest": { "symfony/yaml": "If you want to parse features, represented in YAML files" @@ -423,8 +687,8 @@ } }, "autoload": { - "psr-0": { - "Behat\\Gherkin": "src/" + "psr-4": { + "Behat\\Gherkin\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -435,11 +699,11 @@ { "name": "Konstantin Kudryashov", "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" + "homepage": "https://everzet.com" } ], "description": "Gherkin DSL parser for PHP", - "homepage": "http://behat.org/", + "homepage": "https://behat.org/", "keywords": [ "BDD", "Behat", @@ -450,9 +714,9 @@ ], "support": { "issues": "https://github.com/Behat/Gherkin/issues", - "source": "https://github.com/Behat/Gherkin/tree/v4.10.0" + "source": "https://github.com/Behat/Gherkin/tree/v4.14.0" }, - "time": "2024-10-19T14:46:06+00:00" + "time": "2025-05-23T15:06:40+00:00" }, { "name": "codeception/codeception", @@ -1775,16 +2039,16 @@ }, { "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v1.1.1", + "version": "v1.1.2", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/composer-installer.git", - "reference": "6e0fa428497bf560152ee73ffbb8af5c6a56b0dd" + "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/6e0fa428497bf560152ee73ffbb8af5c6a56b0dd", - "reference": "6e0fa428497bf560152ee73ffbb8af5c6a56b0dd", + "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1", + "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1", "shasum": "" }, "require": { @@ -1867,7 +2131,7 @@ "type": "thanks_dev" } ], - "time": "2025-06-27T17:24:01+00:00" + "time": "2025-07-17T20:45:56+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -1956,30 +2220,30 @@ }, { "name": "doctrine/instantiator", - "version": "1.5.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^11", + "doctrine/coding-standard": "^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.30 || ^5.4" + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" }, "type": "library", "autoload": { @@ -2006,7 +2270,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" }, "funding": [ { @@ -2022,7 +2286,7 @@ "type": "tidelift" } ], - "time": "2022-12-30T00:15:36+00:00" + "time": "2022-12-30T00:23:10+00:00" }, { "name": "eftec/bladeone", @@ -2909,16 +3173,16 @@ }, { "name": "mck89/peast", - "version": "v1.17.1", + "version": "v1.17.2", "source": { "type": "git", "url": "https://github.com/mck89/peast.git", - "reference": "90e01c0da3a5a1c2c06d94a56fa2e0594769d525" + "reference": "465810689c477fbba17f4f949b75e4d0bdab13ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mck89/peast/zipball/90e01c0da3a5a1c2c06d94a56fa2e0594769d525", - "reference": "90e01c0da3a5a1c2c06d94a56fa2e0594769d525", + "url": "https://api.github.com/repos/mck89/peast/zipball/465810689c477fbba17f4f949b75e4d0bdab13ea", + "reference": "465810689c477fbba17f4f949b75e4d0bdab13ea", "shasum": "" }, "require": { @@ -2931,7 +3195,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.17.1-dev" + "dev-master": "1.17.2-dev" } }, "autoload": { @@ -2952,9 +3216,9 @@ "description": "Peast is PHP library that generates AST for JavaScript code", "support": { "issues": "https://github.com/mck89/peast/issues", - "source": "https://github.com/mck89/peast/tree/v1.17.1" + "source": "https://github.com/mck89/peast/tree/v1.17.2" }, - "time": "2025-06-27T14:33:03+00:00" + "time": "2025-07-01T09:30:45+00:00" }, { "name": "mockery/mockery", @@ -3041,16 +3305,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.13.1", + "version": "1.13.4", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c" + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/1720ddd719e16cf0db4eb1c6eca108031636d46c", - "reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", "shasum": "" }, "require": { @@ -3089,7 +3353,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.13.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" }, "funding": [ { @@ -3097,7 +3361,7 @@ "type": "tidelift" } ], - "time": "2025-04-29T12:36:36+00:00" + "time": "2025-08-01T08:46:24+00:00" }, { "name": "nb/oxymel", @@ -3197,25 +3461,27 @@ }, { "name": "nikic/php-parser", - "version": "v4.19.4", + "version": "v5.6.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "715f4d25e225bc47b293a8b997fe6ce99bf987d2" + "reference": "221b0d0fdf1369c71047ad1d18bb5880017bbc56" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/715f4d25e225bc47b293a8b997fe6ce99bf987d2", - "reference": "715f4d25e225bc47b293a8b997fe6ce99bf987d2", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/221b0d0fdf1369c71047ad1d18bb5880017bbc56", + "reference": "221b0d0fdf1369c71047ad1d18bb5880017bbc56", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.1" + "php": ">=7.4" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -3223,7 +3489,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -3247,9 +3513,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.4" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.6.0" }, - "time": "2024-09-29T15:01:53+00:00" + "time": "2025-07-27T20:03:57+00:00" }, { "name": "phar-io/manifest", @@ -3554,16 +3820,16 @@ }, { "name": "php-stubs/wordpress-stubs", - "version": "v6.8.1", + "version": "v6.8.2", "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "92e444847d94f7c30f88c60004648f507688acd5" + "reference": "9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/92e444847d94f7c30f88c60004648f507688acd5", - "reference": "92e444847d94f7c30f88c60004648f507688acd5", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8", + "reference": "9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8", "shasum": "" }, "conflict": { @@ -3571,7 +3837,7 @@ }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^1.0", - "nikic/php-parser": "^5.4", + "nikic/php-parser": "^5.5", "php": "^7.4 || ^8.0", "php-stubs/generator": "^0.8.3", "phpdocumentor/reflection-docblock": "^5.4.1", @@ -3599,9 +3865,9 @@ ], "support": { "issues": "https://github.com/php-stubs/wordpress-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.8.1" + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.8.2" }, - "time": "2025-05-02T12:33:34+00:00" + "time": "2025-07-16T06:41:00+00:00" }, { "name": "php-stubs/wp-cli-stubs", @@ -3719,18 +3985,18 @@ "source": { "type": "git", "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", - "reference": "9013cd039fe5740953f9fdeebd19d901b80e26f2" + "reference": "5e207bcca923a6afd5a8084427cb43a37bf306d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9013cd039fe5740953f9fdeebd19d901b80e26f2", - "reference": "9013cd039fe5740953f9fdeebd19d901b80e26f2", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/5e207bcca923a6afd5a8084427cb43a37bf306d3", + "reference": "5e207bcca923a6afd5a8084427cb43a37bf306d3", "shasum": "" }, "require": { "php": ">=5.4", - "phpcsstandards/phpcsutils": "^1.0.12", - "squizlabs/php_codesniffer": "^3.10.0" + "phpcsstandards/phpcsutils": "^1.1.0", + "squizlabs/php_codesniffer": "^3.13.0" }, "replace": { "wimg/php-compatibility": "*" @@ -3775,7 +4041,7 @@ } ], "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", - "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", + "homepage": "https://techblog.wimgodden.be/tag/codesniffer/", "keywords": [ "compatibility", "phpcs", @@ -3805,7 +4071,7 @@ "type": "thanks_dev" } ], - "time": "2025-01-20T20:06:48+00:00" + "time": "2025-07-06T15:59:37+00:00" }, { "name": "phpcompatibility/phpcompatibility-paragonie", @@ -4354,16 +4620,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "2.1.0", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68" + "reference": "b9e61a61e39e02dd90944e9115241c7f7e76bfd8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/9b30d6fd026b2c132b3985ce6b23bec09ab3aa68", - "reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/b9e61a61e39e02dd90944e9115241c7f7e76bfd8", + "reference": "b9e61a61e39e02dd90944e9115241c7f7e76bfd8", "shasum": "" }, "require": { @@ -4395,22 +4661,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/2.1.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.2.0" }, - "time": "2025-02-19T13:28:12+00:00" + "time": "2025-07-13T07:04:09+00:00" }, { "name": "phpstan/phpstan", - "version": "2.1.17", + "version": "2.1.22", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "89b5ef665716fa2a52ecd2633f21007a6a349053" + "reference": "41600c8379eb5aee63e9413fe9e97273e25d57e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/89b5ef665716fa2a52ecd2633f21007a6a349053", - "reference": "89b5ef665716fa2a52ecd2633f21007a6a349053", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/41600c8379eb5aee63e9413fe9e97273e25d57e4", + "reference": "41600c8379eb5aee63e9413fe9e97273e25d57e4", "shasum": "" }, "require": { @@ -4455,7 +4721,7 @@ "type": "github" } ], - "time": "2025-05-21T20:55:28+00:00" + "time": "2025-08-04T19:17:37+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -4506,16 +4772,16 @@ }, { "name": "phpstan/phpstan-strict-rules", - "version": "2.0.4", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "3e139cbe67fafa3588e1dbe27ca50f31fdb6236a" + "reference": "f9f77efa9de31992a832ff77ea52eb42d675b094" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/3e139cbe67fafa3588e1dbe27ca50f31fdb6236a", - "reference": "3e139cbe67fafa3588e1dbe27ca50f31fdb6236a", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/f9f77efa9de31992a832ff77ea52eb42d675b094", + "reference": "f9f77efa9de31992a832ff77ea52eb42d675b094", "shasum": "" }, "require": { @@ -4548,9 +4814,9 @@ "description": "Extra strict and opinionated rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", - "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.4" + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.6" }, - "time": "2025-03-18T11:42:40+00:00" + "time": "2025-07-21T12:19:29+00:00" }, { "name": "phpunit/php-code-coverage", @@ -4984,22 +5250,27 @@ }, { "name": "psr/container", - "version": "1.1.2", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { "php": ">=7.4.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -5026,9 +5297,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" + "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "time": "2021-11-05T16:50:12+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { "name": "psr/event-dispatcher", @@ -5242,30 +5513,30 @@ }, { "name": "psr/log", - "version": "1.1.4", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", + "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Log\\": "Psr/Log/" + "Psr\\Log\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -5286,9 +5557,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" + "source": "https://github.com/php-fig/log/tree/2.0.0" }, - "time": "2021-05-03T11:20:27+00:00" + "time": "2021-07-14T16:41:46+00:00" }, { "name": "ralouphie/getallheaders", @@ -5407,6 +5678,78 @@ ], "time": "2024-05-24T10:39:05+00:00" }, + { + "name": "revolt/event-loop", + "version": "v1.0.7", + "source": { + "type": "git", + "url": "https://github.com/revoltphp/event-loop.git", + "reference": "09bf1bf7f7f574453efe43044b06fafe12216eb3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/09bf1bf7f7f574453efe43044b06fafe12216eb3", + "reference": "09bf1bf7f7f574453efe43044b06fafe12216eb3", + "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.7" + }, + "time": "2025-01-25T19:27:39+00:00" + }, { "name": "sebastian/cli-parser", "version": "1.0.2", @@ -6602,32 +6945,32 @@ }, { "name": "slevomat/coding-standard", - "version": "8.19.1", + "version": "8.20.0", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "458d665acd49009efebd7e0cb385d71ae9ac3220" + "reference": "b4f9f02edd4e6a586777f0cabe8d05574323f3eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/458d665acd49009efebd7e0cb385d71ae9ac3220", - "reference": "458d665acd49009efebd7e0cb385d71ae9ac3220", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/b4f9f02edd4e6a586777f0cabe8d05574323f3eb", + "reference": "b4f9f02edd4e6a586777f0cabe8d05574323f3eb", "shasum": "" }, "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.1.2", "php": "^7.4 || ^8.0", - "phpstan/phpdoc-parser": "^2.1.0", - "squizlabs/php_codesniffer": "^3.13.0" + "phpstan/phpdoc-parser": "^2.2.0", + "squizlabs/php_codesniffer": "^3.13.2" }, "require-dev": { - "phing/phing": "3.0.1", + "phing/phing": "3.0.1|3.1.0", "php-parallel-lint/php-parallel-lint": "1.4.0", - "phpstan/phpstan": "2.1.17", + "phpstan/phpstan": "2.1.19", "phpstan/phpstan-deprecation-rules": "2.0.3", - "phpstan/phpstan-phpunit": "2.0.6", - "phpstan/phpstan-strict-rules": "2.0.4", - "phpunit/phpunit": "9.6.8|10.5.45|11.4.4|11.5.21|12.1.3" + "phpstan/phpstan-phpunit": "2.0.7", + "phpstan/phpstan-strict-rules": "2.0.6", + "phpunit/phpunit": "9.6.8|10.5.48|11.4.4|11.5.27|12.2.7" }, "type": "phpcodesniffer-standard", "extra": { @@ -6651,7 +6994,7 @@ ], "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.19.1" + "source": "https://github.com/slevomat/coding-standard/tree/8.20.0" }, "funding": [ { @@ -6663,33 +7006,32 @@ "type": "tidelift" } ], - "time": "2025-06-09T17:53:57+00:00" + "time": "2025-07-26T15:35:10+00:00" }, { "name": "softcreatr/jsonpath", - "version": "0.7.6", + "version": "0.8.3", "source": { "type": "git", "url": "https://github.com/SoftCreatR/JSONPath.git", - "reference": "e04c02cb78bcc242c69d17dac5b29436bf3e1076" + "reference": "fc12dee0b46f3fa3a175c4051dbab60984acef4b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SoftCreatR/JSONPath/zipball/e04c02cb78bcc242c69d17dac5b29436bf3e1076", - "reference": "e04c02cb78bcc242c69d17dac5b29436bf3e1076", + "url": "https://api.github.com/repos/SoftCreatR/JSONPath/zipball/fc12dee0b46f3fa3a175c4051dbab60984acef4b", + "reference": "fc12dee0b46f3fa3a175c4051dbab60984acef4b", "shasum": "" }, "require": { "ext-json": "*", - "php": ">=7.1,<8.0" + "php": ">=8.0" }, "replace": { "flow/jsonpath": "*" }, "require-dev": { - "phpunit/phpunit": ">=7.0", - "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^3.5" + "phpunit/phpunit": "^9.6", + "roave/security-advisories": "dev-latest" }, "type": "library", "autoload": { @@ -6732,33 +7074,37 @@ "type": "github" } ], - "time": "2022-09-27T09:27:12+00:00" + "time": "2023-08-17T20:14:00+00:00" }, { "name": "spatie/array-to-xml", - "version": "2.17.1", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/spatie/array-to-xml.git", - "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46" + "reference": "7dcfc67d60b0272926dabad1ec01f6b8a5fb5e67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", - "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/7dcfc67d60b0272926dabad1ec01f6b8a5fb5e67", + "reference": "7dcfc67d60b0272926dabad1ec01f6b8a5fb5e67", "shasum": "" }, "require": { "ext-dom": "*", - "php": "^7.4|^8.0" + "php": "^8.0" }, "require-dev": { "mockery/mockery": "^1.2", "pestphp/pest": "^1.21", - "phpunit/phpunit": "^9.0", "spatie/pest-plugin-snapshots": "^1.1" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, "autoload": { "psr-4": { "Spatie\\ArrayToXml\\": "src" @@ -6784,7 +7130,7 @@ "xml" ], "support": { - "source": "https://github.com/spatie/array-to-xml/tree/2.17.1" + "source": "https://github.com/spatie/array-to-xml/tree/3.4.0" }, "funding": [ { @@ -6796,7 +7142,7 @@ "type": "github" } ], - "time": "2022-12-26T08:22:07+00:00" + "time": "2024-12-16T12:45:15+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -6956,38 +7302,34 @@ }, { "name": "symfony/config", - "version": "v5.4.46", + "version": "v6.4.24", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "977c88a02d7d3f16904a81907531b19666a08e78" + "reference": "80e2cf005cf17138c97193be0434cdcfd1b2212e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/977c88a02d7d3f16904a81907531b19666a08e78", - "reference": "977c88a02d7d3f16904a81907531b19666a08e78", + "url": "https://api.github.com/repos/symfony/config/zipball/80e2cf005cf17138c97193be0434cdcfd1b2212e", + "reference": "80e2cf005cf17138c97193be0434cdcfd1b2212e", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-php80": "^1.16", - "symfony/polyfill-php81": "^1.22" + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/filesystem": "^5.4|^6.0|^7.0", + "symfony/polyfill-ctype": "~1.8" }, "conflict": { - "symfony/finder": "<4.4" + "symfony/finder": "<5.4", + "symfony/service-contracts": "<2.5" }, "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/yaml": "^4.4|^5.0|^6.0" - }, - "suggest": { - "symfony/yaml": "To use the yaml reference dumper" + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -7015,7 +7357,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.4.46" + "source": "https://github.com/symfony/config/tree/v6.4.24" }, "funding": [ { @@ -7026,12 +7368,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-30T07:58:02+00:00" + "time": "2025-07-26T13:50:30+00:00" }, { "name": "symfony/console", @@ -7200,20 +7546,20 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.4", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918" + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918", - "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.1" }, "type": "library", "extra": { @@ -7222,7 +7568,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.6-dev" } }, "autoload": { @@ -7247,7 +7593,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" }, "funding": [ { @@ -7263,7 +7609,7 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:11:13+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/dom-crawler", @@ -7427,25 +7773,22 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.5.4", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f" + "reference": "59eb412e93815df44f05f342958efa9f46b1e586" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f", - "reference": "e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/59eb412e93815df44f05f342958efa9f46b1e586", + "reference": "59eb412e93815df44f05f342958efa9f46b1e586", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "psr/event-dispatcher": "^1" }, - "suggest": { - "symfony/event-dispatcher-implementation": "" - }, "type": "library", "extra": { "thanks": { @@ -7453,7 +7796,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.6-dev" } }, "autoload": { @@ -7486,7 +7829,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.4" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.6.0" }, "funding": [ { @@ -7502,30 +7845,29 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:11:13+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.45", + "version": "v7.3.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "57c8294ed37d4a055b77057827c67f9558c95c54" + "reference": "edcbb768a186b5c3f25d0643159a787d3e63b7fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/57c8294ed37d4a055b77057827c67f9558c95c54", - "reference": "57c8294ed37d4a055b77057827c67f9558c95c54", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/edcbb768a186b5c3f25d0643159a787d3e63b7fd", + "reference": "edcbb768a186b5c3f25d0643159a787d3e63b7fd", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" + "symfony/polyfill-mbstring": "~1.8" }, "require-dev": { - "symfony/process": "^5.4|^6.4" + "symfony/process": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -7553,7 +7895,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.45" + "source": "https://github.com/symfony/filesystem/tree/v7.3.2" }, "funding": [ { @@ -7564,12 +7906,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-22T13:05:35+00:00" + "time": "2025-07-07T08:17:47+00:00" }, { "name": "symfony/finder", @@ -8187,29 +8533,26 @@ }, { "name": "symfony/service-contracts", - "version": "v2.5.4", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f37b419f7aea2e9abf10abd261832cace12e3300" + "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f37b419f7aea2e9abf10abd261832cace12e3300", - "reference": "f37b419f7aea2e9abf10abd261832cace12e3300", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4", + "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "ext-psr": "<1.1|>=2" }, - "suggest": { - "symfony/service-implementation": "" - }, "type": "library", "extra": { "thanks": { @@ -8217,13 +8560,16 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.6-dev" } }, "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8250,7 +8596,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.4" + "source": "https://github.com/symfony/service-contracts/tree/v3.6.0" }, "funding": [ { @@ -8266,25 +8612,25 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:11:13+00:00" + "time": "2025-04-25T09:37:31+00:00" }, { "name": "symfony/stopwatch", - "version": "v5.4.45", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004" + "reference": "5a49289e2b308214c8b9c2fda4ea454d8b8ad7cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fb2c199cf302eb207f8c23e7ee174c1c31a5c004", - "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/5a49289e2b308214c8b9c2fda4ea454d8b8ad7cd", + "reference": "5a49289e2b308214c8b9c2fda4ea454d8b8ad7cd", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/service-contracts": "^1|^2|^3" + "php": ">=8.2", + "symfony/service-contracts": "^2.5|^3" }, "type": "library", "autoload": { @@ -8312,7 +8658,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.4.45" + "source": "https://github.com/symfony/stopwatch/tree/v7.3.0" }, "funding": [ { @@ -8328,38 +8674,38 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:11:13+00:00" + "time": "2025-02-24T10:49:57+00:00" }, { "name": "symfony/string", - "version": "v5.4.47", + "version": "v6.4.24", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "136ca7d72f72b599f2631aca474a4f8e26719799" + "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/136ca7d72f72b599f2631aca474a4f8e26719799", - "reference": "136ca7d72f72b599f2631aca474a4f8e26719799", + "url": "https://api.github.com/repos/symfony/string/zipball/f0ce0bd36a3accb4a225435be077b4b4875587f4", + "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": ">=3.0" + "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0|^6.0" + "symfony/error-handler": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/intl": "^6.2|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -8398,7 +8744,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.47" + "source": "https://github.com/symfony/string/tree/v6.4.24" }, "funding": [ { @@ -8409,12 +8755,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-11-10T20:33:58+00:00" + "time": "2025-07-10T08:14:14+00:00" }, { "name": "symfony/yaml", @@ -8605,21 +8955,21 @@ }, { "name": "vimeo/psalm", - "version": "5.26.1", + "version": "6.0.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "d747f6500b38ac4f7dfc5edbcae6e4b637d7add0" + "reference": "b8e96bb617bf59382113b1b56cef751f648a7dc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/d747f6500b38ac4f7dfc5edbcae6e4b637d7add0", - "reference": "d747f6500b38ac4f7dfc5edbcae6e4b637d7add0", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/b8e96bb617bf59382113b1b56cef751f648a7dc9", + "reference": "b8e96bb617bf59382113b1b56cef751f648a7dc9", "shasum": "" }, "require": { - "amphp/amp": "^2.4.2", - "amphp/byte-stream": "^1.5", + "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", @@ -8632,26 +8982,24 @@ "ext-simplexml": "*", "ext-tokenizer": "*", "felixfbecker/advanced-json-rpc": "^3.1", - "felixfbecker/language-server-protocol": "^1.5.2", + "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": "^4.17", - "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.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" }, - "conflict": { - "nikic/php-parser": "4.17.0" - }, "provide": { "psalm/psalm": "self.version" }, "require-dev": { - "amphp/phpunit-util": "^2.0", + "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", @@ -8659,7 +9007,7 @@ "phpstan/phpdoc-parser": "^1.6", "phpunit/phpunit": "^9.6", "psalm/plugin-mockery": "^1.1", - "psalm/plugin-phpunit": "^0.18", + "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" @@ -8682,7 +9030,9 @@ "dev-2.x": "2.x-dev", "dev-3.x": "3.x-dev", "dev-4.x": "4.x-dev", - "dev-master": "5.x-dev" + "dev-5.x": "5.x-dev", + "dev-6.x": "6.x-dev", + "dev-master": "7.x-dev" } }, "autoload": { @@ -8711,7 +9061,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2024-09-08T18:53:08+00:00" + "time": "2025-01-26T12:03:19+00:00" }, { "name": "webmozart/assert", @@ -8985,16 +9335,16 @@ }, { "name": "wp-cli/core-command", - "version": "v2.1.20", + "version": "v2.1.21", "source": { "type": "git", "url": "https://github.com/wp-cli/core-command.git", - "reference": "83e4692784a815bb7f5df10b72204f237b5224b9" + "reference": "f157fb37dae1d13fe7318452f932917161e83e53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/core-command/zipball/83e4692784a815bb7f5df10b72204f237b5224b9", - "reference": "83e4692784a815bb7f5df10b72204f237b5224b9", + "url": "https://api.github.com/repos/wp-cli/core-command/zipball/f157fb37dae1d13fe7318452f932917161e83e53", + "reference": "f157fb37dae1d13fe7318452f932917161e83e53", "shasum": "" }, "require": { @@ -9006,7 +9356,7 @@ "wp-cli/db-command": "^1.3 || ^2", "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" + "wp-cli/wp-cli-tests": "^5" }, "type": "wp-cli-package", "extra": { @@ -9050,9 +9400,9 @@ "homepage": "https://github.com/wp-cli/core-command", "support": { "issues": "https://github.com/wp-cli/core-command/issues", - "source": "https://github.com/wp-cli/core-command/tree/v2.1.20" + "source": "https://github.com/wp-cli/core-command/tree/v2.1.21" }, - "time": "2025-04-16T11:23:00+00:00" + "time": "2025-07-08T17:31:39+00:00" }, { "name": "wp-cli/cron-command", @@ -9851,16 +10201,16 @@ }, { "name": "wp-cli/language-command", - "version": "v2.0.23", + "version": "v2.0.24", "source": { "type": "git", "url": "https://github.com/wp-cli/language-command.git", - "reference": "7221cc39d2b14fd39e55aa7884889f26eec2f822" + "reference": "1f1ca0ce3ee6cc46edfe06ee093cf3a57a131a18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/language-command/zipball/7221cc39d2b14fd39e55aa7884889f26eec2f822", - "reference": "7221cc39d2b14fd39e55aa7884889f26eec2f822", + "url": "https://api.github.com/repos/wp-cli/language-command/zipball/1f1ca0ce3ee6cc46edfe06ee093cf3a57a131a18", + "reference": "1f1ca0ce3ee6cc46edfe06ee093cf3a57a131a18", "shasum": "" }, "require": { @@ -9870,7 +10220,7 @@ "wp-cli/db-command": "^1.3 || ^2", "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" + "wp-cli/wp-cli-tests": "^5" }, "type": "wp-cli-package", "extra": { @@ -9925,9 +10275,9 @@ "homepage": "https://github.com/wp-cli/language-command", "support": { "issues": "https://github.com/wp-cli/language-command/issues", - "source": "https://github.com/wp-cli/language-command/tree/v2.0.23" + "source": "https://github.com/wp-cli/language-command/tree/v2.0.24" }, - "time": "2025-04-10T11:09:04+00:00" + "time": "2025-07-08T17:50:14+00:00" }, { "name": "wp-cli/maintenance-mode-command", @@ -11023,16 +11373,16 @@ }, { "name": "wp-coding-standards/wpcs", - "version": "3.1.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", - "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7" + "reference": "d2421de7cec3274ae622c22c744de9a62c7925af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/9333efcbff231f10dfd9c56bb7b65818b4733ca7", - "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7", + "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/d2421de7cec3274ae622c22c744de9a62c7925af", + "reference": "d2421de7cec3274ae622c22c744de9a62c7925af", "shasum": "" }, "require": { @@ -11041,13 +11391,13 @@ "ext-tokenizer": "*", "ext-xmlreader": "*", "php": ">=5.4", - "phpcsstandards/phpcsextra": "^1.2.1", - "phpcsstandards/phpcsutils": "^1.0.10", - "squizlabs/php_codesniffer": "^3.9.0" + "phpcsstandards/phpcsextra": "^1.4.0", + "phpcsstandards/phpcsutils": "^1.1.0", + "squizlabs/php_codesniffer": "^3.13.0" }, "require-dev": { "php-parallel-lint/php-console-highlighter": "^1.0.0", - "php-parallel-lint/php-parallel-lint": "^1.3.2", + "php-parallel-lint/php-parallel-lint": "^1.4.0", "phpcompatibility/php-compatibility": "^9.0", "phpcsstandards/phpcsdevtools": "^1.2.0", "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" @@ -11085,7 +11435,7 @@ "type": "custom" } ], - "time": "2024-03-25T16:39:00+00:00" + "time": "2025-07-24T20:08:31+00:00" }, { "name": "wp-graphql/wp-graphql-testcase", diff --git a/plugins/wp-graphql-webhooks/deactivation.php b/plugins/wpgraphql-webhooks/deactivation.php similarity index 100% rename from plugins/wp-graphql-webhooks/deactivation.php rename to plugins/wpgraphql-webhooks/deactivation.php diff --git a/plugins/wp-graphql-webhooks/docker-compose.yml b/plugins/wpgraphql-webhooks/docker-compose.yml similarity index 72% rename from plugins/wp-graphql-webhooks/docker-compose.yml rename to plugins/wpgraphql-webhooks/docker-compose.yml index d5af7ae5..50320395 100644 --- a/plugins/wp-graphql-webhooks/docker-compose.yml +++ b/plugins/wpgraphql-webhooks/docker-compose.yml @@ -4,9 +4,9 @@ services: app: depends_on: - app_db - image: wp-graphql-webhooks:latest-wp${WP_VERSION-6.0}-php${PHP_VERSION-8.0} + image: wpgraphql-webhooks:latest-wp${WP_VERSION-6.0}-php${PHP_VERSION-8.0} volumes: - - '.:/var/www/html/wp-content/plugins/wp-graphql-webhooks' + - '.:/var/www/html/wp-content/plugins/wpgraphql-webhooks' - './.log/app:/var/log/apache2' env_file: - .env @@ -34,9 +34,9 @@ services: testing: depends_on: - app_db - image: wp-graphql-webhooks-testing:latest-wp${WP_VERSION-5.9}-php${PHP_VERSION-8.0} + image: wpgraphql-webhooks-testing:latest-wp${WP_VERSION-5.9}-php${PHP_VERSION-8.0} volumes: - - '.:/var/www/html/wp-content/plugins/wp-graphql-webhooks' + - '.:/var/www/html/wp-content/plugins/wpgraphql-webhooks' - './.log/testing:/var/log/apache2' env_file: - .env diff --git a/plugins/wp-graphql-webhooks/docs/index.md b/plugins/wpgraphql-webhooks/docs/index.md similarity index 100% rename from plugins/wp-graphql-webhooks/docs/index.md rename to plugins/wpgraphql-webhooks/docs/index.md diff --git a/plugins/wp-graphql-webhooks/docs/reference.md b/plugins/wpgraphql-webhooks/docs/reference.md similarity index 100% rename from plugins/wp-graphql-webhooks/docs/reference.md rename to plugins/wpgraphql-webhooks/docs/reference.md diff --git a/plugins/wp-graphql-webhooks/docs/screenshots/create_webhook-ui.png b/plugins/wpgraphql-webhooks/docs/screenshots/create_webhook-ui.png similarity index 100% rename from plugins/wp-graphql-webhooks/docs/screenshots/create_webhook-ui.png rename to plugins/wpgraphql-webhooks/docs/screenshots/create_webhook-ui.png diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/.wp-env.json b/plugins/wpgraphql-webhooks/examples/webhooks-isr/.wp-env.json similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/.wp-env.json rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/.wp-env.json diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/README.md b/plugins/wpgraphql-webhooks/examples/webhooks-isr/README.md similarity index 99% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/README.md rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/README.md index 50dad9fd..46b73963 100644 --- a/plugins/wp-graphql-webhooks/examples/webhooks-isr/README.md +++ b/plugins/wpgraphql-webhooks/examples/webhooks-isr/README.md @@ -143,7 +143,7 @@ This integration: - Clone the repo `git clone https://github.com/wpengine/hwptoolkit.git` - Install packages `cd hwptoolkit && pnpm install` -- Install composer vendor directory `cd plugins/wp-graphql-webhooks && composer install` +- Install composer vendor directory `cd plugins/wpgraphql-webhooks && composer install` - Setup a .env file under `examples/next/webhooks-isr/example-app` with `NEXT_PUBLIC_WORDPRESS_URL=http://localhost:8888` e.g. diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/.gitignore b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/.gitignore similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/.gitignore rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/.gitignore diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/README.md b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/README.md similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/README.md rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/README.md diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/eslint.config.mjs b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/eslint.config.mjs similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/eslint.config.mjs rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/eslint.config.mjs diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/jsconfig.json b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/jsconfig.json similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/jsconfig.json rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/jsconfig.json diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/next.config.mjs b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/next.config.mjs similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/next.config.mjs rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/next.config.mjs diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/package.json b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/package.json similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/package.json rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/package.json diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/postcss.config.mjs b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/postcss.config.mjs similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/postcss.config.mjs rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/postcss.config.mjs diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/favicon.ico b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/favicon.ico similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/favicon.ico rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/favicon.ico diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/file.svg b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/file.svg similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/file.svg rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/file.svg diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/globe.svg b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/globe.svg similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/globe.svg rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/globe.svg diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/next.svg b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/next.svg similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/next.svg rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/next.svg diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/sitemap.xsl b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/sitemap.xsl similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/sitemap.xsl rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/sitemap.xsl diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/vercel.svg b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/vercel.svg similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/vercel.svg rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/vercel.svg diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/window.svg b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/window.svg similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/public/window.svg rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/public/window.svg diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/Archive.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/Archive.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/Archive.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/Archive.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/BlogPostItem.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/BlogPostItem.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/BlogPostItem.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/BlogPostItem.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/CouldNotLoad.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/CouldNotLoad.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/CouldNotLoad.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/CouldNotLoad.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/Header.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/Header.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/Header.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/Header.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/Loading.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/Loading.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/Loading.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/Loading.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/Single.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/Single.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/components/Single.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/components/Single.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/lib/client.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/lib/client.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/lib/client.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/lib/client.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/[...uri].js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/[...uri].js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/[...uri].js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/[...uri].js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/_app.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/_app.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/_app.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/_app.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/_document.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/_document.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/_document.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/_document.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/api/hello.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/api/hello.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/api/hello.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/api/hello.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/api/revalidate.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/api/revalidate.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/api/revalidate.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/api/revalidate.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/index.js b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/index.js similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/pages/index.js rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/pages/index.js diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/styles/globals.css b/plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/styles/globals.css similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/example-app/src/styles/globals.css rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/example-app/src/styles/globals.css diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/package.json b/plugins/wpgraphql-webhooks/examples/webhooks-isr/package.json similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/package.json rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/package.json diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/screenshots/create_webhook-ui.png b/plugins/wpgraphql-webhooks/examples/webhooks-isr/screenshots/create_webhook-ui.png similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/screenshots/create_webhook-ui.png rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/screenshots/create_webhook-ui.png diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/wp-env/db/database.sql b/plugins/wpgraphql-webhooks/examples/webhooks-isr/wp-env/db/database.sql similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/wp-env/db/database.sql rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/wp-env/db/database.sql diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/wp-env/setup/.htaccess b/plugins/wpgraphql-webhooks/examples/webhooks-isr/wp-env/setup/.htaccess similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/wp-env/setup/.htaccess rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/wp-env/setup/.htaccess diff --git a/plugins/wp-graphql-webhooks/examples/webhooks-isr/wp-env/uploads.zip b/plugins/wpgraphql-webhooks/examples/webhooks-isr/wp-env/uploads.zip similarity index 100% rename from plugins/wp-graphql-webhooks/examples/webhooks-isr/wp-env/uploads.zip rename to plugins/wpgraphql-webhooks/examples/webhooks-isr/wp-env/uploads.zip diff --git a/plugins/wp-graphql-webhooks/package.json b/plugins/wpgraphql-webhooks/package.json similarity index 100% rename from plugins/wp-graphql-webhooks/package.json rename to plugins/wpgraphql-webhooks/package.json diff --git a/plugins/wp-graphql-webhooks/phpcs/WebhooksStandard/ruleset.xml b/plugins/wpgraphql-webhooks/phpcs/WebhooksStandard/ruleset.xml similarity index 100% rename from plugins/wp-graphql-webhooks/phpcs/WebhooksStandard/ruleset.xml rename to plugins/wpgraphql-webhooks/phpcs/WebhooksStandard/ruleset.xml diff --git a/plugins/wp-graphql-webhooks/phpstan.neon.dist b/plugins/wpgraphql-webhooks/phpstan.neon.dist similarity index 94% rename from plugins/wp-graphql-webhooks/phpstan.neon.dist rename to plugins/wpgraphql-webhooks/phpstan.neon.dist index b523d41f..1c25b071 100644 --- a/plugins/wp-graphql-webhooks/phpstan.neon.dist +++ b/plugins/wpgraphql-webhooks/phpstan.neon.dist @@ -24,11 +24,11 @@ parameters: - phpstan/constants.php - activation.php - deactivation.php - - wp-graphql-webhooks.php + - wpgraphql-webhooks.php paths: - activation.php - deactivation.php - - wp-graphql-webhooks.php + - wpgraphql-webhooks.php - src/ scanFiles: - vendor/axepress/wp-graphql-stubs/wp-graphql-stubs.php diff --git a/plugins/wp-graphql-webhooks/phpstan/Rules/ClassConstantVarAnnotationRule.php b/plugins/wpgraphql-webhooks/phpstan/Rules/ClassConstantVarAnnotationRule.php similarity index 100% rename from plugins/wp-graphql-webhooks/phpstan/Rules/ClassConstantVarAnnotationRule.php rename to plugins/wpgraphql-webhooks/phpstan/Rules/ClassConstantVarAnnotationRule.php diff --git a/plugins/wp-graphql-webhooks/phpstan/class-wp-post-type.stub b/plugins/wpgraphql-webhooks/phpstan/class-wp-post-type.stub similarity index 100% rename from plugins/wp-graphql-webhooks/phpstan/class-wp-post-type.stub rename to plugins/wpgraphql-webhooks/phpstan/class-wp-post-type.stub diff --git a/plugins/wp-graphql-webhooks/phpstan/class-wp-taxonomy.stub b/plugins/wpgraphql-webhooks/phpstan/class-wp-taxonomy.stub similarity index 100% rename from plugins/wp-graphql-webhooks/phpstan/class-wp-taxonomy.stub rename to plugins/wpgraphql-webhooks/phpstan/class-wp-taxonomy.stub diff --git a/plugins/wp-graphql-webhooks/phpstan/constants.php b/plugins/wpgraphql-webhooks/phpstan/constants.php similarity index 80% rename from plugins/wp-graphql-webhooks/phpstan/constants.php rename to plugins/wpgraphql-webhooks/phpstan/constants.php index ffa064ed..c6da9895 100644 --- a/plugins/wp-graphql-webhooks/phpstan/constants.php +++ b/plugins/wpgraphql-webhooks/phpstan/constants.php @@ -5,6 +5,6 @@ * @package WPGraphQL/Webhooks */ -define( 'WPGRAPHQL_WEBHOOKS_PLUGIN_FILE', 'wp-graphql-webhooks.php' ); +define( 'WPGRAPHQL_WEBHOOKS_PLUGIN_FILE', 'wpgraphql-webhooks.php' ); define( 'WPGRAPHQL_WEBHOOKS_VERSION', '0.0.1' ); define( 'WPGRAPHQL_WEBHOOKS_PLUGIN_DIR', '' ); \ No newline at end of file diff --git a/plugins/wp-graphql-webhooks/psalm.xml b/plugins/wpgraphql-webhooks/psalm.xml similarity index 94% rename from plugins/wp-graphql-webhooks/psalm.xml rename to plugins/wpgraphql-webhooks/psalm.xml index 73a69f04..db86ffd6 100644 --- a/plugins/wp-graphql-webhooks/psalm.xml +++ b/plugins/wpgraphql-webhooks/psalm.xml @@ -13,7 +13,7 @@ - + diff --git a/plugins/wp-graphql-webhooks/readme.txt b/plugins/wpgraphql-webhooks/readme.txt similarity index 100% rename from plugins/wp-graphql-webhooks/readme.txt rename to plugins/wpgraphql-webhooks/readme.txt diff --git a/plugins/wp-graphql-webhooks/src/Admin/WebhooksAdmin.php b/plugins/wpgraphql-webhooks/src/Admin/WebhooksAdmin.php similarity index 90% rename from plugins/wp-graphql-webhooks/src/Admin/WebhooksAdmin.php rename to plugins/wpgraphql-webhooks/src/Admin/WebhooksAdmin.php index a699bdaf..b9a137c5 100644 --- a/plugins/wp-graphql-webhooks/src/Admin/WebhooksAdmin.php +++ b/plugins/wpgraphql-webhooks/src/Admin/WebhooksAdmin.php @@ -63,8 +63,8 @@ public function init(): void { public function add_admin_menu(): void { // Add submenu under GraphQL menu using the correct parent slug add_menu_page( - __( 'Webhooks', 'wp-graphql-webhooks' ), - __( 'Webhooks', 'wp-graphql-webhooks' ), + __( 'Webhooks', 'graphql-webhooks' ), + __( 'Webhooks', 'graphql-webhooks' ), 'manage_options', self::ADMIN_PAGE_SLUG, [ $this, 'render_admin_page' ], @@ -73,8 +73,8 @@ public function add_admin_menu(): void { ); add_submenu_page( 'graphiql-ide', - __( 'GraphQL Webhooks', 'wp-graphql-webhooks' ), - __( 'Webhooks', 'wp-graphql-webhooks' ), + __( 'GraphQL Webhooks', 'graphql-webhooks' ), + __( 'Webhooks', 'graphql-webhooks' ), 'manage_options', self::ADMIN_PAGE_SLUG, [ $this, 'render_admin_page' ] @@ -129,7 +129,7 @@ public function enqueue_assets( string $hook ): void { 'ajaxUrl' => admin_url( 'admin-ajax.php' ), 'restUrl' => rest_url( 'graphql-webhooks/v1/' ), 'nonce' => wp_create_nonce( 'wp_rest' ), - 'confirmDelete' => __( 'Are you sure you want to delete this webhook?', 'wp-graphql-webhooks' ), + 'confirmDelete' => __( 'Are you sure you want to delete this webhook?', 'graphql-webhooks' ), 'headerTemplate' => $this->get_header_row_template(), ] ); @@ -154,7 +154,7 @@ private function get_header_row_template(): string { */ private function verify_admin_permission(): bool { if ( ! current_user_can( 'manage_options' ) ) { - wp_die( __( 'You do not have sufficient permissions to access this page.', 'wp-graphql-webhooks' ) ); + wp_die( __( 'You do not have sufficient permissions to access this page.', 'graphql-webhooks' ) ); return false; } return true; @@ -169,7 +169,7 @@ private function verify_admin_permission(): bool { */ private function verify_nonce( string $nonce_name, string $action ): bool { if ( ! isset( $_REQUEST[ $nonce_name ] ) || ! wp_verify_nonce( wp_unslash( $_REQUEST[ $nonce_name ] ), $action ) ) { - wp_die( __( 'Security check failed.', 'wp-graphql-webhooks' ) ); + wp_die( __( 'Security check failed.', 'graphql-webhooks' ) ); return false; } return true; @@ -182,7 +182,7 @@ private function verify_nonce( string $nonce_name, string $action ): bool { */ public function handle_webhook_save() { if ( ! $this->verify_admin_permission() || ! $this->verify_nonce( 'webhook_nonce', 'webhook_save' ) ) { - wp_die( __( 'Unauthorized', 'wp-graphql-webhooks' ) ); + wp_die( __( 'Unauthorized', 'graphql-webhooks' ) ); } $webhook_id = isset( $_POST['webhook_id'] ) ? intval( $_POST['webhook_id'] ) : 0; @@ -251,7 +251,7 @@ private function handle_webhook_delete(): void { // Verify nonce if ( ! wp_verify_nonce( $nonce, 'delete-webhook-' . $webhook_id ) ) { - wp_die( __( 'Security check failed.', 'wp-graphql-webhooks' ) ); + wp_die( __( 'Security check failed.', 'graphql-webhooks' ) ); } // Delete webhook @@ -300,8 +300,8 @@ private function render_list_page() { */ private function render_form_page( $action ) { $webhook = null; - $form_title = 'add' === $action ? __( 'Add New Webhook', 'wp-graphql-webhooks' ) : __( 'Edit Webhook', 'wp-graphql-webhooks' ); - $submit_text = 'add' === $action ? __( 'Add Webhook', 'wp-graphql-webhooks' ) : __( 'Update Webhook', 'wp-graphql-webhooks' ); + $form_title = 'add' === $action ? __( 'Add New Webhook', 'graphql-webhooks' ) : __( 'Edit Webhook', 'graphql-webhooks' ); + $submit_text = 'add' === $action ? __( 'Add Webhook', 'graphql-webhooks' ) : __( 'Update Webhook', 'graphql-webhooks' ); $name = ''; $event = ''; @@ -314,7 +314,7 @@ private function render_form_page( $action ) { $webhook = $this->repository->get( $webhook_id ); if ( ! $webhook ) { - wp_die( __( 'Webhook not found.', 'wp-graphql-webhooks' ) ); + wp_die( __( 'Webhook not found.', 'graphql-webhooks' ) ); } $name = $webhook->name; @@ -365,14 +365,14 @@ private function sanitize_headers( array $headers ): array { public function ajax_test_webhook(): void { if ( ! isset( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'wp_rest' ) ) { wp_send_json_error( [ - 'message' => __( 'Invalid security token.', 'wp-graphql-webhooks' ), + 'message' => __( 'Invalid security token.', 'graphql-webhooks' ), 'error_code' => 'invalid_nonce' ] ); } if ( ! $this->verify_admin_permission() ) { wp_send_json_error( [ - 'message' => __( 'You do not have permission to test webhooks.', 'wp-graphql-webhooks' ), + 'message' => __( 'You do not have permission to test webhooks.', 'graphql-webhooks' ), 'error_code' => 'insufficient_permissions' ] ); } @@ -380,7 +380,7 @@ public function ajax_test_webhook(): void { $webhook_id = isset( $_POST['webhook_id'] ) ? intval( $_POST['webhook_id'] ) : 0; if ( ! $webhook_id ) { wp_send_json_error( [ - 'message' => __( 'Invalid webhook ID.', 'wp-graphql-webhooks' ), + 'message' => __( 'Invalid webhook ID.', 'graphql-webhooks' ), 'error_code' => 'invalid_webhook_id' ] ); } @@ -388,7 +388,7 @@ public function ajax_test_webhook(): void { $webhook = $this->repository->get( $webhook_id ); if ( ! $webhook ) { wp_send_json_error( [ - 'message' => __( 'Webhook not found.', 'wp-graphql-webhooks' ), + 'message' => __( 'Webhook not found.', 'graphql-webhooks' ), 'error_code' => 'webhook_not_found' ] ); } @@ -434,7 +434,7 @@ public function ajax_test_webhook(): void { if ( is_wp_error( $response ) ) { wp_send_json_error( [ 'message' => sprintf( - __( 'Failed to send test webhook: %s', 'wp-graphql-webhooks' ), + __( 'Failed to send test webhook: %s', 'graphql-webhooks' ), $response->get_error_message() ), 'error_code' => $response->get_error_code(), @@ -450,8 +450,8 @@ public function ajax_test_webhook(): void { $response_data = [ 'success' => $is_success, 'message' => $is_success - ? sprintf( __( 'Test webhook sent successfully to %s', 'wp-graphql-webhooks' ), $webhook->url ) - : sprintf( __( 'Webhook returned HTTP %d', 'wp-graphql-webhooks' ), $response_code ), + ? sprintf( __( 'Test webhook sent successfully to %s', 'graphql-webhooks' ), $webhook->url ) + : sprintf( __( 'Webhook returned HTTP %d', 'graphql-webhooks' ), $response_code ), 'webhook_id' => $webhook->id, 'webhook_name' => $webhook->name, 'target_url' => $webhook->url, diff --git a/plugins/wp-graphql-webhooks/src/Admin/WebhooksListTable.php b/plugins/wpgraphql-webhooks/src/Admin/WebhooksListTable.php similarity index 100% rename from plugins/wp-graphql-webhooks/src/Admin/WebhooksListTable.php rename to plugins/wpgraphql-webhooks/src/Admin/WebhooksListTable.php diff --git a/plugins/wp-graphql-webhooks/src/Admin/views/partials/webhook-header-row.php b/plugins/wpgraphql-webhooks/src/Admin/views/partials/webhook-header-row.php similarity index 75% rename from plugins/wp-graphql-webhooks/src/Admin/views/partials/webhook-header-row.php rename to plugins/wpgraphql-webhooks/src/Admin/views/partials/webhook-header-row.php index 7080913e..6bfe4fb8 100644 --- a/plugins/wp-graphql-webhooks/src/Admin/views/partials/webhook-header-row.php +++ b/plugins/wpgraphql-webhooks/src/Admin/views/partials/webhook-header-row.php @@ -20,14 +20,14 @@ diff --git a/plugins/wp-graphql-webhooks/src/Admin/views/webhook-form.php b/plugins/wpgraphql-webhooks/src/Admin/views/webhook-form.php similarity index 80% rename from plugins/wp-graphql-webhooks/src/Admin/views/webhook-form.php rename to plugins/wpgraphql-webhooks/src/Admin/views/webhook-form.php index 6f7d1ab3..78fa2959 100644 --- a/plugins/wp-graphql-webhooks/src/Admin/views/webhook-form.php +++ b/plugins/wpgraphql-webhooks/src/Admin/views/webhook-form.php @@ -39,44 +39,44 @@ - + -

+

- + -

+

- + -

+

- + - +

diff --git a/plugins/wp-graphql-webhooks/src/Admin/views/webhooks-list.php b/plugins/wpgraphql-webhooks/src/Admin/views/webhooks-list.php similarity index 75% rename from plugins/wp-graphql-webhooks/src/Admin/views/webhooks-list.php rename to plugins/wpgraphql-webhooks/src/Admin/views/webhooks-list.php index 5297b388..d640dc75 100644 --- a/plugins/wp-graphql-webhooks/src/Admin/views/webhooks-list.php +++ b/plugins/wpgraphql-webhooks/src/Admin/views/webhooks-list.php @@ -13,9 +13,9 @@ ?>
-

+

- +
@@ -29,7 +29,7 @@ @@ -41,7 +41,7 @@ if ( isset( $_GET['added'] ) ) { ?>
-

+

-

+

[ 'list_of' => 'Webhook' ], - 'description' => __( 'List all registered webhooks.', 'wp-graphql-webhooks' ), + 'description' => __( 'List all registered webhooks.', 'graphql-webhooks' ), 'resolve' => function() { $query = new \WP_Query([ 'post_type' => 'graphql_webhook', @@ -40,11 +40,11 @@ public static function register(): void { // Register the "webhook" field (fetch single webhook by ID) register_graphql_field( 'RootQuery', 'webhook', [ 'type' => 'Webhook', - 'description' => __( 'Fetch a webhook by ID.', 'wp-graphql-webhooks' ), + 'description' => __( 'Fetch a webhook by ID.', 'graphql-webhooks' ), 'args' => [ 'id' => [ 'type' => Type::nonNull( Type::id() ), - 'description' => __( 'The global ID of the webhook to retrieve.', 'wp-graphql-webhooks' ), + 'description' => __( 'The global ID of the webhook to retrieve.', 'graphql-webhooks' ), ], ], 'resolve' => function( $root, $args ) { diff --git a/plugins/wp-graphql-webhooks/src/Handlers/Interfaces/Handler.php b/plugins/wpgraphql-webhooks/src/Handlers/Interfaces/Handler.php similarity index 100% rename from plugins/wp-graphql-webhooks/src/Handlers/Interfaces/Handler.php rename to plugins/wpgraphql-webhooks/src/Handlers/Interfaces/Handler.php diff --git a/plugins/wp-graphql-webhooks/src/Handlers/WebhookHandler.php b/plugins/wpgraphql-webhooks/src/Handlers/WebhookHandler.php similarity index 100% rename from plugins/wp-graphql-webhooks/src/Handlers/WebhookHandler.php rename to plugins/wpgraphql-webhooks/src/Handlers/WebhookHandler.php diff --git a/plugins/wp-graphql-webhooks/src/Mutation/CreateWebhook.php b/plugins/wpgraphql-webhooks/src/Mutation/CreateWebhook.php similarity index 84% rename from plugins/wp-graphql-webhooks/src/Mutation/CreateWebhook.php rename to plugins/wpgraphql-webhooks/src/Mutation/CreateWebhook.php index 8923dac3..29c0da2c 100644 --- a/plugins/wp-graphql-webhooks/src/Mutation/CreateWebhook.php +++ b/plugins/wpgraphql-webhooks/src/Mutation/CreateWebhook.php @@ -26,42 +26,42 @@ public static function register(): void { 'inputFields' => [ 'title' => [ 'type' => 'String', - 'description' => __( 'The title of the webhook', 'wp-graphql-webhooks' ), + 'description' => __( 'The title of the webhook', 'graphql-webhooks' ), ], 'content' => [ 'type' => 'String', - 'description' => __( 'The content/description of the webhook', 'wp-graphql-webhooks' ), + 'description' => __( 'The content/description of the webhook', 'graphql-webhooks' ), ], 'eventTrigger' => [ 'type' => 'String', - 'description' => __( 'The event hook name that triggers this webhook', 'wp-graphql-webhooks' ), + 'description' => __( 'The event hook name that triggers this webhook', 'graphql-webhooks' ), ], 'enabled' => [ 'type' => 'Boolean', - 'description' => __( 'Whether the webhook is enabled', 'wp-graphql-webhooks' ), + 'description' => __( 'Whether the webhook is enabled', 'graphql-webhooks' ), ], 'security' => [ 'type' => 'String', - 'description' => __( 'Security information for the webhook', 'wp-graphql-webhooks' ), + 'description' => __( 'Security information for the webhook', 'graphql-webhooks' ), ], 'handlerClass' => [ 'type' => 'String', - 'description' => __( 'The handler class used for dispatching', 'wp-graphql-webhooks' ), + 'description' => __( 'The handler class used for dispatching', 'graphql-webhooks' ), ], 'handlerConfig' => [ 'type' => 'String', - 'description' => __( 'Configuration for the handler, JSON encoded', 'wp-graphql-webhooks' ), + 'description' => __( 'Configuration for the handler, JSON encoded', 'graphql-webhooks' ), ], 'status' => [ 'type' => 'String', - 'description' => __( 'Post status, e.g. PUBLISH or DRAFT', 'wp-graphql-webhooks' ), + 'description' => __( 'Post status, e.g. PUBLISH or DRAFT', 'graphql-webhooks' ), 'defaultValue' => 'publish', ], ], 'outputFields' => [ 'webhook' => [ 'type' => 'Webhook', - 'description' => __( 'The created webhook', 'wp-graphql-webhooks' ), + 'description' => __( 'The created webhook', 'graphql-webhooks' ), 'resolve' => function ($payload) { return get_post( $payload['webhookId'] ); }, @@ -70,7 +70,7 @@ public static function register(): void { 'mutateAndGetPayload' => function ($input, $context, $info) { // Check user capabilities if ( ! current_user_can( 'manage_options' ) ) { - throw new UserError( __( 'You do not have permission to create webhooks.', 'wp-graphql-webhooks' ) ); + throw new UserError( __( 'You do not have permission to create webhooks.', 'graphql-webhooks' ) ); } // Prepare post data @@ -83,7 +83,7 @@ public static function register(): void { $post_id = wp_insert_post( $post_data ); if ( is_wp_error( $post_id ) ) { - throw new UserError( __( 'Failed to create webhook.', 'wp-graphql-webhooks' ) ); + throw new UserError( __( 'Failed to create webhook.', 'graphql-webhooks' ) ); } if ( isset( $input['eventTrigger'] ) ) { update_post_meta( $post_id, '_event_trigger', sanitize_text_field( $input['eventTrigger'] ) ); diff --git a/plugins/wp-graphql-webhooks/src/Mutation/DeleteWebhook.php b/plugins/wpgraphql-webhooks/src/Mutation/DeleteWebhook.php similarity index 75% rename from plugins/wp-graphql-webhooks/src/Mutation/DeleteWebhook.php rename to plugins/wpgraphql-webhooks/src/Mutation/DeleteWebhook.php index 9962e51f..f41a26ac 100644 --- a/plugins/wp-graphql-webhooks/src/Mutation/DeleteWebhook.php +++ b/plugins/wpgraphql-webhooks/src/Mutation/DeleteWebhook.php @@ -26,20 +26,20 @@ public static function register(): void { 'inputFields' => [ 'id' => [ 'type' => 'ID', - 'description' => __( 'The ID of the webhook to delete', 'wp-graphql-webhooks' ), + 'description' => __( 'The ID of the webhook to delete', 'graphql-webhooks' ), ], ], 'outputFields' => [ 'deletedWebhookId' => [ 'type' => 'ID', - 'description' => __( 'The ID of the deleted webhook', 'wp-graphql-webhooks' ), + 'description' => __( 'The ID of the deleted webhook', 'graphql-webhooks' ), 'resolve' => function ($payload) { return $payload['deletedWebhookId'] ?? null; }, ], 'success' => [ 'type' => 'Boolean', - 'description' => __( 'Whether the webhook was successfully deleted', 'wp-graphql-webhooks' ), + 'description' => __( 'Whether the webhook was successfully deleted', 'graphql-webhooks' ), 'resolve' => function ($payload) { return $payload['success'] ?? false; }, @@ -48,27 +48,27 @@ public static function register(): void { 'mutateAndGetPayload' => function ($input, $context, $info) { // Capability check if ( ! current_user_can( 'manage_options' ) ) { - throw new UserError( __( 'You do not have permission to delete webhooks.', 'wp-graphql-webhooks' ) ); + throw new UserError( __( 'You do not have permission to delete webhooks.', 'graphql-webhooks' ) ); } if ( empty( $input['id'] ) ) { - throw new UserError( __( 'The ID of the webhook to delete is required.', 'wp-graphql-webhooks' ) ); + throw new UserError( __( 'The ID of the webhook to delete is required.', 'graphql-webhooks' ) ); } $post_id = is_numeric( $input['id'] ) ? (int) $input['id'] : 0; if ( $post_id <= 0 ) { - throw new UserError( __( 'Invalid webhook ID.', 'wp-graphql-webhooks' ) ); + throw new UserError( __( 'Invalid webhook ID.', 'graphql-webhooks' ) ); } $post = get_post( $post_id ); if ( ! $post || $post->post_type !== 'graphql_webhook' ) { - throw new UserError( __( 'Webhook not found.', 'wp-graphql-webhooks' ) ); + throw new UserError( __( 'Webhook not found.', 'graphql-webhooks' ) ); } // Delete the post (force delete to bypass trash) $deleted = wp_delete_post( $post_id, true ); if ( ! $deleted ) { - throw new UserError( __( 'Failed to delete webhook.', 'wp-graphql-webhooks' ) ); + throw new UserError( __( 'Failed to delete webhook.', 'graphql-webhooks' ) ); } return [ diff --git a/plugins/wp-graphql-webhooks/src/Mutation/UpdateWebhook.php b/plugins/wpgraphql-webhooks/src/Mutation/UpdateWebhook.php similarity index 88% rename from plugins/wp-graphql-webhooks/src/Mutation/UpdateWebhook.php rename to plugins/wpgraphql-webhooks/src/Mutation/UpdateWebhook.php index 4bd1894d..a04dd7ab 100644 --- a/plugins/wp-graphql-webhooks/src/Mutation/UpdateWebhook.php +++ b/plugins/wpgraphql-webhooks/src/Mutation/UpdateWebhook.php @@ -26,45 +26,45 @@ public static function register(): void { 'inputFields' => [ 'id' => [ 'type' => 'ID', - 'description' => __('The ID of the webhook to update', 'wp-graphql-webhooks'), + 'description' => __('The ID of the webhook to update', 'graphql-webhooks'), ], 'title' => [ 'type' => 'String', - 'description' => __('The new title of the webhook', 'wp-graphql-webhooks'), + 'description' => __('The new title of the webhook', 'graphql-webhooks'), ], 'content' => [ 'type' => 'String', - 'description' => __('The new content/description of the webhook', 'wp-graphql-webhooks'), + 'description' => __('The new content/description of the webhook', 'graphql-webhooks'), ], 'eventTrigger' => [ 'type' => 'String', - 'description' => __('The new event hook name that triggers this webhook', 'wp-graphql-webhooks'), + 'description' => __('The new event hook name that triggers this webhook', 'graphql-webhooks'), ], 'enabled' => [ 'type' => 'Boolean', - 'description' => __('Whether the webhook is enabled', 'wp-graphql-webhooks'), + 'description' => __('Whether the webhook is enabled', 'graphql-webhooks'), ], 'security' => [ 'type' => 'String', - 'description' => __('Security information for the webhook', 'wp-graphql-webhooks'), + 'description' => __('Security information for the webhook', 'graphql-webhooks'), ], 'handlerClass' => [ 'type' => 'String', - 'description' => __('The handler class used for dispatching', 'wp-graphql-webhooks'), + 'description' => __('The handler class used for dispatching', 'graphql-webhooks'), ], 'handlerConfig' => [ 'type' => 'String', - 'description' => __('Configuration for the handler, JSON encoded', 'wp-graphql-webhooks'), + 'description' => __('Configuration for the handler, JSON encoded', 'graphql-webhooks'), ], 'status' => [ 'type' => 'String', - 'description' => __('Post status, e.g. PUBLISH or DRAFT', 'wp-graphql-webhooks'), + 'description' => __('Post status, e.g. PUBLISH or DRAFT', 'graphql-webhooks'), ], ], 'outputFields' => [ 'webhook' => [ 'type' => 'Webhook', - 'description' => __('The updated webhook', 'wp-graphql-webhooks'), + 'description' => __('The updated webhook', 'graphql-webhooks'), 'resolve' => function ($payload) { return get_post($payload['webhookId']); }, @@ -72,22 +72,22 @@ public static function register(): void { ], 'mutateAndGetPayload' => function ($input, $context, $info) { if (!current_user_can('manage_options')) { - throw new UserError(__('You do not have permission to update webhooks.', 'wp-graphql-webhooks')); + throw new UserError(__('You do not have permission to update webhooks.', 'graphql-webhooks')); } if (empty($input['id'])) { - throw new UserError(__('The ID of the webhook to update is required.', 'wp-graphql-webhooks')); + throw new UserError(__('The ID of the webhook to update is required.', 'graphql-webhooks')); } $post_id = is_numeric($input['id']) ? (int) $input['id'] : 0; if ($post_id <= 0) { - throw new UserError(__('Invalid webhook ID.', 'wp-graphql-webhooks')); + throw new UserError(__('Invalid webhook ID.', 'graphql-webhooks')); } $post = get_post($post_id); if (!$post || $post->post_type !== 'graphql_webhook') { - throw new UserError(__('Webhook not found.', 'wp-graphql-webhooks')); + throw new UserError(__('Webhook not found.', 'graphql-webhooks')); } $post_data = ['ID' => $post_id]; @@ -102,7 +102,7 @@ public static function register(): void { } $updated_post_id = wp_update_post($post_data, true); if (is_wp_error($updated_post_id)) { - throw new UserError(__('Failed to update webhook.', 'wp-graphql-webhooks')); + throw new UserError(__('Failed to update webhook.', 'graphql-webhooks')); } if (isset($input['eventTrigger'])) { diff --git a/plugins/wp-graphql-webhooks/src/Plugin.php b/plugins/wpgraphql-webhooks/src/Plugin.php similarity index 100% rename from plugins/wp-graphql-webhooks/src/Plugin.php rename to plugins/wpgraphql-webhooks/src/Plugin.php diff --git a/plugins/wp-graphql-webhooks/src/PostTypes/WebhookPostType.php b/plugins/wpgraphql-webhooks/src/PostTypes/WebhookPostType.php similarity index 63% rename from plugins/wp-graphql-webhooks/src/PostTypes/WebhookPostType.php rename to plugins/wpgraphql-webhooks/src/PostTypes/WebhookPostType.php index 8dbfc619..248f4f11 100644 --- a/plugins/wp-graphql-webhooks/src/PostTypes/WebhookPostType.php +++ b/plugins/wpgraphql-webhooks/src/PostTypes/WebhookPostType.php @@ -24,18 +24,18 @@ public static function init(): void { */ public static function register_webhook_cpt(): void { $labels = [ - 'name' => __( 'Webhooks', 'wp-graphql-webhooks' ), - 'singular_name' => __( 'Webhook', 'wp-graphql-webhooks' ), - 'add_new' => __( 'Add New', 'wp-graphql-webhooks' ), - 'add_new_item' => __( 'Add New Webhook', 'wp-graphql-webhooks' ), - 'edit_item' => __( 'Edit Webhook', 'wp-graphql-webhooks' ), - 'new_item' => __( 'New Webhook', 'wp-graphql-webhooks' ), - 'view_item' => __( 'View Webhook', 'wp-graphql-webhooks' ), - 'search_items' => __( 'Search Webhooks', 'wp-graphql-webhooks' ), - 'not_found' => __( 'No Webhooks found', 'wp-graphql-webhooks' ), - 'not_found_in_trash' => __( 'No Webhooks found in Trash', 'wp-graphql-webhooks' ), - 'parent_item_colon' => __( 'Parent Webhook:', 'wp-graphql-webhooks' ), - 'menu_name' => __( 'Webhooks', 'wp-graphql-webhooks' ), + 'name' => __( 'Webhooks', 'graphql-webhooks' ), + 'singular_name' => __( 'Webhook', 'graphql-webhooks' ), + 'add_new' => __( 'Add New', 'graphql-webhooks' ), + 'add_new_item' => __( 'Add New Webhook', 'graphql-webhooks' ), + 'edit_item' => __( 'Edit Webhook', 'graphql-webhooks' ), + 'new_item' => __( 'New Webhook', 'graphql-webhooks' ), + 'view_item' => __( 'View Webhook', 'graphql-webhooks' ), + 'search_items' => __( 'Search Webhooks', 'graphql-webhooks' ), + 'not_found' => __( 'No Webhooks found', 'graphql-webhooks' ), + 'not_found_in_trash' => __( 'No Webhooks found in Trash', 'graphql-webhooks' ), + 'parent_item_colon' => __( 'Parent Webhook:', 'graphql-webhooks' ), + 'menu_name' => __( 'Webhooks', 'graphql-webhooks' ), ]; $args = [ 'labels' => $labels, diff --git a/plugins/wp-graphql-webhooks/src/Repository/Interfaces/WebhookRepositoryInterface.php b/plugins/wpgraphql-webhooks/src/Repository/Interfaces/WebhookRepositoryInterface.php similarity index 100% rename from plugins/wp-graphql-webhooks/src/Repository/Interfaces/WebhookRepositoryInterface.php rename to plugins/wpgraphql-webhooks/src/Repository/Interfaces/WebhookRepositoryInterface.php diff --git a/plugins/wp-graphql-webhooks/src/Repository/WebhookRepository.php b/plugins/wpgraphql-webhooks/src/Repository/WebhookRepository.php similarity index 99% rename from plugins/wp-graphql-webhooks/src/Repository/WebhookRepository.php rename to plugins/wpgraphql-webhooks/src/Repository/WebhookRepository.php index 7cd81e26..bb7c6e24 100644 --- a/plugins/wp-graphql-webhooks/src/Repository/WebhookRepository.php +++ b/plugins/wpgraphql-webhooks/src/Repository/WebhookRepository.php @@ -145,7 +145,7 @@ public function create( Webhook $webhook ) { public function update( int $id, Webhook $webhook ) { $post = get_post( $id ); if ( ! $post || $post->post_type !== 'graphql_webhook' ) { - return new WP_Error( 'invalid_webhook', __( 'Webhook not found.', 'wp-graphql-webhooks' ) ); + return new WP_Error( 'invalid_webhook', __( 'Webhook not found.', 'graphql-webhooks' ) ); } // Validate using the Webhook entity diff --git a/plugins/wp-graphql-webhooks/src/Rest/WebhookTestEndpoint.php b/plugins/wpgraphql-webhooks/src/Rest/WebhookTestEndpoint.php similarity index 96% rename from plugins/wp-graphql-webhooks/src/Rest/WebhookTestEndpoint.php rename to plugins/wpgraphql-webhooks/src/Rest/WebhookTestEndpoint.php index 7f22db34..6f9dc085 100644 --- a/plugins/wp-graphql-webhooks/src/Rest/WebhookTestEndpoint.php +++ b/plugins/wpgraphql-webhooks/src/Rest/WebhookTestEndpoint.php @@ -79,7 +79,7 @@ public function test_webhook( WP_REST_Request $request ): WP_REST_Response|WP_Er if ( ! $webhook ) { return new WP_Error( 'webhook_not_found', - __( 'Webhook not found.', 'wp-graphql-webhooks' ), + __( 'Webhook not found.', 'graphql-webhooks' ), [ 'status' => 404 ] ); } @@ -136,7 +136,7 @@ public function test_webhook( WP_REST_Request $request ): WP_REST_Response|WP_Er return new WP_REST_Response( [ 'success' => true, - 'message' => __( 'Test webhook dispatched successfully.', 'wp-graphql-webhooks' ), + 'message' => __( 'Test webhook dispatched successfully.', 'graphql-webhooks' ), 'details' => [ 'webhook_id' => $webhook_id, 'webhook_name' => $webhook->name, @@ -161,7 +161,7 @@ public function test_webhook( WP_REST_Request $request ): WP_REST_Response|WP_Er 'webhook_test_failed', sprintf( /* translators: %s: error message */ - __( 'Failed to dispatch test webhook: %s', 'wp-graphql-webhooks' ), + __( 'Failed to dispatch test webhook: %s', 'graphql-webhooks' ), $e->getMessage() ), [ 'status' => 500 ] diff --git a/plugins/wp-graphql-webhooks/src/Services/Interfaces/ServiceLocator.php b/plugins/wpgraphql-webhooks/src/Services/Interfaces/ServiceLocator.php similarity index 100% rename from plugins/wp-graphql-webhooks/src/Services/Interfaces/ServiceLocator.php rename to plugins/wpgraphql-webhooks/src/Services/Interfaces/ServiceLocator.php diff --git a/plugins/wp-graphql-webhooks/src/Services/PluginServiceLocator.php b/plugins/wpgraphql-webhooks/src/Services/PluginServiceLocator.php similarity index 100% rename from plugins/wp-graphql-webhooks/src/Services/PluginServiceLocator.php rename to plugins/wpgraphql-webhooks/src/Services/PluginServiceLocator.php diff --git a/plugins/wp-graphql-webhooks/src/Type/Webhook.php b/plugins/wpgraphql-webhooks/src/Type/Webhook.php similarity index 77% rename from plugins/wp-graphql-webhooks/src/Type/Webhook.php rename to plugins/wpgraphql-webhooks/src/Type/Webhook.php index f817a51a..4076547e 100644 --- a/plugins/wp-graphql-webhooks/src/Type/Webhook.php +++ b/plugins/wpgraphql-webhooks/src/Type/Webhook.php @@ -21,53 +21,53 @@ class Webhook { */ public static function register(): void { register_graphql_object_type( 'Webhook', [ - 'description' => __( 'A Webhook configuration object.', 'wp-graphql-webhooks' ), + 'description' => __( 'A Webhook configuration object.', 'graphql-webhooks' ), 'fields' => [ 'id' => [ 'type' => 'ID', - 'description' => __( 'The global ID of the webhook.', 'wp-graphql-webhooks' ), + 'description' => __( 'The global ID of the webhook.', 'graphql-webhooks' ), 'resolve' => function ($webhook) { return (string) $webhook->ID; }, ], 'eventTrigger' => [ 'type' => 'String', - 'description' => __( 'The event hook name that triggers this webhook.', 'wp-graphql-webhooks' ), + 'description' => __( 'The event hook name that triggers this webhook.', 'graphql-webhooks' ), 'resolve' => function ($webhook) { return get_post_meta( $webhook->ID, '_event_trigger', true ); }, ], 'title' => [ 'type' => 'String', - 'description' => __( 'The title of the webhook.', 'wp-graphql-webhooks' ), + 'description' => __( 'The title of the webhook.', 'graphql-webhooks' ), 'resolve' => function ($webhook) { return get_the_title( $webhook ); }, ], 'enabled' => [ 'type' => 'Boolean', - 'description' => __( 'Whether the webhook is enabled.', 'wp-graphql-webhooks' ), + 'description' => __( 'Whether the webhook is enabled.', 'graphql-webhooks' ), 'resolve' => function ($webhook) { return (bool) get_post_meta( $webhook->ID, '_enabled', true ); }, ], 'security' => [ 'type' => 'String', - 'description' => __( 'Security information for the webhook.', 'wp-graphql-webhooks' ), + 'description' => __( 'Security information for the webhook.', 'graphql-webhooks' ), 'resolve' => function ($webhook) { return get_post_meta( $webhook->ID, '_security', true ); }, ], 'handlerClass' => [ 'type' => 'String', - 'description' => __( 'The handler class used for dispatching.', 'wp-graphql-webhooks' ), + 'description' => __( 'The handler class used for dispatching.', 'graphql-webhooks' ), 'resolve' => function ($webhook) { return get_post_meta( $webhook->ID, '_handler_class', true ); }, ], 'handlerConfig' => [ 'type' => 'String', - 'description' => __( 'Configuration for the handler.', 'wp-graphql-webhooks' ), + 'description' => __( 'Configuration for the handler.', 'graphql-webhooks' ), 'resolve' => function ($webhook) { return get_post_meta( $webhook->ID, '_handler_config', true ); }, diff --git a/plugins/wp-graphql-webhooks/src/TypeRegistry.php b/plugins/wpgraphql-webhooks/src/TypeRegistry.php similarity index 100% rename from plugins/wp-graphql-webhooks/src/TypeRegistry.php rename to plugins/wpgraphql-webhooks/src/TypeRegistry.php diff --git a/plugins/wp-graphql-webhooks/tests/acceptance.suite.dist.yml b/plugins/wpgraphql-webhooks/tests/acceptance.suite.dist.yml similarity index 85% rename from plugins/wp-graphql-webhooks/tests/acceptance.suite.dist.yml rename to plugins/wpgraphql-webhooks/tests/acceptance.suite.dist.yml index 8352a8ea..0628cd3d 100644 --- a/plugins/wp-graphql-webhooks/tests/acceptance.suite.dist.yml +++ b/plugins/wpgraphql-webhooks/tests/acceptance.suite.dist.yml @@ -19,7 +19,7 @@ modules: loadOnly: true plugins: - wp-graphql/wp-graphql.php - - wp-graphql-webhooks/wp-graphql-webhooks.php + - wpgraphql-webhooks/wpgraphql-webhooks.php activatePlugins: - wp-graphql/wp-graphql.php - - wp-graphql--webhooks/wp-graphql-webhooks.php \ No newline at end of file + - wpgraphql-webhooks/wpgraphql-webhooks.php \ No newline at end of file diff --git a/plugins/wp-graphql-webhooks/tests/acceptance/.gitkeep b/plugins/wpgraphql-webhooks/tests/acceptance/.gitkeep similarity index 100% rename from plugins/wp-graphql-webhooks/tests/acceptance/.gitkeep rename to plugins/wpgraphql-webhooks/tests/acceptance/.gitkeep diff --git a/plugins/wp-graphql-webhooks/tests/bootstrap.php b/plugins/wpgraphql-webhooks/tests/bootstrap.php similarity index 100% rename from plugins/wp-graphql-webhooks/tests/bootstrap.php rename to plugins/wpgraphql-webhooks/tests/bootstrap.php diff --git a/plugins/wp-graphql-webhooks/tests/functional.suite.dist.yml b/plugins/wpgraphql-webhooks/tests/functional.suite.dist.yml similarity index 81% rename from plugins/wp-graphql-webhooks/tests/functional.suite.dist.yml rename to plugins/wpgraphql-webhooks/tests/functional.suite.dist.yml index ad7d9698..346a4ace 100644 --- a/plugins/wp-graphql-webhooks/tests/functional.suite.dist.yml +++ b/plugins/wpgraphql-webhooks/tests/functional.suite.dist.yml @@ -16,7 +16,7 @@ modules: loadOnly: true plugins: - wp-graphql/wp-graphql.php - - wp-graphql-webhooks/wp-graphql-webhooks.php + - wpgraphql-webhooks/wpgraphql-webhooks.php activatePlugins: - wp-graphql/wp-graphql.php - - wp-graphql-webhooks/wp-graphql-webhooks.php \ No newline at end of file + - wpgraphql-webhooks/wpgraphql-webhooks.php \ No newline at end of file diff --git a/plugins/wp-graphql-webhooks/tests/functional/.gitkeep b/plugins/wpgraphql-webhooks/tests/functional/.gitkeep similarity index 100% rename from plugins/wp-graphql-webhooks/tests/functional/.gitkeep rename to plugins/wpgraphql-webhooks/tests/functional/.gitkeep diff --git a/plugins/wp-graphql-webhooks/tests/unit.suite.dist.yml b/plugins/wpgraphql-webhooks/tests/unit.suite.dist.yml similarity index 100% rename from plugins/wp-graphql-webhooks/tests/unit.suite.dist.yml rename to plugins/wpgraphql-webhooks/tests/unit.suite.dist.yml diff --git a/plugins/wp-graphql-webhooks/tests/unit/.gitkeep b/plugins/wpgraphql-webhooks/tests/unit/.gitkeep similarity index 100% rename from plugins/wp-graphql-webhooks/tests/unit/.gitkeep rename to plugins/wpgraphql-webhooks/tests/unit/.gitkeep diff --git a/plugins/wp-graphql-webhooks/tests/wpunit.suite.dist.yml b/plugins/wpgraphql-webhooks/tests/wpunit.suite.dist.yml similarity index 100% rename from plugins/wp-graphql-webhooks/tests/wpunit.suite.dist.yml rename to plugins/wpgraphql-webhooks/tests/wpunit.suite.dist.yml diff --git a/plugins/wp-graphql-webhooks/wp-graphql-webhooks.php b/plugins/wpgraphql-webhooks/wpgraphql-webhooks.php similarity index 96% rename from plugins/wp-graphql-webhooks/wp-graphql-webhooks.php rename to plugins/wpgraphql-webhooks/wpgraphql-webhooks.php index f0fc4d7c..c4963b52 100644 --- a/plugins/wp-graphql-webhooks/wp-graphql-webhooks.php +++ b/plugins/wpgraphql-webhooks/wpgraphql-webhooks.php @@ -8,7 +8,7 @@ * Author URI: https://github.com/wpengine * Update URI: https://github.com/wpengine/hwptoolkit * Version: 0.0.4 - * Text Domain: wp-graphql-webhooks + * Text Domain: wpgraphql-webhooks * Domain Path: /languages * Requires at least: 6.0 * Tested up to: 6.8 @@ -33,7 +33,7 @@ // Define text domain constant to use instead of string literals if ( ! defined( 'WPGRAPHQL_WEBHOOKS_TEXT_DOMAIN' ) ) { - define( 'WPGRAPHQL_WEBHOOKS_TEXT_DOMAIN', 'wp-graphql-webhooks' ); + define( 'WPGRAPHQL_WEBHOOKS_TEXT_DOMAIN', 'graphql-webhooks' ); } // Load the autoloader. @@ -145,7 +145,7 @@ static function () use ($dep) { */ function graphql_webhooks_load_textdomain(): void { load_plugin_textdomain( - 'wp-graphql-webhooks', + 'graphql-webhooks', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );