You are here

public function UploadedFileTest::uploadedFileErrorProvider in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/File/UploadedFileTest.php \Symfony\Component\HttpFoundation\Tests\File\UploadedFileTest::uploadedFileErrorProvider()

File

vendor/symfony/http-foundation/Tests/File/UploadedFileTest.php, line 249

Class

UploadedFileTest

Namespace

Symfony\Component\HttpFoundation\Tests\File

Code

public function uploadedFileErrorProvider() {
  return array(
    array(
      UPLOAD_ERR_INI_SIZE,
    ),
    array(
      UPLOAD_ERR_FORM_SIZE,
    ),
    array(
      UPLOAD_ERR_PARTIAL,
    ),
    array(
      UPLOAD_ERR_NO_TMP_DIR,
    ),
    array(
      UPLOAD_ERR_EXTENSION,
    ),
  );
}