mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-28 02:57:57 +00:00
:octocat: fix PHPCS config, add Slevomat rules
This commit is contained in:
@@ -76,7 +76,7 @@ final class HanziTest extends DataInterfaceTestAbstract{
|
||||
try{
|
||||
$this::assertTrue(Hanzi::validateString($chr));
|
||||
}
|
||||
catch(Throwable $e){
|
||||
catch(Throwable){
|
||||
/** @noinspection PhpUndefinedConstantInspection - see phpunit.xml.dist */
|
||||
if(defined('TEST_IS_CI') && TEST_IS_CI === true){
|
||||
$this::markTestSkipped();
|
||||
@@ -85,7 +85,7 @@ final class HanziTest extends DataInterfaceTestAbstract{
|
||||
$this::markTestSkipped(sprintf(
|
||||
'invalid glyph: %s => %s',
|
||||
bin2hex(mb_convert_encoding($chr, Hanzi::ENCODING, 'UTF-8')),
|
||||
$chr
|
||||
$chr,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user