Skip to content

Commit 4b662fd

Browse files
authored
Merge pull request #64 from weirdan/rename-stubs
Rename stubs from *.php to *.phpstub
2 parents e997675 + 5128529 commit 4b662fd

7 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/Plugin.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ class Plugin implements PluginEntryPointInterface
1515
/** @return void */
1616
public function __invoke(RegistrationInterface $psalm, SimpleXMLElement $config = null)
1717
{
18-
$psalm->addStubFile(__DIR__ . '/../stubs/Assert.php');
18+
$psalm->addStubFile(__DIR__ . '/../stubs/Assert.phpstub');
1919
if ($this->packageVersionIs('phpunit/phpunit', '>=', '7.5')) {
20-
$psalm->addStubFile(__DIR__ . '/../stubs/Assert_75.php');
20+
$psalm->addStubFile(__DIR__ . '/../stubs/Assert_75.phpstub');
2121
}
22-
$psalm->addStubFile(__DIR__ . '/../stubs/TestCase.php');
23-
$psalm->addStubFile(__DIR__ . '/../stubs/MockBuilder.php');
24-
$psalm->addStubFile(__DIR__ . '/../stubs/InvocationMocker.php');
25-
$psalm->addStubFile(__DIR__ . '/../stubs/Prophecy.php');
22+
$psalm->addStubFile(__DIR__ . '/../stubs/TestCase.phpstub');
23+
$psalm->addStubFile(__DIR__ . '/../stubs/MockBuilder.phpstub');
24+
$psalm->addStubFile(__DIR__ . '/../stubs/InvocationMocker.phpstub');
25+
$psalm->addStubFile(__DIR__ . '/../stubs/Prophecy.phpstub');
2626

2727
class_exists(Hooks\TestCaseHandler::class, true);
2828
$psalm->registerHooksFromClass(Hooks\TestCaseHandler::class);
File renamed without changes.

0 commit comments

Comments
 (0)