Connor

Results 97 comments of Connor

@thirsch File(system) spool example configuration: factories.yml ``` mailer: param: delivery_strategy: spool spool_class: Swift_FileSpool spool_arguments: - "spoolpath" ``` ![image](https://user-images.githubusercontent.com/1845575/219124543-758ab53c-29e3-4203-95c3-f266e33b1bce.png)

Btw I found this about spools: https://symfony.com/legacy/doc/more-with-symfony/1_4/en/04-Emails#chapter_04_sub_the_spool_strategy

I think PR does not solve the problem, but bypasses the API of sfValidatorError. If you look at how the tests use sfValidatorError you will see that it uses the...

My idea is create a new option for the date validator: `array_value_format`. If it is exists and filled with value like this: `%year%-%month%-%day%`. Validator convert the array back to string...

Btw, let's see how symfony do this? https://github.com/symfony/symfony/blob/7.1/src/Symfony/Component/Validator/Constraints/DateValidator.php#L54 and https://github.com/symfony/symfony/blob/7.1/src/Symfony/Component/Validator/ConstraintValidator.php#L73-L125

One possible solution: https://github.com/FriendsOfSymfony1/symfony1/compare/master...connorhu:symfony1:fix/issue317 Another direction is that the format can be changed via a option. WDYT guys? // @thePanz @thirsch @alquerci

@thePanz This kind of code has a simplified version: ```php if (!isset(self::$instance)) { self::$instance = new sfAutoload(); } return self::$instance; ``` ```php return self::$instance ?? self::$instance = new sfAutoload(); ```...

Thank you for the reminder! We will add this step to the release process. Am I right @thePanz ? :) (Just for the sake of science: what if I make...

@thePanz Sebastian has just done one of his projects. What do you think about such a solution? https://github.com/sebastianbergmann/foal/commit/b0e3537cfc444803ae3d977510172684db24b697

I didn't go into the details, but one question came up: can `value` and `name` be `null`? What does the code do if it is `null`? Shouldn't `InvalidValueException` be thrown...