Comments (7)
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.
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.
@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.
@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.
@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.
additional note: swiftmailer classes aren't being picked up either.
from composerrequirechecker.
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)
- mixed parameter type HOT 6
- constant checks HOT 2
- Parse error with T_PAAMAYIM_NEKUDOTAYIM HOT 2
- Remove ext-tokenizer warnings HOT 2
- Unresolved `getallheaders` function HOT 1
- Default config path HOT 1
- Expose a composer plugin HOT 1
- Reporting missing `ext-random` an PHP 8.2 HOT 5
- GitLab CI Failing even with the command running as expected HOT 11
- [Question] Monorepo setup HOT 12
- Dependency Dashboard
- Switch default branch to `4.6.x` HOT 3
- False positive on Laravel\Illuminate packages HOT 4
- There were no symbols found Error HOT 4
- Distribution using phive & composer HOT 5
- Feature request; take into account require-dev and suggest HOT 6
- GPG signature failed while tagging HOT 6
- PHP Attributes support HOT 3
- False negative when not updating .lock correctly HOT 12
- How to skip particular file HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from composerrequirechecker.