HEX
Server: Apache/2.2.22 (Debian)
System: Linux ns382018.ip-46-105-97.eu 3.14.32-xxxx-grs-ipv6-64 #9 SMP Thu Oct 20 14:53:52 CEST 2016 x86_64
User: web279 (5281)
PHP: 5.4.45-0+deb7u8
Disabled: NONE
Upload Files
File: /var/www/clients/client0/web279/web/MTDrubik/plugins/backwpup/inc/Notice/PhpNotice.php
<?php # -*- coding: utf-8 -*-

namespace Inpsyde\BackWPup\Notice;

use Inpsyde\EnvironmentChecker\Constraints;

/**
 * Class PhpNotice
 *
 * @package Inpsyde\BackWPup\Notice
 */
class PhpNotice extends EnvironmentNotice
{

    const OPTION_NAME = 'backwpup_notice_php_version';
    const ID = self::OPTION_NAME;

    /**
     * {@inheritdoc}
     */
    protected function getConstraints()
    {
        return [
            new Constraints\PhpConstraint('7.2'),
        ];
    }

    /**
     * {@inheritdoc}
     */
    protected function message()
    {
        return new NoticeMessage('php');
    }
}