laminas-filter
laminas-filter copied to clipboard
Programmatically filter and normalize data and files
### Bug Report | Q | A |------------ | ------ | Version(s) | 2.30.0 #### Summary Why are you checking for an instance of the `DateTime` and not a `DateTimeInterface`?...
Is there any reason why DateTime::ISO8601 is still used in [DateTimeFormatter](https://github.com/zendframework/zend-filter/blob/f14d991515528dae45b7c4afd75de0c881d7962c/src/DateTimeFormatter.php#L21)? Taken from the docs: DateTime::ISO8601 DATE_ISO8601 _ISO-8601 (example: 2005-08-15T15:52:01+0000)_ **Note: This format is not compatible with ISO-8601, but is...
### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | no | BC Break | no #### Summary I created this filter...
Is `DateTimeFormatter` filter ( https://github.com/laminas/laminas-filter/blob/2.14.x/src/DateTimeFormatter.php ) missed in documentation? At least I wasn't able to find it here https://docs.laminas.dev/laminas-filter/ .
### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | no | BC Break | no #### Summary I created this filter...
### Bug Report When attempting to instantiate Laminas Filter I'm getting an error about the Closure as array. | Q | A |------------ | ------ Laminas Filter Version(s) | 2.9.3...
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...
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...
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...