Skip to content
Snippets Groups Projects
Validation.php 426 B
Newer Older
  • Learn to ignore specific revisions
  • <?php
    
    declare(strict_types=1);
    
    /**
     * @copyright  2020 Ad Aures
     * @license    https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
     * @link       https://castopod.org/
     */
    
    return [
        'min_dims' =>
            '{field} is either not an image, or it is not wide or tall enough.',
        'is_image_ratio' =>
            '{field} is either not an image or not of the right ratio.',
    
        'is_json' => '{field} contains invalid JSON.',