Skip to content

Commit

Permalink
Implement sqlftw/sqlftw sql parser based type narrowing (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Feb 16, 2023
1 parent 265f6fd commit 7f5fc7e
Show file tree
Hide file tree
Showing 37 changed files with 24,060 additions and 7,830 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ jobs:
with:
composer-options: "--prefer-dist --no-progress"

- name: Install sqlftw/sqlftw
run: composer require sqlftw/sqlftw --ignore-platform-req=php+
if: "${{matrix.php-version != '7.3'}}"

- name: Enable phpstan@dev
if: "${{matrix.phpstan-version != ''}}"
run: |
Expand Down Expand Up @@ -123,4 +127,8 @@ jobs:
with:
composer-options: "--prefer-dist --no-progress"

- name: Install sqlftw/sqlftw
run: composer require sqlftw/sqlftw --ignore-platform-req=php+
if: "${{matrix.php-version != '7.3'}}"

- run: composer phpstan
6 changes: 5 additions & 1 deletion .github/workflows/tests-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ jobs:

- uses: "ramsey/composer-install@v2"
with:
composer-options: "--prefer-dist --no-progress"
composer-options: "--prefer-dist --no-progress"

- name: Install sqlftw/sqlftw
run: composer require sqlftw/sqlftw --ignore-platform-req=php+
if: "${{matrix.php-version != '7.3'}}"

- name: Setup Problem Matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ jobs:
# ignore php8.2 requirement error https://github.com/sebastianbergmann/phpunit/issues/5033
composer-options: "--prefer-dist --no-progress --ignore-platform-req=php+"

- name: Install sqlftw/sqlftw
run: composer require sqlftw/sqlftw --ignore-platform-req=php+
if: "${{matrix.php-version != '7.3'}}"

- name: Setup Problem Matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

Expand Down Expand Up @@ -144,6 +148,10 @@ jobs:
# ignore php8.2 requirement error https://github.com/sebastianbergmann/phpunit/issues/5033
composer-options: "--prefer-dist --no-progress --ignore-platform-req=php+"

- name: Install sqlftw/sqlftw
run: composer require sqlftw/sqlftw --ignore-platform-req=php+
if: "${{matrix.php-version != '7.3'}}"

- name: Setup Problem Matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

Expand Down
Loading

0 comments on commit 7f5fc7e

Please sign in to comment.