Skip to content

Commit 613528b

Browse files
committed
Renames test fixture files for clarity
Updates test case to use more descriptive names for fixture files, improving readability and maintainability of the test suite.
1 parent 70cc184 commit 613528b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

tests/Bridge/PHPStan/Fixtures/preg_replace_callback_array.php renamed to tests/Bridge/PHPStan/Fixtures/PregReplaceCallbackArray.php

File renamed without changes.

tests/Bridge/PHPStan/PregValidationRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class PregValidationRuleTest extends RuleTestCase
2424
{
2525
public function test_rule(): void
2626
{
27-
$this->analyse([__DIR__.'/Fixtures/fixture.php'], [
27+
$this->analyse([__DIR__.'/Fixtures/MyClass.php'], [
2828
[
2929
'Regex syntax error: No closing delimiter "/" found.',
3030
21,
@@ -87,7 +87,7 @@ public function test_rule(): void
8787

8888
public function test_preg_replace_callback_array(): void
8989
{
90-
$this->analyse([__DIR__.'/Fixtures/preg_replace_callback_array.php'], [
90+
$this->analyse([__DIR__.'/Fixtures/PregReplaceCallbackArray.php'], [
9191
[
9292
'Regex syntax error: No closing delimiter "/" found.',
9393
20,

0 commit comments

Comments
 (0)