Skip to content

Commit

Permalink
Merge pull request #105 from tanhongit/main
Browse files Browse the repository at this point in the history
chore: update workflow and routes
  • Loading branch information
tanhongit authored Nov 12, 2023
2 parents 6173ffe + 876f0ae commit 8296313
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,20 @@ on: [push, pull_request]
jobs:
phpstan:
runs-on: ubuntu-latest
name: PHPStan - P${{ matrix.php }}

strategy:
matrix:
os: [ ubuntu-latest ]
php: [ '8.1', '8.2', '8.3' ]

steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@2.26.0
with:
php-version: '8.1'
php-version: ${{ matrix.php }}

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$finder = Symfony\Component\Finder\Finder::create()
->in([
__DIR__ . '/src',
__DIR__ . '/webhooks',
__DIR__ . '/webhook',
])
->name('*.php')
->ignoreDotFiles(true)
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ parameters:
level: 8
paths:
- src
- webhooks
- webhook
tmpDir: build/phpstan
checkMissingIterableValueType: false
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8296313

Please sign in to comment.