Tom Klingenberg

Results 126 comments of Tom Klingenberg

FYI had an issue following assert/CONTRIBUTING.md on `master` when filing this PR, see https://github.com/beberlei/assert/issues/321

Can also confirm the report for Phpstorm EAP 2022.1, just a different language level: PHP 7.4 - but I guess this makes not much of a difference. /E: if it...

what @theseer [wrote above](#issuecomment-1105183835) (thanks!), here as one-liner for linux/unix shell with what a php developer most likely has already on the system: php + simplexml + zip-archive. ~~~ php...

Already reported since 1805 I'd say.

To consume from an iterable, it needs to be an Iterator which does not rewind. Decorating an iterable with a NoRewindIterator can do this: ~~~ /** * forward only iteration...

> This caused issues in the past, when the temp directory and the vendor directory are not on the same drive, when attempting to move the directory. Yes, on the...

I'm also a bit puzzled and still wondering. And if it helps and this patch with `sys_get_tempdir()` works, then having the complete install outside of the project tree should do...

> Installing outside the project tree isn't as simple as it looks, with things like composer/installers, packages get installed outside the vendor dir, blended with existing project files etc. It's...

> When I made the suggested change, it errored on [..] `is_dir()` etc are affected by stat cache. you could try adding a call to [`clearstatcache()`](https://php.net/clearstatcache) in front and see...

> Detect the failure and retry after a 10ms, then 250ms, then 1s. It will only slow down if it has an issue, so why not? Because it is a...