Daniel Opitz

Results 100 comments of Daniel Opitz

I found this workaround on this blog: https://prinsfrank.nl/2022/02/04/Configuring-PHP8.1-on-scrutinizer The scrutinizer documentation for the `image` parameter is here: https://scrutinizer-ci.com/docs/guides/upgrading-trusty-image

Currently I'm working an a migration generator for phinx . It's not production ready. https://github.com/odan/migrations

I've had the same issue. After I played a little bit, I came up with this "workaround". ```php use Respect\Validation\Exceptions\NestedValidationException; use Respect\Validation\Validator as v; // ... try { $validation =...

This question is not directly related to Slim. The Slim 4 issue for the [Smarty-View](https://github.com/mathmarques/Smarty-View) package can be found [here](https://github.com/mathmarques/Smarty-View/issues/8).

You can use the `getEntryStream` method for this. Example: ```php // This is optional: Create a ZIP file as stream $zipStream = fopen('php://temp', 'ab'); fwrite($zipStream, base64_decode('UEsFBgAAAAAAAAAAAAAAAAAAAAAAAA==')); $zip = new \PhpZip\ZipFile();...

I have the same (or a similar) issue with the LocalFilesystemAdapter, also in v2. The problem is that `setVisibility()` will only be called if the `Filesystem` instance Config key `visibility`...

Hi @odahcam Handling errors and exceptions in a way that provides useful context can be challenging, especially when dealing with third-party libraries or PHP errors that are not caught within...

@weaverryan What do you think about this option? 4. Immutable, with getter and wither (fluent setter)

According to the documentation: ```php $zip->addFile($file, $entryName, \PhpZip\Constants\ZipCompressionMethod::STORED); // No compression or $zip->addFromString('file', 'content', \PhpZip\Constants\ZipCompressionMethod::STORED); ``` > what do you mean with entry? The $entryName is the filename within the...

The `openFile` method is to open a ZIP file and can be used in combination with the `extractTo` method to extract files from that ZIP file. Are you trying to...