for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LeKoala\Tin\Test;
use LeKoala\Tin\TINValid;
use PHPUnit\Framework\TestCase;
class TINValidTest extends TestCase
{
public function testSupportedCountries()
$this->assertTrue(TINValid::isCountrySupported('be'));
LeKoala\Tin\TINValid::isCountrySupported()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$this->assertTrue(TINValid::/** @scrutinizer ignore-call */ isCountrySupported('be'));
$this->assertFalse(TINValid::isCountrySupported('cz'));
}
public function testCheckTin()
$this->assertIsBool(TINValid::checkTIN('be', '00012511119'));