2022-07-05 127次浏览

We are very pleased to announce the major release of Yii Files version 2.0.0. There a few changes and additions:

  • Raise the minimum PHP version to 8.0.
  • Add beforeCopy , afterCopy callbacks for FileHelper::copyFile() and FileHelper::copyDirectory() .
  • Allow RecursiveDirectoryIterator as argument in FileHelper::lastModifiedTime() .
  • Add missed return value and type for callback of set_error_handler() function.