for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Author: Nil Portugués Calderó <[email protected]>
* Date: 9/26/14
* Time: 8:28 PM
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tests\NilPortugues\Validator\Resources;
use NilPortugues\Validator\Validation\FileUpload\FileUploadException;
* Class DummyFileUpload
* @package Tests\NilPortugues\Validator\Resources
class DummyFileUpload
{
* @param $uploadName
* @throws \NilPortugues\Validator\Validation\FileUpload\FileUploadException
public static function isBetween($minSize, $maxSize, $format = 'B', $inclusive = false)
$minSize
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$maxSize
$format
$inclusive
throw new FileUploadException($uploadName);
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.