Comments (6)
This means that the useless packages would be filled with potentially dangerous false-positives.
That fact makes it perhaps not useful for automation, but yhere could still be an option to request this check on demand - usually the maintainer is going to be able to tell false positives from real ones, so this check could definitely be useful in my opinion.
For example, after a large refactoring, such as splitting off certain members to a separate package - it's often hard to keep track of the dependency changes in that situation.
from composerrequirechecker.
This is problematic due to how composer dependencies work, as sometimes you have to require a dependency, and then a third-party package performs a lookup to see if a certain HTTP client or extension is available, then looks for polyfills and so on.
This means that the useless packages would be filled with potentially dangerous false-positives.
from composerrequirechecker.
This means that the useless packages would be filled with potentially dangerous false-positives.
@mindplay-dk Well explained what I think about that.
This is also why I said the configuration file should accept packages to ignore.
from composerrequirechecker.
Duplicate of #14?
from composerrequirechecker.
@soullivaneuh Would https://github.com/composer-unused/composer-unused help for your case?
from composerrequirechecker.
Would https://github.com/composer-unused/composer-unused help for your case?
I'd recommend that tool, too, even though it is only just starting and has some issues, errors and unresolved edge cases.
I have them both running in an automated job, so using one or two tools is no big deal. And I can imagine that these two tools have way different approaches due to their different nature. Keeping them separate will probably reduce overall complexity. ;)
from composerrequirechecker.
Related Issues (20)
- Replace `webmozart/path-util` with `symfony/filesystem` HOT 11
- Cannot update via phive HOT 4
- Add infection/infection into the CI pipeline HOT 2
- From Twitter: "Cannot use 'Parent' as class name as it is reserved" when running on < PHP 8.0 code HOT 11
- Delete `3.9.x` branch HOT 2
- Missing PHP version should give readable error HOT 1
- Use roave/better-reflection HOT 1
- Parse error with PHP 8.1 code HOT 7
- Tool complains (again) about "mixed" HOT 2
- Remove `ext-json` requirement for PHP 8+
- Fatal error: Allowed memory size of 134217728 bytes exhausted HOT 1
- 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
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.