zend-filter
zend-filter copied to clipboard
Filter component from Zend Framework
This PR aims to add the behaviour asked in #33 Since the reason behind using the CamelCaseSeparator is tokenizing strings when case is changed, usual expectation is beginning a new...
- [x] Is this related to quality assurance? - [x] Is this related to documentation? Upgrading my setup to released version of #70 caused some confusion. Updating parameter to help...
* add documentation for DateTimeFormatter. Addresses #58. * add @todo notation in docblock for `$format` property * add tests for new option - [x] Are you fixing a bug? -...
This is a new filter that returns `DateTime` or (if desired) `DateTimeImmutable` instances.
code example: ``` php $filter = new \Zend\Filter\File\RenameUpload([ 'target' => './public/img/logotypes/logo', 'use_upload_extension' => true, 'randomize' => true, ]); $file = $filter->filter($file_data); echo $file['tmp_name']; ``` when `logo` folder exists returned value...
Output always uses a dot as a decimal separator, regardless of locale. It should be possible to provide a locale as an option, or even autodetect it via \Locale::getDefault().
This issue has been moved from the `zendframework` repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html --- Original Issue: https://github.com/zendframework/zendframework/issues/7274 User: @denchik63 Created On: 2015-02-27T19:21:43Z...
Not sure if this is expected behavior but seems like a bug to me, but if you pass a string with numbers into `CamelCaseToDashFilter` the dash is not applied before...
Hi Zend-Filter Team, unfortunately the last bugfix update seems to contain a BC. This is the diff i am talking about. https://github.com/zendframework/zend-filter/commit/76a6967a1ca5fc5f27bdea708451b1c851b1d72d#diff-d178b1651bd6efe807b184425f956970 The commit message actually just says "Ensure tests...