"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/TextUI/Configuration/TestSuite/TestDirectory.php" between
phpunit-9.0.0.tar.gz and phpunit-9.0.1.tar.gz

About: PHPUnit is a unit testing software framework for software written in PHP.

TestDirectory.php  (phpunit-9.0.0):TestDirectory.php  (phpunit-9.0.1)
skipping to change at line 12 skipping to change at line 12
/* /*
* This file is part of PHPUnit. * This file is part of PHPUnit.
* *
* (c) Sebastian Bergmann <sebastian@phpunit.de> * (c) Sebastian Bergmann <sebastian@phpunit.de>
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace PHPUnit\TextUI\Configuration; namespace PHPUnit\TextUI\Configuration;
use PHPUnit\Util\VersionComparisonOperator;
/** /**
* @internal This class is not covered by the backward compatibility promise for PHPUnit * @internal This class is not covered by the backward compatibility promise for PHPUnit
* @psalm-immutable * @psalm-immutable
*/ */
final class TestDirectory final class TestDirectory
{ {
/** /**
* @var string * @var string
*/ */
private $path; private $path;
skipping to change at line 39 skipping to change at line 41
* @var string * @var string
*/ */
private $suffix; private $suffix;
/** /**
* @var string * @var string
*/ */
private $phpVersion; private $phpVersion;
/** /**
* @var string * @var VersionComparisonOperator
*/ */
private $phpVersionOperator; private $phpVersionOperator;
public function __construct(string $path, string $prefix, string $suffix, st ring $phpVersion, $phpVersionOperator) public function __construct(string $path, string $prefix, string $suffix, st ring $phpVersion, VersionComparisonOperator $phpVersionOperator)
{ {
$this->path = $path; $this->path = $path;
$this->prefix = $prefix; $this->prefix = $prefix;
$this->suffix = $suffix; $this->suffix = $suffix;
$this->phpVersion = $phpVersion; $this->phpVersion = $phpVersion;
$this->phpVersionOperator = $phpVersionOperator; $this->phpVersionOperator = $phpVersionOperator;
} }
public function path(): string public function path(): string
{ {
skipping to change at line 72 skipping to change at line 74
public function suffix(): string public function suffix(): string
{ {
return $this->suffix; return $this->suffix;
} }
public function phpVersion(): string public function phpVersion(): string
{ {
return $this->phpVersion; return $this->phpVersion;
} }
public function phpVersionOperator(): string public function phpVersionOperator(): VersionComparisonOperator
{ {
return $this->phpVersionOperator; return $this->phpVersionOperator;
} }
} }
 End of changes. 4 change blocks. 
3 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)