From 733d829d6551dde2f290b6c26543dd08956e82e7 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 27 Dec 2016 11:31:39 -0600 Subject: [PATCH] refactor and remove optimize --- src/Illuminate/Foundation/Console/OptimizeCommand.php | 2 ++ src/Illuminate/Support/ServiceProvider.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Illuminate/Foundation/Console/OptimizeCommand.php b/src/Illuminate/Foundation/Console/OptimizeCommand.php index 16aa39a7b9ba..b64156e17e45 100644 --- a/src/Illuminate/Foundation/Console/OptimizeCommand.php +++ b/src/Illuminate/Foundation/Console/OptimizeCommand.php @@ -68,6 +68,8 @@ public function fire() protected function getOptions() { return [ + ['force', null, InputOption::VALUE_NONE, 'Force the compiled class file to be written (deprecated).'], + ['psr', null, InputOption::VALUE_NONE, 'Do not optimize Composer dump-autoload.'], ]; } diff --git a/src/Illuminate/Support/ServiceProvider.php b/src/Illuminate/Support/ServiceProvider.php index 2ce1d9411875..cfc920e8d167 100755 --- a/src/Illuminate/Support/ServiceProvider.php +++ b/src/Illuminate/Support/ServiceProvider.php @@ -266,6 +266,8 @@ public function isDeferred() /** * Get a list of files that should be compiled for the package. * + * @deprecated + * * @return array */ public static function compiles()