assert icon indicating copy to clipboard operation
assert copied to clipboard

Support for Lazy assertions / assertions chains

Open Taluu opened this issue 5 years ago • 4 comments

As the assert from beberlei's package propose them, so we can build assertions :

<?php

$assert = Assert::that($value);
$assert->not();
$assert->same('foo');

This is the global idea.

Taluu avatar Feb 05 '20 10:02 Taluu

I'd love to see this for this package, but i'm not sure how to go about that without a BC break. If you can create a PR that would allow this functionality, or allow for an easy upgrade path then id like it.

BackEndTea avatar Mar 14 '20 13:03 BackEndTea

I'd like to see this in this package too. I actually have an implementation for this. I'll see if it can be easily integrated and make a merge request.

arjanfrans avatar Mar 29 '22 14:03 arjanfrans