ADmad

Results 347 comments of ADmad

Custom validation methods which will be used by Cake's `Validator` :slightly_smiling_face:

Guys this is an issue, not a pull request. So nothing has actually changed :slightly_smiling_face:.

PR #172 does mention it *could* fix this issue but I guess that's not the case.

There's [CarbonInterval](https://carbon.nesbot.com/docs/#api-interval). So anyone interested could add similar class in Chronos based on that.

I had made a PR to overwrite the config instead of merging again but closed it to avoid any potential issue I might have not considered. Your issue can be...

In future the fields config should be nested inside a `fields` key so that it can be overwritten without worrying about affecting other configs. There's currently another issue too where...

The `$data` property of writer instance already contains the mime type under `type` key. The `DefaultWriter::writeFile()` can be modified to use that value and set mime type for flysystem.

Doh, too bad flysystem doesn't abstract that, that's the whole point of using that lib :slightly_smiling_face:.

I think think the flysystem adapter should be able to infer the type itself and not require setting it explicitly.

I don't think the issue is fixable either. Two options I see are: 1) Deprecate and drop support for using GD resource / `GDImage` instance with `Stream`. 2) Throw an...