Skip to content

Commit

Permalink
ci fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
riki137 committed Sep 4, 2024
1 parent 86b2580 commit b06fd3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/extensions_finder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions src/Database/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ private function getExtendedColumnSettings(array $column): array
$fullType = $column['vendor']['type'];
$pattern = '/(.*?)\((.*?)\)(.*)/';
preg_match($pattern, $fullType, $matches);
/** @var array<int, string> $matches */
$type = trim($matches[1]);
if (in_array($type, ['enum', 'set'])) {
$values = str_replace("'", '', $matches[2]);
Expand Down

0 comments on commit b06fd3a

Please sign in to comment.