Alex

Results 951 comments of Alex

When you specify version as `2.0.0@dev`, then `@dev` part is changing minimum stability for that only dependency to `dev` which allows it be be used. I'm not sure, why this...

> I would even say, you must not require branches in composer. The `@dev` doesn't explicitly say `use master branch`, but what it does is using branch alias. This way...

Thanks, @DerMika. That's exactly what I was explaining to @andkirby in https://github.com/chobie/jira-api-restclient/issues/127#issuecomment-239424316. No need to release alpha/beta to use the library.

My appologies @andkirby . Now I see where the problem is. In the README command should be ``` php composer.phar require chobie/jira-api-restclient ^2.0@dev ``` instead of ``` php composer.phar require...

This wasn't working because `dev-master` is alias to `2.0.x` version and not to `2.0.0` specifically. With `^` exactly `2.0.0` version is transformed into version range, which now also includes `2.0.x`...

> In this case, I would suggest to use ~2.0@dev instead ^2.0@dev because the last one includes 3.x as well which is not compatible with 2.x and could lead to...

> So, your approach works only if I require the package chobie/jira-api-restclient before another one which requires it too. @andkirby the order (before/after) doesn't matter. You just need to mention...

@andkirby as we already figured out releasing beta won't allow it be used due minimum stability setting anyway. I guess you have project that you want others to use, but...

Also change existing tests to use namespaces. Namespace support in tests was added in #50.