Skip to content

Commit

Permalink
Fixes according to review
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Jan 18, 2021
1 parent baa9848 commit 0e2a1af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": ">=7.2",
"php": "^7.2 || ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
Expand Down
5 changes: 3 additions & 2 deletions tests/AssertTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Error;
use Exception;
use LogicException;
use PHPUnit\Framework\TestCase;
use RuntimeException;
use stdClass;
use Webmozart\Assert\Assert;
Expand All @@ -25,7 +26,7 @@
*
* @author Bernhard Schussek <[email protected]>
*/
class AssertTest extends BaseTestCase
class AssertTest extends TestCase
{
private static $resource;

Expand Down Expand Up @@ -422,7 +423,7 @@ public function getTests()
// no tests for readable()/writable() for now
array('classExists', array(__CLASS__), true),
array('classExists', array(__NAMESPACE__.'\Foobar'), false),
array('subclassOf', array(__CLASS__, 'Webmozart\Assert\Tests\BaseTestCase'), true),
array('subclassOf', array(__CLASS__, 'PHPUnit\Framework\TestCase'), true),
array('subclassOf', array(__CLASS__, 'stdClass'), false),
array('interfaceExists', array('\Countable'), true),
array('interfaceExists', array(__CLASS__), false),
Expand Down
12 changes: 0 additions & 12 deletions tests/BaseTestCase.php

This file was deleted.

0 comments on commit 0e2a1af

Please sign in to comment.