Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/php_84.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PHP 8.4
on: push

jobs:
build:
name: Static analysis, unit tests, and linting
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup PHP 8.4
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
tools: composer

- name: Cache Composer dependencies
uses: actions/cache@v5
with:
path: ./vendor
key: composer-${{ runner.os }}-8.4

- name: Install dependencies
run: |
composer install

- name: Run PHPStan
run: |
./vendor/bin/phpstan

- name: PHP Code Sniffer
run: |
./vendor/bin/phpcs

- name: Run PHPUnit
run: |
./vendor/bin/phpunit
39 changes: 39 additions & 0 deletions .github/workflows/php_85.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PHP 8.5
on: push

jobs:
build:
name: Static analysis, unit tests, and linting
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup PHP 8.5
uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
tools: composer

- name: Cache Composer dependencies
uses: actions/cache@v5
with:
path: ./vendor
key: composer-${{ runner.os }}-8.5

- name: Install dependencies
run: |
composer install

- name: Run PHPStan
run: |
./vendor/bin/phpstan

- name: PHP Code Sniffer
run: |
./vendor/bin/phpcs

- name: Run PHPUnit
run: |
./vendor/bin/phpunit
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
composer.phar
composer.lock
vendor/
storage/
.phpunit.cache
.phpunit.result.cache
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ parameters:
paths:
- src
- tests
tmpDir: /var/www/html/storage/phpstan-cache
reportUnmatchedIgnoredErrors: true

includes:
Expand Down