From 39cdd00094b90e9cac10ed13bd243df79010dd07 Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Thu, 22 Feb 2018 12:25:05 -0500 Subject: [PATCH] Add extra level for starter configs --- assets/config_levels/1.xml | 2 - assets/config_levels/2.xml | 2 - assets/config_levels/3.xml | 4 +- assets/config_levels/4.xml | 4 +- assets/config_levels/5.xml | 5 ++- assets/config_levels/6.xml | 90 ++++++++++++++++++++++++++++++++++++++ src/psalm.php | 2 +- 7 files changed, 98 insertions(+), 11 deletions(-) create mode 100644 assets/config_levels/6.xml diff --git a/assets/config_levels/1.xml b/assets/config_levels/1.xml index 211994120..92abd0e6f 100644 --- a/assets/config_levels/1.xml +++ b/assets/config_levels/1.xml @@ -1,7 +1,5 @@ diff --git a/assets/config_levels/2.xml b/assets/config_levels/2.xml index 4b580718a..83120f186 100644 --- a/assets/config_levels/2.xml +++ b/assets/config_levels/2.xml @@ -1,7 +1,5 @@ diff --git a/assets/config_levels/3.xml b/assets/config_levels/3.xml index 3776e952e..1d5d77f2a 100644 --- a/assets/config_levels/3.xml +++ b/assets/config_levels/3.xml @@ -1,7 +1,5 @@ @@ -27,5 +25,7 @@ + + diff --git a/assets/config_levels/4.xml b/assets/config_levels/4.xml index 78dbd303f..ba640e7bc 100644 --- a/assets/config_levels/4.xml +++ b/assets/config_levels/4.xml @@ -1,7 +1,5 @@ @@ -29,6 +27,8 @@ + + diff --git a/assets/config_levels/5.xml b/assets/config_levels/5.xml index 129231051..6f73e9043 100644 --- a/assets/config_levels/5.xml +++ b/assets/config_levels/5.xml @@ -1,7 +1,5 @@ @@ -29,6 +27,8 @@ + + @@ -70,5 +70,6 @@ + diff --git a/assets/config_levels/6.xml b/assets/config_levels/6.xml new file mode 100644 index 000000000..bde2ad74a --- /dev/null +++ b/assets/config_levels/6.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/psalm.php b/src/psalm.php index 7d43bfc07..f73d2211a 100644 --- a/src/psalm.php +++ b/src/psalm.php @@ -60,7 +60,7 @@ Options: -i, --init [source_dir=src] [--level=3] Create a psalm config file in the current directory that points to [source_dir] - at the required level, from 1, most strict, to 5, most permissive + at the required level, from 1, most strict, to 6, most permissive --debug Debug information