diff --git a/README.md b/README.md index fd9e716..a4a3db0 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ This PHP library simplifies formatting and writing TeamCity service messages. ## Installation To add TeamcityMessages as a local, per-project dependency to your project, simply add a dependency on `michal-kocarek/teamcity-messages` to your project's `composer.json` file. -Here is a minimal example of a `composer.json` file that just defines a dependency on TeamcityMessages 0.3: +Here is a minimal example of a `composer.json` file that just defines a dependency on TeamcityMessages: { "require": { - "michal-kocarek/teamcity-messages": "^0.3" + "michal-kocarek/teamcity-messages": "^1.0" } } diff --git a/composer.json b/composer.json index 8ff2e54..3674878 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "michal-kocarek/teamcity-messages", "description": "Write TeamCity service messages from PHP.", - "version": "0.3.0", + "version": "1.0.0", "keywords": [ "teamcity" ], diff --git a/src/Util.php b/src/Util.php index 008482d..1e9d282 100644 --- a/src/Util.php +++ b/src/Util.php @@ -102,8 +102,6 @@ private static function escape($value) return self::ESCAPE_CHARACTER_MAP[$matches[1]]; } elseif ($matches[2]) { return '|0x'.$matches[2]; - } else { - throw new LogicException('Unexpected value.'); } }, $value); }