Skip to content

Commit

Permalink
Rename .php stubs to .phpstub
Browse files Browse the repository at this point in the history
Refs #60, #43 and #18
  • Loading branch information
weirdan committed Jun 20, 2020
1 parent 4c7958a commit 8a71fba
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public function __invoke(RegistrationInterface $psalm, ?SimpleXMLElement $config
private function getStubFiles(): array
{
return array_merge(
glob(__DIR__ . '/../stubs/*.php') ?: [],
glob(__DIR__ . '/../stubs/DBAL/*.php') ?: []
glob(__DIR__ . '/../stubs/*.phpstub') ?: [],
glob(__DIR__ . '/../stubs/DBAL/*.phpstub') ?: []
);
}

Expand All @@ -40,7 +40,7 @@ private function getBundleStubs(): array
return [];
}

return glob(__DIR__ . '/../' . 'bundle-stubs/*.php');
return glob(__DIR__ . '/../' . 'bundle-stubs/*.phpstub');
}

private function hasPackage(string $packageName): bool
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8a71fba

Please sign in to comment.