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
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up php 8.1
- name: Set up php 8.2
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Install dependencies
run: composer self-update && composer install && composer dump-autoload
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
php-versions: ["8.1"]
php-versions: ["8.2"]

steps:
- name: Checkout Code
Expand All @@ -24,4 +24,4 @@ jobs:
run: composer update --no-progress --prefer-dist --optimize-autoloader

- name: Run Tests
run: composer run-script static-analyse
run: composer run-script static-analyse
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
php-versions: ["8.1", "8.2", "8.3", "8.4"]
php-versions: ["8.2", "8.3", "8.4", "8.5"]

steps:
- name: Checkout Code
Expand All @@ -24,4 +24,4 @@ jobs:
run: composer update --no-progress --prefer-dist --optimize-autoloader

- name: Run Tests
run: composer run-script test
run: composer run-script test
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
vendor
.phpunit.cache
php_errors.log
composer.lock
composer.lock
.DS_Store
coverage-report
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
}
},
"require": {
"php": ">=8.1"
"php": ">=8.2"
},
"require-dev": {
"phpunit/phpunit": "^10",
"phpstan/phpstan": "^1.11",
"lkrms/pretty-php": "^0.4.72"
},
"scripts": {
"coverage": "XDEBUG_MODE=coverage composer test -- --coverage-html coverage-report",
"test": "phpunit",
"static-analyse": "phpstan analyse --configuration phpstan.neon.dist",
"pretty-php": "pretty-php src tests"
Expand Down