You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,9 @@ New features are always welcome! Follow these guidelines
102
102
- Make sure there is a way to test the feature.
103
103
- Test with PHP 5.3 (I'm serious!), >=5.4<7, 7.current. Docker is helpful, particularly for the older versions. Just run the ubuntu:12.04 image and install php for 5.3 and 14.04 for 5.6. I can help if you're having trouble.
104
104
105
-
To run using the test data simply point the `--to` and `--from` args at the lock files,
105
+
The `Makefile` has some test cases. Run `make | less` and inspect the output. If you need specific versions or more information, continue reading.
106
+
107
+
To run using the test data manually simply point the `--to` and `--from` args at the lock files,
- Copy `../test-data/composer.from.json` as `composer.json` and `../test-data/composer.from.lock` as `composer.lock`.
150
152
- Commit them.
151
153
- Run `composer install`
152
-
- The generated `composer.lock` should look similar to `../test-data/composer.from.lock` but there will be differences due to transient dependencies. No real way around that. Use `composer-lock-diff` to make sure none of the named packages change versions.
153
154
- Add your _pre_ case to `composer.json`. Use an exact version.
154
-
- Generate a new lock file. Commit it.
155
+
- Run `composer update`.
156
+
- The generated `composer.lock` should look similar to `../test-data/composer.from.lock` but there will be differences due to transient dependencies. No real way around that. Use `composer-lock-diff` to make sure none of the named packages change versions and your new case is there.
155
157
- Copy `composer.json` to `../test-data/composer.from.json` and `composer.lock` to `composer.from.lock`.
156
158
- Copy `../test-data/composer.to.json` as `composer.json`.
157
159
- Add your _post_ case to `composer.json`. Again, exact versions are best.
0 commit comments