@@ -788,12 +788,22 @@ protected function normalizeLocalConfig($config)
788788 ],
789789EOT;
790790
791+ // Up through Larvavel 11.39
792+ $ variants [] = <<<'EOT'
793+ 'local' => [
794+ 'driver' => 'local',
795+ 'root' => storage_path('app'),
796+ 'throw' => false,
797+ ],
798+ EOT;
799+
791800 // Current version
792801 $ current = <<<'EOT'
793802 'local' => [
794803 'driver' => 'local',
795804 'root' => storage_path('app'),
796805 'throw' => false,
806+ 'report' => false,
797807 ],
798808EOT;
799809
@@ -821,6 +831,17 @@ protected function normalizePublicConfig($config)
821831 ],
822832EOT;
823833
834+ // Up through Larvavel 11.39
835+ $ variants [] = <<<'EOT'
836+ 'public' => [
837+ 'driver' => 'local',
838+ 'root' => storage_path('app/public'),
839+ 'url' => env('APP_URL').'/storage',
840+ 'visibility' => 'public',
841+ 'throw' => false,
842+ ],
843+ EOT;
844+
824845 // Current version
825846 $ current = <<<'EOT'
826847 'public' => [
@@ -829,6 +850,7 @@ protected function normalizePublicConfig($config)
829850 'url' => env('APP_URL').'/storage',
830851 'visibility' => 'public',
831852 'throw' => false,
853+ 'report' => false,
832854 ],
833855EOT;
834856
@@ -873,6 +895,21 @@ protected function normalizeS3Config($config)
873895 ],
874896EOT;
875897
898+ // Up through Larvavel 11.39
899+ $ variants [] = <<<'EOT'
900+ 's3' => [
901+ 'driver' => 's3',
902+ 'key' => env('AWS_ACCESS_KEY_ID'),
903+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),
904+ 'region' => env('AWS_DEFAULT_REGION'),
905+ 'bucket' => env('AWS_BUCKET'),
906+ 'url' => env('AWS_URL'),
907+ 'endpoint' => env('AWS_ENDPOINT'),
908+ 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
909+ 'throw' => false,
910+ ],
911+ EOT;
912+
876913 // Current version
877914 $ current = <<<'EOT'
878915 's3' => [
@@ -885,6 +922,7 @@ protected function normalizeS3Config($config)
885922 'endpoint' => env('AWS_ENDPOINT'),
886923 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
887924 'throw' => false,
925+ 'report' => false,
888926 ],
889927EOT;
890928
0 commit comments