Skip to content

Commit

Permalink
Support Laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Mar 6, 2024
1 parent 8234d1c commit 305cd4c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1]
php: [8.1, 8.2]
stability: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} / ${{ matrix.stability }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/.idea
/.phpunit.cache
/.vscode
/vendor
.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Laravel-specific Testing Helpers and Assertions.

| Laravel | Testing Tools |
|---------|--------------------------------------------------------------------------|
| 11.x | [Support ☕](https://buymeacoffee.com/dmitry.ivanov) |
| 10.x | [10.x](https://github.com/dmitry-ivanov/laravel-testing-tools/tree/10.x) |
| 9.x | [9.x](https://github.com/dmitry-ivanov/laravel-testing-tools/tree/9.x) |
| 8.x | [8.x](https://github.com/dmitry-ivanov/laravel-testing-tools/tree/8.x) |
| 7.x | [7.x](https://github.com/dmitry-ivanov/laravel-testing-tools/tree/7.x) |
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"email": "dmitry.g.ivanov@gmail.com"
}],
"require": {
"php": "^8.0.2",
"illuminate/database": "^9.0",
"illuminate/support": "^9.0",
"mockery/mockery": "^1.4.4"
"php": "^8.1",
"illuminate/database": "^10.0",
"illuminate/support": "^10.0",
"mockery/mockery": "^1.5.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5.10",
"orchestra/testbench": "^7.0"
"phpunit/phpunit": "^10.0.7",
"orchestra/testbench": "^8.0"
},
"autoload": {
"psr-4": {
Expand Down
13 changes: 5 additions & 8 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
backupStaticProperties="false"
beStrictAboutTestsThatDoNotTestAnything="false"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.cache"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Laravel Testing Tools Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>

<coverage processUncoveredFiles="true">
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
</source>
</phpunit>

0 comments on commit 305cd4c

Please sign in to comment.