Skip to content

Commit

Permalink
drop laravel 9
Browse files Browse the repository at this point in the history
  • Loading branch information
cappuc committed Feb 13, 2024
1 parent 92853f3 commit 04c5624
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
php: [ 8.1, 8.2, 8.3 ]
laravel: [ ^9.0, ^10.0 ]
laravel: [ ^10.0 ]
stability: [ prefer-stable, prefer-lowest ]

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.php_cs
.php_cs.cache
.phpunit.result.cache
.phpunit.cache
build
composer.lock
coverage
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"require": {
"php": "^8.1",
"illuminate/contracts": "^9.0 || ^10.0",
"illuminate/support": "^9.0 || ^10.0",
"illuminate/contracts": "^10.0",
"illuminate/support": "^10.0",
"open-telemetry/exporter-otlp": "^1.0",
"open-telemetry/context": "^1.0.1",
"open-telemetry/sdk": "^1.0",
Expand All @@ -32,13 +32,13 @@
"larastan/larastan": "^2.7",
"laravel/pint": "^1.2",
"nesbot/carbon": "^2.69 || ^3.0",
"nunomaduro/collision": "^6.0 || ^7.0",
"nunomaduro/collision": "^7.0",
"open-telemetry/exporter-zipkin": "^1.0",
"open-telemetry/extension-propagator-b3": "^1.0",
"open-telemetry/transport-grpc": "^1.0",
"orchestra/testbench": "^7.0 || ^8.0",
"pestphp/pest": "^1.23",
"pestphp/pest-plugin-laravel": "^1.4",
"orchestra/testbench": "^8.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"php-http/guzzle7-adapter": "^1.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10.51",
Expand Down
29 changes: 7 additions & 22 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,32 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
executionOrder="random"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="true"
beStrictAboutOutputDuringTests="true"
verbose="true"
>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true"
failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Keepsuit Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
Expand All @@ -39,4 +19,9 @@
<php>
<env name="APP_KEY" value="base64:Otue13cqTvN3tEEu1F5C25ku031q5HktoEk2AnOZEgg="/>
</php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit 04c5624

Please sign in to comment.