From 702fe24be4333fb8babc336e0adb2421ac412ef5 Mon Sep 17 00:00:00 2001 From: Brabli <67018167+Brabli@users.noreply.github.com> Date: Thu, 21 Jul 2022 11:51:47 +0100 Subject: [PATCH 1/3] Add space --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 51f0222..d57b734 100644 --- a/Containerfile +++ b/Containerfile @@ -4,4 +4,4 @@ WORKDIR /code COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY ./ /code -RUN composer install \ No newline at end of file +RUN composer install From ff506e2aef27c2448b155f16038e9f5b87d9b7dd Mon Sep 17 00:00:00 2001 From: Brabli <67018167+Brabli@users.noreply.github.com> Date: Thu, 21 Jul 2022 15:10:05 +0100 Subject: [PATCH 2/3] Add tests command --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b5199a3..e8eec65 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ PHP = docker compose run php +.PHONY: composer_install composer_update static_analysis tests + composer_install: @$(PHP) composer install @@ -8,3 +10,7 @@ composer_update: static_analysis: @$(PHP) vendor/bin/psalm + +tests: + @$(PHP) rm -rf var/cache + @$(PHP) vendor/bin/phpunit From 709c641fc9e87e5fa0c585b357ca58afb8ca2148 Mon Sep 17 00:00:00 2001 From: Brabli <67018167+Brabli@users.noreply.github.com> Date: Thu, 21 Jul 2022 15:10:19 +0100 Subject: [PATCH 3/3] Migrate xml schema --- phpunit.xml | 13 ------------- phpunit.xml.dist | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 13 deletions(-) delete mode 100644 phpunit.xml create mode 100644 phpunit.xml.dist diff --git a/phpunit.xml b/phpunit.xml deleted file mode 100644 index e8f8e0c..0000000 --- a/phpunit.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - ./tests/ - - - - - ./src - - - diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..60cb564 --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,19 @@ + + + + + ./src + + + + + + + + + + + ./tests + + +