Skip to content

Commit c58a676

Browse files
authored
Merge b0041cd into ecc1b60
2 parents ecc1b60 + b0041cd commit c58a676

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ $input->getFilterChain()->attachByName('Null', ['type' => Null::TYPE_STRING]);
8484

8585
// Issue #3332 - ignore type declarations, but not default values.
8686
class TypedThings {
87-
const MYCONST = FALSE;
87+
const MYCONST = FALSE;
8888

89-
public int|FALSE $int = FALSE;
90-
public Type|NULL $int = new MyObj(NULL);
89+
public int|FALSE $int = FALSE;
90+
public Type|NULL $int = new MyObj(NULL);
9191

92-
private function typed(int|FALSE $param = NULL, Type|NULL $obj = new MyObj(FALSE)) : string|FALSE|NULL
93-
{
94-
if (TRUE === FALSE) {
95-
return NULL;
92+
private function typed(int|FALSE $param = NULL, Type|NULL $obj = new MyObj(FALSE)) : string|FALSE|NULL
93+
{
94+
if (TRUE === FALSE) {
95+
return NULL;
9696
}
9797
}
9898
}

src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc.fixed

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ $input->getFilterChain()->attachByName('Null', ['type' => Null::TYPE_STRING]);
8484

8585
// Issue #3332 - ignore type declarations, but not default values.
8686
class TypedThings {
87-
const MYCONST = false;
87+
const MYCONST = false;
8888

89-
public int|FALSE $int = false;
90-
public Type|NULL $int = new MyObj(null);
89+
public int|FALSE $int = false;
90+
public Type|NULL $int = new MyObj(null);
9191

92-
private function typed(int|FALSE $param = null, Type|NULL $obj = new MyObj(false)) : string|FALSE|NULL
93-
{
94-
if (true === false) {
95-
return null;
92+
private function typed(int|FALSE $param = null, Type|NULL $obj = new MyObj(false)) : string|FALSE|NULL
93+
{
94+
if (true === false) {
95+
return null;
9696
}
9797
}
9898
}

src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ function true() {}
8282

8383
// Issue #3332 - ignore type declarations, but not default values.
8484
class TypedThings {
85-
const MYCONST = false;
85+
const MYCONST = false;
8686

87-
public int|false $int = false;
88-
public Type|null $int = new MyObj(null);
87+
public int|false $int = false;
88+
public Type|null $int = new MyObj(null);
8989

90-
private function typed(int|false $param = null, Type|null $obj = new MyObj(false)) : string|false|null
91-
{
92-
if (true === false) {
93-
return null;
90+
private function typed(int|false $param = null, Type|null $obj = new MyObj(false)) : string|false|null
91+
{
92+
if (true === false) {
93+
return null;
9494
}
9595
}
9696
}

src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc.fixed

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ function true() {}
8282

8383
// Issue #3332 - ignore type declarations, but not default values.
8484
class TypedThings {
85-
const MYCONST = FALSE;
85+
const MYCONST = FALSE;
8686

87-
public int|false $int = FALSE;
88-
public Type|null $int = new MyObj(NULL);
87+
public int|false $int = FALSE;
88+
public Type|null $int = new MyObj(NULL);
8989

90-
private function typed(int|false $param = NULL, Type|null $obj = new MyObj(FALSE)) : string|false|null
91-
{
92-
if (TRUE === FALSE) {
93-
return NULL;
90+
private function typed(int|false $param = NULL, Type|null $obj = new MyObj(FALSE)) : string|false|null
91+
{
92+
if (TRUE === FALSE) {
93+
return NULL;
9494
}
9595
}
9696
}

0 commit comments

Comments
 (0)