Skip to content

Commit 419b355

Browse files
authored
chore: check in composer.lock for supply chain security (#114)
1 parent 6fe1346 commit 419b355

3 files changed

Lines changed: 2020 additions & 1 deletion

File tree

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Exclude files from Composer package archive (packagist distribution).
2+
# Consumers should resolve their own dependency versions.
3+
/composer.lock export-ignore
4+
/test export-ignore
5+
/phpunit.xml export-ignore
6+
/phpcs.xml export-ignore
7+
/.github export-ignore
8+
/Makefile export-ignore

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
composer.lock
1+
# We check in composer.lock for CI reproducibility and supply chain security.
2+
# Composer verifies package integrity hashes on install.
3+
# Run `composer update` to update dependencies explicitly.
4+
# composer.lock
25
vendor
36
composer.phar
47
test/posthog.log

0 commit comments

Comments
 (0)