From 71002c56720dc8df95f157282890c10f0cffbefa Mon Sep 17 00:00:00 2001 From: Niels de Blaauw Date: Sat, 26 Jan 2019 17:08:55 +0100 Subject: [PATCH] Fixes #17, uses humbug instead of kherges box --- .travis.yml | 2 +- box.json.dist | 15 ++++----------- composer.json | 2 +- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 959203f..c38abbc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ script: - vendor/bin/phpcs - "./bin/php-doc-check -d ./ --exclude vendor/" - ls .travis/ -- vendor/bin/box build +- vendor/bin/box compile - "php ./bin/php-doc-check.phar -d ./ --exclude vendor/" before_deploy: - echo $DECRYPT_KEY | gpg --passphrase-fd 0 .travis/keys.asc.gpg diff --git a/box.json.dist b/box.json.dist index 0ee796d..2406b88 100644 --- a/box.json.dist +++ b/box.json.dist @@ -1,13 +1,6 @@ { - "chmod": "0755", - "main": "bin/php-doc-check", - "output": "bin/php-doc-check.phar", - "directories": ["src"], - "finder": [ - { - "name": "*.php", - "in": "vendor" - } - ], - "stub": true + "banner-file": "LICENSE", + "compactors": [ + "KevinGH\\Box\\Compactor\\Php" + ] } \ No newline at end of file diff --git a/composer.json b/composer.json index 0c33cc7..060f86e 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,6 @@ }, "require-dev": { "squizlabs/php_codesniffer": "^3.4", - "kherge/box": "~2.0" + "humbug/box": "^3.4" } }