Skip to content

Commit 4e0fe58

Browse files
committed
fix lint condition
1 parent 179f0d9 commit 4e0fe58

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Diff for: tests/PHPStan/Analyser/nsrt/bug-12902-non-strict.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 0); // lint >= 8.1
1+
<?php // lint >= 8.1
2+
3+
declare(strict_types = 0);
24

35
namespace Bug12902NonStrict;
46

Diff for: tests/PHPStan/Analyser/nsrt/bug-12902.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1); // lint >= 8.1
1+
<?php // lint >= 8.1
2+
3+
declare(strict_types = 1);
24

35
namespace Bug12902;
46

Diff for: tests/PHPStan/Analyser/nsrt/remember-non-nullable-property-non-strict.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 0); // lint >= 8.1
1+
<?php // lint >= 8.1
2+
3+
declare(strict_types = 0);
24

35
namespace RememberNonNullablePropertyWhenStrictTypesDisabled;
46

0 commit comments

Comments
 (0)