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