Brian Henry

Results 141 comments of Brian Henry
trafficstars

I think ``` $myvar = 123; class Pear { }; ``` is valid too. So the the beginning `^` should maybe be `^(?:.*;)?` I [tested a little](https://www.phpliveregex.com/p/y3E) but I really...

I found a tool to convert from PSR-0 to PSR-4: [sdrobov/autopsr4](https://github.com/sdrobov/autopsr4). It's definitely beta software but interesting – in the same arena as Mozart. I played around with it and...

Presumably using ``` { "require-dev": { "coenjacobs/mozart": "*", } } ``` is using the 0.5.1 "release" version (pre current betas) which does not have the `delete_vendor_directories` PR merged. So "releases"...

I can definitely reproduce using your exact pasted compser.json. It does **not** occur if you use ``` "require-dev": { "coenjacobs/mozart": "0.6.0-beta-3" }, ``` And does **not** occur if you want...

I think I've seen that when running Mozart from the vendor/bin directory without setting the current working directory to be the project root. In my case through a PhpStorm run...

Post your full composer.json, the smallest possible to reproduce it, and I'll try again.

Are you sure you're on the latest beta? I think unless you set `"minimum-stability": "dev"` (maybe "beta", but "dev" works) in your composer.json, an update will continue just installing 0.5.1...

I made a patch that replaces all `/` with PHP's `DIRECTORY_SEPARATOR` which might be what's needed. You can test by adding this to your `composer.json`: ``` "require-dev": { "cweagans/composer-patches": "~1.0",...

So `vendor\psr/container\src/` is _maybe_ the telling piece in the puzzle. The PHP `DIRECTORY_SEPARATOR` constant (?) is there because Windows uses `\` and everyone else uses `/`. My previous commit was...