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
9 changes: 6 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: linter
on:
pull_request:
paths:
- '**.php'
- "**.php"
branches:
- master

Expand All @@ -19,17 +19,20 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
php-version: "8.4"

- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Run Rector
run: composer refactor

- name: Run Pint
run: composer lint

- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix code style
commit_options: '--no-verify'
commit_options: "--no-verify"
8 changes: 2 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
php: [8.3]
php: [8.3, 8.4, 8.5]
stability: [prefer-lowest, prefer-stable]
include:
- php: 8.3
- php: 8.5
stability: prefer-stable

name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
Expand All @@ -42,9 +42,5 @@ jobs:
- name: Type Tests
run: composer test:types

- name: Code Quality Tests
run: composer test:refactor

- name: Unit Tests
run: composer test:unit

19 changes: 9 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,20 @@
}
],
"require": {
"php": "^8.3",
"php": ">=8.3,<8.6",
"codelabmw/testament": "^2.0",
"guzzlehttp/guzzle": "^7.9"
"guzzlehttp/guzzle": "^7.10"
},
"require-dev": {
"laravel/pint": "^1.22.1",
"pestphp/pest": "^3.8.2",
"laravel/pint": "^1.29.0",
"pestphp/pest": "^3.8.6",
"pestphp/pest-plugin-arch": "^3.1.1",
"pestphp/pest-plugin-faker": "^3.0",
"pestphp/pest-plugin-watch": "^3.0",
"phpstan/phpstan": "^2.1.14",
"phpstan/phpstan-deprecation-rules": "^2.0.2",
"phpstan/phpstan-phpunit": "^2.0.6",
"rector/rector": "^2.0.15",
"symfony/var-dumper": "^7.2"
"phpstan/phpstan": "^2.1.46",
"phpstan/phpstan-deprecation-rules": "^2.0.4",
"phpstan/phpstan-phpunit": "^2.0.16",
"rector/rector": "^2.4.1",
"symfony/var-dumper": "^7.0 || ^8.0.8"
},
"scripts": {
"refactor": "rector",
Expand Down
Loading