From d6ebe9eef17d46333bc5a7e04fa4cf74fe906b8f Mon Sep 17 00:00:00 2001 From: Ivan Vegner Date: Mon, 31 Jul 2017 13:38:39 +0300 Subject: [PATCH] Add phpunit.xml --- phpunit.xml | 12 ++++++++++++ src/DeclarerInterface.php | 2 +- tests/HelloWorldService.php | 7 +++++-- 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 phpunit.xml diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..629cc89 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,12 @@ + + + + + tests + + + diff --git a/src/DeclarerInterface.php b/src/DeclarerInterface.php index a5dd206..7bed2ed 100644 --- a/src/DeclarerInterface.php +++ b/src/DeclarerInterface.php @@ -6,5 +6,5 @@ interface DeclarerInterface { /** * @return string[] **/ - public function declareDependencies(): array; + public function declareDependencies(); } diff --git a/tests/HelloWorldService.php b/tests/HelloWorldService.php index e89bc6f..9e03868 100644 --- a/tests/HelloWorldService.php +++ b/tests/HelloWorldService.php @@ -1,8 +1,11 @@