for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sirius\Validation\Rule;
class NotEqual extends Equal
{
const MESSAGE = 'This input is equal to {value}';
const LABELED_MESSAGE = '{label} is equal to {value}';
public function validate($value, $valueIdentifier = null)
parent::validate($value, $valueIdentifier);
$this->success = ! $this->success;
return $this->success;
}