dmaicher / doctrine-test-bundle

Symfony bundle to isolate your app's doctrine database tests and improve the test performance
MIT License
1.08k stars 60 forks source link

StaticArrayCache return type breaks tests #174

Closed williarin closed 2 years ago

williarin commented 2 years ago

https://github.com/dmaicher/doctrine-test-bundle/blob/919a91b85629c28baab7e20faae553ad43799ba7/src/DAMA/DoctrineTestBundle/Doctrine/Cache/StaticArrayCache.php#L14

This newly added return type breaks the tests.

/*
 * @return mixed|false The cached data or FALSE, if no cache entry exists for the given id.
 */
dmaicher commented 2 years ago

Indeed :man_facepalming: Thanks for reporting. Fixed in https://github.com/dmaicher/doctrine-test-bundle/pull/175