From d11cc6809589dbf4c16194175d45cffadf72c910 Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Mon, 11 Dec 2023 12:46:27 +0100 Subject: [PATCH] chore: add required composer settings Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com> --- composer.json | 73 +++++++++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 31 deletions(-) diff --git a/composer.json b/composer.json index 426d7d1..5b3d80d 100644 --- a/composer.json +++ b/composer.json @@ -1,33 +1,44 @@ { - "name": "wpdesk/wp-builder", - "authors": [ - { - "name": "Krzysiek", - "email": "krzysiek@wpdesk.pl" - } - ], - "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "<7", - "wp-coding-standards/wpcs": "^0.14.1", - "squizlabs/php_codesniffer": "^3.0.2", - "mockery/mockery": "*", - "10up/wp_mock": "*", - "wimg/php-compatibility": "^8" - }, - "autoload": { - "psr-4": {"WPDesk\\PluginBuilder\\": "src/"}, - "classmap": ["src/Plugin/WithoutNamespace"] - }, - "autoload-dev": { - }, - "scripts": { - "phpcs": "phpcs", - "phpunit-unit": "phpunit --configuration phpunit-unit.xml --coverage-text --colors=never", - "phpunit-unit-fast": "phpunit --configuration phpunit-unit.xml --no-coverage", - "phpunit-integration": "phpunit --configuration phpunit-integration.xml --coverage-text --colors=never", - "phpunit-integration-fast": "phpunit --configuration phpunit-integration.xml --no-coverage" - } + "name": "wpdesk/wp-builder", + "authors": [ + { + "name": "Krzysiek", + "email": "krzysiek@wpdesk.pl" + } + ], + "require": { + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "<7", + "wp-coding-standards/wpcs": "^0.14.1", + "squizlabs/php_codesniffer": "^3.0.2", + "mockery/mockery": "*", + "10up/wp_mock": "*", + "wimg/php-compatibility": "^8" + }, + "autoload": { + "psr-4": { + "WPDesk\\PluginBuilder\\": "src/" + }, + "classmap": [ + "src/Plugin/WithoutNamespace" + ] + }, + "autoload-dev": { + }, + "extra": { + "text-domain": "wpdesk-wp-builder", + "translations-folder": "lang", + "po-files": { + "pl_PL": "pl_PL.po" + } + }, + "scripts": { + "phpcs": "phpcs", + "phpunit-unit": "phpunit --configuration phpunit-unit.xml --coverage-text --colors=never", + "phpunit-unit-fast": "phpunit --configuration phpunit-unit.xml --no-coverage", + "phpunit-integration": "phpunit --configuration phpunit-integration.xml --coverage-text --colors=never", + "phpunit-integration-fast": "phpunit --configuration phpunit-integration.xml --no-coverage" + } } -- GitLab