diff --git a/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc b/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc index 396cf6a4a0..8672732714 100644 --- a/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc +++ b/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc @@ -84,15 +84,15 @@ $input->getFilterChain()->attachByName('Null', ['type' => Null::TYPE_STRING]); // Issue #3332 - ignore type declarations, but not default values. class TypedThings { - const MYCONST = FALSE; + const MYCONST = FALSE; - public int|FALSE $int = FALSE; - public Type|NULL $int = new MyObj(NULL); + public int|FALSE $int = FALSE; + public Type|NULL $int = new MyObj(NULL); - private function typed(int|FALSE $param = NULL, Type|NULL $obj = new MyObj(FALSE)) : string|FALSE|NULL - { - if (TRUE === FALSE) { - return NULL; + private function typed(int|FALSE $param = NULL, Type|NULL $obj = new MyObj(FALSE)) : string|FALSE|NULL + { + if (TRUE === FALSE) { + return NULL; } } } diff --git a/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc.fixed b/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc.fixed index 96b1c78de6..edca74f586 100644 --- a/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc.fixed +++ b/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc.fixed @@ -84,15 +84,15 @@ $input->getFilterChain()->attachByName('Null', ['type' => Null::TYPE_STRING]); // Issue #3332 - ignore type declarations, but not default values. class TypedThings { - const MYCONST = false; + const MYCONST = false; - public int|FALSE $int = false; - public Type|NULL $int = new MyObj(null); + public int|FALSE $int = false; + public Type|NULL $int = new MyObj(null); - private function typed(int|FALSE $param = null, Type|NULL $obj = new MyObj(false)) : string|FALSE|NULL - { - if (true === false) { - return null; + private function typed(int|FALSE $param = null, Type|NULL $obj = new MyObj(false)) : string|FALSE|NULL + { + if (true === false) { + return null; } } } diff --git a/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc b/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc index 30c6d2980d..9982db3eb0 100644 --- a/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc +++ b/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc @@ -82,15 +82,15 @@ function true() {} // Issue #3332 - ignore type declarations, but not default values. class TypedThings { - const MYCONST = false; + const MYCONST = false; - public int|false $int = false; - public Type|null $int = new MyObj(null); + public int|false $int = false; + public Type|null $int = new MyObj(null); - private function typed(int|false $param = null, Type|null $obj = new MyObj(false)) : string|false|null - { - if (true === false) { - return null; + private function typed(int|false $param = null, Type|null $obj = new MyObj(false)) : string|false|null + { + if (true === false) { + return null; } } } diff --git a/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc.fixed b/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc.fixed index 7705198c81..858a221c34 100644 --- a/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc.fixed +++ b/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc.fixed @@ -82,15 +82,15 @@ function true() {} // Issue #3332 - ignore type declarations, but not default values. class TypedThings { - const MYCONST = FALSE; + const MYCONST = FALSE; - public int|false $int = FALSE; - public Type|null $int = new MyObj(NULL); + public int|false $int = FALSE; + public Type|null $int = new MyObj(NULL); - private function typed(int|false $param = NULL, Type|null $obj = new MyObj(FALSE)) : string|false|null - { - if (TRUE === FALSE) { - return NULL; + private function typed(int|false $param = NULL, Type|null $obj = new MyObj(FALSE)) : string|false|null + { + if (TRUE === FALSE) { + return NULL; } } }