diff --git a/composer.json b/composer.json
index bfae6b4..136bee2 100644
--- a/composer.json
+++ b/composer.json
@@ -24,8 +24,8 @@
}
],
"require": {
- "johnbillion/extended-cpts": "^4.0",
"php": "^7.4|^8.0",
+ "johnbillion/extended-cpts": "^5.0",
"wpackagist-plugin/cmb2": "2.11.*",
"wpackagist-plugin/elasticpress": "^4.0 | ^5.0",
"yahnis-elsts/plugin-update-checker": "^5.0"
diff --git a/composer.lock b/composer.lock
index 0ca99a2..18a9cd8 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "32e0d3723498d039c8193f9e3b096ad0",
+ "content-hash": "c5dfcd25ed5ba0b8bcd21184974e432f",
"packages": [
{
"name": "composer/installers",
@@ -152,54 +152,167 @@
],
"time": "2024-06-24T20:46:46+00:00"
},
+ {
+ "name": "johnbillion/args",
+ "version": "1.10.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/johnbillion/args.git",
+ "reference": "ef670a14ce0b9221cee0a39f076f4810a200d1ac"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/johnbillion/args/zipball/ef670a14ce0b9221cee0a39f076f4810a200d1ac",
+ "reference": "ef670a14ce0b9221cee0a39f076f4810a200d1ac",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.4"
+ },
+ "require-dev": {
+ "ergebnis/json-printer": "^3.2",
+ "ergebnis/phpstan-rules": "^1.0",
+ "humanmade/coding-standards": "^1.1",
+ "johnbillion/falsey-assertequals-detector": "^3",
+ "phpdocumentor/reflection": "~4.0 || ~5.0",
+ "phpstan/phpstan": "^1.0",
+ "phpstan/phpstan-phpunit": "^1.0",
+ "phpstan/phpstan-strict-rules": "^1.1",
+ "phpunit/phpunit": "^9.0",
+ "roots/wordpress-core-installer": "^1.0.0",
+ "roots/wordpress-full": "~6.5.0"
+ },
+ "type": "library",
+ "extra": {
+ "args-shapes": [
+ "--function=\"\\get_categories()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/category.php",
+ "--function=\"\\get_comments()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/comment.php",
+ "--function=\"\\get_posts()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/post.php",
+ "--function=\"\\get_tags()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/category.php",
+ "--function=\"\\get_terms()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/taxonomy.php",
+ "--function=\"\\get_users()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/user.php",
+ "--function=\"\\paginate_links()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/general-template.php",
+ "--function=\"\\register_block_type()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/blocks.php",
+ "--function=\"\\register_meta()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/meta.php",
+ "--function=\"\\register_post_meta()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/post.php",
+ "--function=\"\\register_post_status()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/post.php",
+ "--function=\"\\register_post_type()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/post.php",
+ "--function=\"\\register_rest_field()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/rest-api.php",
+ "--function=\"\\register_taxonomy()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/taxonomy.php",
+ "--function=\"\\register_term_meta()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/taxonomy.php",
+ "--function=\"\\wp_count_terms()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/taxonomy.php",
+ "--function=\"\\wp_die()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/functions.php",
+ "--function=\"\\wp_dropdown_categories()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/category-template.php",
+ "--function=\"\\wp_dropdown_languages()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/l10n.php",
+ "--function=\"\\wp_generate_tag_cloud()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/category-template.php",
+ "--function=\"\\wp_get_nav_menus()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/nav-menu.php",
+ "--function=\"\\wp_get_object_terms()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/taxonomy.php",
+ "--function=\"\\wp_insert_post()\" --param=postarr --file=vendor/wordpress/wordpress/wp-includes/post.php",
+ "--function=\"\\wp_insert_term()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/taxonomy.php",
+ "--function=\"\\wp_insert_user()\" --param=userdata --file=vendor/wordpress/wordpress/wp-includes/user.php",
+ "--function=\"\\wp_nav_menu()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/nav-menu-template.php",
+ "--function=\"\\wp_remote_get()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/http.php",
+ "--function=\"\\wp_remote_head()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/http.php",
+ "--function=\"\\wp_remote_post()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/http.php",
+ "--function=\"\\wp_remote_request()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/http.php",
+ "--function=\"\\wp_safe_remote_get()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/http.php",
+ "--function=\"\\wp_safe_remote_head()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/http.php",
+ "--function=\"\\wp_safe_remote_post()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/http.php",
+ "--function=\"\\wp_safe_remote_request()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/http.php",
+ "--function=\"\\wp_update_post()\" --param=postarr --file=vendor/wordpress/wordpress/wp-includes/post.php",
+ "--function=\"\\wp_update_term()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/taxonomy.php",
+ "--function=\"\\wp_update_user()\" --param=userdata --file=vendor/wordpress/wordpress/wp-includes/user.php",
+ "--method=\"\\WP_Block_Type::__construct()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/class-wp-block-type.php",
+ "--method=\"\\WP_Comment_Query::__construct()\" --param=query --file=vendor/wordpress/wordpress/wp-includes/class-wp-comment-query.php",
+ "--method=\"\\WP_Customize_Control::__construct()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/class-wp-customize-control.php",
+ "--method=\"\\WP_Customize_Manager::__construct()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/class-wp-customize-manager.php",
+ "--method=\"\\WP_Customize_Panel::__construct()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/class-wp-customize-panel.php",
+ "--method=\"\\WP_Customize_Section::__construct()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/class-wp-customize-section.php",
+ "--method=\"\\WP_Customize_Setting::__construct()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/class-wp-customize-setting.php",
+ "--method=\"\\WP_Http::request()\" --param=args --file=vendor/wordpress/wordpress/wp-includes/class-wp-http.php",
+ "--method=\"\\WP_Query::parse_query()\" --param=query --file=vendor/wordpress/wordpress/wp-includes/class-wp-query.php",
+ "--method=\"\\WP_Term_Query::__construct()\" --param=query --file=vendor/wordpress/wordpress/wp-includes/class-wp-term-query.php",
+ "--method=\"\\WP_User_Query::prepare_query()\" --param=query --file=vendor/wordpress/wordpress/wp-includes/class-wp-user-query.php"
+ ],
+ "wordpress-install-dir": "vendor/wordpress/wordpress"
+ },
+ "autoload": {
+ "psr-4": {
+ "Args\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "GPL-2.0-or-later"
+ ],
+ "authors": [
+ {
+ "name": "John Blackbourn",
+ "homepage": "https://johnblackbourn.com/"
+ }
+ ],
+ "description": "I don't want to get into an argument about this.",
+ "support": {
+ "issues": "https://github.com/johnbillion/args/issues",
+ "source": "https://github.com/johnbillion/args/tree/1.10.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sponsors/johnbillion",
+ "type": "github"
+ }
+ ],
+ "time": "2024-04-02T21:50:24+00:00"
+ },
{
"name": "johnbillion/extended-cpts",
- "version": "4.5.2",
+ "version": "5.0.11",
"source": {
"type": "git",
"url": "https://github.com/johnbillion/extended-cpts.git",
- "reference": "59ce9f4e0422512eec6f698ccba4a6a81b018fdb"
+ "reference": "57f2e74155a12e7a37d07250e6739dbab5a732b3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/johnbillion/extended-cpts/zipball/59ce9f4e0422512eec6f698ccba4a6a81b018fdb",
- "reference": "59ce9f4e0422512eec6f698ccba4a6a81b018fdb",
+ "url": "https://api.github.com/repos/johnbillion/extended-cpts/zipball/57f2e74155a12e7a37d07250e6739dbab5a732b3",
+ "reference": "57f2e74155a12e7a37d07250e6739dbab5a732b3",
"shasum": ""
},
"require": {
- "php": "^7 | ^8"
+ "johnbillion/args": "^1.4.1 || ^2.0",
+ "php": ">= 7.4.0"
},
"require-dev": {
- "automattic/phpcs-neutron-standard": "1.6.0",
+ "automattic/phpcs-neutron-standard": "1.7.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
- "johnbillion/falsey-assertequals-detector": "^2",
- "phpcompatibility/phpcompatibility-wp": "^2",
- "phpunit/phpunit": "^6",
- "roots/wordpress": "^5.7.0",
- "vlucas/phpdotenv": "^3",
- "wp-cli/db-command": "^2.0",
- "wp-coding-standards/wpcs": "2.3.0",
- "wp-phpunit/wp-phpunit": "^5.7.0"
- },
- "suggest": {
- "seravo/wp-custom-bulk-actions": "Custom Bulk Actions",
- "wpackagist-plugin/rewrite-testing": "Rewrite Rule Testing"
+ "johnbillion/falsey-assertequals-detector": "*",
+ "johnbillion/plugin-infrastructure": "dev-trunk",
+ "johnbillion/wp-compat": "0.3.1",
+ "lucatume/wp-browser": "3.2.3",
+ "phpcompatibility/phpcompatibility-wp": "2.1.5",
+ "phpstan/phpstan": "1.12.12",
+ "phpstan/phpstan-phpunit": "1.4.1",
+ "roots/wordpress-core-installer": "1.100.0",
+ "roots/wordpress-full": "*",
+ "szepeviktor/phpstan-wordpress": "1.3.5",
+ "wp-coding-standards/wpcs": "2.3.0"
},
"type": "library",
"extra": {
- "wordpress-install-dir": "tests/wordpress"
+ "wordpress-install-dir": "vendor/wordpress/wordpress"
},
"autoload": {
"files": [
- "extended-cpts.php"
+ "functions.php"
],
"psr-4": {
- "ExtCPTs\\Tests\\": "tests/phpunit"
+ "ExtCPTs\\": "src",
+ "ExtCPTs\\Tests\\": "tests/integration"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "GPL-2.0+"
+ "GPL-2.0-or-later"
],
"authors": [
{
@@ -211,15 +324,9 @@
"homepage": "https://github.com/johnbillion/extended-cpts/",
"support": {
"issues": "https://github.com/johnbillion/extended-cpts/issues",
- "source": "https://github.com/johnbillion/extended-cpts/tree/4.5.2"
+ "source": "https://github.com/johnbillion/extended-cpts/tree/5.0.11"
},
- "funding": [
- {
- "url": "https://github.com/johnbillion",
- "type": "github"
- }
- ],
- "time": "2021-03-21T00:26:19+00:00"
+ "time": "2024-11-30T23:16:17+00:00"
},
{
"name": "wpackagist-plugin/cmb2",
@@ -241,15 +348,15 @@
},
{
"name": "wpackagist-plugin/elasticpress",
- "version": "5.1.3",
+ "version": "5.1.4",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/elasticpress/",
- "reference": "tags/5.1.3"
+ "reference": "tags/5.1.4"
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/elasticpress.5.1.3.zip"
+ "url": "https://downloads.wordpress.org/plugin/elasticpress.5.1.4.zip"
},
"require": {
"composer/installers": "^1.0 || ^2.0"
@@ -259,16 +366,16 @@
},
{
"name": "yahnis-elsts/plugin-update-checker",
- "version": "v5.4",
+ "version": "v5.5",
"source": {
"type": "git",
"url": "https://github.com/YahnisElsts/plugin-update-checker.git",
- "reference": "e8e53e6d98e37fa7c895c93417f52e3775494715"
+ "reference": "845d65da93bcff31649ede00d9d73b1beadbb7f0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/e8e53e6d98e37fa7c895c93417f52e3775494715",
- "reference": "e8e53e6d98e37fa7c895c93417f52e3775494715",
+ "url": "https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/845d65da93bcff31649ede00d9d73b1beadbb7f0",
+ "reference": "845d65da93bcff31649ede00d9d73b1beadbb7f0",
"shasum": ""
},
"require": {
@@ -278,7 +385,7 @@
"type": "library",
"autoload": {
"files": [
- "load-v5p4.php"
+ "load-v5p5.php"
]
},
"notification-url": "https://packagist.org/downloads/",
@@ -303,9 +410,9 @@
],
"support": {
"issues": "https://github.com/YahnisElsts/plugin-update-checker/issues",
- "source": "https://github.com/YahnisElsts/plugin-update-checker/tree/v5.4"
+ "source": "https://github.com/YahnisElsts/plugin-update-checker/tree/v5.5"
},
- "time": "2024-02-24T09:56:49+00:00"
+ "time": "2024-10-16T14:25:00+00:00"
}
],
"packages-dev": [
@@ -357,20 +464,20 @@
},
{
"name": "antecedent/patchwork",
- "version": "2.1.28",
+ "version": "2.2.1",
"source": {
"type": "git",
"url": "https://github.com/antecedent/patchwork.git",
- "reference": "6b30aff81ebadf0f2feb9268d3e08385cebcc08d"
+ "reference": "1bf183a3e1bd094f231a2128b9ecc5363c269245"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/antecedent/patchwork/zipball/6b30aff81ebadf0f2feb9268d3e08385cebcc08d",
- "reference": "6b30aff81ebadf0f2feb9268d3e08385cebcc08d",
+ "url": "https://api.github.com/repos/antecedent/patchwork/zipball/1bf183a3e1bd094f231a2128b9ecc5363c269245",
+ "reference": "1bf183a3e1bd094f231a2128b9ecc5363c269245",
"shasum": ""
},
"require": {
- "php": ">=5.4.0"
+ "php": ">=7.1.0"
},
"require-dev": {
"phpunit/phpunit": ">=4"
@@ -399,9 +506,9 @@
],
"support": {
"issues": "https://github.com/antecedent/patchwork/issues",
- "source": "https://github.com/antecedent/patchwork/tree/2.1.28"
+ "source": "https://github.com/antecedent/patchwork/tree/2.2.1"
},
- "time": "2024-02-06T09:26:11+00:00"
+ "time": "2024-12-11T10:19:54+00:00"
},
{
"name": "clue/ndjson-react",
@@ -469,16 +576,16 @@
},
{
"name": "composer/pcre",
- "version": "3.3.1",
+ "version": "3.3.2",
"source": {
"type": "git",
"url": "https://github.com/composer/pcre.git",
- "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4"
+ "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/pcre/zipball/63aaeac21d7e775ff9bc9d45021e1745c97521c4",
- "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4",
+ "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e",
+ "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e",
"shasum": ""
},
"require": {
@@ -488,19 +595,19 @@
"phpstan/phpstan": "<1.11.10"
},
"require-dev": {
- "phpstan/phpstan": "^1.11.10",
- "phpstan/phpstan-strict-rules": "^1.1",
+ "phpstan/phpstan": "^1.12 || ^2",
+ "phpstan/phpstan-strict-rules": "^1 || ^2",
"phpunit/phpunit": "^8 || ^9"
},
"type": "library",
"extra": {
- "branch-alias": {
- "dev-main": "3.x-dev"
- },
"phpstan": {
"includes": [
"extension.neon"
]
+ },
+ "branch-alias": {
+ "dev-main": "3.x-dev"
}
},
"autoload": {
@@ -528,7 +635,7 @@
],
"support": {
"issues": "https://github.com/composer/pcre/issues",
- "source": "https://github.com/composer/pcre/tree/3.3.1"
+ "source": "https://github.com/composer/pcre/tree/3.3.2"
},
"funding": [
{
@@ -544,28 +651,28 @@
"type": "tidelift"
}
],
- "time": "2024-08-27T18:44:43+00:00"
+ "time": "2024-11-12T16:29:46+00:00"
},
{
"name": "composer/semver",
- "version": "3.4.2",
+ "version": "3.4.3",
"source": {
"type": "git",
"url": "https://github.com/composer/semver.git",
- "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6"
+ "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/semver/zipball/c51258e759afdb17f1fd1fe83bc12baaef6309d6",
- "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6",
+ "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12",
+ "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12",
"shasum": ""
},
"require": {
"php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
- "phpstan/phpstan": "^1.4",
- "symfony/phpunit-bridge": "^4.2 || ^5"
+ "phpstan/phpstan": "^1.11",
+ "symfony/phpunit-bridge": "^3 || ^7"
},
"type": "library",
"extra": {
@@ -609,7 +716,7 @@
"support": {
"irc": "ircs://irc.libera.chat:6697/composer",
"issues": "https://github.com/composer/semver/issues",
- "source": "https://github.com/composer/semver/tree/3.4.2"
+ "source": "https://github.com/composer/semver/tree/3.4.3"
},
"funding": [
{
@@ -625,7 +732,7 @@
"type": "tidelift"
}
],
- "time": "2024-07-12T11:35:52+00:00"
+ "time": "2024-09-19T14:15:21+00:00"
},
{
"name": "composer/xdebug-handler",
@@ -873,16 +980,16 @@
},
{
"name": "friendsofphp/php-cs-fixer",
- "version": "v3.64.0",
+ "version": "v3.72.0",
"source": {
"type": "git",
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
- "reference": "58dd9c931c785a79739310aef5178928305ffa67"
+ "reference": "900389362c43d116fee1ffc51f7878145fa61b57"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/58dd9c931c785a79739310aef5178928305ffa67",
- "reference": "58dd9c931c785a79739310aef5178928305ffa67",
+ "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/900389362c43d116fee1ffc51f7878145fa61b57",
+ "reference": "900389362c43d116fee1ffc51f7878145fa61b57",
"shasum": ""
},
"require": {
@@ -892,38 +999,38 @@
"ext-filter": "*",
"ext-json": "*",
"ext-tokenizer": "*",
- "fidry/cpu-core-counter": "^1.0",
+ "fidry/cpu-core-counter": "^1.2",
"php": "^7.4 || ^8.0",
"react/child-process": "^0.6.5",
"react/event-loop": "^1.0",
"react/promise": "^2.0 || ^3.0",
"react/socket": "^1.0",
"react/stream": "^1.0",
- "sebastian/diff": "^4.0 || ^5.0 || ^6.0",
- "symfony/console": "^5.4 || ^6.0 || ^7.0",
- "symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
- "symfony/filesystem": "^5.4 || ^6.0 || ^7.0",
- "symfony/finder": "^5.4 || ^6.0 || ^7.0",
- "symfony/options-resolver": "^5.4 || ^6.0 || ^7.0",
- "symfony/polyfill-mbstring": "^1.28",
- "symfony/polyfill-php80": "^1.28",
- "symfony/polyfill-php81": "^1.28",
- "symfony/process": "^5.4 || ^6.0 || ^7.0",
- "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0"
+ "sebastian/diff": "^4.0 || ^5.1 || ^6.0 || ^7.0",
+ "symfony/console": "^5.4 || ^6.4 || ^7.0",
+ "symfony/event-dispatcher": "^5.4 || ^6.4 || ^7.0",
+ "symfony/filesystem": "^5.4 || ^6.4 || ^7.0",
+ "symfony/finder": "^5.4 || ^6.4 || ^7.0",
+ "symfony/options-resolver": "^5.4 || ^6.4 || ^7.0",
+ "symfony/polyfill-mbstring": "^1.31",
+ "symfony/polyfill-php80": "^1.31",
+ "symfony/polyfill-php81": "^1.31",
+ "symfony/process": "^5.4 || ^6.4 || ^7.2",
+ "symfony/stopwatch": "^5.4 || ^6.4 || ^7.0"
},
"require-dev": {
- "facile-it/paraunit": "^1.3 || ^2.3",
- "infection/infection": "^0.29.5",
- "justinrainbow/json-schema": "^5.2",
+ "facile-it/paraunit": "^1.3.1 || ^2.6",
+ "infection/infection": "^0.29.14",
+ "justinrainbow/json-schema": "^5.3 || ^6.2",
"keradus/cli-executor": "^2.1",
- "mikey179/vfsstream": "^1.6.11",
+ "mikey179/vfsstream": "^1.6.12",
"php-coveralls/php-coveralls": "^2.7",
"php-cs-fixer/accessible-object": "^1.1",
- "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.5",
- "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.5",
- "phpunit/phpunit": "^9.6.19 || ^10.5.21 || ^11.2",
- "symfony/var-dumper": "^5.4 || ^6.0 || ^7.0",
- "symfony/yaml": "^5.4 || ^6.0 || ^7.0"
+ "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.6",
+ "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.6",
+ "phpunit/phpunit": "^9.6.22 || ^10.5.45 || ^11.5.12",
+ "symfony/var-dumper": "^5.4.48 || ^6.4.18 || ^7.2.3",
+ "symfony/yaml": "^5.4.45 || ^6.4.18 || ^7.2.3"
},
"suggest": {
"ext-dom": "For handling output formats in XML",
@@ -964,7 +1071,7 @@
],
"support": {
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
- "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.64.0"
+ "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.72.0"
},
"funding": [
{
@@ -972,7 +1079,7 @@
"type": "github"
}
],
- "time": "2024-08-30T23:09:38+00:00"
+ "time": "2025-03-13T11:25:37+00:00"
},
{
"name": "hamcrest/hamcrest-php",
@@ -1110,16 +1217,16 @@
},
{
"name": "myclabs/deep-copy",
- "version": "1.12.0",
+ "version": "1.13.0",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c"
+ "reference": "024473a478be9df5fdaca2c793f2232fe788e414"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
- "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/024473a478be9df5fdaca2c793f2232fe788e414",
+ "reference": "024473a478be9df5fdaca2c793f2232fe788e414",
"shasum": ""
},
"require": {
@@ -1158,7 +1265,7 @@
],
"support": {
"issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0"
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.13.0"
},
"funding": [
{
@@ -1166,20 +1273,20 @@
"type": "tidelift"
}
],
- "time": "2024-06-12T14:39:25+00:00"
+ "time": "2025-02-12T12:17:51+00:00"
},
{
"name": "nikic/php-parser",
- "version": "v5.1.0",
+ "version": "v5.4.0",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1"
+ "reference": "447a020a1f875a434d62f2a401f53b82a396e494"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1",
- "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494",
+ "reference": "447a020a1f875a434d62f2a401f53b82a396e494",
"shasum": ""
},
"require": {
@@ -1222,9 +1329,9 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0"
},
- "time": "2024-07-01T20:03:41+00:00"
+ "time": "2024-12-30T11:07:19+00:00"
},
{
"name": "phar-io/manifest",
@@ -1346,16 +1453,16 @@
},
{
"name": "php-stubs/wordpress-stubs",
- "version": "v6.6.0",
+ "version": "v6.7.2",
"source": {
"type": "git",
"url": "https://github.com/php-stubs/wordpress-stubs.git",
- "reference": "86e8753e89d59849276dcdd91b9a7dd78bb4abe2"
+ "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/86e8753e89d59849276dcdd91b9a7dd78bb4abe2",
- "reference": "86e8753e89d59849276dcdd91b9a7dd78bb4abe2",
+ "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/c04f96cb232fab12a3cbcccf5a47767f0665c3f4",
+ "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4",
"shasum": ""
},
"require-dev": {
@@ -1364,9 +1471,9 @@
"php": "^7.4 || ^8.0",
"php-stubs/generator": "^0.8.3",
"phpdocumentor/reflection-docblock": "^5.4.1",
- "phpstan/phpstan": "^1.10.49",
+ "phpstan/phpstan": "^1.11",
"phpunit/phpunit": "^9.5",
- "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.0",
+ "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1",
"wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
},
"suggest": {
@@ -1388,22 +1495,22 @@
],
"support": {
"issues": "https://github.com/php-stubs/wordpress-stubs/issues",
- "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.6.0"
+ "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.7.2"
},
- "time": "2024-07-17T08:50:38+00:00"
+ "time": "2025-02-12T04:51:58+00:00"
},
{
"name": "phpstan/phpstan",
- "version": "1.12.3",
+ "version": "1.12.21",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
- "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009"
+ "reference": "14276fdef70575106a3392a4ed553c06a984df28"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0fcbf194ab63d8159bb70d9aa3e1350051632009",
- "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/14276fdef70575106a3392a4ed553c06a984df28",
+ "reference": "14276fdef70575106a3392a4ed553c06a984df28",
"shasum": ""
},
"require": {
@@ -1448,7 +1555,7 @@
"type": "github"
}
],
- "time": "2024-09-09T08:10:35+00:00"
+ "time": "2025-03-09T09:24:50+00:00"
},
{
"name": "phpunit/php-code-coverage",
@@ -1771,16 +1878,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "9.6.20",
+ "version": "9.6.22",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "49d7820565836236411f5dc002d16dd689cde42f"
+ "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/49d7820565836236411f5dc002d16dd689cde42f",
- "reference": "49d7820565836236411f5dc002d16dd689cde42f",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f80235cb4d3caa59ae09be3adf1ded27521d1a9c",
+ "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c",
"shasum": ""
},
"require": {
@@ -1791,11 +1898,11 @@
"ext-mbstring": "*",
"ext-xml": "*",
"ext-xmlwriter": "*",
- "myclabs/deep-copy": "^1.12.0",
+ "myclabs/deep-copy": "^1.12.1",
"phar-io/manifest": "^2.0.4",
"phar-io/version": "^3.2.1",
"php": ">=7.3",
- "phpunit/php-code-coverage": "^9.2.31",
+ "phpunit/php-code-coverage": "^9.2.32",
"phpunit/php-file-iterator": "^3.0.6",
"phpunit/php-invoker": "^3.1.1",
"phpunit/php-text-template": "^2.0.4",
@@ -1854,7 +1961,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.20"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.22"
},
"funding": [
{
@@ -1870,7 +1977,7 @@
"type": "tidelift"
}
],
- "time": "2024-07-10T11:45:39+00:00"
+ "time": "2024-12-05T13:48:26+00:00"
},
{
"name": "psr/container",
@@ -2094,33 +2201,33 @@
},
{
"name": "react/child-process",
- "version": "v0.6.5",
+ "version": "v0.6.6",
"source": {
"type": "git",
"url": "https://github.com/reactphp/child-process.git",
- "reference": "e71eb1aa55f057c7a4a0d08d06b0b0a484bead43"
+ "reference": "1721e2b93d89b745664353b9cfc8f155ba8a6159"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/reactphp/child-process/zipball/e71eb1aa55f057c7a4a0d08d06b0b0a484bead43",
- "reference": "e71eb1aa55f057c7a4a0d08d06b0b0a484bead43",
+ "url": "https://api.github.com/repos/reactphp/child-process/zipball/1721e2b93d89b745664353b9cfc8f155ba8a6159",
+ "reference": "1721e2b93d89b745664353b9cfc8f155ba8a6159",
"shasum": ""
},
"require": {
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
"php": ">=5.3.0",
"react/event-loop": "^1.2",
- "react/stream": "^1.2"
+ "react/stream": "^1.4"
},
"require-dev": {
- "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35",
- "react/socket": "^1.8",
+ "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
+ "react/socket": "^1.16",
"sebastian/environment": "^5.0 || ^3.0 || ^2.0 || ^1.0"
},
"type": "library",
"autoload": {
"psr-4": {
- "React\\ChildProcess\\": "src"
+ "React\\ChildProcess\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -2157,19 +2264,15 @@
],
"support": {
"issues": "https://github.com/reactphp/child-process/issues",
- "source": "https://github.com/reactphp/child-process/tree/v0.6.5"
+ "source": "https://github.com/reactphp/child-process/tree/v0.6.6"
},
"funding": [
{
- "url": "https://github.com/WyriHaximus",
- "type": "github"
- },
- {
- "url": "https://github.com/clue",
- "type": "github"
+ "url": "https://opencollective.com/reactphp",
+ "type": "open_collective"
}
],
- "time": "2022-09-16T13:41:56+00:00"
+ "time": "2025-01-01T16:37:48+00:00"
},
{
"name": "react/dns",
@@ -3515,16 +3618,16 @@
},
{
"name": "symfony/console",
- "version": "v5.4.43",
+ "version": "v5.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "e86f8554de667c16dde8aeb89a3990cfde924df9"
+ "reference": "c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/e86f8554de667c16dde8aeb89a3990cfde924df9",
- "reference": "e86f8554de667c16dde8aeb89a3990cfde924df9",
+ "url": "https://api.github.com/repos/symfony/console/zipball/c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed",
+ "reference": "c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed",
"shasum": ""
},
"require": {
@@ -3594,7 +3697,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v5.4.43"
+ "source": "https://github.com/symfony/console/tree/v5.4.47"
},
"funding": [
{
@@ -3610,20 +3713,20 @@
"type": "tidelift"
}
],
- "time": "2024-08-13T16:31:56+00:00"
+ "time": "2024-11-06T11:30:55+00:00"
},
{
"name": "symfony/deprecation-contracts",
- "version": "v2.5.3",
+ "version": "v2.5.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "80d075412b557d41002320b96a096ca65aa2c98d"
+ "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/80d075412b557d41002320b96a096ca65aa2c98d",
- "reference": "80d075412b557d41002320b96a096ca65aa2c98d",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918",
+ "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918",
"shasum": ""
},
"require": {
@@ -3631,12 +3734,12 @@
},
"type": "library",
"extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/contracts",
+ "name": "symfony/contracts"
+ },
"branch-alias": {
"dev-main": "2.5-dev"
- },
- "thanks": {
- "name": "symfony/contracts",
- "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -3661,7 +3764,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.3"
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4"
},
"funding": [
{
@@ -3677,20 +3780,20 @@
"type": "tidelift"
}
],
- "time": "2023-01-24T14:02:46+00:00"
+ "time": "2024-09-25T14:11:13+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v5.4.40",
+ "version": "v5.4.45",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "a54e2a8a114065f31020d6a89ede83e34c3b27a4"
+ "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a54e2a8a114065f31020d6a89ede83e34c3b27a4",
- "reference": "a54e2a8a114065f31020d6a89ede83e34c3b27a4",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/72982eb416f61003e9bb6e91f8b3213600dcf9e9",
+ "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9",
"shasum": ""
},
"require": {
@@ -3746,7 +3849,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.40"
+ "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.45"
},
"funding": [
{
@@ -3762,20 +3865,20 @@
"type": "tidelift"
}
],
- "time": "2024-05-31T14:33:22+00:00"
+ "time": "2024-09-25T14:11:13+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
- "version": "v2.5.3",
+ "version": "v2.5.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
- "reference": "540f4c73e87fd0c71ca44a6aa305d024ac68cb73"
+ "reference": "e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/540f4c73e87fd0c71ca44a6aa305d024ac68cb73",
- "reference": "540f4c73e87fd0c71ca44a6aa305d024ac68cb73",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f",
+ "reference": "e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f",
"shasum": ""
},
"require": {
@@ -3787,12 +3890,12 @@
},
"type": "library",
"extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/contracts",
+ "name": "symfony/contracts"
+ },
"branch-alias": {
"dev-main": "2.5-dev"
- },
- "thanks": {
- "name": "symfony/contracts",
- "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -3825,7 +3928,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.3"
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.4"
},
"funding": [
{
@@ -3841,20 +3944,20 @@
"type": "tidelift"
}
],
- "time": "2024-01-23T13:51:25+00:00"
+ "time": "2024-09-25T14:11:13+00:00"
},
{
"name": "symfony/filesystem",
- "version": "v5.4.41",
+ "version": "v5.4.45",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "6d29dd9340b372fa603f04e6df4dd76bb808591e"
+ "reference": "57c8294ed37d4a055b77057827c67f9558c95c54"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/6d29dd9340b372fa603f04e6df4dd76bb808591e",
- "reference": "6d29dd9340b372fa603f04e6df4dd76bb808591e",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/57c8294ed37d4a055b77057827c67f9558c95c54",
+ "reference": "57c8294ed37d4a055b77057827c67f9558c95c54",
"shasum": ""
},
"require": {
@@ -3892,7 +3995,7 @@
"description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/filesystem/tree/v5.4.41"
+ "source": "https://github.com/symfony/filesystem/tree/v5.4.45"
},
"funding": [
{
@@ -3908,20 +4011,20 @@
"type": "tidelift"
}
],
- "time": "2024-06-28T09:36:24+00:00"
+ "time": "2024-10-22T13:05:35+00:00"
},
{
"name": "symfony/finder",
- "version": "v5.4.43",
+ "version": "v5.4.45",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "ae25a9145a900764158d439653d5630191155ca0"
+ "reference": "63741784cd7b9967975eec610b256eed3ede022b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/ae25a9145a900764158d439653d5630191155ca0",
- "reference": "ae25a9145a900764158d439653d5630191155ca0",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/63741784cd7b9967975eec610b256eed3ede022b",
+ "reference": "63741784cd7b9967975eec610b256eed3ede022b",
"shasum": ""
},
"require": {
@@ -3955,7 +4058,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/finder/tree/v5.4.43"
+ "source": "https://github.com/symfony/finder/tree/v5.4.45"
},
"funding": [
{
@@ -3971,20 +4074,20 @@
"type": "tidelift"
}
],
- "time": "2024-08-13T14:03:51+00:00"
+ "time": "2024-09-28T13:32:08+00:00"
},
{
"name": "symfony/options-resolver",
- "version": "v5.4.40",
+ "version": "v5.4.45",
"source": {
"type": "git",
"url": "https://github.com/symfony/options-resolver.git",
- "reference": "bd1afbde6613a8d6b956115e0e14b196191fd0c4"
+ "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/options-resolver/zipball/bd1afbde6613a8d6b956115e0e14b196191fd0c4",
- "reference": "bd1afbde6613a8d6b956115e0e14b196191fd0c4",
+ "url": "https://api.github.com/repos/symfony/options-resolver/zipball/74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6",
+ "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6",
"shasum": ""
},
"require": {
@@ -4024,7 +4127,7 @@
"options"
],
"support": {
- "source": "https://github.com/symfony/options-resolver/tree/v5.4.40"
+ "source": "https://github.com/symfony/options-resolver/tree/v5.4.45"
},
"funding": [
{
@@ -4040,7 +4143,7 @@
"type": "tidelift"
}
],
- "time": "2024-05-31T14:33:22+00:00"
+ "time": "2024-09-25T14:11:13+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -4068,8 +4171,8 @@
"type": "library",
"extra": {
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
}
},
"autoload": {
@@ -4144,8 +4247,8 @@
"type": "library",
"extra": {
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
}
},
"autoload": {
@@ -4222,8 +4325,8 @@
"type": "library",
"extra": {
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
}
},
"autoload": {
@@ -4306,8 +4409,8 @@
"type": "library",
"extra": {
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
}
},
"autoload": {
@@ -4380,8 +4483,8 @@
"type": "library",
"extra": {
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
}
},
"autoload": {
@@ -4456,8 +4559,8 @@
"type": "library",
"extra": {
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
}
},
"autoload": {
@@ -4536,8 +4639,8 @@
"type": "library",
"extra": {
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
}
},
"autoload": {
@@ -4594,16 +4697,16 @@
},
{
"name": "symfony/process",
- "version": "v5.4.40",
+ "version": "v5.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "deedcb3bb4669cae2148bc920eafd2b16dc7c046"
+ "reference": "5d1662fb32ebc94f17ddb8d635454a776066733d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/deedcb3bb4669cae2148bc920eafd2b16dc7c046",
- "reference": "deedcb3bb4669cae2148bc920eafd2b16dc7c046",
+ "url": "https://api.github.com/repos/symfony/process/zipball/5d1662fb32ebc94f17ddb8d635454a776066733d",
+ "reference": "5d1662fb32ebc94f17ddb8d635454a776066733d",
"shasum": ""
},
"require": {
@@ -4636,7 +4739,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/process/tree/v5.4.40"
+ "source": "https://github.com/symfony/process/tree/v5.4.47"
},
"funding": [
{
@@ -4652,20 +4755,20 @@
"type": "tidelift"
}
],
- "time": "2024-05-31T14:33:22+00:00"
+ "time": "2024-11-06T11:36:42+00:00"
},
{
"name": "symfony/service-contracts",
- "version": "v2.5.3",
+ "version": "v2.5.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3"
+ "reference": "f37b419f7aea2e9abf10abd261832cace12e3300"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a2329596ddc8fd568900e3fc76cba42489ecc7f3",
- "reference": "a2329596ddc8fd568900e3fc76cba42489ecc7f3",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f37b419f7aea2e9abf10abd261832cace12e3300",
+ "reference": "f37b419f7aea2e9abf10abd261832cace12e3300",
"shasum": ""
},
"require": {
@@ -4681,12 +4784,12 @@
},
"type": "library",
"extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/contracts",
+ "name": "symfony/contracts"
+ },
"branch-alias": {
"dev-main": "2.5-dev"
- },
- "thanks": {
- "name": "symfony/contracts",
- "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -4719,7 +4822,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/service-contracts/tree/v2.5.3"
+ "source": "https://github.com/symfony/service-contracts/tree/v2.5.4"
},
"funding": [
{
@@ -4735,20 +4838,20 @@
"type": "tidelift"
}
],
- "time": "2023-04-21T15:04:16+00:00"
+ "time": "2024-09-25T14:11:13+00:00"
},
{
"name": "symfony/stopwatch",
- "version": "v5.4.40",
+ "version": "v5.4.45",
"source": {
"type": "git",
"url": "https://github.com/symfony/stopwatch.git",
- "reference": "0e9daf3b7c805c747638b2cc48f1649e594f9625"
+ "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/0e9daf3b7c805c747638b2cc48f1649e594f9625",
- "reference": "0e9daf3b7c805c747638b2cc48f1649e594f9625",
+ "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fb2c199cf302eb207f8c23e7ee174c1c31a5c004",
+ "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004",
"shasum": ""
},
"require": {
@@ -4781,7 +4884,7 @@
"description": "Provides a way to profile code",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/stopwatch/tree/v5.4.40"
+ "source": "https://github.com/symfony/stopwatch/tree/v5.4.45"
},
"funding": [
{
@@ -4797,20 +4900,20 @@
"type": "tidelift"
}
],
- "time": "2024-05-31T14:33:22+00:00"
+ "time": "2024-09-25T14:11:13+00:00"
},
{
"name": "symfony/string",
- "version": "v5.4.43",
+ "version": "v5.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "8be1d484951ff5ca995eaf8edcbcb8b9a5888450"
+ "reference": "136ca7d72f72b599f2631aca474a4f8e26719799"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/8be1d484951ff5ca995eaf8edcbcb8b9a5888450",
- "reference": "8be1d484951ff5ca995eaf8edcbcb8b9a5888450",
+ "url": "https://api.github.com/repos/symfony/string/zipball/136ca7d72f72b599f2631aca474a4f8e26719799",
+ "reference": "136ca7d72f72b599f2631aca474a4f8e26719799",
"shasum": ""
},
"require": {
@@ -4867,7 +4970,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v5.4.43"
+ "source": "https://github.com/symfony/string/tree/v5.4.47"
},
"funding": [
{
@@ -4883,20 +4986,20 @@
"type": "tidelift"
}
],
- "time": "2024-08-01T10:24:28+00:00"
+ "time": "2024-11-10T20:33:58+00:00"
},
{
"name": "symfony/var-dumper",
- "version": "v5.4.43",
+ "version": "v5.4.48",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "6be6a6a8af4818564e3726fc65cf936f34743cef"
+ "reference": "42f18f170aa86d612c3559cfb3bd11a375df32c8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6be6a6a8af4818564e3726fc65cf936f34743cef",
- "reference": "6be6a6a8af4818564e3726fc65cf936f34743cef",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/42f18f170aa86d612c3559cfb3bd11a375df32c8",
+ "reference": "42f18f170aa86d612c3559cfb3bd11a375df32c8",
"shasum": ""
},
"require": {
@@ -4956,7 +5059,7 @@
"dump"
],
"support": {
- "source": "https://github.com/symfony/var-dumper/tree/v5.4.43"
+ "source": "https://github.com/symfony/var-dumper/tree/v5.4.48"
},
"funding": [
{
@@ -4972,7 +5075,7 @@
"type": "tidelift"
}
],
- "time": "2024-08-30T16:01:46+00:00"
+ "time": "2024-11-08T15:21:10+00:00"
},
{
"name": "szepeviktor/phpstan-wordpress",
diff --git a/config/core.php b/config/core.php
index c623858..8f0b8f3 100644
--- a/config/core.php
+++ b/config/core.php
@@ -52,9 +52,9 @@
'file' => 'cmb2/init.php',
],
[
- 'type' => 'class',
+ 'type' => 'function',
'label' => 'Extended CPT library',
- 'name' => 'Extended_CPT',
+ 'name' => 'register_extended_post_type'
]
],
diff --git a/config/seopress_api.php b/config/seopress_api.php
index 48e774a..a6b4c62 100644
--- a/config/seopress_api.php
+++ b/config/seopress_api.php
@@ -17,4 +17,4 @@
'_seopress_social_twitter_img_width',
'_seopress_social_twitter_img_height',
]
-];
\ No newline at end of file
+];
diff --git a/src/Base/Admin/AdminServiceProvider.php b/src/Base/Admin/AdminServiceProvider.php
index 21a2ef4..d1abc89 100644
--- a/src/Base/Admin/AdminServiceProvider.php
+++ b/src/Base/Admin/AdminServiceProvider.php
@@ -33,7 +33,7 @@ public function filterPostLink(string $link, WP_Post $post, bool $leavename, $sa
*/
public function filterPreviewLink(string $link, WP_Post $post): string
{
- if ($post->post_type !== 'openpub-item' || ! $this->plugin->settings->isPortalSlugValid()) {
+ if ($post->post_type !== 'openpub-item' || ! $this->plugin->settings->isPortalSlugValid()) {
return $link;
}
diff --git a/src/Base/Foundation/DependencyChecker.php b/src/Base/Foundation/DependencyChecker.php
index 91b82a2..dc78d12 100644
--- a/src/Base/Foundation/DependencyChecker.php
+++ b/src/Base/Foundation/DependencyChecker.php
@@ -42,6 +42,9 @@ public function failed(): bool
case 'plugin':
$this->checkPlugin($dependency);
break;
+ case 'function':
+ $this->checkFunction($dependency);
+ break;
}
}
@@ -116,6 +119,17 @@ private function checkPlugin(array $dependency): void
}
}
+ /**
+ * Checks if required function exists.
+ */
+ private function checkFunction(array $dependency): void
+ {
+ if (! function_exists($dependency['name'])) {
+ $this->markFailed($dependency, __('Function does not exist:', 'openpub-base') . ' ' . $dependency['name'] . '');
+ }
+ }
+
+
/**
* Checks the installed version of the plugin.
*/
@@ -123,7 +137,7 @@ private function checkVersion(array $dependency): bool
{
try {
$file = file_get_contents(WP_PLUGIN_DIR . '/' . $dependency['file']);
- } catch(\Exception $e) {
+ } catch (\Exception $e) {
return false;
}
diff --git a/src/Base/Metabox/Commands/AbstractConvert.php b/src/Base/Metabox/Commands/AbstractConvert.php
index 398f5ce..f976886 100644
--- a/src/Base/Metabox/Commands/AbstractConvert.php
+++ b/src/Base/Metabox/Commands/AbstractConvert.php
@@ -31,7 +31,7 @@ public function execute(): void
foreach ($this->flattenArray($holder) as $item) {
try {
$this->convert($item);
- } catch(Exception $e) {
+ } catch (Exception $e) {
WP_CLI::error(sprintf('Something went wrong with converting item [%s]. Error: %s', $item->post_title, $e->getMessage()));
}
}
diff --git a/src/Base/Metabox/Commands/ConvertExpirationDate.php b/src/Base/Metabox/Commands/ConvertExpirationDate.php
index d157ca8..bcf4635 100644
--- a/src/Base/Metabox/Commands/ConvertExpirationDate.php
+++ b/src/Base/Metabox/Commands/ConvertExpirationDate.php
@@ -31,7 +31,7 @@ protected function convertDateToTimeStamp(WP_Post $item): ?int
try {
$object = new DateTime($date);
- } catch(Exception $e) {
+ } catch (Exception $e) {
return null;
}
diff --git a/src/Base/PostType/PostTypeServiceProvider.php b/src/Base/PostType/PostTypeServiceProvider.php
index 634f2c0..43ec494 100644
--- a/src/Base/PostType/PostTypeServiceProvider.php
+++ b/src/Base/PostType/PostTypeServiceProvider.php
@@ -7,69 +7,69 @@
class PostTypeServiceProvider extends ServiceProvider
{
- /**
- * The array of posttype definitions from the config
- */
- protected array $configPostTypes = [];
+ /**
+ * The array of posttype definitions from the config
+ */
+ protected array $configPostTypes = [];
- public function register()
- {
- $this->plugin->loader->addAction('init', $this, 'registerPostTypes');
- $this->plugin->loader->addAction('pre_get_posts', $this, 'orderByPublishedDate');
- $this->plugin->loader->addAction('wp_insert_post_data', $this, 'fillPostName', 10, 4);
- }
+ public function register()
+ {
+ $this->plugin->loader->addAction('init', $this, 'registerPostTypes');
+ $this->plugin->loader->addAction('pre_get_posts', $this, 'orderByPublishedDate');
+ $this->plugin->loader->addAction('wp_insert_post_data', $this, 'fillPostName', 10, 4);
+ }
- /**
- * Add default order.
- */
- public function orderByPublishedDate(WP_Query $query): void
- {
- if (! is_admin()) {
- return;
- }
+ /**
+ * Add default order.
+ */
+ public function orderByPublishedDate(WP_Query $query): void
+ {
+ if (! is_admin()) {
+ return;
+ }
- if (! $query->is_main_query() || 'openpub-item' != $query->get('post_type')) {
- return;
- }
+ if (! $query->is_main_query() || 'openpub-item' != $query->get('post_type')) {
+ return;
+ }
- if (isset($_GET['orderby'])) {
- return;
- }
+ if (isset($_GET['orderby'])) {
+ return;
+ }
- $query->set('orderby', 'post_date');
- $query->set('order', 'DESC');
- }
+ $query->set('orderby', 'post_date');
+ $query->set('order', 'DESC');
+ }
- /**
- * Register custom posttypes.
- */
- public function registerPostTypes(): void
- {
- if (function_exists('register_extended_post_type')) {
- $this->configPostTypes = apply_filters('owc/openpub-base/before-register-posttypes', $this->plugin->config->get('posttypes'));
- foreach ($this->configPostTypes as $postTypeName => $postType) {
- // Examples of registering post types: http://johnbillion.com/extended-cpts/
- register_extended_post_type($postTypeName, $postType['args'], $postType['names']);
- }
- }
- }
+ /**
+ * Register custom posttypes.
+ */
+ public function registerPostTypes(): void
+ {
+ if (function_exists('register_extended_post_type')) {
+ $this->configPostTypes = apply_filters('owc/openpub-base/before-register-posttypes', $this->plugin->config->get('posttypes'));
+ foreach ($this->configPostTypes as $postTypeName => $postType) {
+ // Examples of registering post types: http://johnbillion.com/extended-cpts/
+ register_extended_post_type($postTypeName, $postType['args'], $postType['names']);
+ }
+ }
+ }
- /**
- * Always fill the post_name when empty and a post is not published.
- * When previewing an openpub-item the post_name needs to be present, which is set by default when the post is published.
- */
- public function fillPostName(array $post, array $postarr, array $unsanitizedPostarr, bool $update): array
- {
- if ('openpub-item' !== $post['post_type'] || empty($postarr['ID']) || 'publish' === $post['post_status']) {
- return $post;
- }
+ /**
+ * Always fill the post_name when empty and a post is not published.
+ * When previewing an openpub-item the post_name needs to be present, which is set by default when the post is published.
+ */
+ public function fillPostName(array $post, array $postarr, array $unsanitizedPostarr, bool $update): array
+ {
+ if ('openpub-item' !== $post['post_type'] || empty($postarr['ID']) || 'publish' === $post['post_status']) {
+ return $post;
+ }
- if (! empty($postarr['post_name'])) {
- return $post;
- }
+ if (! empty($postarr['post_name'])) {
+ return $post;
+ }
- $post['post_name'] = \sanitize_title($post['post_title']);
+ $post['post_name'] = \sanitize_title($post['post_title']);
- return $post;
- }
+ return $post;
+ }
}
diff --git a/src/Base/RestAPI/Controllers/ThemeController.php b/src/Base/RestAPI/Controllers/ThemeController.php
index 92c9a61..75b74e7 100644
--- a/src/Base/RestAPI/Controllers/ThemeController.php
+++ b/src/Base/RestAPI/Controllers/ThemeController.php
@@ -2,10 +2,10 @@
namespace OWC\OpenPub\Base\RestAPI\Controllers;
-use WP_Post;
+use OWC\OpenPub\Base\Repositories\Theme;
use WP_Error;
+use WP_Post;
use WP_REST_Request;
-use OWC\OpenPub\Base\Repositories\Theme;
class ThemeController extends BaseController
{
diff --git a/src/Base/Settings/SettingsServiceProvider.php b/src/Base/Settings/SettingsServiceProvider.php
index ebb493e..a4f8739 100644
--- a/src/Base/Settings/SettingsServiceProvider.php
+++ b/src/Base/Settings/SettingsServiceProvider.php
@@ -17,7 +17,7 @@ public function register()
public function registerMissingNumberField($field, $escapedValue, $objectID, $objectType, $fieldTypeObject): void
{
- echo $fieldTypeObject->input(array( 'type' => 'number' ));
+ echo $fieldTypeObject->input([ 'type' => 'number' ]);
}
public function registerSettingsPages(): void
diff --git a/tests/Unit/Base/RestAPI/Controllers/ItemControllerTest.php b/tests/Unit/Base/RestAPI/Controllers/ItemControllerTest.php
index bdaf425..fa6371d 100644
--- a/tests/Unit/Base/RestAPI/Controllers/ItemControllerTest.php
+++ b/tests/Unit/Base/RestAPI/Controllers/ItemControllerTest.php
@@ -7,7 +7,6 @@
use OWC\OpenPub\Base\Foundation\Loader;
use OWC\OpenPub\Base\Foundation\Plugin;
use OWC\OpenPub\Base\RestAPI\Controllers\ItemController;
-use OWC\OpenPub\Base\RestAPI\ItemFields\FeaturedImageField;
use OWC\OpenPub\Tests\TestCase;
use WP_Mock;
use WP_Post;
@@ -44,9 +43,9 @@ public function it_transforms_a_wp_object_to_array()
$post->post_date = '01-01-2021';
$post->post_name = 'test-test';
- $itemController = m::mock(ItemController::class)->makePartial();
+ $itemController = m::mock(ItemController::class)->makePartial();
- $itemController->shouldReceive('getImageUrl')->andReturn([]);
+ $itemController->shouldReceive('getImageUrl')->andReturn([]);
WP_Mock::userFunction('get_the_post_thumbnail_url', [
'args' => [
@@ -63,7 +62,7 @@ public function it_transforms_a_wp_object_to_array()
'excerpt' => 'Test excerpt',
'date' => '01-01-2021',
'thumbnail_url' => 'url-to-image',
- 'image' => [],
+ 'image' => [],
'slug' => 'test-test',
];