for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Sop\X501\MatchingRule;
/**
* Implements binary matching rule.
*
* Generally used only by UnknownAttribute and custom attributes.
*/
class BinaryMatch extends MatchingRule
{
* {@inheritdoc}
public function compare($assertion, $value): ?bool
return 0 == strcmp($assertion, $value);
}