laravel-fans / laravel-docker

Full Laravel production environment for Docker
https://packagist.org/packages/laravel-fans/docker
MIT License
38 stars 12 forks source link

fix-cmd #6

Closed zoulux closed 4 years ago

zoulux commented 4 years ago
$ php artisan docker:publish

  UnexpectedValueException 

  FilesystemIterator::__construct() expects parameter 2 to be int, array given

  at vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:552
    548|         // create it recursively, which just gets the destination prepared to copy
    549|         // the files over. Once we make the directory we'll proceed the copying.
    550|         $this->ensureDirectoryExists($destination, 0777);
    551| 
  > 552|         $items = new FilesystemIterator($directory, $options);
    553| 
    554|         foreach ($items as $item) {
    555|             // As we spin through items, we will check to see if the current file is actually
    556|             // a directory or a file. When it is actually a directory we will need to call

      +17 vendor frames 
  18  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))