IntegerType does not properly validate in GET.
When creating a request like this: /page?page=1
And considering I have this in my FormType:
$builder->add('page', 'integer', array(
'empty_data' => 1,
));
IntegerType does not properly validate in GET.
When creating a request like this: /page?page=1
And considering I have this in my FormType:
$builder->add('page', 'integer', array(
'empty_data' => 1,
));
<?php | |
/** | |
* Namespace Migration Script | |
* | |
* @author Rasmus Schultz <rasmus@mindplay.dk> | |
* @license http://www.gnu.org/licenses/gpl-3.0.txt | |
* | |
* This script will scan through an entire PHP codebase and rewrite the | |
* scripts, adding a namespace clause based on the directory structure, |