From 6d717488da36b47235c421082b6d83dab81caf8b Mon Sep 17 00:00:00 2001 From: nrg Date: Mon, 25 Jun 2018 16:15:57 +0200 Subject: [PATCH 1/3] test --- .php_cs.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/.php_cs.dist b/.php_cs.dist index 9b974a1ce..53f760b9f 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -32,6 +32,7 @@ return Config::create() 'array_syntax' => [ 'syntax' => 'short' ], + 'native_constant_invocation' => [ "PHP_SAPI", "PHP_VERSION_ID" ], 'combine_consecutive_issets' => true, 'combine_consecutive_unsets' => true, 'escape_implicit_backslashes' => true, From 1c8eb0578cfbf5f872fe722452ada47103d89a1a Mon Sep 17 00:00:00 2001 From: nrg Date: Mon, 25 Jun 2018 16:20:17 +0200 Subject: [PATCH 2/3] test --- .php_cs.dist | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.php_cs.dist b/.php_cs.dist index 53f760b9f..4e44ba24b 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -32,7 +32,9 @@ return Config::create() 'array_syntax' => [ 'syntax' => 'short' ], - 'native_constant_invocation' => [ "PHP_SAPI", "PHP_VERSION_ID" ], + 'native_constant_invocation' => [ + 'include' => [ "PHP_SAPI", "PHP_VERSION_ID" ], + ], 'combine_consecutive_issets' => true, 'combine_consecutive_unsets' => true, 'escape_implicit_backslashes' => true, From d484d439f56d2565c1bcce77ee0175fda971bebf Mon Sep 17 00:00:00 2001 From: nrg Date: Mon, 25 Jun 2018 16:24:36 +0200 Subject: [PATCH 3/3] test --- .php_cs.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php_cs.dist b/.php_cs.dist index 4e44ba24b..5e004847a 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -33,7 +33,7 @@ return Config::create() 'syntax' => 'short' ], 'native_constant_invocation' => [ - 'include' => [ "PHP_SAPI", "PHP_VERSION_ID" ], + 'fix_built_in' => false, ], 'combine_consecutive_issets' => true, 'combine_consecutive_unsets' => true,