Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Sep 19, 2020
1 parent 72d1d79 commit 941643c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions tests/FileUpdates/AnalyzedMethodTest.php
Expand Up @@ -1181,8 +1181,7 @@ public function bar() : void {
namespace Foo;
class A {
/** @var string|null */
private $foo;
private ?string $foo;
public function __construct() {}
Expand All @@ -1196,8 +1195,7 @@ public function bar() : void {
namespace Foo;
class A {
/** @var string|null */
private $foo
private ?string $foo
public function __construct() {}
Expand All @@ -1208,13 +1206,13 @@ public function bar() : void {
],
'initial_analyzed_methods' => [
getcwd() . DIRECTORY_SEPARATOR . 'A.php' => [
'foo\a::__construct' => 1,
'foo\a::__construct' => 2,
'foo\a::bar' => 1,
],
],
'unaffected_analyzed_methods' => [
getcwd() . DIRECTORY_SEPARATOR . 'A.php' => [
'foo\a::__construct' => 1,
'foo\a::__construct' => 2,
],
],
],
Expand All @@ -1224,8 +1222,7 @@ public function bar() : void {
namespace Foo;
class A {
/** @var string|null */
private $foo
private ?string $foo
public function __construct() {}
Expand All @@ -1239,8 +1236,7 @@ public function bar() : void {
namespace Foo;
class A {
/** @var string|null */
private $foo;
private ?string $foo;
public function __construct() {}
Expand Down

0 comments on commit 941643c

Please sign in to comment.