Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jun 17, 2022
1 parent 0f0c555 commit 86c4ccb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions tests/PhpGenerator/expected/Extractor.bodies.expect
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,32 @@ use const BAR;

abstract class Class7
{
abstract public function abstractFun();
abstract function abstractFun();


public function emptyFun()
function emptyFun()
{
}


public function emptyFun2()
function emptyFun2()
{
}


public function simple()
function simple()
{
return 1;
}


public function simple2()
function simple2()
{
return 1;
}


public function long()
function long()
{
if ($member instanceof Method) {
$s = [1, 2, 3];
Expand All @@ -47,7 +47,7 @@ abstract class Class7
}


public function resolving($a = a\FOO, self $b = null, $c = self::FOO)
function resolving($a = a\FOO, self $b = null, $c = self::FOO)
{
echo FOO;
echo \FOO;
Expand All @@ -67,7 +67,7 @@ abstract class Class7
}


public function complex()
function complex()
{
echo 1;
// single line comment
Expand Down
4 changes: 2 additions & 2 deletions tests/PhpGenerator/expected/Extractor.enum.expect
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ enum Enum1
case Hearts;
case Spades;

public const FOO = 123;
public const BAR = self::Clubs;
const FOO = 123;
const BAR = self::Clubs;

public function foo($x = self::Diamonds)
{
Expand Down

0 comments on commit 86c4ccb

Please sign in to comment.