Skip to content

Commit ce37241

Browse files
committed
Minor improvements on tests and readability
1 parent e29c11d commit ce37241

File tree

9 files changed

+1375
-20
lines changed

9 files changed

+1375
-20
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.idea*
2+
*.sublime-*
3+
**/vendor/*
4+
coverage/*
5+
/tests/fixtures/unittest_annotation_test_auto_generated.yml

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013 Adrian Philipp, https://github.com/adri <mail@adrian-philipp.com>
1+
Copyright (c) 2013-2016 Adrian Philipp, https://github.com/adri <mail@adrian-philipp.com>
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

PHPUnit/Util/Log/VCR.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* A TestListener that integrates with PHP-VCR.
45
*
@@ -13,7 +14,7 @@
1314
* @package PHPUnit
1415
* @subpackage Util_Log
1516
* @author Adrian Philipp <mail@adrian-philipp.com>
16-
* @copyright 2011-2012 Adrian Philipp <mail@adrian-philipp.com>
17+
* @copyright 2011-2016 Adrian Philipp <mail@adrian-philipp.com>
1718
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
1819
* @version Release: @package_version@
1920
* @link http://www.phpunit.de/
@@ -118,6 +119,7 @@ public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time)
118119
* A test started.
119120
*
120121
* @param PHPUnit_Framework_Test $test
122+
* @return bool|null
121123
*/
122124
public function startTest(PHPUnit_Framework_Test $test)
123125
{
@@ -171,6 +173,7 @@ private static function parseDocBlock($doc_block, $tag)
171173

172174
return $matches;
173175
}
176+
174177
/**
175178
* A test ended.
176179
*

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@
1212

1313
"require": {
1414
"php-vcr/php-vcr": "*"
15+
},
16+
"require-dev": {
17+
"phpunit/phpunit": "^4.8"
1518
}
1619
}

0 commit comments

Comments
 (0)