From 63314c5e06ffee2a5003e0fa431c71d97aec0d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Lo=CC=88sken?= Date: Sun, 3 Jul 2016 18:30:57 +0200 Subject: [PATCH 1/2] Adding Style CI configuration - Use Laravel-like code style - Adding some more helper for formatting --- .styleci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .styleci.yml diff --git a/.styleci.yml b/.styleci.yml new file mode 100644 index 000000000000..fb9dff817e76 --- /dev/null +++ b/.styleci.yml @@ -0,0 +1,10 @@ +preset: laravel + +risky: false + +enabled: + - no_useless_else + - phpdoc_align + - phpdoc_no_empty_return + - phpdoc_order + - phpdoc_separation \ No newline at end of file From 5b3dda35a5f3fc03ee628b8cbdbd4a6654b55e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Lo=CC=88sken?= Date: Mon, 4 Jul 2016 00:17:28 +0200 Subject: [PATCH 2/2] Update StyleCI config to exclude test, storage and resources folder --- .styleci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.styleci.yml b/.styleci.yml index fb9dff817e76..6a307ad3c98a 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -7,4 +7,12 @@ enabled: - phpdoc_align - phpdoc_no_empty_return - phpdoc_order - - phpdoc_separation \ No newline at end of file + - phpdoc_separation + +finder: + exclude: + - "resources" + - "storage" + - "tests" + not-path: + - "bootstrap/cache"