diff --git a/composer.json b/composer.json index 1dc0cc9..958dc24 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require": { "php": "^7.2", "dealerdirect/phpcodesniffer-composer-installer": "^0.4", - "slevomat/coding-standard": "^4.6.1", + "slevomat/coding-standard": "^4.8", "squizlabs/php_codesniffer": "^3.3.2" }, "require-dev": { diff --git a/src/Libero/ruleset.xml b/src/Libero/ruleset.xml index e81b69e..b1a1919 100644 --- a/src/Libero/ruleset.xml +++ b/src/Libero/ruleset.xml @@ -26,8 +26,15 @@ + + + + + + + diff --git a/tests/RulesetTests.php b/tests/RulesetTests.php index 0bd833a..bda7d4f 100644 --- a/tests/RulesetTests.php +++ b/tests/RulesetTests.php @@ -21,6 +21,7 @@ use function implode; use function ini_get; use function mb_convert_encoding; +use function mb_detect_encoding; use function preg_match_all; use function preg_replace; use function sort; diff --git a/tests/cases/php/global-fallbacks b/tests/cases/php/global-fallbacks new file mode 100644 index 0000000..498fe7a --- /dev/null +++ b/tests/cases/php/global-fallbacks @@ -0,0 +1,24 @@ +---DESCRIPTION--- +No global fallbacks +---CONTENTS--- +