This is guide for upgrade from version 2.x to 3.0 for the project.
Release 3.0 has been made to be compat with "phpunit/phpunit": "^6.0".
ScalarAssertTrait
has been renamed to AliasAssertTrait
.
The following methods have been removed from FileSystemAssertTrait
:
assertDirectoryExists
assertDirectoryNotExists
PHPUnit provides these asserts self now.
The DirectoryExistsConstraint
has been removed.
This is guide for upgrade from version 1.x to 2.0 for the project.
The FileExistsTrait
has been renamed to FileExistsAssertTrait
.
The following methods have been moved from ScalarAssertTrait
to StringsAssertTrait
:
assertStringIsEmpty
assertStringIsNotEmpty
assertStringIsNotWhiteSpace
assertStringIsWhiteSpace
The constraints have been made atomic and are now part of the API supporting 5.3.6 and up.
Therefor the constructors of the following constraints have been changed:
FilePermissionsIsIdenticalConstraint
FilePermissionsMaskConstraint
The XML constraints have been changed:
AbstractXMLConstraint
XMLValidConstraint
XMLMatchesXSDConstraint