From b06fd3a9a6fd0f4b32fa191bb83b0439d4383005 Mon Sep 17 00:00:00 2001 From: riki137 Date: Wed, 4 Sep 2024 13:19:07 +0200 Subject: [PATCH] ci fix... --- .github/workflows/extensions_finder.yml | 2 +- src/Database/Database.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/extensions_finder.yml b/.github/workflows/extensions_finder.yml index 784ff82..65b3ac9 100644 --- a/.github/workflows/extensions_finder.yml +++ b/.github/workflows/extensions_finder.yml @@ -27,4 +27,4 @@ jobs: run: composer require dg/php-extensions-finder --dev - name: PHP extensions finder - run: vendor/bin/php-extensions-finder check src tests + run: php vendor/dg/php-extensions-finder/php-extensions-finder check src tests diff --git a/src/Database/Database.php b/src/Database/Database.php index 4338668..a4368de 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -217,6 +217,7 @@ private function getExtendedColumnSettings(array $column): array $fullType = $column['vendor']['type']; $pattern = '/(.*?)\((.*?)\)(.*)/'; preg_match($pattern, $fullType, $matches); + /** @var array $matches */ $type = trim($matches[1]); if (in_array($type, ['enum', 'set'])) { $values = str_replace("'", '', $matches[2]);