Arne Blankerts

Results 303 comments of Arne Blankerts

Interesting idea. I'll have a look at it. I was hoping to not having to touch phpab anymore ;-)

No worries. It's a very reasonable request :)

I just tried to implement this - and failed. The current implementation uses iterators to add the files into the phar. Should be fairly straight forward to hook into this....

Okay, reading the php-src (https://github.com/php/php-src/blob/master/ext/phar/phar_object.c) helped shedding some light. If I understand the inline docs for `::buildFromIterator` correctly, `ext/phar` is always, no matter what, using the info from the actual...

I'm not yet convinced that having a specific API for timestamps on `ext/phar` would be the best way to approach this, as that's rather limiting. Technically, there can be a...

> What metadata besides timestamps do you want to control that you can't control now? Uid and gid come to my mind. > I actually don't remember exactly what the...

@nielsdos Here's a reproducer for the "no method called on SplFileInfo": ```php

I don't use windows, so this answer may be off, but I'd bet that's a shell problem: You need to use single quotes `'` to not have it resolve the`*`...

Additionally, the match operation is performed on the actual path, before it's added to the map (or skipped). So it is unlikely that `folder/*` will ever match. Try `'*/folder/*'`.

> I think the answer largely depends on the answer to this question: if a bundling tool, in our case a PHAR bundler such as [Box](https://github.com/box-project/box) or [Autoload](https://github.com/theseer/Autoload), adds pieces...