Skip to content

Commit

Permalink
add php 8.3 support (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidz committed Oct 15, 2023
1 parent 60ba41b commit b5decc2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest ]
php-version: [ '8.1', '8.2' ]
php-version: [ '8.1', '8.2', '8.3' ]

name: Tests on ${{ matrix.operating-system }} with PHP ${{ matrix.php-version }}

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -46,4 +46,4 @@ jobs:
run: composer install --no-interaction --prefer-dist --no-progress

- name: Run PHP-CS-Fixer
run: make cs-check
run: make cs-check
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"source": "https://github.com/sidz/phpstan-rules"
},
"require": {
"php": "^8.1, <8.3",
"phpstan/phpstan": "^1.8",
"nikic/php-parser": "^4.14"
"php": "^8.1, <8.4",
"nikic/php-parser": "^4.14",
"phpstan/phpstan": "^1.8"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
Expand Down

0 comments on commit b5decc2

Please sign in to comment.