Skip to content

Commit

Permalink
Merge branch '2.7' into 2.8
Browse files Browse the repository at this point in the history
* 2.7:
  Update to PHPUnit namespaces
  remove translation data collector when not usable
  • Loading branch information
nicolas-grekas committed Feb 18, 2017
2 parents 9773908 + 144acc8 commit e017c13
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Tests/ExecutableFinderTest.php
Expand Up @@ -11,12 +11,13 @@

namespace Symfony\Component\Process\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Process\ExecutableFinder;

/**
* @author Chris Smith <chris@cs278.org>
*/
class ExecutableFinderTest extends \PHPUnit_Framework_TestCase
class ExecutableFinderTest extends TestCase
{
private $path;

Expand Down
3 changes: 2 additions & 1 deletion Tests/PhpExecutableFinderTest.php
Expand Up @@ -11,12 +11,13 @@

namespace Symfony\Component\Process\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Process\PhpExecutableFinder;

/**
* @author Robert Schönthal <seroscho@googlemail.com>
*/
class PhpExecutableFinderTest extends \PHPUnit_Framework_TestCase
class PhpExecutableFinderTest extends TestCase
{
/**
* tests find() with the env var PHP_PATH.
Expand Down
3 changes: 2 additions & 1 deletion Tests/PhpProcessTest.php
Expand Up @@ -11,10 +11,11 @@

namespace Symfony\Component\Process\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Process\PhpExecutableFinder;
use Symfony\Component\Process\PhpProcess;

class PhpProcessTest extends \PHPUnit_Framework_TestCase
class PhpProcessTest extends TestCase
{
public function testNonBlockingWorks()
{
Expand Down
3 changes: 2 additions & 1 deletion Tests/ProcessBuilderTest.php
Expand Up @@ -11,9 +11,10 @@

namespace Symfony\Component\Process\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Process\ProcessBuilder;

class ProcessBuilderTest extends \PHPUnit_Framework_TestCase
class ProcessBuilderTest extends TestCase
{
public function testInheritEnvironmentVars()
{
Expand Down
3 changes: 2 additions & 1 deletion Tests/ProcessFailedExceptionTest.php
Expand Up @@ -11,12 +11,13 @@

namespace Symfony\Component\Process\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Process\Exception\ProcessFailedException;

/**
* @author Sebastian Marek <proofek@gmail.com>
*/
class ProcessFailedExceptionTest extends \PHPUnit_Framework_TestCase
class ProcessFailedExceptionTest extends TestCase
{
/**
* tests ProcessFailedException throws exception if the process was successful.
Expand Down
3 changes: 2 additions & 1 deletion Tests/ProcessTest.php
Expand Up @@ -11,6 +11,7 @@

namespace Symfony\Component\Process\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Process\Exception\LogicException;
use Symfony\Component\Process\Exception\ProcessTimedOutException;
use Symfony\Component\Process\Exception\RuntimeException;
Expand All @@ -21,7 +22,7 @@
/**
* @author Robert Schönthal <seroscho@googlemail.com>
*/
class ProcessTest extends \PHPUnit_Framework_TestCase
class ProcessTest extends TestCase
{
private static $phpBin;
private static $process;
Expand Down
3 changes: 2 additions & 1 deletion Tests/ProcessUtilsTest.php
Expand Up @@ -11,9 +11,10 @@

namespace Symfony\Component\Process\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Process\ProcessUtils;

class ProcessUtilsTest extends \PHPUnit_Framework_TestCase
class ProcessUtilsTest extends TestCase
{
/**
* @dataProvider dataArguments
Expand Down

0 comments on commit e017c13

Please sign in to comment.