Skip to content

Commit

Permalink
updated to php7.4 and phpunit 9
Browse files Browse the repository at this point in the history
  • Loading branch information
poef committed Feb 23, 2020
1 parent 1feb1cc commit 4c60511
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@
}
],
"require": {
"php": ">=5.6",
"arc/base": "~2.1"
"php": ">=7.1",
"arc/base": "~3.0"
},
"autoload": {
"psr-4": {
"arc\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit": "5.1.*"
"phpunit/phpunit": "9.*"
},
"scripts": {
"test": "phpunit --testdox"
}
}
2 changes: 1 addition & 1 deletion tests/http.Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

class TestHTTP extends PHPUnit_Framework_TestCase
class TestHTTP extends PHPUnit\Framework\TestCase
{

function testGet()
Expand Down
2 changes: 1 addition & 1 deletion tests/http_clientstream.Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

class TestHTTP_clientStream extends PHPUnit_Framework_TestCase
class TestHTTP_clientStream extends PHPUnit\Framework\TestCase
{
function testCreateInstance()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/noxss.Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/


class TestNoXSS extends PHPUnit_Framework_TestCase
class TestNoXSS extends PHPUnit\Framework\TestCase
{
function testDetectPrevent()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/route.Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

class TestRoute extends PHPUnit_Framework_TestCase
class TestRoute extends PHPUnit\Framework\TestCase
{
function testMatch() {
$config = [
Expand Down
2 changes: 1 addition & 1 deletion tests/url.Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/


class TestUrl extends PHPUnit_Framework_TestCase
class TestUrl extends PHPUnit\Framework\TestCase
{
function testSafeUrl()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/url_urlquery.Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/


class TestUrlQuery extends PHPUnit_Framework_TestCase
class TestUrlQuery extends PHPUnit\Framework\TestCase
{
function testparsePHPUrl()
{
Expand Down

0 comments on commit 4c60511

Please sign in to comment.