Add deprecation warning for `buildpack.yml` usage
sophiewigmore opened this issue · comments
Per paketo-buildpacks/rfcs#58 (from RFC 0026) we are switching over the use of buildpack.yml
configurations to environment variable-set configurations.
We should start this process for PHP by emitting a deprecation warning via log output about using the buildpack.yml
setting that says:
WARNING: Setting the PHP version through buildpack.yml will be deprecated soon in PHP Dist Buildpack v1.0.0.
The v1.0.0 buildpack release will support setting the version through an environment variable instead.
We accomplish this in other buildpacks which can be used as an example for this issue.