mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-27 06:26:17 +00:00
composer: Stop using lock file
Since we are a library that supports wide range of PHP versions, we cannot lock into a single set of versions of run-time dependencies. https://getcomposer.org/doc/02-libraries.md#lock-file Composer 1.10.0 introduced `lock` option to prevent generation of `composer.lock` file: https://github.com/composer/composer/releases/tag/1.10.0 https://getcomposer.org/doc/06-config.md#lock This will basically make `composer install` work the same way as `composer update`.
This commit is contained in:
@@ -46,6 +46,9 @@
|
|||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
"psr-4": { "Tests\\Readability\\": "tests/" }
|
"psr-4": { "Tests\\Readability\\": "tests/" }
|
||||||
},
|
},
|
||||||
|
"config": {
|
||||||
|
"lock": false
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"fix": "php-cs-fixer fix --verbose --diff",
|
"fix": "php-cs-fixer fix --verbose --diff",
|
||||||
"phpstan": "phpstan analyze --memory-limit 512M",
|
"phpstan": "phpstan analyze --memory-limit 512M",
|
||||||
|
|||||||
Reference in New Issue
Block a user