Skip to content

Commit 0157907

Browse files
committed
Moved repository into Coduo organization
1 parent 31fa26a commit 0157907

22 files changed

+58
-58
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
***PHP Matcher*** lets You assert like a gangster in Your test cases, where response can be something you cannot predict
44

5-
[![Build Status](https://travis-ci.org/defrag/php-matcher.svg)](https://travis-ci.org/defrag/php-matcher)
5+
[![Build Status](https://travis-ci.org/coduo/php-matcher.svg)](https://travis-ci.org/coduo/php-matcher)
66

77
##Installation
88

99
Add to your composer.json
1010

1111
```
1212
require: {
13-
"defrag/php-matcher": "dev-master"
13+
"coduo/php-matcher": "dev-master"
1414
}
1515
```
1616

@@ -63,7 +63,7 @@ public function testGetToys()
6363
}
6464
]
6565
';
66-
$this->assertEquals(match($content, $pattern));
66+
$this->assertTrue(match($content, $pattern));
6767
}
6868
```
6969

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "defrag/php-matcher",
2+
"name": "coduo/php-matcher",
33
"type": "library",
44
"keywords": ["json", "matcher", "tests"],
55
"license": "MIT",
@@ -23,8 +23,8 @@
2323
},
2424
"autoload": {
2525
"psr-0": {
26-
"PHPMatcher": "src/",
27-
"PHPMatcher\\Tests": "tests/"
26+
"Coduo\\PHPMatcher": "src/",
27+
"Coduo\\PHPMatcher\\Tests": "tests/"
2828
},
2929
"files": ["match.php"]
3030
},

match.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

3-
use PHPMatcher\Matcher\ArrayMatcher;
4-
use PHPMatcher\Matcher\ChainMatcher;
5-
use PHPMatcher\Matcher\ExpressionMatcher;
6-
use PHPMatcher\Matcher\JsonMatcher;
7-
use PHPMatcher\Matcher\ScalarMatcher;
8-
use PHPMatcher\Matcher\TypeMatcher;
9-
use PHPMatcher\Matcher\WildcardMatcher;
10-
use PHPMatcher\Matcher;
3+
use Coduo\PHPMatcher\Matcher\ArrayMatcher;
4+
use Coduo\PHPMatcher\Matcher\ChainMatcher;
5+
use Coduo\PHPMatcher\Matcher\ExpressionMatcher;
6+
use Coduo\PHPMatcher\Matcher\JsonMatcher;
7+
use Coduo\PHPMatcher\Matcher\ScalarMatcher;
8+
use Coduo\PHPMatcher\Matcher\TypeMatcher;
9+
use Coduo\PHPMatcher\Matcher\WildcardMatcher;
10+
use Coduo\PHPMatcher\Matcher;
1111

1212
if (is_dir($vendor = __DIR__ . '/../vendor')) {
1313
require_once($vendor . '/autoload.php');

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</testsuites>
1818
<filter>
1919
<whitelist>
20-
<directory>./src/PHPMatcher/</directory>
20+
<directory>./src/Coduo/PHPMatcher/</directory>
2121
</whitelist>
2222
</filter>
23-
</phpunit>
23+
</phpunit>

src/PHPMatcher/Matcher.php renamed to src/Coduo/PHPMatcher/Matcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
2-
namespace PHPMatcher;
2+
namespace Coduo\PHPMatcher;
33

4-
use PHPMatcher\Matcher\PropertyMatcher;
4+
use Coduo\PHPMatcher\Matcher\PropertyMatcher;
55

66
class Matcher implements PropertyMatcher
77
{

src/PHPMatcher/Matcher/ArrayMatcher.php renamed to src/Coduo/PHPMatcher/Matcher/ArrayMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace PHPMatcher\Matcher;
3+
namespace Coduo\PHPMatcher\Matcher;
44

55
use Symfony\Component\PropertyAccess\PropertyAccess;
66
use Symfony\Component\PropertyAccess\Exception\NoSuchIndexException;

src/PHPMatcher/Matcher/CaptureMatcher.php renamed to src/Coduo/PHPMatcher/Matcher/CaptureMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace PHPMatcher\Matcher;
3+
namespace Coduo\PHPMatcher\Matcher;
44

55
class CaptureMatcher implements PropertyMatcher, \ArrayAccess
66
{

src/PHPMatcher/Matcher/ChainMatcher.php renamed to src/Coduo/PHPMatcher/Matcher/ChainMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace PHPMatcher\Matcher;
3+
namespace Coduo\PHPMatcher\Matcher;
44

55
class ChainMatcher implements PropertyMatcher
66
{

src/PHPMatcher/Matcher/ExpressionMatcher.php renamed to src/Coduo/PHPMatcher/Matcher/ExpressionMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace PHPMatcher\Matcher;
3+
namespace Coduo\PHPMatcher\Matcher;
44

55
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
66

src/PHPMatcher/Matcher/JsonMatcher.php renamed to src/Coduo/PHPMatcher/Matcher/JsonMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace PHPMatcher\Matcher;
3+
namespace Coduo\PHPMatcher\Matcher;
44

55
class JsonMatcher implements PropertyMatcher
66
{

0 commit comments

Comments
 (0)