-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from pug-php/fix/typing
Fix #58 Handle new Symfony Twig service key
- Loading branch information
Showing
9 changed files
with
127 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Hello, | ||
|
||
I encountered an issue when: | ||
|
||
**Provide here exact steps and/or minimal code chunk to reproduce the issue** | ||
|
||
Pug-Symfony version: **PUT HERE YOUR PUG-SYMFONY VERSION (exact version, not the range)** | ||
|
||
PHP version: **PUT HERE YOUR PHP VERSION** | ||
|
||
I expected to get: | ||
|
||
``` | ||
Put here expected result | ||
``` | ||
|
||
But I actually get: | ||
|
||
``` | ||
Put here the current error/output you get instead | ||
``` | ||
|
||
Thanks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Coverage | ||
|
||
on: | ||
push: | ||
branches: [ '**' ] | ||
pull_request: | ||
branches: [ '**' ] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ['ubuntu-latest'] | ||
php: ['7.4'] | ||
|
||
name: PHP ${{ matrix.php }} - ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer:v2 | ||
coverage: xdebug | ||
|
||
- name: Install dependencies | ||
run: composer update --prefer-dist --no-progress --no-suggest --prefer-stable ${{ matrix.php >= 8 && '--ignore-platform-req=php' || '' }}; | ||
|
||
- name: Run test suite | ||
run: vendor/bin/phpunit --verbose --coverage-text --coverage-clover=coverage.xml | ||
|
||
- name: Code Climate Test Reporter | ||
if: matrix.coverage | ||
uses: aktions/codeclimate-test-reporter@v1 | ||
with: | ||
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
command: after-build -t clover | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
continue-on-error: true | ||
|
||
- name: Coverage | ||
if: matrix.coverage | ||
run: bash <(curl -s https://codecov.io/bash) | ||
env: | ||
PHP_VERSION: ${{ matrix.php }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: [ '**' ] | ||
pull_request: | ||
branches: [ '**' ] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ['ubuntu-latest', 'windows-latest'] | ||
php: ['7.2', '7.3', '7.4', '8.0', '8.1'] | ||
|
||
name: PHP ${{ matrix.php }} - ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer:v2 | ||
coverage: none | ||
|
||
- name: Install dependencies | ||
run: composer update --prefer-dist --no-progress --no-suggest --prefer-stable ${{ matrix.php >= 8 && '--ignore-platform-req=php' || '' }}; | ||
|
||
- name: Run test suite | ||
run: vendor/bin/phpunit --verbose --no-coverage |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters