File tree 4 files changed +29
-35
lines changed
4 files changed +29
-35
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,19 @@ matrix:
18
18
19
19
- php : 7.3
20
20
env : LARAVEL_VERSION=~6.0 TESTBENCH_VERSION=~4.0 PHPUNIT_VERSION=~8.0
21
+ - php : 7.3
22
+ env : LARAVEL_VERSION=~7.0 TESTBENCH_VERSION=~5.0 PHPUNIT_VERSION=~8.0
21
23
- php : 7.3
22
24
env : LARAVEL_VERSION=~7.0 TESTBENCH_VERSION=~5.0 PHPUNIT_VERSION=~9.0
25
+ - php : 7.3
26
+ env : LARAVEL_VERSION=~8.0 TESTBENCH_VERSION=~6.0 PHPUNIT_VERSION=~9.0
23
27
24
28
- php : 7.4
25
29
env : LARAVEL_VERSION=~6.0 TESTBENCH_VERSION=~4.0 PHPUNIT_VERSION=~8.0
26
30
- php : 7.4
27
31
env : LARAVEL_VERSION=~7.0 TESTBENCH_VERSION=~5.0 PHPUNIT_VERSION=~9.0
32
+ - php : 7.4
33
+ env : LARAVEL_VERSION=~8.0 TESTBENCH_VERSION=~6.0 PHPUNIT_VERSION=~9.0
28
34
29
35
before_install :
30
36
- travis_retry composer self-update
@@ -34,7 +40,6 @@ before_install:
34
40
- composer global require hirak/prestissimo --update-no-dev
35
41
36
42
install :
37
- - composer require "illuminate/http:${LARAVEL_VERSION}" --no-update --no-interaction --prefer-dist
38
43
- composer require "illuminate/contracts:${LARAVEL_VERSION}" --no-update --no-interaction --prefer-dist
39
44
- composer require "illuminate/support:${LARAVEL_VERSION}" --no-update --no-interaction --prefer-dist
40
45
- composer require "orchestra/testbench:${TESTBENCH_VERSION}" --no-update --no-interaction --prefer-dist
Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ Custom Laravel validation rule for checking ZIP file content.
16
16
17
17
## Requirements
18
18
19
- - Laravel ** ^6.0 ** or ** ^7.0 **
19
+ - Laravel ** 6 ** or higher
20
20
- PHP ** 7.2** or higher with ` zip ` extension enabled
21
21
22
- Use version ` 1.5.0 ` for Laravel 5.8 support.
23
-
24
22
## Installation
25
23
26
24
You can install the package via composer:
Original file line number Diff line number Diff line change 21
21
"require" : {
22
22
"php" : " ^7.2" ,
23
23
"ext-zip" : " *" ,
24
- "illuminate/contracts" : " ^6.0|^7.0" ,
25
- "illuminate/http" : " ^6.0|^7.0" ,
26
- "illuminate/support" : " ^6.0|^7.0"
24
+ "illuminate/contracts" : " ^6.0|^7.0|^8.0" ,
25
+ "illuminate/support" : " ^6.0|^7.0|^8.0"
27
26
},
28
27
"require-dev" : {
29
- "orchestra/testbench" : " ^4.0|^5.0" ,
28
+ "orchestra/testbench" : " ^4.0|^5.0|^6.0 " ,
30
29
"phpunit/phpunit" : " ^8.0|^9.0"
31
30
},
32
31
"autoload" : {
Original file line number Diff line number Diff line change 1
1
<?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" >
12
- <testsuites >
13
- <testsuite name =" Test Suite" >
14
- <directory >tests</directory >
15
- </testsuite >
16
- </testsuites >
17
- <filter >
18
- <whitelist >
19
- <directory suffix =" .php" >src/</directory >
20
- </whitelist >
21
- </filter >
22
- <logging >
23
- <log type =" tap" target =" build/report.tap" />
24
- <log type =" junit" target =" build/report.junit.xml" />
25
- <log type =" coverage-html" target =" build/coverage" />
26
- <log type =" coverage-text" target =" build/coverage.txt" />
27
- <log type =" coverage-clover" target =" build/logs/clover.xml" />
28
- </logging >
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 >
13
+ <testsuites >
14
+ <testsuite name =" Test Suite" >
15
+ <directory >tests</directory >
16
+ </testsuite >
17
+ </testsuites >
18
+ <logging >
19
+ <junit outputFile =" build/report.junit.xml" />
20
+ </logging >
29
21
</phpunit >
You can’t perform that action at this time.
0 commit comments