Skip to content

Commit da39afa

Browse files
author
Michal Kočárek
committed
Merge pull request #6 from michal-kocarek/license-fix
License fix
2 parents 8444b55 + 89b3d41 commit da39afa

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ This PHP library simplifies formatting and writing TeamCity service messages.
88
## Installation
99

1010
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.
11-
Here is a minimal example of a `composer.json` file that just defines a dependency on TeamcityMessages 0.3:
11+
Here is a minimal example of a `composer.json` file that just defines a dependency on TeamcityMessages:
1212

1313
{
1414
"require": {
15-
"michal-kocarek/teamcity-messages": "^0.3"
15+
"michal-kocarek/teamcity-messages": "^1.0"
1616
}
1717
}
1818

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "michal-kocarek/teamcity-messages",
33
"description": "Write TeamCity service messages from PHP.",
4-
"version": "0.3.0",
4+
"version": "1.0.0",
55
"keywords": [
66
"teamcity"
77
],

src/Util.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ private static function escape($value)
102102
return self::ESCAPE_CHARACTER_MAP[$matches[1]];
103103
} elseif ($matches[2]) {
104104
return '|0x'.$matches[2];
105-
} else {
106-
throw new LogicException('Unexpected value.');
107105
}
108106
}, $value);
109107
}

0 commit comments

Comments
 (0)