Giter Club home page Giter Club logo

Comments (9)

localheinz avatar localheinz commented on September 25, 2024

@GrahamCampbell

Because phars bin subdeps without all the other hacks that were merged after.

Can you explain, please?

I do not understand this sentence.

from faker.

GrahamCampbell avatar GrahamCampbell commented on September 25, 2024

The situation before was better and minimal.

from faker.

localheinz avatar localheinz commented on September 25, 2024

@GrahamCampbell

What exactly was better in the situation before and what exactly is worse now?

from faker.

GrahamCampbell avatar GrahamCampbell commented on September 25, 2024

Before we had 2 composer.json files that pinned the analyzers to their phar builds. Very simple and robust. Now we need to force resolving dependencies at 7.1.x and commit a lock file. Totally unnecessary.

from faker.

localheinz avatar localheinz commented on September 25, 2024

@GrahamCampbell

From https://github.com/psalm/phar:

This allows you to install Psalm without worrying about composer conflicts.

Since we require psalm/phar in its own composer.json it can not conflict with any other packages. Therefore we can easily require vimeo/psalm instead of psalm/phar.

At the end of the day, it doesn't matter.

Before we had 2 composer.json files that pinned the analyzers to their phar builds. Very simple and robust. Now we need to force resolving dependencies at 7.1.x and commit a lock file. Totally unnecessary.

Now we do not need to to anything.

Where before we either had to manually update

  • phpstan/phpstan
  • phpstan/phpstan-deprecation-rules
  • vimeo/psalm

or continue using them in the pinned versions, we now benefit from automatic updates made by Dependabot.

from faker.

GrahamCampbell avatar GrahamCampbell commented on September 25, 2024

Can dependabot not automatically update pinned versions in composer.json?

from faker.

localheinz avatar localheinz commented on September 25, 2024

@GrahamCampbell

Can dependabot not automatically update pinned versions in composer.json?

It doesn't.

I'm sure it could - but if it did, then people would probably stop using it.

from faker.

pimjansen avatar pimjansen commented on September 25, 2024

Bummer is that it does not really support semver right so that we can just lock it on minor or patches instead

from faker.

GrahamCampbell avatar GrahamCampbell commented on September 25, 2024

They do, but that isn't enough. We don't want new analysis features to fail our builds. We want to control when we upgrade.

from faker.

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.