Skip to content

Commit

Permalink
Merge pull request #6 from michal-kocarek/license-fix
Browse files Browse the repository at this point in the history
License fix
  • Loading branch information
Michal Kočárek committed Mar 17, 2016
2 parents 8444b55 + 89b3d41 commit da39afa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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"
],
Expand Down
2 changes: 0 additions & 2 deletions src/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit da39afa

Please sign in to comment.