Skip to content

Commit ab45cc8

Browse files
committed
Update bug-7387-php8.php
1 parent f477c1b commit ab45cc8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use PHPStan\Internal\CombinationsHelper;
99
use PHPStan\Reflection\FunctionReflection;
1010
use PHPStan\Reflection\InitializerExprTypeResolver;
11-
use PHPStan\ShouldNotHappenException;
1211
use PHPStan\Type\Accessory\AccessoryNonEmptyStringType;
1312
use PHPStan\Type\Accessory\AccessoryNonFalsyStringType;
1413
use PHPStan\Type\Accessory\AccessoryNumericStringType;

tests/PHPStan/Analyser/nsrt/bug-7387-php8.php

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

33
namespace Bug7387Php8;
44

0 commit comments

Comments
 (0)