Skip to content

Commit 28411dd

Browse files
committed
Merge pull request #5 from estahn/analysis-8PxnOK
Applied fixes from StyleCI
2 parents f243e6b + 739fc04 commit 28411dd

File tree

3 files changed

+34
-5
lines changed

3 files changed

+34
-5
lines changed

src/Extension/SymfonyClass.php

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

3+
/*
4+
* This file is part of the phpunit-json-assertions package.
5+
*
6+
* (c) Enrico Stahn <enrico.stahn@gmail.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace EnricoStahn\JsonAssert\Extension;
413

514
class SymfonyClass extends \PHPUnit_Framework_TestCase
615
{
716
use Symfony;
8-
}
17+
}

tests/Extension/SymfonyTest.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the phpunit-json-assertions package.
5+
*
6+
* (c) Enrico Stahn <enrico.stahn@gmail.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace EnricoStahn\JsonAssert\Tests\Extension;
413

514
use EnricoStahn\JsonAssert\Extension\Symfony;
@@ -30,4 +39,4 @@ public function testAssertJsonValueEquals()
3039

3140
Symfony::assertJsonValueEquals(123, 'foo', $response);
3241
}
33-
}
42+
}

tests/Utils.php

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

3+
/*
4+
* This file is part of the phpunit-json-assertions package.
5+
*
6+
* (c) Enrico Stahn <enrico.stahn@gmail.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace EnricoStahn\JsonAssert\Tests;
413

514
class Utils
615
{
716
/**
8-
* Returns the full path of the schema file
17+
* Returns the full path of the schema file.
918
*
1019
* @param string $filename The filename of the schema file
20+
*
1121
* @return string
1222
*/
1323
public static function getSchemaPath($filename)
@@ -16,13 +26,14 @@ public static function getSchemaPath($filename)
1626
}
1727

1828
/**
19-
* Returns the full path of the schema file
29+
* Returns the full path of the schema file.
2030
*
2131
* @param string $filename The filename of the json file
32+
*
2233
* @return string
2334
*/
2435
public static function getJsonPath($filename)
2536
{
2637
return implode(DIRECTORY_SEPARATOR, [__DIR__, 'json', $filename]);
2738
}
28-
}
39+
}

0 commit comments

Comments
 (0)