Skip to content

Commit

Permalink
Allow newer versions of PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
chadicus committed May 9, 2023
1 parent 50b4c00 commit b1e0242
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"sort-packages": true
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"phpunit/phpunit": "^5.7 || ^6.5 || ^9.6 || ^10.1",
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
Expand Down
3 changes: 2 additions & 1 deletion tests/RequestBridgeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
use Chadicus\Slim\OAuth2\Http\RequestBridge;
use Laminas\Diactoros\ServerRequest;
use Laminas\Diactoros\UploadedFile;
use PHPUnit\Framework\TestCase;

/**
* Unit tests for the \Chadicus\Slim\OAuth2\Http\RequestBridge class.
*
* @coversDefaultClass \Chadicus\Slim\OAuth2\Http\RequestBridge
* @covers ::<private>
*/
final class RequestBridgeTest extends \PHPUnit_Framework_TestCase
final class RequestBridgeTest extends TestCase
{
/**
* Verify basic behavior of toOAuth2()
Expand Down
3 changes: 2 additions & 1 deletion tests/ResponseBridgeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

use Chadicus\Slim\OAuth2\Http\ResponseBridge;
use OAuth2\Response;
use PHPUnit\Framework\TestCase;

/**
* Unit tests for the \Chadicus\Slim\OAuth2\Http\ResponseBridge class.
*
* @coversDefaultClass \Chadicus\Slim\OAuth2\Http\ResponseBridge
* @covers ::<private>
*/
final class ResponseBridgeTest extends \PHPUnit_Framework_TestCase
final class ResponseBridgeTest extends TestCase
{
/**
* Verify basic behavior of fromOAuth2()
Expand Down

0 comments on commit b1e0242

Please sign in to comment.