Adam Lundrigan
Adam Lundrigan
The code had changed so much I ditched my original and implemented it fresh, integrating your suggestions: - `RepositoryRetriever` now catches the exception and returns false (@ins0), which is more...
ZendSkeletonApplication is preconfigured to use [`zf-development-mode`](https://github.com/zfcampus/zf-development-mode) to avoid this problem ([details](https://github.com/zendframework/ZendSkeletonApplication#development-mode)). The source of the problem in #48 was that ZendSkeletonApplication was shipped with development mode disabled. In this mode...
Sorry, GitHub Issues is not intended to be a support forum. For help with using the framework please try [our IRC channel #zftalk](https://webchat.freenode.net/?channels=#zftalk) or post a detailed question on Stack...
https://github.com/zendframework/zend-db/pull/20
Your changes have failed the coding standards check. Please refer to CONTRIBUTING.md for details on how to run php-cs-fixer on your changes to ensure they conform.
Confirmed. The following test fails when added to `ZendTest\Form\View\Helper\FormSelectTest`: ``` php public function testIssue18() { $select = new SelectElement('language'); $select->setLabel('Which is your mother tongue?'); $select->setAttribute('multiple', true); $select->setValueOptions(array( '1.1' => 'French',...
The issue is here: [`FormSelect` view helper uses a non-strict `in_array` check](https://github.com/zendframework/zend-form/blob/master/src/View/Helper/FormSelect.php#L206)
The underlying issue here is with [`Zend\Stdlib\ArrayUtils#inArray`](https://github.com/zendframework/zend-stdlib/blob/9ccac573dff16d76ded168ac9708df3b7382ff43/src/ArrayUtils.php#L188-L203). The protection added there to protect against wonky non-strict checks (by casting everything to string) bumps up against a different oddity in PHP:...
Confirmed. Failing test case: ``` php public function testDefaultInputFilterAllowsSubmittingWithNoCheckedOptions() { $element = new MultiCheckboxElement(); $element->setName('foo'); $element->setValueOptions([ 'Option 1' => 'option1', 'Option 2' => 'option2', 'Option 3' => 'option3', ]); $form...
Adding this to `MultiCheckboxElement` will fix the issue: ``` php public function getInputSpecification() { $spec = parent::getInputSpecification(); $spec['required'] = false; return $spec; } ``` However we're changing the default behaviour...