diff --git a/MO4/ruleset.xml b/MO4/ruleset.xml index 8b3fa1c..7b74cec 100644 --- a/MO4/ruleset.xml +++ b/MO4/ruleset.xml @@ -135,6 +135,8 @@ + + diff --git a/composer.json b/composer.json index 51843e5..037d329 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "php": "^8.1", "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || ^1.0", "escapestudios/symfony2-coding-standard": "^3.17", - "slevomat/coding-standard": "^8.23", + "slevomat/coding-standard": "^8.28.1", "squizlabs/php_codesniffer": "^4.0" }, "require-dev": { diff --git a/integrationtests/testfile.php b/integrationtests/testfile.php index 9f4c249..fe96c0d 100644 --- a/integrationtests/testfile.php +++ b/integrationtests/testfile.php @@ -20,6 +20,13 @@ */ class FooBar { + use AlphaTrait; + /** + * @use GenericTrait + */ + use GenericTrait; + use ZebraTrait; + public const SOME_CONST = 42; public const STR_CONST = '43'; protected const PROTECT = 0;