wieloco / ps-matcha
Custom matchers for PhpSpec
Installs: 1 593
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:phpspec-extension
Requires
- php: >=7.3
- phpspec/phpspec: ^7.0
- ramsey/uuid: ^3.7|^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
README
--
Installation
Install the package via composer:
composer require wieloco/ps-matcha
Add it to your PhpSpec configuration (phpspec.yaml
file):
extensions: WieloCo\Matcha\Extension: ~
Usage
Use it in Specs like this
$this->uuid->shouldBeUuid();
or
$this->uuid->shouldNotBeUuid();
License
Apache License 2.0 Please see LICENSE for more information.