Skip to content

Commit

Permalink
Add php 8.3 support (#105)
Browse files Browse the repository at this point in the history
* Add php 8.3 support

* Fix faker deprecation issue
  • Loading branch information
gdebrauwer authored Jan 18, 2024
1 parent 2f34039 commit 3b1e2d5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pest-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
coverage: xdebug

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 8.2, 8.1 ]
php: [ 8.3, 8.2, 8.1 ]
laravel: [ 10.* ]
db: [ 'mysql:8.0', 'mysql:5.7', 'mariadb:10.9' ]
dependency-version: [ prefer-lowest, prefer-stable ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
coverage: none

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 8.2, 8.1 ]
php: [ 8.3, 8.2, 8.1 ]

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions tests/TestFactories/TestPlaceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class TestPlaceFactory extends Factory
public function definition(): array
{
return [
'name' => $this->faker->streetName,
'address' => $this->faker->address,
'name' => $this->faker->streetName(),
'address' => $this->faker->address(),
];
}
}

0 comments on commit 3b1e2d5

Please sign in to comment.