From 674cbf189616c83ec5a758fd03d5591cecc6b1c9 Mon Sep 17 00:00:00 2001 From: Alex Danylyschyn Date: Wed, 16 Feb 2022 11:35:45 +0100 Subject: [PATCH 1/2] chore: Bump extended-cpts to 5.0 --- composer.json | 4 +- composer.lock | 127 +++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 102 insertions(+), 29 deletions(-) diff --git a/composer.json b/composer.json index 85da81d..1bacaf9 100644 --- a/composer.json +++ b/composer.json @@ -23,8 +23,8 @@ } }, "require": { - "php": "^7.3|^8.0", - "johnbillion/extended-cpts": "^4.5" + "php": "^7.4|^8.0", + "johnbillion/extended-cpts": "^5.0" }, "require-dev": { "squizlabs/php_codesniffer": "^3.5" diff --git a/composer.lock b/composer.lock index c36963b..48a13ca 100644 --- a/composer.lock +++ b/composer.lock @@ -4,36 +4,100 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ed53b739ba67d7aacf9dcbe28e97e06c", + "content-hash": "60a400b98874ece6795fbf5b83852471", "packages": [ + { + "name": "johnbillion/args", + "version": "0.9.0", + "source": { + "type": "git", + "url": "https://github.com/johnbillion/args.git", + "reference": "a1a3feb05cc9fc3914ed96eeab009259aea326c1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/johnbillion/args/zipball/a1a3feb05cc9fc3914ed96eeab009259aea326c1", + "reference": "a1a3feb05cc9fc3914ed96eeab009259aea326c1", + "shasum": "" + }, + "require": { + "php": ">=7.4" + }, + "require-dev": { + "humanmade/coding-standards": "^1.1", + "johnbillion/falsey-assertequals-detector": "^3", + "phpdocumentor/reflection": "~4.0", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^9.0", + "roots/wordpress": "^5.7.0" + }, + "type": "library", + "extra": { + "wordpress-install-dir": "vendor/wordpress/wordpress" + }, + "autoload": { + "psr-4": { + "Args\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "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/0.9.0" + }, + "funding": [ + { + "url": "https://github.com/sponsors/johnbillion", + "type": "github" + } + ], + "time": "2021-12-18T21:21:14+00:00" + }, { "name": "johnbillion/extended-cpts", - "version": "4.5.2", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/johnbillion/extended-cpts.git", - "reference": "59ce9f4e0422512eec6f698ccba4a6a81b018fdb" + "reference": "d6d83bb41eba9a3603929244c71f3f806c2a14d8" }, "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/d6d83bb41eba9a3603929244c71f3f806c2a14d8", + "reference": "d6d83bb41eba9a3603929244c71f3f806c2a14d8", "shasum": "" }, "require": { - "php": "^7 | ^8" + "johnbillion/args": "^0.9.0", + "php": ">= 7.4.0" }, "require-dev": { - "automattic/phpcs-neutron-standard": "1.6.0", + "automattic/phpcs-neutron-standard": "1.7.0", + "cweagans/composer-patches": "^1.7", "dealerdirect/phpcodesniffer-composer-installer": "^0.7", - "johnbillion/falsey-assertequals-detector": "^2", + "johnbillion/falsey-assertequals-detector": "*", + "lucatume/wp-browser": "^3.0", "phpcompatibility/phpcompatibility-wp": "^2", - "phpunit/phpunit": "^6", - "roots/wordpress": "^5.7.0", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^9", + "roots/wordpress": "^5.8.0", + "szepeviktor/phpstan-wordpress": "^1.0", "vlucas/phpdotenv": "^3", - "wp-cli/db-command": "^2.0", - "wp-coding-standards/wpcs": "2.3.0", - "wp-phpunit/wp-phpunit": "^5.7.0" + "wp-cli/core-command": "^2", + "wp-cli/db-command": "^2", + "wp-coding-standards/wpcs": "2.3.0" }, "suggest": { "seravo/wp-custom-bulk-actions": "Custom Bulk Actions", @@ -41,15 +105,24 @@ }, "type": "library", "extra": { + "branch-alias": { + "dev-develop": "5.0-dev" + }, + "patches": { + "lucatume/wp-browser": { + "https://github.com/lucatume/wp-browser/issues/554": "tests/patches/wp-browser-554.patch" + } + }, "wordpress-install-dir": "tests/wordpress" }, "autoload": { - "psr-4": { - "ExtCPTs\\Tests\\": "tests/phpunit" - }, "files": [ - "extended-cpts.php" - ] + "functions.php" + ], + "psr-4": { + "ExtCPTs\\": "src", + "ExtCPTs\\Tests\\": "tests/integration" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -65,7 +138,7 @@ "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.1" }, "funding": [ { @@ -73,22 +146,22 @@ "type": "github" } ], - "time": "2021-03-21T00:26:19+00:00" + "time": "2022-02-13T16:19:47+00:00" } ], "packages-dev": [ { "name": "squizlabs/php_codesniffer", - "version": "3.6.0", + "version": "3.6.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", "shasum": "" }, "require": { @@ -131,7 +204,7 @@ "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2021-04-09T00:54:41+00:00" + "time": "2021-12-12T21:44:58+00:00" } ], "aliases": [], @@ -140,8 +213,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.3|^8.0" + "php": "^7.4|^8.0" }, "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.2.0" } From 3e794e767741df8cb6b35d786d5f05ea1df7db68 Mon Sep 17 00:00:00 2001 From: Alex Danylyschyn Date: Wed, 16 Feb 2022 11:36:22 +0100 Subject: [PATCH 2/2] chore: bump required php version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 406ebb5..f7c33a6 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Poet provides simple configuration-based post type, taxonomy, editor color palet ## Requirements - [Sage](https://github.com/roots/sage) >= 10.0 -- [PHP](https://secure.php.net/manual/en/install.php) >= 7.3 +- [PHP](https://secure.php.net/manual/en/install.php) >= 7.4 - [Composer](https://getcomposer.org/download/) ## Installation