Skip to content

Commit 0263204

Browse files
Refactor all the things (#2)
1 parent 727e274 commit 0263204

19 files changed

Lines changed: 836 additions & 72 deletions

.github/workflows/php-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
laravel: [9, 10, 11, 12]
11+
laravel: [11, 12]
1212
php: [8.2, 8.3, 8.4]
1313

1414
steps:

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
ARG PHP_VERSION=8.2
22
FROM php:$PHP_VERSION-cli-alpine
33

4-
RUN apk add git zip unzip autoconf make g++
4+
RUN apk add git zip unzip autoconf make g++ libxml2-dev
5+
6+
RUN docker-php-ext-install simplexml
57

68
# apparently newer xdebug needs these now?
79
RUN apk add --update linux-headers
@@ -21,8 +23,8 @@ USER dev
2123

2224
COPY --chown=dev composer.json ./
2325

24-
ARG LARAVEL=9
25-
RUN composer require laravel/framework ^$LARAVEL.0
26+
ARG LARAVEL=12
27+
RUN composer require --no-interaction "laravel/framework:^${LARAVEL}.0"
2628

2729
COPY --chown=dev . .
2830

app/.gitkeep

Whitespace-only changes.

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
},
2121
"require": {
2222
"php": "^8.2",
23-
"laravel/framework": ">=9.0"
23+
"laravel/framework": "^11.0|^12.0"
2424
},
2525
"require-dev": {
2626
"larastan/larastan": "^2.0|^3.0",
27-
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0",
27+
"orchestra/testbench": "^9.0|^10.0",
2828
"php-parallel-lint/php-parallel-lint": "^1.4",
2929
"phpstan/extension-installer": "^1.4",
3030
"phpunit/phpunit": "^9.0|^10.0|^11.0",
@@ -79,4 +79,4 @@
7979
"phpstan/extension-installer": true
8080
}
8181
}
82-
}
82+
}

0 commit comments

Comments
 (0)