12345678910111213141516171819202122232425262728293031323334 |
- --TEST--
- Requirements from the composer file are not installed if the lock file is present
- --COMPOSER--
- {
- "repositories": [
- {
- "type": "package",
- "package": [
- { "name": "required/pkg", "version": "1.0.0" },
- { "name": "newly-required/pkg", "version": "1.0.0" }
- ]
- }
- ],
- "require": {
- "required/pkg": "1.0.0",
- "newly-required/pkg": "1.0.0"
- }
- }
- --LOCK--
- {
- "packages": [
- { "name": "required/pkg", "version": "1.0.0" }
- ],
- "packages-dev": [],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false
- }
- --RUN--
- install
- --EXPECT--
- Installing required/pkg (1.0.0)
|