File tree Expand file tree Collapse file tree 12 files changed +107
-37
lines changed Expand file tree Collapse file tree 12 files changed +107
-37
lines changed Original file line number Diff line number Diff line change 1515 fail-fast : true
1616 matrix :
1717 os : [ ubuntu-latest ]
18- php : [ 8.2 ]
18+ php : [ 8.4 ]
1919 dependency-version : [ prefer-stable ]
2020
2121 name : P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
Original file line number Diff line number Diff line change 1515 fail-fast : true
1616 matrix :
1717 os : [ ubuntu-latest ]
18- php : [ 8.2 ]
18+ php : [ 8.4 ]
1919 dependency-version : [ prefer-stable ]
2020
2121 name : P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
Original file line number Diff line number Diff line change 1515 fail-fast : true
1616 matrix :
1717 os : [ ubuntu-latest ]
18- php : [ 8.0 , 8.1, 8.2 ]
18+ php : [ 8.3 , 8.4 ]
1919 dependency-version : [ prefer-lowest, prefer-stable ]
2020
2121 name : P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -9,6 +9,17 @@ This changelog is initialized in release 1.0.0
99
1010## [ Unreleased]
1111
12+ ## [ v3.0.0] - 2025-02-26
13+
14+ ### Added
15+ * Laravel 12 support
16+
17+ ### Changed
18+ * Update minimum required PHP version to 8.3
19+
20+ ### Removed
21+ * Laravel 9 and 10 support
22+
1223## [ v2.1.0] - 2024-05-06
1324
1425### Added
Original file line number Diff line number Diff line change 1+ FROM php:8.4-cli-alpine
2+
3+ RUN apk add --no-cache --virtual .build-deps \
4+ $PHPIZE_DEPS \
5+ && apk add --no-cache \
6+ shadow \
7+ && pecl install \
8+ pcov \
9+ && docker-php-ext-enable \
10+ pcov \
11+ && apk del -f .build-deps \
12+ && rm -rf /tmp/pear
13+
14+ ARG PUID=1000
15+ ENV PUID=${PUID}
16+ ARG PGID=1000
17+ ENV PGID=${PGID}
18+
19+ RUN groupmod -o -g ${PGID} nobody && \
20+ usermod -o -u ${PUID} -g nobody nobody && \
21+ apk del shadow
22+
23+ RUN curl -s https://getcomposer.org/installer | \
24+ php -- --install-dir=/usr/local/bin/ --filename=composer \
25+ && mkdir /.composer \
26+ && chown -R nobody:nobody /.composer
27+
28+ USER nobody
29+
30+ WORKDIR /var/www/html
Original file line number Diff line number Diff line change 1+ app :
2+ @docker compose run --rm app sh
3+
4+ setup :
5+ @docker compose run --rm app composer install
6+
7+ phpstan :
8+ @docker compose run --rm app php ./vendor/phpstan/phpstan/phpstan analyse --memory-limit 1G
9+
10+ phpunit :
11+ @docker compose run --rm app php ./vendor/phpunit/phpunit/phpunit --no-coverage
12+
13+ coverage :
14+ @docker compose run --rm app php ./vendor/phpunit/phpunit/phpunit
Original file line number Diff line number Diff line change 1717 ],
1818 "homepage" : " https://github.com/wimski/laravel-psr-http" ,
1919 "require" : {
20- "php" : " ^8.0 " ,
21- "illuminate/support" : " ^9 .0 || ^10.0 || ^11 .0" ,
22- "php-http/discovery" : " ^1.11 " ,
20+ "php" : " ^8.3 " ,
21+ "illuminate/support" : " ^11 .0 || ^12 .0" ,
22+ "php-http/discovery" : " ^1.20 " ,
2323 "psr/http-client" : " ^1.0" ,
2424 "psr/http-factory" : " ^1.0" ,
2525 "psr/http-message" : " ^1.1 || ^2.0"
2626 },
2727 "require-dev" : {
28- "nunomaduro /larastan" : " ^2 .0" ,
29- "nyholm/psr7" : " ^1.0 " ,
30- "orchestra/testbench" : " ^7.0 || ^8 .0" ,
28+ "larastan /larastan" : " ^3 .0" ,
29+ "nyholm/psr7" : " ^1.8 " ,
30+ "orchestra/testbench" : " ^10 .0" ,
3131 "php-http/guzzle7-adapter" : " ^1.0" ,
32- "phpstan/phpstan-phpunit" : " ^1 .0" ,
33- "phpunit/phpunit" : " ^9 .0"
32+ "phpstan/phpstan-phpunit" : " ^2 .0" ,
33+ "phpunit/phpunit" : " ^11 .0"
3434 },
3535 "minimum-stability" : " stable" ,
3636 "autoload" : {
Original file line number Diff line number Diff line change 1+ services :
2+ app :
3+ build :
4+ context : .
5+ dockerfile : Dockerfile
6+ volumes :
7+ - .:/var/www/html
Original file line number Diff line number Diff line change 11includes:
2- - vendor/nunomaduro /larastan/extension.neon
2+ - vendor/larastan /larastan/extension.neon
33 - vendor/phpstan/phpstan-phpunit/extension.neon
44 - vendor/phpstan/phpstan-phpunit/rules.neon
55
Original file line number Diff line number Diff line change 99 <directory >./tests</directory >
1010 </testsuite >
1111 </testsuites >
12- <coverage processUncoveredFiles = " true " >
12+ <source >
1313 <include >
1414 <directory suffix =" .php" >./src</directory >
1515 </include >
16+ </source >
17+ <coverage >
1618 <report >
1719 <clover outputFile =" build/logs/clover.xml" />
1820 </report >
You can’t perform that action at this time.
0 commit comments