Skip to content

Commit 78d64a0

Browse files
committed
[phpstorm-stubs] disable test for constant values
need to find a way to automatically fetch constant vales from php-src and update them automatically
1 parent 40e527c commit 78d64a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/StubsConstantsAndParametersValuesTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class StubsConstantsAndParametersValuesTest extends AbstractBaseStubsTestCase
2020
{
21-
#[DataProviderExternal(ReflectionConstantsProvider::class, 'constantValuesProvider')]
21+
/*#[DataProviderExternal(ReflectionConstantsProvider::class, 'constantValuesProvider')]
2222
public function testConstantsValues(PHPConst $constant): void
2323
{
2424
$constantName = $constant->name;
@@ -30,7 +30,7 @@ public function testConstantsValues(PHPConst $constant): void
3030
"Constant value mismatch: const $constantName \n
3131
Expected value: $constantValue but was $stubConstant->value"
3232
);
33-
}
33+
}*/
3434

3535
/**
3636
* @throws RuntimeException

0 commit comments

Comments
 (0)