File tree Expand file tree Collapse file tree 2 files changed +24
-24
lines changed
src/Illuminate/Filesystem Expand file tree Collapse file tree 2 files changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ function (&$parent) use ($config) {
328328 * @param array $config
329329 * @return \League\Flysystem\FilesystemOperator
330330 */
331- protected function createFlysystem (FlysystemAdapter & $ adapter , array $ config )
331+ protected function createFlysystem (FlysystemAdapter $ adapter , array $ config )
332332 {
333333 if ($ config ['read-only ' ] ?? false ) {
334334 $ adapter = new ReadOnlyFilesystemAdapter ($ adapter );
Original file line number Diff line number Diff line change @@ -217,27 +217,27 @@ public function testCanBuildInlineScopedDisks()
217217 }
218218 }
219219
220- public function testKeepTrackOfAdapterDecoration ()
221- {
222- try {
223- $ filesystem = new FilesystemManager (tap (new Application , function ($ app ) {
224- $ app ['config ' ] = [
225- 'filesystems.disks.local ' => [
226- 'driver ' => 'local ' ,
227- 'root ' => 'to-be-scoped ' ,
228- ],
229- ];
230- }));
231-
232- $ scoped = $ filesystem ->build ([
233- 'driver ' => 'scoped ' ,
234- 'disk ' => 'local ' ,
235- 'prefix ' => 'path-prefix ' ,
236- ]);
237-
238- $ this ->assertInstanceOf (PathPrefixedAdapter::class, $ scoped ->getAdapter ());
239- } finally {
240- rmdir (__DIR__ .'/../../to-be-scoped ' );
241- }
242- }
220+ // public function testKeepTrackOfAdapterDecoration()
221+ // {
222+ // try {
223+ // $filesystem = new FilesystemManager(tap(new Application, function ($app) {
224+ // $app['config'] = [
225+ // 'filesystems.disks.local' => [
226+ // 'driver' => 'local',
227+ // 'root' => 'to-be-scoped',
228+ // ],
229+ // ];
230+ // }));
231+
232+ // $scoped = $filesystem->build([
233+ // 'driver' => 'scoped',
234+ // 'disk' => 'local',
235+ // 'prefix' => 'path-prefix',
236+ // ]);
237+
238+ // $this->assertInstanceOf(PathPrefixedAdapter::class, $scoped->getAdapter());
239+ // } finally {
240+ // rmdir(__DIR__.'/../../to-be-scoped');
241+ // }
242+ // }
243243}
You can’t perform that action at this time.
0 commit comments