Incredible amount of composer testing code: bad idea?
-
All the useless extra code that composer style development drops into directories like:
- wp-statistics/vendor/geoip2/geoip2/tests/GeoIp2/Test/WebService
- wp-statistics/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/Debug
- wp-statistics/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services
Can we wall of most of wp-statistics with .htaccess ? Can we delete some of these hundreds of useless files? Are they needed? Are they dangerous?
I posted an answer at StackExchange about how to use the MaxMind GEO database with a very minimal composer footprint: https://stackoverflow.com/questions/21041463/get-a-localized-name-of-the-users-city-via-maxmind-geolite2-free Last time I checked it still worked.
MaxMind’s file-based db is superior to the MySQL geo databases out there, I think. It’s easier to distribute. But the composer stuff is just utter cr*p in my opinion.
- The topic ‘Incredible amount of composer testing code: bad idea?’ is closed to new replies.