From a57bc179a7210bc9555c79fcdcc8c2198c07a25e Mon Sep 17 00:00:00 2001 From: Vasek Purchart Date: Wed, 13 Jun 2018 11:06:29 +0200 Subject: [PATCH 1/3] check more language construct spacing cases --- Consistence/ruleset.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Consistence/ruleset.xml b/Consistence/ruleset.xml index b587028..b9d86cc 100644 --- a/Consistence/ruleset.xml +++ b/Consistence/ruleset.xml @@ -40,6 +40,7 @@ + @@ -227,7 +228,6 @@ - From d3dff5555d828143d90f12dce8812002839a2b44 Mon Sep 17 00:00:00 2001 From: Vasek Purchart Date: Wed, 13 Jun 2018 13:31:46 +0200 Subject: [PATCH 2/3] check that PHP types used for type hints, return types, and type casting are lowercase --- Consistence/ruleset.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/Consistence/ruleset.xml b/Consistence/ruleset.xml index b9d86cc..1339ffc 100644 --- a/Consistence/ruleset.xml +++ b/Consistence/ruleset.xml @@ -34,6 +34,7 @@ + From 8f4e10c90e2538d58fc20d9a7e92c8d95b6eb001 Mon Sep 17 00:00:00 2001 From: Vasek Purchart Date: Wed, 13 Jun 2018 13:49:57 +0200 Subject: [PATCH 3/3] check whitespace inside parenthesis that do not belong to a function call/declaration or control structure --- Consistence/ruleset.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Consistence/ruleset.xml b/Consistence/ruleset.xml index 1339ffc..fa31a71 100644 --- a/Consistence/ruleset.xml +++ b/Consistence/ruleset.xml @@ -40,6 +40,11 @@ + + + + +