From 4e52e68f3a1fc5e2966abe20b13b60740f8052ac Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 15 Aug 2016 15:24:05 +0200 Subject: [PATCH] Fix travis run the second --- .coveralls.yml | 1 - .php_cs | 15 +++++++++++++++ composer.json | 3 ++- 3 files changed, 17 insertions(+), 2 deletions(-) delete mode 100644 .coveralls.yml create mode 100644 .php_cs diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 6b74c21..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -src_dir: lib diff --git a/.php_cs b/.php_cs new file mode 100644 index 0000000..d1a2e36 --- /dev/null +++ b/.php_cs @@ -0,0 +1,15 @@ +level(Symfony\CS\FixerInterface::NONE_LEVEL) + ->fixers([ + "psr2", + "-braces", + "-psr0", + ]) + ->finder( + Symfony\CS\Finder\DefaultFinder::create() + ->in(__DIR__ . "/lib") + ->in(__DIR__ . "/test") + ) +; diff --git a/composer.json b/composer.json index 3e55f41..a68d765 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,8 @@ "async-interop/event-loop": "^0.2" }, "require-dev": { - "async-interop/event-loop-test": "dev-master" + "async-interop/event-loop-test": "dev-master", + "friendsofphp/php-cs-fixer": "~1.9" }, "provide": { "async-interop/event-loop-implementation": "^0.2"