diff --git a/bundle-stubs/ServiceEntityRepository.php b/bundle-stubs/ServiceEntityRepository.phpstub similarity index 100% rename from bundle-stubs/ServiceEntityRepository.php rename to bundle-stubs/ServiceEntityRepository.phpstub diff --git a/src/Plugin.php b/src/Plugin.php index fe59793..768d950 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -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') ?: [] ); } @@ -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 diff --git a/stubs/ClassMetadata.php b/stubs/ClassMetadata.phpstub similarity index 100% rename from stubs/ClassMetadata.php rename to stubs/ClassMetadata.phpstub diff --git a/stubs/ClassMetadataInfo.php b/stubs/ClassMetadataInfo.phpstub similarity index 100% rename from stubs/ClassMetadataInfo.php rename to stubs/ClassMetadataInfo.phpstub diff --git a/stubs/Collections.php b/stubs/Collections.phpstub similarity index 100% rename from stubs/Collections.php rename to stubs/Collections.phpstub diff --git a/stubs/Connection.php b/stubs/Connection.phpstub similarity index 100% rename from stubs/Connection.php rename to stubs/Connection.phpstub diff --git a/stubs/DBAL/ExpressionBuilder.php b/stubs/DBAL/ExpressionBuilder.phpstub similarity index 100% rename from stubs/DBAL/ExpressionBuilder.php rename to stubs/DBAL/ExpressionBuilder.phpstub diff --git a/stubs/DBAL/QueryBuilder.php b/stubs/DBAL/QueryBuilder.phpstub similarity index 100% rename from stubs/DBAL/QueryBuilder.php rename to stubs/DBAL/QueryBuilder.phpstub diff --git a/stubs/EntityManager.php b/stubs/EntityManager.phpstub similarity index 100% rename from stubs/EntityManager.php rename to stubs/EntityManager.phpstub diff --git a/stubs/EntityManagerInterface.php b/stubs/EntityManagerInterface.phpstub similarity index 100% rename from stubs/EntityManagerInterface.php rename to stubs/EntityManagerInterface.phpstub diff --git a/stubs/EntityRepository.php b/stubs/EntityRepository.phpstub similarity index 100% rename from stubs/EntityRepository.php rename to stubs/EntityRepository.phpstub diff --git a/stubs/Expr.php b/stubs/Expr.phpstub similarity index 100% rename from stubs/Expr.php rename to stubs/Expr.phpstub diff --git a/stubs/ObjectManager.php b/stubs/ObjectManager.phpstub similarity index 100% rename from stubs/ObjectManager.php rename to stubs/ObjectManager.phpstub diff --git a/stubs/ObjectRepository.php b/stubs/ObjectRepository.phpstub similarity index 100% rename from stubs/ObjectRepository.php rename to stubs/ObjectRepository.phpstub diff --git a/stubs/Paginator.php b/stubs/Paginator.phpstub similarity index 100% rename from stubs/Paginator.php rename to stubs/Paginator.phpstub diff --git a/stubs/ParameterType.php b/stubs/ParameterType.phpstub similarity index 100% rename from stubs/ParameterType.php rename to stubs/ParameterType.phpstub diff --git a/stubs/QueryBuilder.php b/stubs/QueryBuilder.phpstub similarity index 100% rename from stubs/QueryBuilder.php rename to stubs/QueryBuilder.phpstub