Skip to content

Commit 6457e6d

Browse files
ondrejmirtesclaude
andcommitted
Add required lint version comments to the bug-7905 fixtures
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CGhnJQpUWRRpg6H5LuWJkA
1 parent 47fb6eb commit 6457e6d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎tests/PHPStan/Analyser/nsrt/bug-7905.php‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php // lint >= 8.0
2+
3+
declare(strict_types = 1);
24

35
namespace Bug7905;
46

‎tests/PHPStan/Rules/Arrays/data/bug-7905.php‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php // lint >= 8.0
2+
3+
declare(strict_types = 1);
24

35
namespace Bug7905Rule;
46

0 commit comments

Comments
 (0)