diff --git a/fixtures/composer_install_options/.bp-config/options.json b/fixtures/composer_install_options/.bp-config/options.json new file mode 100644 index 000000000..b6a5f502b --- /dev/null +++ b/fixtures/composer_install_options/.bp-config/options.json @@ -0,0 +1,3 @@ +{ + "COMPOSER_INSTALL_OPTIONS": ["--dev"] +} diff --git a/fixtures/composer_install_options/composer.json b/fixtures/composer_install_options/composer.json new file mode 100644 index 000000000..601688e6b --- /dev/null +++ b/fixtures/composer_install_options/composer.json @@ -0,0 +1,9 @@ +{ + "name": "cloudfoundry/composer_install_options_test", + "require": { + "php": ">=8.1" + }, + "require-dev": { + "psr/log": "^3.0" + } +} diff --git a/fixtures/composer_install_options/composer.lock b/fixtures/composer_install_options/composer.lock new file mode 100644 index 000000000..12faf6cf0 --- /dev/null +++ b/fixtures/composer_install_options/composer.lock @@ -0,0 +1,71 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4", + "packages": [], + "packages-dev": [ + { + "name": "psr/log", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.0" + }, + "time": "2021-07-14T16:46:02+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=8.1" + }, + "platform-dev": [], + "plugin-api-version": "2.3.0" +} diff --git a/fixtures/composer_install_options/htdocs/index.php b/fixtures/composer_install_options/htdocs/index.php new file mode 100644 index 000000000..948646dac --- /dev/null +++ b/fixtures/composer_install_options/htdocs/index.php @@ -0,0 +1,11 @@ +