maker-bundle
maker-bundle copied to clipboard
Symfony Maker Bundle
Sometimes psalm is complaining about code like this: ```php if (is_string(getFoo())) { return getFoo(); } ``` ... cause `getFoo()` might (in theory) return something different on each call. See https://github.com/vimeo/psalm/issues/6336...
Described well here: https://symfonycasts.com/screencast/api-platform/api-resource#comment-5541407296 Basically, if you pass the entity class name to `make:entity` - e.g. `bin/console make:entity CheeseListing`, then it does NOT ask: > Mark this class as an...
Initially, I can create an `ApiTestCase`, ignoring the message: ``` [WARNING] API Platform is required for this test type. Install it with composer require api ``` The test created, of...
**Symfony version(s) affected**: 5.3.3 **Description** I need to define two entity managers and my config looks similar this: ```yaml orm: default_entity_manager: default entity_managers: default: connection: default mappings: Web: is_bundle: false...
Am I right that the suggested (default) answer to the nullable-question ("Can this field be null in the database (nullable)") is always NO? I'm suggesting to change this to YES....
Got the error `Attempted to call function "str_contains" from the global namespace` when running "symfony console make:user" The problem is that it doesn't require the PHP 8 polyfill (https://github.com/symfony/symfony/discussions/42400) I...
_Original Author @victor-paumier_ Hi, I just encountered a case where a user tried to delete their account right after making a password reset request, which resulted in an error due...
**Symfony version(s) affected**: 5.* **Description** The make:controller command is able to receive the Controller Name as an argument. If not provided, the command asks for it interactively. However, if the...
**Symfony version(s) affected**: 5.3.0-BETA2 "symfony/maker-bundle": "^1.0", -> 1.31.1 **Description** ```shell michaelbrauner@Michaels-MacBook-Pro cardedu % symfony console make:entity Class name of the entity to create or update (e.g. GentleChef): > Source Mark...
What is a purpose of silencing instances of RuntimeCommandException in ConsoleErrorSubscriber? This way one cannot use `-vvv` option for console commands to see the stack trace. Maker Bundle is a...