You can have your composer.lock and not make others eat it too! | Kevin Ullyott
How a one-line .gitattributes directive stops your PHP package's composer.lock from cluttering consumers' vendor/ directories and triggering false-positive vulnerability scans.
kevinullyott.com