Ensure composer.lock is present, to allow for reproducible local-dev and CI testing

While trying out latest `main`, it became evident that CI is not really stable, in its current
state, because dependencies like `phpunit/phpunit`, `vimeo/psalm`, `phpstan/phpstan` and `squizlab/php_codesniffer`
keep shifting within the boundaries of `composer.json`.

In order to freeze them in place, `composer.lock` is introduced, so that they can be upgraded
individually, therefore preventing headaches when installing the project locally, for either
verifying a bug, or contributing to it.

This change is a bit of a shift from the previous approach, but should allow for better stability,
and better dependency upgrade/checking, so that @dependabot patches breaking CI can be identified
more easily.
This commit is contained in:
Marco Pivetta
2022-03-22 12:53:21 +01:00
parent 5f9cd80b1b
commit 9a9decd604
3 changed files with 6672 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@
/build/ export-ignore
/captainhook.json export-ignore
/CHANGELOG.md export-ignore
/composer.lock export-ignore
/codecov.yml export-ignore
/CODE_OF_CONDUCT.md export-ignore
/CONTRIBUTING.md export-ignore
-1
View File
@@ -1,5 +1,4 @@
/captainhook.config.json
/composer.lock
/phpcs.xml
/phpunit.xml
/vendor/
Generated
+6671
View File
File diff suppressed because it is too large Load Diff