Skip to content

Commit 771ddd5

Browse files
authored
Merge pull request #2 from sidz/rename-package
Rename package
2 parents 0fc0aeb + bb93183 commit 771ddd5

10 files changed

Lines changed: 30 additions & 24 deletions

composer.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
2-
"name": "helmich/phpunit-json-assert",
2+
"name": "sidz/phpunit-json-assert",
33
"description": "PHPUnit assertions for JSON documents",
44
"license": "MIT",
55
"authors": [
66
{
77
"name": "Martin Helmich",
88
"email": "m.helmich@mittwald.de"
9+
},
10+
{
11+
"name": "Oleg Zhulnev",
12+
"homepage": "https://github.com/sidz"
913
}
1014
],
1115
"require": {
@@ -21,10 +25,13 @@
2125
},
2226
"autoload": {
2327
"psr-4": {
24-
"Helmich\\JsonAssert\\": "src/"
28+
"Sid\\JsonAssert\\": "src/"
2529
}
2630
},
2731
"autoload-dev": {
32+
"psr-4": {
33+
"Sid\\JsonAssert\\Tests\\": "tests/"
34+
},
2835
"files": [
2936
"src/Functions.php"
3037
]

src/Constraint/JsonValueMatches.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Helmich\JsonAssert\Constraint;
2+
namespace Sid\JsonAssert\Constraint;
33

44
use Flow\JSONPath\JSONPath;
55
use PHPUnit\Framework\Constraint\Constraint;
@@ -8,7 +8,7 @@
88
* A simple constraints that asserts that a single value of a JSON document
99
* matches a given constraint.
1010
*
11-
* @package Helmich\JsonAssert
11+
* @package Sid\JsonAssert
1212
* @subpackage Constraint
1313
*/
1414
class JsonValueMatches extends Constraint

src/Constraint/JsonValueMatchesMany.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Helmich\JsonAssert\Constraint;
2+
namespace Sid\JsonAssert\Constraint;
33

44
use PHPUnit\Framework\Constraint\Constraint;
55
use PHPUnit\Framework\Constraint\IsEqual;
@@ -8,7 +8,7 @@
88
* Constraint that asserts that a JSON document matches an entire set of JSON
99
* value constraints.
1010
*
11-
* @package Helmich\JsonAssert
11+
* @package Sid\JsonAssert
1212
* @subpackage Constraint
1313
*/
1414
class JsonValueMatchesMany extends Constraint

src/Constraint/JsonValueMatchesSchema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Helmich\JsonAssert\Constraint;
2+
namespace Sid\JsonAssert\Constraint;
33

44
use JsonSchema\Validator;
55
use PHPUnit\Framework\Constraint\Constraint;
@@ -8,7 +8,7 @@
88
/**
99
* A constraint for asserting that a JSON document matches a schema
1010
*
11-
* @package Helmich\JsonAssert
11+
* @package Sid\JsonAssert
1212
* @subpackage Constraint
1313
*/
1414
class JsonValueMatchesSchema extends Constraint

src/Functions.php

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

3-
use Helmich\JsonAssert\Constraint\JsonValueMatches;
4-
use Helmich\JsonAssert\Constraint\JsonValueMatchesMany;
5-
use Helmich\JsonAssert\Constraint\JsonValueMatchesSchema;
3+
use Sid\JsonAssert\Constraint\JsonValueMatches;
4+
use Sid\JsonAssert\Constraint\JsonValueMatchesMany;
5+
use Sid\JsonAssert\Constraint\JsonValueMatchesSchema;
66
use PHPUnit\Framework\Constraint\Constraint;
77
use PHPUnit\Framework\Constraint\IsEqual;
88

src/JsonAssertions.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
2-
namespace Helmich\JsonAssert;
2+
namespace Sid\JsonAssert;
33

4-
use Helmich\JsonAssert\Constraint\JsonValueMatches;
5-
use Helmich\JsonAssert\Constraint\JsonValueMatchesMany;
6-
use Helmich\JsonAssert\Constraint\JsonValueMatchesSchema;
4+
use Sid\JsonAssert\Constraint\JsonValueMatches;
5+
use Sid\JsonAssert\Constraint\JsonValueMatchesMany;
6+
use Sid\JsonAssert\Constraint\JsonValueMatchesSchema;
77
use PHPUnit\Framework\Assert;
88
use PHPUnit\Framework\Constraint\Constraint;
99
use PHPUnit\Framework\Constraint\IsEqual;
1010

1111
/**
1212
* A trait that can be used in test classes for easy use of JSON assertions
1313
*
14-
* @package Helmich\JsonAssert
14+
* @package Sid\JsonAssert
1515
*/
1616
trait JsonAssertions
1717
{

tests/Functional/JsonValueMatchesFluentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Helmich\JsonAssert\Tests\Functional;
2+
namespace Sid\JsonAssert\Tests\Functional;
33

44
use PHPUnit\Framework\TestCase;
55

tests/Functional/JsonValueMatchesSchemaFluentTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
2-
namespace Helmich\JsonAssert\Tests\Functional;
2+
namespace Sid\JsonAssert\Tests\Functional;
33

4-
use Helmich\JsonAssert\JsonAssertions;
4+
use Sid\JsonAssert\JsonAssertions;
55
use PHPUnit\Framework\AssertionFailedError;
66
use PHPUnit\Framework\TestCase;
77

tests/Functional/JsonValueMatchesSchemaTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
2-
namespace Helmich\JsonAssert\Tests\Functional;
2+
namespace Sid\JsonAssert\Tests\Functional;
33

4-
use Helmich\JsonAssert\JsonAssertions;
4+
use Sid\JsonAssert\JsonAssertions;
55
use PHPUnit\Framework\AssertionFailedError;
66
use PHPUnit\Framework\TestCase;
77

tests/Functional/JsonValueMatchesTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<?php
2-
namespace Helmich\JsonAssert\Tests\Functional;
2+
namespace Sid\JsonAssert\Tests\Functional;
33

4-
use Helmich\JsonAssert\JsonAssertions;
4+
use Sid\JsonAssert\JsonAssertions;
55
use PHPUnit\Framework\AssertionFailedError;
66
use PHPUnit\Framework\Attributes\DataProvider;
7-
use PHPUnit\Framework\Attributes\RequiresPhpunit;
87
use PHPUnit\Framework\Constraint\Count;
98
use PHPUnit\Framework\Constraint\IsEqual;
109
use PHPUnit\Framework\Constraint\IsType;

0 commit comments

Comments
 (0)