1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 01:44:03 +00:00

Drop Laravel 8-9, add Laravel 11 support

This commit is contained in:
Samuel Štancl 2024-03-12 13:03:17 +01:00
parent 6d6903ad62
commit 4abf039df7
4 changed files with 16 additions and 13 deletions

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
laravel: [8, 9, 10] laravel: [10, 11]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
.phpunit.result.cache .phpunit.result.cache
.phpunit.cache
package-lock.json package-lock.json
composer.lock composer.lock
vendor/ vendor/

View file

@ -23,15 +23,15 @@
} }
}, },
"require": { "require": {
"php": "^8.0", "php": "^8.2",
"illuminate/support": "^8.24|^9.0|^10.0", "illuminate/support": "^10.0|^11.0",
"illuminate/view": "^8.24|^9.0|^10.0" "illuminate/view": "^10.0|^11.0"
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "^6.23|^7.0|^8.0", "orchestra/testbench": "^8.0|^9.0",
"nunomaduro/larastan": "^1.0|^2.4", "nunomaduro/larastan": "^2.4",
"pestphp/pest": "^1.2|^2.0", "pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^1.0|^2.0", "pestphp/pest-plugin-laravel": "^2.0",
"intervention/image": "^2.7" "intervention/image": "^2.7"
}, },
"extra": { "extra": {

View file

@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage processUncoveredFiles="true"> <coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report> <report>
<clover outputFile="coverage/phpunit/clover.xml"/> <clover outputFile="coverage/phpunit/clover.xml"/>
<html outputDirectory="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/> <html outputDirectory="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/>
@ -28,4 +25,9 @@
<!-- <env name="DB_DATABASE" value=":memory:"/> --> <!-- <env name="DB_DATABASE" value=":memory:"/> -->
<env name="AWS_DEFAULT_REGION" value="us-west-2"/> <env name="AWS_DEFAULT_REGION" value="us-west-2"/>
</php> </php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit> </phpunit>