API Update deprecations
This commit is contained in:
parent
e5dceb4546
commit
f451edd2d5
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
namespace SilverStripe\RecipePlugin;
|
namespace SilverStripe\RecipePlugin;
|
||||||
|
|
||||||
|
use SilverStripe\Dev\Deprecation;
|
||||||
use Composer\Factory;
|
use Composer\Factory;
|
||||||
use Composer\Installer\LibraryInstaller;
|
use Composer\Installer\LibraryInstaller;
|
||||||
use Composer\Composer;
|
use Composer\Composer;
|
||||||
|
@ -234,6 +235,7 @@ class RecipeInstaller extends LibraryInstaller
|
||||||
*/
|
*/
|
||||||
protected function rewriteFilePath($destinationRoot, $relativePath)
|
protected function rewriteFilePath($destinationRoot, $relativePath)
|
||||||
{
|
{
|
||||||
|
Deprecation::notice('1.2.0', 'Will be removed without equivalent functionality to replace it');
|
||||||
// If app folder exists, no rewrite
|
// If app folder exists, no rewrite
|
||||||
if (is_dir($destinationRoot . DIRECTORY_SEPARATOR . 'app')) {
|
if (is_dir($destinationRoot . DIRECTORY_SEPARATOR . 'app')) {
|
||||||
return $relativePath;
|
return $relativePath;
|
||||||
|
|
Loading…
Reference in New Issue