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

Drop Laravel 9 support, add Laravel 11 support

This commit is contained in:
Samuel Štancl 2024-03-12 13:27:46 +01:00
parent 8fa1a148dd
commit 0e4ae2278d
3 changed files with 17 additions and 17 deletions

View file

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

View file

@ -21,17 +21,17 @@
} }
}, },
"require": { "require": {
"php": "^8.1", "php": "^8.2",
"illuminate/support": "^9.0|^10.0", "illuminate/support": "^10.0|^11.0",
"archtechx/laravel-seo": "^0.6", "archtechx/laravel-seo": "^0.10",
"ryangjchandler/orbit": "*", "ryangjchandler/orbit": "^1.0",
"illuminate/routing": "^9.0|^10.0", "illuminate/routing": "^10.0|^11.0",
"illuminate/database": "^9.0|^10.0" "illuminate/database": "^10.0|^11.0"
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "^7.0|^8.0", "orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^1.2|^2.0", "pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^1.0|^2.0" "pestphp/pest-plugin-laravel": "^2.0"
}, },
"extra": { "extra": {
"laravel": { "laravel": {

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"/>
@ -22,12 +19,15 @@
<env name="MAIL_DRIVER" value="array"/> <env name="MAIL_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/> <env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/> <env name="SESSION_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="testbench"/> <env name="DB_CONNECTION" value="testbench"/>
<env name="DB_DATABASE" value="main"/> <env name="DB_DATABASE" value="main"/>
<!-- <env name="DB_CONNECTION" value="sqlite"/> --> <!-- <env name="DB_CONNECTION" value="sqlite"/> -->
<!-- <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>