- 03 Aug, 2012 1 commit
-
-
Fabien Potencier authored
Commits ------- 1981d132 Updated FormServiceProvider documentation to not use the deprecated `bindRequest` method a12b0cc4 Add HttpFoundationExtension to FormServiceProvider. Discussion ---------- Add HttpFoundationExtension to FormServiceProvider. This closes all of the issues with `$form->bind($request)` does not work issues. --------------------------------------------------------------------------- by stof at 2012-08-01T22:56:23Z this fixes #457 --------------------------------------------------------------------------- by thomasjbradley at 2012-08-02T15:45:47Z I'd love to have this merged soon. I've been recording a bunch of screen casts for my students and this bug is kinda a show-stopper. Thanks! --------------------------------------------------------------------------- by alexandresalome at 2012-08-02T15:55:27Z If you're in a hurry: cd /path/to/your/project cd vendor/silex/silex git remote add henrikbjorn https://github.com/henrikbjorn/Silex.git git fetch henrikbjorn git checkout henrikbjorn/form-httpfoundation This will do the job temporarly --------------------------------------------------------------------------- by bradlet at 2012-08-02T15:58:38Z Thanks so much; I really appreciate it! --------------------------------------------------------------------------- by bradlet at 2012-08-02T16:16:58Z I'm a little confused. This update breaks form validation using the constraints array option, like in the Silex docs: ```php <?php $form = $app['form.factory']->createBuilder('form') ->add('name', 'text', array( 'constraints' => array(new Assert\NotBlank(), new Assert\MinLength(5)) )) ``` It throws a `Symfony\Component\OptionsResolver\Exception\InvalidOptionsException`. Is this something that is no longer allowed within Silex? Do we need to now make classes like in the Symfony Forms component documentation?
-
- 02 Aug, 2012 1 commit
-
-
Henrik Bjørnskov authored
-
- 01 Aug, 2012 1 commit
-
-
Henrik Bjørnskov authored
This closes all of the issues with `$form->bind($request)` does not work issues.
-
- 31 Jul, 2012 3 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 30 Jul, 2012 2 commits
-
-
Fabien Potencier authored
Commits ------- f6854bcb type uppercase Y Discussion ---------- type uppercase Y
-
Luis Cordova authored
-
- 25 Jul, 2012 2 commits
-
-
Fabien Potencier authored
Commits ------- c5431978 Add SecurityServiceProvider to list of included providers Discussion ---------- Add SecurityServiceProvider to list of included providers
-
Igor Wiedler authored
-
- 22 Jul, 2012 2 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 20 Jul, 2012 1 commit
-
-
Fabien Potencier authored
Commits ------- 54045936 Fix typo Discussion ---------- Fix typo
-
- 19 Jul, 2012 1 commit
-
-
Adel authored
-
- 18 Jul, 2012 2 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 15 Jul, 2012 6 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 13 Jul, 2012 7 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
Commits ------- a7c1baee Fixed typos Discussion ---------- Fixed typos
-
Pascal Borreli authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
Commits ------- f618014e Remove use of the `use` in closure Discussion ---------- Remove use of the `use` in closure See https://github.com/fabpot/Pimple/blob/master/lib/Pimple.php#L81 : Pimple give to the closure (as first argument) the container/application, so we do not need to use `use($app)`. Note : * I did not test on php 5.4. But tests are OK on 5.3 * I think it is cleaner to use php default arguments than the use of `use` * I fixed the CS : `function()` -> `function ()` (added a space before `(`)
-
Grégoire Pineau authored
See https://github.com/fabpot/Pimple/blob/master/lib/Pimple.php#L81 : Pimple give to the closure (as first argument) the container/application, so we do not need to use `use($app)`.
-
- 12 Jul, 2012 1 commit
-
-
Fabien Potencier authored
-
- 11 Jul, 2012 4 commits
-
-
Fabien Potencier authored
Commits ------- 5fc0a7fe fastcgi_pass requires unix: prefix when using a socket Discussion ---------- fastcgi_pass requires unix: prefix when using a socket This is the case on my system at any rate. Possible that it is not required in all cases or newer/older versions of nginx?
-
Fabien Potencier authored
Commits ------- ff4432eb Fix phpdocs variable name Discussion ---------- Fix phpdocs variable name
-
Fabien Potencier authored
Commits ------- 82c340c2 Send required parameter to prototype function Discussion ---------- Send required parameter to prototype function --------------------------------------------------------------------------- by igorw at 2012-07-11T01:54:15Z Duplicate of #429.
-
Beau Simensen authored
This is the case on my system at any rate. Possible that it is not required in all cases or newer/older versions of nginx?
-
- 10 Jul, 2012 3 commits
-
-
Adel authored
-
Dave Marshall authored
-
Fabien Potencier authored
Commits ------- 2de6ff72 Fix typehint Discussion ---------- Fix typehint
-
- 09 Jul, 2012 2 commits
-
-
Adel authored
-
Fabien Potencier authored
-
- 07 Jul, 2012 1 commit
-
-
Fabien Potencier authored
Commits ------- 1cd7e78a Add IRC channel to README Discussion ---------- Add IRC channel to README I think the only place this has been mentioned is the mailing list, but people keep coming in there. So adding it to the README would be a good idea imo.
-