Skip to content

Commit 5a294ad

Browse files
Merge pull request #22 from ajohnson6494/PHP8
2 parents 39d0e7b + 5b2eebf commit 5a294ad

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.travis.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
language: php
22

33
php:
4-
- 5.5
5-
- 5.6
64
- 7.0
7-
- hhvm
5+
- 8.0
86

97
# This triggers builds to run on the new TravisCI infrastructure.
108
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
@@ -17,7 +15,7 @@ cache:
1715

1816
matrix:
1917
include:
20-
- php: 5.5
18+
- php: 7.0
2119
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
2220

2321
before_script:

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
}
2020
],
2121
"require": {
22-
"php" : "~5.6|~7.0"
22+
"php" : "~7.0 || ~8.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit" : "~4.0||~5.0",
25+
"phpunit/phpunit" : "~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

+2-1
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)