Connor
Connor
@thirsch File(system) spool example configuration: factories.yml ``` mailer: param: delivery_strategy: spool spool_class: Swift_FileSpool spool_arguments: - "spoolpath" ``` 
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
sfValidatorDate throws sfValidatorError with array as $value and therefore not usable in the message
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...
sfValidatorDate throws sfValidatorError with array as $value and therefore not usable in the message
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...
sfValidatorDate throws sfValidatorError with array as $value and therefore not usable in the message
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
sfValidatorDate throws sfValidatorError with array as $value and therefore not usable in the message
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...