Skip to content

Commit 2e8285b

Browse files
committed
PHP 8 Support
1 parent 39d0e7b commit 2e8285b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- 5.5
55
- 5.6
66
- 7.0
7+
- 8.0
78
- hhvm
89

910
# This triggers builds to run on the new TravisCI infrastructure.

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
}
2020
],
2121
"require": {
22-
"php" : "~5.6|~7.0"
22+
"php" : "~5.6 || ~7.0 || ~8.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit" : "~4.0||~5.0",
25+
"phpunit/phpunit" : "~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0 || ~9.0",
2626
"scrutinizer/ocular": "~1.1",
2727
"squizlabs/php_codesniffer": "~2.3"
2828
},
@@ -33,7 +33,7 @@
3333
},
3434
"autoload-dev": {
3535
"psr-4": {
36-
"Unicodeveloper\\DumbPassword\\Test": "tests"
36+
"Unicodeveloper\\DumbPassword\\Test\\": "tests"
3737
}
3838
},
3939
"scripts": {

tests/ExampleTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?php
22

33
namespace League\Skeleton;
4+
use PHPUnit\Framework\TestCase;
45

5-
class ExampleTest extends \PHPUnit_Framework_TestCase
6+
class ExampleTest extends TestCase
67
{
78
/**
89
* Test that true does in fact equal true

0 commit comments

Comments
 (0)