InvisibleSmiley

Results 34 comments of InvisibleSmiley

> > Note that method in `ProphecyTrait` does not specify generic types > > this should be solved by doing a PR on the prophecy-phpunit repo IMO. Obviously. :)

I had hoped that the fix for this (#295) would have fixed https://github.com/laminas/laminas-cache-storage-adapter-memory/issues/5 as well but unfortunately it didn't. I think the main reason is that unlike the original https://github.com/zendframework/zend-cache/pull/8,...

> The changes of #295 are just merged but there is no release yet, so ofc. it does not fix anything unless you somehow managed to consume the 4.0.x branch...

I was unable to find a connection between the use of ArrayObject and the memory adapter issues. Instead I now suspect that it's an issue with the Composer autoloader. See...

FTR: PHPUnit 9.1 deprecated the bundled methods. In order to get rid of the deprecation warnings, the phpspec/prophecy-phpunit dependency needs to be added and the new trait be used. I...

Great stuff! Works really well. Should I file a) one or b) two separate issues for the following? 1. Argument::type('null') 2. Argument::exact and Argument::is

Try this (with a recent version of PhpStorm): ``` /** * @template T * @param class-string $className * @return MockObject&T */ protected function getMockFromContainer(string $className): MockObject {} ```

In the end what I need is a way to "sync" the exit code of the "lint" command with the presence/absencse of "failure" tags in the JUnit report XML. If...

It is caused by this extension, namely GetRepositoryDynamicReturnTypeExtension. It determines the repository class and then creates a generic type from that: ``` new GenericObjectType($repositoryClass, [$classType]) ``` when in fact the...

Last known good: 5.6.0 (broken since 5.7.0). I'm using psalm/phar because I cannot install vimeo/psalm due to dependency issues (namely nikic/php-parser ^5). Happens with both PHP 8.1 and 8.2.