Skip to content

Commit 0010b12

Browse files
committed
style: reformat file level phpdoc comments
1 parent bff01b1 commit 0010b12

30 files changed

+132
-105
lines changed

src/Constraint/ExtendsOrImplements.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);
@@ -17,7 +18,6 @@
1718
* Constraint to assert the extending or implementing of specific classes and interfaces.
1819
*
1920
* @author Mathias Gelhausen <gelhausen@cross-solution.de>
20-
* @todo write tets.
2121
*/
2222
class ExtendsOrImplements extends BaseConstraint
2323
{

src/Constraint/UsesTraits.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/Exception/ExceptionInterface.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/Exception/InvalidUsageException.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);
@@ -15,7 +16,6 @@
1516
* Exception thrown if a helper trait is used the wrong way
1617
*
1718
* @author Mathias Gelhausen <gelhausen@cross-solution.de>
18-
* @todo write tests
1919
*/
2020
class InvalidUsageException extends \PHPUnit\Framework\Exception implements ExceptionInterface
2121
{

src/Exception/TemplatedMessageExceptionTrait.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/TestCase/AssertInheritanceTrait.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/TestCase/AssertUsesTraitsTrait.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/TestCase/ContainerDoubleTrait.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/TestCase/CreateProphecyTrait.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);
@@ -18,7 +19,6 @@
1819
* Creates object prophecies or doubles.
1920
*
2021
* @author Mathias Gelhausen <gelhausen@cross-solution.de>
21-
* @todo write tests
2222
*/
2323
trait CreateProphecyTrait
2424
{

src/TestCase/SetupTargetTrait.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
79
*/
810

911
declare(strict_types=1);

src/TestCase/TestInheritanceTrait.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/TestCase/TestSetterAndGetterTrait.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);
@@ -99,7 +100,7 @@
99100
*
100101
* @author Mathias Gelhausen <gelhausen@cross-solution.de>
101102
*
102-
* @since @#next#@ Allow SUT per individual test.
103+
* @since 2.x Allow SUT per individual test.
103104
*/
104105
trait TestSetterAndGetterTrait
105106
{

src/TestCase/TestUsesTraitsTrait.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2013 - 2016 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/Utils/Instance.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

src/Utils/Target.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

test/TestUtilsTest/Constraint/ExtendsOrImplementsTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

test/TestUtilsTest/Constraint/UsesTraitsTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
/** */

test/TestUtilsTest/Exception/InvalidUsageExceptionTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

test/TestUtilsTest/Exception/TemplatedMessageExceptionTraitTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

test/TestUtilsTest/TestCase/AssertInheritanceTraitTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

test/TestUtilsTest/TestCase/AssertUsesTraitsTraitTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

test/TestUtilsTest/TestCase/ContainerDoubleTraitTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
34
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @license MIT
7-
* @copyright 2019 Cross Solution <http://cross-solution.de>
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

test/TestUtilsTest/TestCase/CreateProphecyTraitTest.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?php
2+
23
/**
3-
* CROSS PHPunit Utils
4+
* CROSS PHPUnit Utils
45
*
5-
* @filesource
6-
* @copyright 2019 Cross Solution <https://www.cross-solution.de>
7-
* @license MIT
6+
* @see https://github.com/cross-solution/phpunit-utils for the canonical source repository
7+
* @copyright https://github.com/cross-solution/phpunit-utils/blob/master/COPYRIGHT
8+
* @license https://github.com/cross-solution/phpunit-utils/blob/master/LICENSE MIT
89
*/
910

1011
declare(strict_types=1);

0 commit comments

Comments
 (0)