File tree Expand file tree Collapse file tree 30 files changed +132
-105
lines changed Expand file tree Collapse file tree 30 files changed +132
-105
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
17
18
* Constraint to assert the extending or implementing of specific classes and interfaces.
18
19
*
19
20
* @author Mathias Gelhausen <gelhausen@cross-solution.de>
20
- * @todo write tets.
21
21
*/
22
22
class ExtendsOrImplements extends BaseConstraint
23
23
{
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
15
16
* Exception thrown if a helper trait is used the wrong way
16
17
*
17
18
* @author Mathias Gelhausen <gelhausen@cross-solution.de>
18
- * @todo write tests
19
19
*/
20
20
class InvalidUsageException extends \PHPUnit \Framework \Exception implements ExceptionInterface
21
21
{
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
18
19
* Creates object prophecies or doubles.
19
20
*
20
21
* @author Mathias Gelhausen <gelhausen@cross-solution.de>
21
- * @todo write tests
22
22
*/
23
23
trait CreateProphecyTrait
24
24
{
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
7
9
*/
8
10
9
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
99
100
*
100
101
* @author Mathias Gelhausen <gelhausen@cross-solution.de>
101
102
*
102
- * @since @#next#@ Allow SUT per individual test.
103
+ * @since 2.x Allow SUT per individual test.
103
104
*/
104
105
trait TestSetterAndGetterTrait
105
106
{
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
/** */
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
4
* CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
/**
3
- * CROSS PHPunit Utils
4
+ * CROSS PHPUnit Utils
4
5
*
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
8
9
*/
9
10
10
11
declare (strict_types=1 );
You can’t perform that action at this time.
0 commit comments