Results 40 comments of RJ Garcia

@ezzatron Interesting, I checked pho, and I don't see any reference to phpunit. Maybe i'm missing something?

Basically, peridot 2.0 concept would basically just be a plugin to phpunit and hopefully in the future pulled under the namespace of PHPUnit as a first class citizen. https://github.com/Codeception/Specify -...

I wonder if you were thinking of [Pest](https://github.com/nunomaduro/pest)

@asgrim @jaapio I can't think of any clean way to handle this edge case. I think we should probably just detect if a namespace is being redeclared and throw an...

This allows a user to specify sessionStorage instead of localStorage for persisting. It also would allow for more better unit tests.

regarding query syntax, https://github.com/krakphp/aql is a solution I built that basically allows sql type expressions in the API, but it's parsed and validated and can contain certain constraints, it might...

ah, i guess I misunderstood your original post, the idea is that if we do: ```/users?q=abc123``` We could define a proper query portion in the resource of what q maps...

ah, ok, cool beans, y, this would be awesome, part of me wonders if maybe just making the custom filter API easier would fix this. Like, if making filters was...

Sure, The basic idea would be similar to this: https://github.com/krakphp/php-inc/blob/master/src/php-inc.php#L30 Where we have filter classes that decorate certain things We'd provide decorating filters like AllFilter and AnyFilter, which take a...

@downsider I'm pretty sure mockery handles it just fine. I have same scenarios and was able to test them with mockery fine: ```php $callable = mock(ClassWithInvoke::class) ->allows()->__invoke(1)->andReturns(2)->getMock(); $this->assertEquals(2, $callable(1)); ```