From 92482c29bc28bc90431f255c79e56cfa3ca9009e Mon Sep 17 00:00:00 2001 From: Dominik Liebler Date: Mon, 26 Aug 2019 06:31:47 +0200 Subject: [PATCH] use flyeralarm/php-code-validator to validate PHP code --- .travis.yml | 1 + Structural/Registry/Service.php | 7 +++--- composer.json | 5 +++-- composer.lock | 40 ++++++++++++++++++++++++++++++++- phpcs.xml.dist | 8 +++++++ 5 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 phpcs.xml.dist diff --git a/.travis.yml b/.travis.yml index 9f031f7..5aa8a1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,3 +22,4 @@ install: script: - vendor/bin/phpunit + - vendor/bin/phpcs . diff --git a/Structural/Registry/Service.php b/Structural/Registry/Service.php index e4204c8..2b364f3 100644 --- a/Structural/Registry/Service.php +++ b/Structural/Registry/Service.php @@ -1,9 +1,8 @@ + + **/*.php + vendor + + + +