Giter VIP home page Giter VIP logo

Comments (7)

Ocramius avatar Ocramius commented on June 19, 2024

Reproduction should be a test case that can be integrated with this test suite. In https://github.com/Roave/BackwardCompatibilityCheck/blob/1.0.3/src/SourceLocator/StaticClassMapSourceLocator.php I implemented a source locator capable of working with any composer dump-autoload -a output (as per composer 1.6.4)

from composerrequirechecker.

 avatar commented on June 19, 2024

not sure how to integrate it with the test suite while at work- was just about able to smoosh together a bare-minimum reproduction repo- reproducing the problem with composer install && composer run tests

from composerrequirechecker.

Ocramius avatar Ocramius commented on June 19, 2024

@WDD-Marv we all do work as well, heh 😛

I think we might need a better abstraction for detecting files overall though: the current one is very much a hack.

from composerrequirechecker.

 avatar commented on June 19, 2024

@Ocramius I'm wondering if it's something specific to the symbol \{a}\{b}\{c} where a, b, & c are equal to "PHPMailer"- I've not used anything else with this package that I've observed has the same class name..


Where might one look to best determine why the class isn't being picked up ?

from composerrequirechecker.

Ocramius avatar Ocramius commented on June 19, 2024

@WDD-Marv no assumptions - everything should be based on AST.

The best way to understand why it's not being picked up is with an isolated reproduction scenario that you reduce more and more until you get to the point where a change makes the test pass/break on a very tiny modification.

from composerrequirechecker.

 avatar commented on June 19, 2024

additional note: swiftmailer classes aren't being picked up either.

from composerrequirechecker.

temp avatar temp commented on June 19, 2024

Stumbled upon the same problem. Might this be related to the fact that swiftmailer registers it's own autoloader?
Edit: Just saw there are a lot of other issues regarding this issue. Will follow there.

from composerrequirechecker.

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.