From f1f925191422cc0a85b772aa50986e7058561ed7 Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Mon, 18 Mar 2019 21:41:20 +0200 Subject: [PATCH] Move code to /src folder --- composer.json | 2 +- Plugin.php => src/Plugin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Plugin.php => src/Plugin.php (90%) diff --git a/composer.json b/composer.json index 33ea918..b3d5b0c 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ }, "autoload": { "psr-4": { - "Weirdan\\DoctrinePsalmPlugin\\": ["."] + "Weirdan\\DoctrinePsalmPlugin\\": ["src"] } }, "autoload-dev": { diff --git a/Plugin.php b/src/Plugin.php similarity index 90% rename from Plugin.php rename to src/Plugin.php index a1b084b..78c45cf 100644 --- a/Plugin.php +++ b/src/Plugin.php @@ -19,6 +19,6 @@ public function __invoke(RegistrationInterface $psalm, ?SimpleXMLElement $config /** @return string[] */ private function getStubFiles(): array { - return glob(__DIR__ . '/' . 'stubs/*\\.php'); + return glob(__DIR__ . '/' . '../stubs/*\\.php'); } }