Skip to content

Commit ceb30bc

Browse files
committed
upgrade to laravel 6
1 parent 4169629 commit ceb30bc

File tree

6 files changed

+13
-16
lines changed

6 files changed

+13
-16
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: php
22

33
php:
4-
- 7.0
5-
- 7.1
4+
- 7.2
5+
- 7.3
66

77
env:
88
matrix:
@@ -14,4 +14,4 @@ before_script:
1414
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
1515

1616
script:
17-
- phpunit --coverage-text --coverage-clover=coverage.clover
17+
- phpunit

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-robots-middleware` will be documented in this file
44

5+
## 1.1.0 - 2019-09-04
6+
7+
- add support for Laravel 6
8+
59
## 1.0.3 - 2016-01-12
610

711
- Fixed a bug that would occur when a `Symfony` response got returned instead of an `Illuminate` response

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
}
2020
],
2121
"require": {
22-
"php" : "^7.0",
23-
"illuminate/http": "^5.1"
22+
"php" : "^7.2",
23+
"illuminate/http": "^5.8|^6.0"
2424
},
2525
"require-dev": {
26-
"orchestra/testbench": "^3.2",
27-
"phpunit/phpunit" : "4.*"
26+
"orchestra/testbench": "^3.8|^4.0",
27+
"phpunit/phpunit" : "^8.0"
2828
},
2929
"autoload": {
3030
"psr-4": {

phpunit.xml.dist

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,4 @@
1919
<directory suffix=".php">src/</directory>
2020
</whitelist>
2121
</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" charset="UTF-8" yui="true" highlight="true"/>
26-
<log type="coverage-text" target="build/coverage.txt"/>
27-
<log type="coverage-clover" target="build/logs/clover.xml"/>
28-
</logging>
2922
</phpunit>

tests/RobotsMiddlewareTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class RobotsMiddlewareTest extends TestCase
66
{
7-
public function setUp()
7+
public function setUp(): void
88
{
99
parent::setUp();
1010

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class TestCase extends Orchestra
1111
{
12-
public function setUp()
12+
public function setUp(): void
1313
{
1414
parent::setUp();
1515

0 commit comments

Comments
 (0)