Skip to content

Commit

Permalink
Added Laravel 5.8 / PHP 7.3 support (#10)
Browse files Browse the repository at this point in the history
* Updated composer.json to work with Laravel 5.6

* Updated PHPUnit compatibility

* Laravel 5.7 compatibility

* Laravel 5.7 support

* Fix merge

* Added PHP 7.3 travis check

* Added Laravel 5.8 support

* Fix PHPUnit void return type declaration issue

* Fix attribute warnings of newer PHPUnit
  • Loading branch information
DevDavido authored and rephluX committed Mar 11, 2019
1 parent 98840c4 commit 49efdb9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ language: php
php:
- 7.1
- 7.2
- 7.3

before_script:
- travis_retry composer self-update
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"require": {
"php" : "~7.1",
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0"
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0"
},
"require-dev": {
"phpunit/phpunit": "~7.0"
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="tests/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-html" target="tests/coverage"/>
</logging>
</phpunit>
4 changes: 3 additions & 1 deletion tests/PageTitleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ class PageTitleTest extends TestCase

/**
* Setup the testcase.
*
* @return void
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 49efdb9

Please sign in to comment.