diff --git a/composer.json b/composer.json index 83d9783..b1028cb 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ } }, "require": { - "newfold-labs/wp-module-data": "^2.6.3" + "newfold-labs/wp-module-data": "^2.6.8" }, "require-dev": { "newfold-labs/wp-php-standards": "^1.2" diff --git a/composer.lock b/composer.lock index 4677bfa..e1ec8ae 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": "ed32b165b800784e4ffa6d852abf34aa", + "content-hash": "87d30fea4938fcb841c72fd4b9fa21b4", "packages": [ { "name": "doctrine/inflector", @@ -140,22 +140,77 @@ }, "time": "2022-08-26T17:23:54+00:00" }, + { + "name": "newfold-labs/wp-module-context", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/newfold-labs/wp-module-context.git", + "reference": "fb57e927df45ef33573fe7f429ef1e088b0a6df0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/newfold-labs/wp-module-context/zipball/fb57e927df45ef33573fe7f429ef1e088b0a6df0", + "reference": "fb57e927df45ef33573fe7f429ef1e088b0a6df0", + "shasum": "" + }, + "require": { + "wp-forge/helpers": "^2.0" + }, + "require-dev": { + "newfold-labs/wp-php-standards": "^1.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "NewfoldLabs\\WP\\Context\\": "includes" + }, + "files": [ + "includes/functions.php", + "bootstrap.php" + ] + }, + "scripts": { + "fix": [ + "vendor/bin/phpcbf . --standard=phpcs.xml" + ], + "lint": [ + "vendor/bin/phpcs . --standard=phpcs.xml -s" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Evan Mullins", + "homepage": "https://evanmullins.com" + } + ], + "description": "Newfold module to determine context for various brands and platforms.", + "support": { + "source": "https://github.com/newfold-labs/wp-module-context/tree/1.0.1", + "issues": "https://github.com/newfold-labs/wp-module-context/issues" + }, + "time": "2024-05-23T20:34:28+00:00" + }, { "name": "newfold-labs/wp-module-data", - "version": "2.6.3", + "version": "2.6.8", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-data.git", - "reference": "f98dfabe6a4cb10aec6dcd6e81fc7d269238e9a4" + "reference": "ee5d861ed085e67fe102ffebae1cb46ed3ee0d49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/f98dfabe6a4cb10aec6dcd6e81fc7d269238e9a4", - "reference": "f98dfabe6a4cb10aec6dcd6e81fc7d269238e9a4", + "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/ee5d861ed085e67fe102ffebae1cb46ed3ee0d49", + "reference": "ee5d861ed085e67fe102ffebae1cb46ed3ee0d49", "shasum": "" }, "require": { "ext-json": "*", + "newfold-labs/wp-module-context": "^1.0", "newfold-labs/wp-module-loader": "^1.0.10", "wp-forge/helpers": "^2.0", "wp-forge/wp-query-builder": "^1.0.4", @@ -163,15 +218,17 @@ "wpscholar/url": "^1.2.2" }, "require-dev": { - "10up/wp_mock": "^0.4.2", + "10up/wp_mock": "^0.5.0|^1.0.0", "bluehost/bluehost-wordpress-plugin": ">=3.1", "brianhenryie/composer-phpstorm": ">=0.4", "johnpbloch/wordpress": ">=6.5.3", "kporras07/composer-symlinks": "^1.2", "lucatume/wp-browser": "^3.5.8", "newfold-labs/wp-php-standards": "^1.2.3", - "phpunit/phpcov": "^5.0", - "wpackagist-plugin/woocommerce": ">=9" + "phpunit/phpcov": "^8.2.1", + "wpackagist-plugin/jetpack": "^14.0", + "wpackagist-plugin/woocommerce": ">=9", + "wpackagist-theme/twentytwentyfive": "*" }, "type": "library", "extra": { @@ -203,7 +260,7 @@ "vendor/bin/phpcbf . --standard=phpcs.xml" ], "cs-changes": [ - "updated_files=$( git status | grep '\\(new file\\|modified\\):\\s.*.php$' | cut -c14- | awk '{ printf(\"%s \", $0) }' ); echo \"\\nChecking\"$(git status | grep '\\(new file\\|modified\\):\\s.*.php$' | tail -n+2 | wc -l)\" files\"; phpcbf $(echo $updated_files); phpcs $(echo $updated_files);" + "updated_files=$(echo $(git diff --name-only `git merge-base origin/main HEAD` | grep php)); if [ -n \"$updated_files\" ]; then phpcbf $(echo $updated_files); phpcs $(echo $updated_files); else echo \"No modified .php files for PHPCS.\"; fi;" ], "lint": [ "vendor/bin/phpcs . --standard=phpcs.xml -s" @@ -216,6 +273,7 @@ "codecept run wpunit" ], "test-coverage": [ + "if [ -d \"tests/_output/merged.cov\" ]; then rm -rf tests/_output/merged.cov; fi;", "phpunit --bootstrap tests/phpunit/bootstrap.php --coverage-php tests/_output/unit.cov --coverage-text", "codecept run wpunit --coverage wpunit.cov", "phpcov merge --php tests/_output/merged.cov --html tests/_output/html tests/_output;", @@ -233,23 +291,23 @@ ], "description": "Newfold Data Module", "support": { - "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.3", + "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.8", "issues": "https://github.com/newfold-labs/wp-module-data/issues" }, - "time": "2024-08-30T19:51:58+00:00" + "time": "2024-12-06T21:56:08+00:00" }, { "name": "newfold-labs/wp-module-loader", - "version": "1.0.10", + "version": "1.0.11", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-loader.git", - "reference": "8ab6725a6b3bc9ed10b89127f09bcb3e81f795c6" + "reference": "bb470f8c57b0bca62548e65b210df0a13ddce767" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-loader/zipball/8ab6725a6b3bc9ed10b89127f09bcb3e81f795c6", - "reference": "8ab6725a6b3bc9ed10b89127f09bcb3e81f795c6", + "url": "https://api.github.com/repos/newfold-labs/wp-module-loader/zipball/bb470f8c57b0bca62548e65b210df0a13ddce767", + "reference": "bb470f8c57b0bca62548e65b210df0a13ddce767", "shasum": "" }, "require": { @@ -279,10 +337,10 @@ ], "description": "A module that handles registration and management of Newfold modules used within our WordPress plugins.", "support": { - "source": "https://github.com/newfold-labs/wp-module-loader/tree/1.0.10", + "source": "https://github.com/newfold-labs/wp-module-loader/tree/1.0.11", "issues": "https://github.com/newfold-labs/wp-module-loader/issues" }, - "time": "2022-10-03T20:07:41+00:00" + "time": "2024-12-11T18:25:14+00:00" }, { "name": "wp-forge/collection", @@ -523,18 +581,24 @@ }, { "name": "wpscholar/url", - "version": "1.2.2", + "version": "1.2.5", "source": { "type": "git", "url": "https://github.com/wpscholar/url.git", - "reference": "c339972ed8e6876f1cfacbc512c6205db63645d0" + "reference": "8a8fa6dc257d75353782a7acd9b1194a17d8eadd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wpscholar/url/zipball/c339972ed8e6876f1cfacbc512c6205db63645d0", - "reference": "c339972ed8e6876f1cfacbc512c6205db63645d0", + "url": "https://api.github.com/repos/wpscholar/url/zipball/8a8fa6dc257d75353782a7acd9b1194a17d8eadd", + "reference": "8a8fa6dc257d75353782a7acd9b1194a17d8eadd", "shasum": "" }, + "require": { + "php": ">=7.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.36 || ^9.0" + }, "type": "library", "autoload": { "psr-4": { @@ -555,9 +619,9 @@ "description": "A PHP class for parsing and manipulating URLs.", "support": { "issues": "https://github.com/wpscholar/url/issues", - "source": "https://github.com/wpscholar/url/tree/1.2.2" + "source": "https://github.com/wpscholar/url/tree/1.2.5" }, - "time": "2020-10-27T20:10:04+00:00" + "time": "2024-12-13T17:40:54+00:00" } ], "packages-dev": [ @@ -1200,5 +1264,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" }