Skip to content

Commit 0003e87

Browse files
committed
fix tests
1 parent b79bf43 commit 0003e87

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

tests/PHPStan/Rules/Classes/data/instantiation-named-arguments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php // lint >= 8.0
22

33
namespace InstantiationNamedArguments;
4-
4+
if (PHP_VERSION_ID < 80000) return;
55
class Foo
66
{
77

tests/PHPStan/Rules/Functions/data/callables-named-arguments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
namespace CallablesNamedArguments;
4-
4+
if (PHP_VERSION_ID < 80000) return;
55
class Foo
66
{
77

tests/PHPStan/Rules/Functions/data/named-arguments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
namespace FunctionNamedArguments;
4-
4+
if (PHP_VERSION_ID < 80000) return;
55
function bar(): void
66
{
77
foo(i: 1);

tests/PHPStan/Rules/Methods/data/bug-4800.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php // lint >= 8.0
22

33
namespace Bug4800;
4-
4+
if (PHP_VERSION_ID < 80000) return;
55
class HelloWorld
66
{
77
/**

tests/PHPStan/Rules/Methods/data/named-arguments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
namespace NamedArgumentsMethod;
4-
4+
if (PHP_VERSION_ID < 80000) return;
55
class Foo
66
{
77

tests/PHPStan/Rules/Methods/data/static-method-named-arguments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
namespace StaticMethodNamedArguments;
4-
4+
if (PHP_VERSION_ID < 80000) return;
55
class Foo
66
{
77

0 commit comments

Comments
 (0)