diff --git a/composer.json b/composer.json index 145d4ca5..8ff93f47 100755 --- a/composer.json +++ b/composer.json @@ -1,15 +1,14 @@ { "name": "dereuromark/cakephp-queue", - "type": "cakephp-plugin", "description": "The Queue plugin for CakePHP provides deferred task execution.", + "license": "MIT", + "type": "cakephp-plugin", "keywords": [ "cakephp", "queue", "deferred tasks", "background" ], - "homepage": "https://github.com/dereuromark/cakephp-queue", - "license": "MIT", "authors": [ { "name": "Mark Scherer", @@ -22,6 +21,10 @@ "role": "Contributor" } ], + "homepage": "https://github.com/dereuromark/cakephp-queue", + "support": { + "source": "https://github.com/dereuromark/cakephp-queue" + }, "require": { "php": ">=8.1", "brick/varexporter": "^0.4.0", @@ -38,13 +41,12 @@ "phpunit/phpunit": "^10.1" }, "suggest": { - "friendsofcake/search": "For admin backend and filtering of current jobs.", + "dereuromark/cakephp-ide-helper": "For maximum IDE support, especially around createJob() usage.", "dereuromark/cakephp-tools": "For the QueueEmailTask (if you don't write your own task here). Also for admin backend.", - "dereuromark/cakephp-ide-helper": "For maximum IDE support, especially around createJob() usage." - }, - "support": { - "source": "https://github.com/dereuromark/cakephp-queue" + "friendsofcake/search": "For admin backend and filtering of current jobs." }, + "minimum-stability": "stable", + "prefer-stable": true, "autoload": { "psr-4": { "Queue\\": "src/", @@ -53,30 +55,28 @@ }, "autoload-dev": { "psr-4": { + "Foo\\": "tests/test_app/plugins/Foo/src/", "Queue\\Test\\TestCase\\": "tests/TestCase/", - "TestApp\\": "tests/test_app/src/", - "Foo\\": "tests/test_app/plugins/Foo/src/" + "TestApp\\": "tests/test_app/src/" } }, - "prefer-stable": true, - "minimum-stability": "stable", - "scripts": { - "stan": "phpstan analyse", - "stan-tests": "phpstan analyse -c tests/phpstan.neon", - "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.10.0 && mv composer.backup composer.json", - "test": "phpunit", - "test-coverage": "phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml", - "lowest": "validate-prefer-lowest", - "lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json", - "cs-check": "phpcs --extensions=php", - "cs-fix": "phpcbf --extensions=php" - }, "config": { - "sort-packages": true, - "process-timeout": 600, "allow-plugins": { "cakephp/plugin-installer": true, "dealerdirect/phpcodesniffer-composer-installer": true - } + }, + "process-timeout": 600, + "sort-packages": true + }, + "scripts": { + "cs-check": "phpcs --extensions=php", + "cs-fix": "phpcbf --extensions=php", + "lowest": "validate-prefer-lowest", + "lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json", + "stan": "phpstan analyse", + "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.10.0 && mv composer.backup composer.json", + "stan-tests": "phpstan analyse -c tests/phpstan.neon", + "test": "phpunit", + "test-coverage": "phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml" } }