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]);