Skip to content

Commit

Permalink
Add Laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
pataar committed Mar 13, 2024
1 parent 96fcc40 commit a0cae50
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Base install
#
FROM amd64/php:8.1-apache as base
FROM amd64/php:8.2-apache as base

LABEL vendor="L5 Swagger"

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
],
"require": {
"php": "^7.2 || ^8.0",
"laravel/framework": "^10.0 || ^9.0 || >=8.40.0 || ^7.0",
"laravel/framework": "^11.0 || ^10.0 || ^9.0 || >=8.40.0 || ^7.0",
"zircote/swagger-php": "^3.2.0 || ^4.0.0",
"swagger-api/swagger-ui": "^3.0 || >=4.1.3",
"symfony/yaml": "^5.0 || ^6.0 || ^7.0",
"ext-json": "*",
"doctrine/annotations": "^1.0 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0 || ^9.5",
"phpunit/phpunit": "^11.0 || ^10.0 || ^9.5",
"mockery/mockery": "1.*",
"orchestra/testbench": "^8.0 || 7.* || ^6.15 || 5.*",
"orchestra/testbench": "^9.0 || ^8.0 || 7.* || ^6.15 || 5.*",
"php-coveralls/php-coveralls": "^2.0"
},
"autoload": {
Expand Down
17 changes: 6 additions & 11 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" stopOnFailure="false" cacheDirectory=".phpunit.cache">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
<report>
<clover outputFile="tests/storage/logs/test-reports/clover.xml"/>
<html outputDirectory="tests/storage/logs/test-reports" lowUpperBound="50" highLowerBound="80"/>
Expand All @@ -24,4 +14,9 @@
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
<env name="SWAGGER_VERSION" value="3.0"/>
</php>
<source>
<include>
<directory suffix=".php">src/</directory>
</include>
</source>
</phpunit>

0 comments on commit a0cae50

Please sign in to comment.