Vincent Langlet
Vincent Langlet
CC @core23 Not passing a string seems deprecated since 2.x https://github.com/sonata-project/SonataSeoBundle/blob/dff934e28eea0a6f0ce3ed4759c39cfe18f8b8ca/src/Seo/SeoPage.php#L142 Maybe this should be changed before the NEXT_MAJOR
> Ok I'm struggling a bit to mock the final class like `SnapshotManager` > > What do you think to add it? https://tomasvotruba.com/blog/2019/03/28/how-to-mock-final-classes-in-phpunit/ You can use the real class `new...
I think all is said. It's not a bug, it's a very complicated feature request to implement. So if nobody wants to work on it we can close this as...
Do you plan to try a PR ?
> @VincentLanglet assuming i want to write testcases for the Transformer functions: Using the Transformer as real objects and the manager as mocks, do i need to mock the Page/Block/Snapshot...
I would really be interested by a way to automatically add a label based on the target branch. For instance, I'd like to add automatically an `hotfix` label on every...
Require https://github.com/doctrine/mongodb-odm/pull/2457
HI @t-works, any news ? I'm not sure to understand the check ``` if (null !== $this->getSubject()->getParent() || null === $this->getSubject()->getId()) ``` @jordisala1991 Do you use this bundle ? (and...
Phpstan is failing @antonymous. And what if the class is not a document ? IMHO, the `getRealClass` method should work with everyclass ``` getRealClass(new \DateTime()) => \DateTime (no metada) getRealClass(new...
> Of cause we could catch that and return class name of the passed object. But should we? Shouldn't model manager be concerned exclusively with "models" and fail hard if...