Thomas Landauer

Results 162 comments of Thomas Landauer

**Question:** Does [Adding Classes to Compile](https://symfony.com/doc/current/bundles/extension.html#adding-classes-to-compile) apply to the new way [Loading Services directly in your Bundle class](https://symfony.com/doc/current/bundles/extension.html#loading-services-directly-in-your-bundle-class) too? Cause in this case there is no `load()` method, so it...

I think it doesn't come from the *nesting*, but from the property of the trait being `private` vs. `protected`. I modified the snippet: https://psalm.dev/r/e88b5151b9

@noemi-salaun I have the same, but with an additional `@ORM\JoinColumn(nullable=false)` on `UserStats::$user`. This tells Doctrine that there can be no `UserStats` with an empty `user` column. This aspect might already...

Cool, thanks, that indeed fixes it :-) So if you can't think of a general solution for this, you can close the issue.

I opened a ticket for this at Symfony, see https://github.com/symfony/symfony/issues/35277

For now, the solution is to add a PHPDoc - see https://github.com/symfony/symfony/issues/35277#issuecomment-572540892 : ```php use Symfony\Component\Form\Form; /** @var Form $form */ $button = $form->getClickedButton(); ```

Sorry, didn't know that! So it's OK in the PR message (tab "Conversation" on GitHub's website) but not in the message when doing the actual file change (tab "Commits")?

Please see https://github.com/Payum/Payum/issues/789 first, I might need to re-delete something again...

Sorry, I'm not using payum anymore.

Here's the referenced line: https://github.com/symfony/symfony/blob/b634ed564a0e8ad5d23457a89fa9267d85112345/src/Symfony/Component/Config/Definition/ArrayNode.php#L228 @makasim No! Since Symfony 4 the entire `app` folder is gone. The configuration is now done in separate files under `config/packages`, see https://symfony.com/doc/current/bundles/configuration.html When I'm...