diff --git a/composer.json b/composer.json index 56eb6a0..e08b649 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ } }, "require": { - "newfold-labs/wp-module-data": "^2.5.2" + "newfold-labs/wp-module-data": "^2.6.1" }, "require-dev": { "newfold-labs/wp-php-standards": "^1.2" diff --git a/composer.lock b/composer.lock index 50a0070..47d10f2 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": "e8ece0181380f7501915db68b2a2b643", + "content-hash": "539c8594b15c0c06aa2d0cb61df78628", "packages": [ { "name": "doctrine/inflector", @@ -142,16 +142,16 @@ }, { "name": "newfold-labs/wp-module-data", - "version": "2.5.2", + "version": "2.6.1", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-data.git", - "reference": "bd9642c155735fac8f114ea1eb237da4a72eb267" + "reference": "49dc91eec8053872354db9cddd355e45f2de49e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/bd9642c155735fac8f114ea1eb237da4a72eb267", - "reference": "bd9642c155735fac8f114ea1eb237da4a72eb267", + "url": "https://api.github.com/repos/newfold-labs/wp-module-data/zipball/49dc91eec8053872354db9cddd355e45f2de49e4", + "reference": "49dc91eec8053872354db9cddd355e45f2de49e4", "shasum": "" }, "require": { @@ -164,10 +164,21 @@ }, "require-dev": { "10up/wp_mock": "^0.4.2", + "bluehost/bluehost-wordpress-plugin": "*", + "brianhenryie/composer-phpstorm": "*", "johnpbloch/wordpress": "*", - "newfold-labs/wp-php-standards": "^1.2" + "kporras07/composer-symlinks": "^1.2", + "lucatume/wp-browser": "^3", + "newfold-labs/wp-php-standards": "^1.2", + "phpunit/phpcov": "^5.0", + "wpackagist-plugin/woocommerce": "*" }, "type": "library", + "extra": { + "symlinks": { + ".": "wp-content/plugins/bluehost-wordpress-plugin/vendor/newfold-labs/wp-module-data" + } + }, "autoload": { "psr-4": { "NewfoldLabs\\WP\\Module\\Data\\": "includes/" @@ -178,8 +189,14 @@ }, "autoload-dev": { "psr-4": { - "NewfoldLabs\\WP\\Module\\Data\\": "tests/phpunit/includes/" - } + "NewfoldLabs\\WP\\Module\\Data\\": [ + "tests/phpunit/includes/", + "tests/wpunit/includes" + ] + }, + "classmap": [ + "wordpress" + ] }, "scripts": { "fix": [ @@ -190,6 +207,25 @@ ], "lint": [ "vendor/bin/phpcs . --standard=phpcs.xml -s" + ], + "create-symlinks": [ + "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks" + ], + "test": [ + "phpunit --bootstrap tests/phpunit/bootstrap.php", + "codecept run wpunit" + ], + "test-coverage": [ + "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;", + "echo \"open tests/_output/html/index.html\" to view the report" + ], + "post-install-cmd": [ + "@create-symlinks" + ], + "post-update-cmd": [ + "@create-symlinks" ] }, "license": [ @@ -197,10 +233,10 @@ ], "description": "Newfold Data Module", "support": { - "source": "https://github.com/newfold-labs/wp-module-data/tree/2.5.2", + "source": "https://github.com/newfold-labs/wp-module-data/tree/2.6.1", "issues": "https://github.com/newfold-labs/wp-module-data/issues" }, - "time": "2024-05-30T18:45:12+00:00" + "time": "2024-07-25T16:37:25+00:00" }, { "name": "newfold-labs/wp-module-loader",