Giter Club home page Giter Club logo

Comments (10)

shouze avatar shouze commented on June 18, 2024

👍 we use PSR-4 since few months and it's pretty cool

from core.

stephpy avatar stephpy commented on June 18, 2024

Composer is not in stable mode, users/services have to upgrade theirs composer.

from core.

Hywan avatar Hywan commented on June 18, 2024

@stephpy What does it mean?

from core.

stephpy avatar stephpy commented on June 18, 2024

We didn't switch from PSR-0 to PSR-4 in composer.json files because we didn't know how many services are using the latest Composer version.

Related to that, if users have a version of composer which doesn't support psr-4, they should upgrade it ...

from core.

Hywan avatar Hywan commented on June 18, 2024

@stephpy: What is the source of your quote?

from core.

stephpy avatar stephpy commented on June 18, 2024

@Hywan you ? 3 days ago. In top of this page.

:trollface:

from core.

Hywan avatar Hywan commented on June 18, 2024

@stephpy :-p. Ok. Yes of course they have to upgrade their own version of Composer. Is it a problem?

from core.

stephpy avatar stephpy commented on June 18, 2024

Nope ;) Let's go for PSR-4.

from core.

Hywan avatar Hywan commented on June 18, 2024

All libraries have a PR updating the composer.json file. Hoa\Core has also a PR to update the behavior of hoa://Library/. Everything is ready. I will merge all that stuff tomorrow.

from core.

Hywan avatar Hywan commented on June 18, 2024

Everything works. Back to work.

Bonus with #44, now hoa://Library looks inside the parent of the vendor/ directory when installed through Composer. Thus:

$ git clone https://github.com/hoaproject/Ruler . # for instance
$ composer install
$ vendor/bin/hoa test:run -d Test

now works (it previously failed because hoa://Library/ were only resolved inside vendor/hoa/).

Thanks everyone for the help!

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.