Skip to content

Commit

Permalink
Ignore PHP version on composer cs command
Browse files Browse the repository at this point in the history
Everytime I update PHP I stop running the CS fixer because of their stupid platform requirements…
  • Loading branch information
trowski committed Feb 26, 2019
1 parent e9f1681 commit 355b1e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion test/bin/signal-process.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require dirname(__DIR__, 2) . '/vendor/autoload.php';
require \dirname(__DIR__, 2) . '/vendor/autoload.php';

Amp\Loop::run(function () {
Amp\Loop::unreference(Amp\Loop::onSignal(\SIGTERM, function () {
Expand Down

0 comments on commit 355b1e5

Please sign in to comment.