From 8681edbc11e7acab0407a10f6d8f11e17a7d7f55 Mon Sep 17 00:00:00 2001 From: Rico Sonntag Date: Mon, 18 Mar 2024 11:01:42 +0100 Subject: [PATCH] Apply php-cs-fixer/rector rules --- phpunit.xml | 19 ------------------- src/Traits/ModuleCustomTrait.php | 8 ++++---- 2 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 phpunit.xml diff --git a/phpunit.xml b/phpunit.xml deleted file mode 100644 index 527407f..0000000 --- a/phpunit.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - ./test - - - - - ./src - - - diff --git a/src/Traits/ModuleCustomTrait.php b/src/Traits/ModuleCustomTrait.php index 857f2a6..2da9529 100644 --- a/src/Traits/ModuleCustomTrait.php +++ b/src/Traits/ModuleCustomTrait.php @@ -40,10 +40,10 @@ public function customModuleLatestVersionUrl(): string return self::CUSTOM_LATEST_VERSION; } -// protected function extractVersion(string $content): string -// { -// return json_decode($content, true)['tag_name'] ?? ''; -// } + // protected function extractVersion(string $content): string + // { + // return json_decode($content, true)['tag_name'] ?? ''; + // } public function customModuleLatestVersion(): string {