From 7559efab775eef168519576dbcc87d7e47d1e8d5 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 31 May 2015 20:52:20 +0200 Subject: [PATCH] Update build thing. --- .travis.yml | 2 ++ app/Validation/FireflyValidator.php | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6650fa78c8..a0ca8e95fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,3 +18,5 @@ after_script: - php vendor/bin/coveralls - CODECLIMATE_REPO_TOKEN=26489f9e854fcdf7e7660ba29c1455694685465b1f90329a79f7d2bf448acb61 ./vendor/bin/test-reporter --stdout > codeclimate.json - "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports" + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml \ No newline at end of file diff --git a/app/Validation/FireflyValidator.php b/app/Validation/FireflyValidator.php index 10b56e5b47..59de869bd8 100644 --- a/app/Validation/FireflyValidator.php +++ b/app/Validation/FireflyValidator.php @@ -56,13 +56,9 @@ class FireflyValidator extends Validator } /** - * @param $attribute - * @param $value - * @param $parameters - * * @return bool */ - public function validatePiggyBankReminder($attribute, $value, $parameters) + public function validatePiggyBankReminder() { $array = $this->data; // no reminder? dont care. @@ -99,7 +95,6 @@ class FireflyValidator extends Validator { $type = null; - /** * Switch on different cases on which this method can respond: */