Skip to content

Commit 8385cc2

Browse files
committed
Add PHP 8.4 tests
1 parent 6d4a343 commit 8385cc2

File tree

5 files changed

+40
-166
lines changed

5 files changed

+40
-166
lines changed

.docker/php/php84/Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# ----------------------
2+
# The FPM base container
3+
# ----------------------
4+
FROM php:8.4-cli-alpine AS dev
5+
6+
RUN apk add --no-cache --virtual .build-deps \
7+
$PHPIZE_DEPS
8+
9+
# Cleanup apk cache and temp files
10+
RUN rm -rf /var/cache/apk/* /tmp/*
11+
12+
# ----------------------
13+
# Composer install step
14+
# ----------------------
15+
16+
# Get latest Composer
17+
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
18+
19+
# ----------------------
20+
# The FPM production container
21+
# ----------------------
22+
FROM dev

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
os: [ubuntu-latest]
15-
php: [8.0, 8.1, 8.2, 8.3]
15+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
1616
laravel: ['9.*', '10.*', '11.*', '12.*']
1717
dependency-version: [prefer-lowest, prefer-stable]
1818
exclude:
1919
- laravel: 9.*
2020
php: 8.2
2121
- laravel: 9.*
2222
php: 8.3
23+
- laravel: 9.*
24+
php: 8.4
2325
- laravel: 10.*
2426
php: 8.0
2527
- laravel: 11.*

CHANGELOG.md

Lines changed: 2 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -1,166 +1,5 @@
11
# Changelog
22

3-
All notable changes to `cybercog/laravel-optimus` will be documented in this file.
3+
All notable changes to `cybercog/laravel-optimus` are documented in [Laravel Optimus releases] page.
44

5-
## [Unreleased]
6-
7-
## [3.11.0] - 2024-03-09
8-
9-
### Added
10-
11-
- ([#41]) Added Laravel 11 support
12-
13-
## [3.10.0] - 2023-09-13
14-
15-
### Added
16-
17-
- ([#38]) Support Route Scope Binding
18-
19-
## [3.9.0] - 2023-03-01
20-
21-
### Added
22-
23-
- ([#35]) Added Laravel 10 support
24-
25-
### Removed
26-
27-
- ([#35]) Dropped Laravel 5.5 support
28-
- ([#35]) Dropped Laravel 5.6 support
29-
- ([#35]) Dropped Laravel 5.7 support
30-
- ([#35]) Dropped Laravel 5.8 support
31-
- ([#35]) Dropped Laravel 6 support
32-
- ([#35]) Dropped Laravel 7 support
33-
- ([#35]) Dropped PHP 7.1 support
34-
- ([#35]) Dropped PHP 7.2 support
35-
- ([#35]) Dropped PHP 7.3 support
36-
37-
## [3.8.0] - 2022-02-11
38-
39-
### Added
40-
41-
- ([#32]) Added Laravel 9 support
42-
43-
## [3.7.0] - 2021-05-26
44-
45-
### Added
46-
47-
- ([#30]) Added custom route key support
48-
- ([#31]) Added default custom route key support
49-
50-
## [3.6.0] - 2020-12-31
51-
52-
### Added
53-
54-
- ([#27]) PHP 8.x support
55-
56-
## [3.5.0] - 2020-09-09
57-
58-
### Added
59-
60-
- ([#25]) Laravel 8.x support
61-
62-
## [3.4.2] - 2020-03-06
63-
64-
### Added
65-
66-
- ([#23]) Laravel 7.x support
67-
68-
## [3.4.1] - 2020-02-29
69-
70-
## Fixed
71-
72-
- ([#22]) Handle string route values in `resolveRouteBinding` method
73-
74-
## [3.4.0] - 2019-09-04
75-
76-
### Added
77-
78-
- ([#20]) Laravel 6 support
79-
80-
## [3.3.0] - 2019-02-26
81-
82-
### Added
83-
84-
- ([#15]) Laravel 5.8 support
85-
86-
## [3.2.0] - 2018-11-10
87-
88-
### Fixed
89-
90-
- ([#14]) Fixed Lumen support in `OptimusEncodedRouteKey` trait
91-
92-
## [3.1.0] - 2017-09-09
93-
94-
### Added
95-
96-
- ([#13]) Laravel 5.7 support
97-
98-
## [3.0.0] - 2017-02-14
99-
100-
### Added
101-
102-
- ([#11]) Laravel 5.6 support
103-
104-
### Changed
105-
106-
- ([#11]) Minimum PHP required 7.1.3 because of manager dependency
107-
108-
### Removed
109-
110-
- ([#11]) Dropped support of Laravel lower than 5.5
111-
112-
## [2.1.0] - 2017-10-16
113-
114-
### Added
115-
116-
- ([#6]) Implicit route model binding
117-
118-
## [2.0.0] - 2017-09-09
119-
120-
### Added
121-
122-
- Laravel 5.5 support
123-
- Service provider and facade auto-discovery
124-
125-
### Changed
126-
127-
- Namespace `Cog\Optimus` renamed to `Cog\Laravel\Optimus`
128-
129-
## 1.0.0 - 2017-01-01
130-
131-
Initial release
132-
133-
[Unreleased]: https://github.com/cybercog/laravel-optimus/compare/3.11.0...master
134-
[3.11.0]: https://github.com/cybercog/laravel-optimus/compare/3.10.0...3.11.0
135-
[3.10.0]: https://github.com/cybercog/laravel-optimus/compare/3.9.0...3.10.0
136-
[3.9.0]: https://github.com/cybercog/laravel-optimus/compare/3.8.0...3.9.0
137-
[3.8.0]: https://github.com/cybercog/laravel-optimus/compare/3.7.0...3.8.0
138-
[3.7.0]: https://github.com/cybercog/laravel-optimus/compare/3.6.0...3.7.0
139-
[3.6.0]: https://github.com/cybercog/laravel-optimus/compare/3.5.0...3.6.0
140-
[3.5.0]: https://github.com/cybercog/laravel-optimus/compare/3.4.2...3.5.0
141-
[3.4.2]: https://github.com/cybercog/laravel-optimus/compare/3.4.1...3.4.2
142-
[3.4.1]: https://github.com/cybercog/laravel-optimus/compare/3.4.0...3.4.1
143-
[3.4.0]: https://github.com/cybercog/laravel-optimus/compare/3.3.0...3.4.0
144-
[3.3.0]: https://github.com/cybercog/laravel-optimus/compare/3.2.0...3.3.0
145-
[3.2.0]: https://github.com/cybercog/laravel-optimus/compare/3.1.0...3.2.0
146-
[3.1.0]: https://github.com/cybercog/laravel-optimus/compare/3.0.0...3.1.0
147-
[3.0.0]: https://github.com/cybercog/laravel-optimus/compare/2.1.0...3.0.0
148-
[2.1.0]: https://github.com/cybercog/laravel-optimus/compare/2.0.0...2.1.0
149-
[2.0.0]: https://github.com/cybercog/laravel-optimus/compare/1.0.0...2.0.0
150-
151-
[#41]: https://github.com/cybercog/laravel-optimus/pull/41
152-
[#38]: https://github.com/cybercog/laravel-optimus/pull/38
153-
[#35]: https://github.com/cybercog/laravel-optimus/pull/35
154-
[#32]: https://github.com/cybercog/laravel-optimus/pull/32
155-
[#31]: https://github.com/cybercog/laravel-optimus/pull/31
156-
[#30]: https://github.com/cybercog/laravel-optimus/pull/30
157-
[#27]: https://github.com/cybercog/laravel-optimus/pull/27
158-
[#25]: https://github.com/cybercog/laravel-optimus/pull/25
159-
[#23]: https://github.com/cybercog/laravel-optimus/pull/23
160-
[#22]: https://github.com/cybercog/laravel-optimus/pull/22
161-
[#20]: https://github.com/cybercog/laravel-optimus/pull/20
162-
[#15]: https://github.com/cybercog/laravel-optimus/pull/15
163-
[#14]: https://github.com/cybercog/laravel-optimus/pull/14
164-
[#13]: https://github.com/cybercog/laravel-optimus/pull/13
165-
[#11]: https://github.com/cybercog/laravel-optimus/pull/11
166-
[#6]: https://github.com/cybercog/laravel-optimus/pull/6
5+
[Laravel Optimus releases]: https://github.com/cybercog/laravel-optimus/releases

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
"graham-campbell/manager": "^5.0",
3939
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0",
4040
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0",
41-
"jenssegers/optimus": "^0.2.2|^1.1"
41+
"jenssegers/optimus": "^0.2.2"
4242
},
4343
"require-dev": {
4444
"graham-campbell/testbench": "^6.0",
4545
"mockery/mockery": "^1.0",
46-
"phpunit/phpunit": "^9.6|^10.5"
46+
"phpunit/phpunit": "^9.6|^10.5|^11.5.3"
4747
},
4848
"autoload": {
4949
"psr-4": {

docker-compose.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,14 @@ services:
3232
working_dir: /app
3333
volumes:
3434
- ./:/app
35+
36+
php84:
37+
container_name: laravel-optimus-lib-84
38+
image: laravel-optimus-lib-84
39+
build:
40+
context: ./
41+
dockerfile: ./.docker/php/php84/Dockerfile
42+
tty: true
43+
working_dir: /app
44+
volumes:
45+
- ./:/app

0 commit comments

Comments
 (0)