diff --git a/composer.json b/composer.json index 62dc6ce..d7577c2 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ } }, "require-dev": { - "friendsofphp/php-cs-fixer": "~2.17.1||^3.64", + "friendsofphp/php-cs-fixer": "~2.17.1||3.63.2", "phpstan/phpstan": "^0.12", "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6" }, diff --git a/lib/ContextStackTrait.php b/lib/ContextStackTrait.php index 1bae9a8..4e15bd4 100644 --- a/lib/ContextStackTrait.php +++ b/lib/ContextStackTrait.php @@ -112,7 +112,7 @@ public function popContext() $this->elementMap, $this->contextUri, $this->namespaceMap, - $this->classMap, + $this->classMap ) = array_pop($this->contextStack); } } diff --git a/lib/Writer.php b/lib/Writer.php index dc3fa49..7698961 100644 --- a/lib/Writer.php +++ b/lib/Writer.php @@ -229,7 +229,7 @@ public function writeAttribute($name, $value): bool list( $namespace, - $localName, + $localName ) = Service::parseClarkNotation($name); if (array_key_exists($namespace, $this->namespaceMap)) {