From 6f6881a6c2ba7f55908e5a0c6df0fde975d39bc0 Mon Sep 17 00:00:00 2001 From: sikofitt Date: Wed, 20 Jan 2021 15:00:37 -0800 Subject: [PATCH] Fix composer dev dependencies --- composer.json | 8 ++++---- src/GenerateMac/Mac.php | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 38504ee..798bda4 100644 --- a/composer.json +++ b/composer.json @@ -5,8 +5,7 @@ "require": { "php": ">=7.3", "ext-json": "*", - "ext-sodium": "*", - "phpunit/phpunit": "^9.5" + "ext-sodium": "*" }, "autoload": { "psr-4": { @@ -14,9 +13,10 @@ } }, "require-dev": { - "symfony/console": "^4.1", "friendsofphp/php-cs-fixer": "^2.13", - "squizlabs/php_codesniffer": "^3.3" + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "^3.3", + "symfony/console": "^4.1" }, "autoload-dev": { "psr-4": { diff --git a/src/GenerateMac/Mac.php b/src/GenerateMac/Mac.php index 5d7e5ef..cef9a0e 100644 --- a/src/GenerateMac/Mac.php +++ b/src/GenerateMac/Mac.php @@ -196,6 +196,7 @@ class Mac */ public function getSeparatorAsString(): string { + switch ($this->getSeparator()) { default: case self::SEPARATOR_COLON: