From 355b1e561b01c16ab3d78fada1ad47ccc96df70e Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Tue, 26 Feb 2019 10:33:03 -0600 Subject: [PATCH] Ignore PHP version on composer cs command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Everytime I update PHP I stop running the CS fixer because of their stupid platform requirements… --- composer.json | 4 ++-- test/bin/signal-process.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index acb99ca..44420a8 100644 --- a/composer.json +++ b/composer.json @@ -48,8 +48,8 @@ "@cs", "@test" ], - "cs": "php-cs-fixer fix -v --diff --dry-run", - "cs-fix": "php-cs-fixer fix -v --diff", + "cs": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff --dry-run", + "cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff", "test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text" } } diff --git a/test/bin/signal-process.php b/test/bin/signal-process.php index 6eb745b..d681535 100644 --- a/test/bin/signal-process.php +++ b/test/bin/signal-process.php @@ -1,6 +1,6 @@