Skip to content

Commit

Permalink
#37 add support for PHP 8.3 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
khalyomede authored Nov 27, 2023
1 parent 6100d79 commit 3dbefde
Show file tree
Hide file tree
Showing 8 changed files with 1,493 additions and 886 deletions.
33 changes: 32 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
test:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand Down Expand Up @@ -46,3 +46,34 @@ jobs:

- name: Package version check
run: docker-compose run --rm composer run updates

test_82:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Install
run: docker-compose run --rm composer82 install

- name: Test (PHP latest)
run: docker-compose run --rm composer82 run test

- name: Static analysis
run: docker-compose run --rm composer82 run analyse

- name: Formatting
run: docker-compose run --rm composer82 run lint

- name: Modern code check
run: docker-compose run --rm composer82 run scan

- name: Package security
run: docker-compose run --rm composer82 run check

- name: Package version check
run: docker-compose run --rm composer82 run updates
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Added support for PHP 8.3 ([#37](https://github.com/khalyomede/laravel-eloquent-uuid-slug/issues/37)).

## [0.9.0] - 2023-02-14

### Breaking
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ The table below shows the compatibility across Laravel, PHP and this package **c

| Laravel version | PHP version | Compatible |
|-----------------|-------------|------------|
| 10.* | 8.3.* ||
| 10.* | 8.2.* ||
| 10.* | 8.1.* ||
| 9.* | 8.2.* ||
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
],
"minimum-stability": "stable",
"require-dev": {
"nunomaduro/collision": "7.0.2",
"friendsofphp/php-cs-fixer": "3.14.4",
"nunomaduro/larastan": "2.4.0",
"doctrine/dbal": "3.6.0",
"rector/rector": "0.15.15",
"orchestra/testbench": "8.0.0",
"phpunit/phpunit": "10.0.7"
"nunomaduro/collision": "7.10.0",
"friendsofphp/php-cs-fixer": "3.40.0",
"nunomaduro/larastan": "2.6.4",
"doctrine/dbal": "3.7.2",
"rector/rector": "0.18.11",
"orchestra/testbench": "8.15.0",
"phpunit/phpunit": "10.4.2"
},
"scripts": {
"test": "testbench package:test",
Expand Down
Loading

0 comments on commit 3dbefde

Please sign in to comment.