Skip to content

Commit

Permalink
Merge pull request #421 from keradus/phpunit
Browse files Browse the repository at this point in the history
Upgrade PHPUnit
  • Loading branch information
Landerstraeten authored Nov 17, 2017
2 parents 6badbe0 + 0a4a9e1 commit cbd2c89
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ install:
- IF %PHP%==1 echo memory_limit=1024M >> php.ini
- IF %PHP%==1 echo extension_dir=ext >> php.ini
- IF %PHP%==1 echo extension=php_curl.dll >> php.ini
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
- cd C:\tools
- appveyor DownloadFile https://getcomposer.org/composer.phar
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"nikic/php-parser": "~2.1",
"phpspec/phpspec": "^3.2.2",
"phpspec/prophecy": "^1.6.2",
"phpunit/phpunit": "^4.8.31",
"phpunit/phpunit": "^5.7.25|^6.4.4",
"sebastian/comparator": "^1.2.4",
"sensiolabs/security-checker": "^3.0",
"squizlabs/php_codesniffer": "~2.4"
Expand Down
4 changes: 2 additions & 2 deletions test/Linter/Json/JsonLinterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
use GrumPHP\Linter\Json\JsonLinter;
use GrumPHP\Linter\Json\JsonLintError;
use GrumPHP\Util\Filesystem;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use RuntimeException;
use Seld\JsonLint\JsonParser;
use SplFileInfo;

class JsonLinterTest extends PHPUnit_Framework_TestCase
class JsonLinterTest extends TestCase
{
/**
* @var JsonLinter
Expand Down
4 changes: 2 additions & 2 deletions test/Linter/Xml/XmlLinterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
use GrumPHP\Collection\LintErrorsCollection;
use GrumPHP\Linter\Xml\XmlLinter;
use GrumPHP\Linter\Xml\XmlLintError;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use RuntimeException;
use SplFileInfo;

class XmlLinterTest extends PHPUnit_Framework_TestCase
class XmlLinterTest extends TestCase
{
/**
* @var XmlLinter
Expand Down
4 changes: 2 additions & 2 deletions test/Linter/Yaml/YamlLinterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
use GrumPHP\Linter\Yaml\YamlLinter;
use GrumPHP\Linter\Yaml\YamlLintError;
use GrumPHP\Util\Filesystem;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use RuntimeException;
use SplFileInfo;

class YamlLinterTest extends PHPUnit_Framework_TestCase
class YamlLinterTest extends TestCase
{
/**
* @var YamlLinter
Expand Down
4 changes: 2 additions & 2 deletions test/Parser/Php/Visitor/AbstractVisitorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
use PhpParser\NodeVisitor\NameResolver;
use PhpParser\NodeVisitorAbstract;
use PhpParser\ParserFactory;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use SplFileInfo;

abstract class AbstractVisitorTest extends PHPUnit_Framework_TestCase
abstract class AbstractVisitorTest extends TestCase
{
/**
* @test
Expand Down

0 comments on commit cbd2c89

Please sign in to comment.