Skip to content

Commit 5cca953

Browse files
Version update with Laravel 8.0 support (#25)
1 parent 50a80e7 commit 5cca953

File tree

4 files changed

+23
-24
lines changed

4 files changed

+23
-24
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ matrix:
2121
env: LARAVEL_VERSION=~7.0 TESTBENCH_VERSION=~5.0 PHPUNIT_VERSION=~8.0
2222
- php: 7.3
2323
env: LARAVEL_VERSION=~7.0 TESTBENCH_VERSION=~5.0 PHPUNIT_VERSION=~9.0
24+
- php: 7.3
25+
env: LARAVEL_VERSION=~8.0 TESTBENCH_VERSION=~6.0 PHPUNIT_VERSION=~9.0
2426
- php: 7.4
2527
env: LARAVEL_VERSION=~6.0 TESTBENCH_VERSION=~4.0 PHPUNIT_VERSION=~8.0
2628
- php: 7.4
2729
env: LARAVEL_VERSION=~7.0 TESTBENCH_VERSION=~5.0 PHPUNIT_VERSION=~8.0
2830
- php: 7.4
2931
env: LARAVEL_VERSION=~7.0 TESTBENCH_VERSION=~5.0 PHPUNIT_VERSION=~9.0
3032
- php: 7.4
31-
env: LARAVEL_VERSION=~8.0 TESTBENCH_VERSION=~5.0 PHPUNIT_VERSION=~9.0
33+
env: LARAVEL_VERSION=~8.0 TESTBENCH_VERSION=~6.0 PHPUNIT_VERSION=~9.0
3234

3335
before_install:
3436
- travis_retry composer self-update

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ Eloquent Repository package for Laravel created with total "repository pattern"
1515

1616
## Requirements
1717

18-
**Version ^2.0** - Laravel **^6.0** or **^7.0** or higher and **PHP 7.2** or higher.
18+
Version requirement and compatibility with Laravel
1919

20-
**Version ^1.0** - Laravel **5.5, 5.6, 5.7, 5.8** and **PHP 7.1** or higher.
20+
| Package | PHP | Laravel |
21+
|---------|------|----------------------|
22+
| 1.0 | ^7.1 | 5.5, 5.6, 5.7 or 5.8 |
23+
| 2.0-2.2 | ^7.2 | ^6.0 or ^7.0 |
24+
| 2.3 | ^7.3 | ^6.0, ^7.0 or ^8.0 |
2125

2226
## Installation
2327

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.2",
24+
"php": "^7.3",
2525
"illuminate/container": "^6.0|^7.0|^8.0",
2626
"illuminate/console": "^6.0|^7.0|^8.0",
2727
"illuminate/contracts": "^6.0|^7.0|^8.0",
2828
"illuminate/database": "^6.0|^7.0|^8.0",
2929
"illuminate/support": "^6.0|^7.0|^8.0"
3030
},
3131
"require-dev": {
32-
"orchestra/testbench": "^4.0|^5.0",
32+
"orchestra/testbench": "^4.0|^5.0|^6.0",
3333
"phpunit/phpunit": "^8.0|^9.0"
3434
},
3535
"autoload": {

phpunit.xml.dist

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src/</directory>
6+
</include>
7+
<report>
8+
<clover outputFile="build/logs/clover.xml"/>
9+
<html outputDirectory="build/coverage"/>
10+
<text outputFile="build/coverage.txt"/>
11+
</report>
12+
</coverage>
1213
<testsuites>
1314
<testsuite name="Test Suite">
1415
<directory>tests</directory>
1516
</testsuite>
1617
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
2218
<logging>
23-
<log type="junit" target="build/report.junit.xml"/>
24-
<log type="coverage-html" target="build/coverage"/>
25-
<log type="coverage-text" target="build/coverage.txt"/>
26-
<log type="coverage-clover" target="build/logs/clover.xml"/>
19+
<junit outputFile="build/report.junit.xml"/>
2720
</logging>
2821
<php>
2922
<env name="APP_ENV" value="testing"/>

0 commit comments

Comments
 (0)