Пример #1
0
 public function __construct()
 {
     parent::__construct();
     trigger_error('Use consonant instead.', E_USER_DEPRECATED);
 }
Пример #2
0
 /**
  * @dataProvider providerAdditionalChars
  */
 public function testAdditionalCharsShouldBeRespected($additional, $query)
 {
     $validator = new Consonant($additional);
     $this->assertTrue($validator->validate($query));
 }