Skip to content

Commit 516bfb8

Browse files
Fix CS/WS issues
1 parent 007a23e commit 516bfb8

File tree

92 files changed

+1293
-509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+1293
-509
lines changed

src/Extensions/GroupTestSuite.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* We want a TestSuite object B that contains TestSuite objects C, D, ...
1515
* for the Tests tagged with @group C, @group D, ...
1616
* Running the Tests from TestSuite object B results in Tests tagged with both
17+
*
1718
* @group C and @group D in TestSuite object A to be run twice .
1819
*
1920
* <code>

src/Extensions/PhptTestCase.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ class PHPUnit_Extensions_PhptTestCase implements PHPUnit_Framework_Test, PHPUnit
5050
/**
5151
* Constructs a test case with the given filename.
5252
*
53-
* @param string $filename
53+
* @param string $filename
54+
*
5455
* @throws PHPUnit_Framework_Exception
5556
*/
5657
public function __construct($filename)
@@ -84,7 +85,8 @@ public function count()
8485
/**
8586
* Runs a test and collects its result in a TestResult instance.
8687
*
87-
* @param PHPUnit_Framework_TestResult $result
88+
* @param PHPUnit_Framework_TestResult $result
89+
*
8890
* @return PHPUnit_Framework_TestResult
8991
*/
9092
public function run(PHPUnit_Framework_TestResult $result = null)
@@ -177,6 +179,7 @@ public function toString()
177179

178180
/**
179181
* @return array
182+
*
180183
* @throws PHPUnit_Framework_Exception
181184
*/
182185
private function parse()
@@ -205,7 +208,8 @@ private function parse()
205208
}
206209

207210
/**
208-
* @param string $code
211+
* @param string $code
212+
*
209213
* @return string
210214
*/
211215
private function render($code)
@@ -227,6 +231,7 @@ private function render($code)
227231
* Parse --INI-- section key value pairs and return as array.
228232
*
229233
* @param string
234+
*
230235
* @return array
231236
*/
232237
protected function parseIniSection($content)

src/Extensions/PhptTestSuite.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class PHPUnit_Extensions_PhptTestSuite extends PHPUnit_Framework_TestSuite
1818
/**
1919
* Constructs a new TestSuite for .phpt test cases.
2020
*
21-
* @param string $directory
21+
* @param string $directory
22+
*
2223
* @throws PHPUnit_Framework_Exception
2324
*/
2425
public function __construct($directory)

src/Extensions/RepeatedTest.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ class PHPUnit_Extensions_RepeatedTest extends PHPUnit_Extensions_TestDecorator
2626
protected $timesRepeat = 1;
2727

2828
/**
29-
* @param PHPUnit_Framework_Test $test
30-
* @param int $timesRepeat
31-
* @param bool $processIsolation
29+
* @param PHPUnit_Framework_Test $test
30+
* @param int $timesRepeat
31+
* @param bool $processIsolation
32+
*
3233
* @throws PHPUnit_Framework_Exception
3334
*/
3435
public function __construct(PHPUnit_Framework_Test $test, $timesRepeat = 1, $processIsolation = false)
@@ -63,8 +64,10 @@ public function count()
6364
* Runs the decorated test and collects the
6465
* result in a TestResult.
6566
*
66-
* @param PHPUnit_Framework_TestResult $result
67+
* @param PHPUnit_Framework_TestResult $result
68+
*
6769
* @return PHPUnit_Framework_TestResult
70+
*
6871
* @throws PHPUnit_Framework_Exception
6972
*/
7073
public function run(PHPUnit_Framework_TestResult $result = null)

src/Extensions/TestDecorator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ public function getTest()
9292
* Runs the decorated test and collects the
9393
* result in a TestResult.
9494
*
95-
* @param PHPUnit_Framework_TestResult $result
95+
* @param PHPUnit_Framework_TestResult $result
96+
*
9697
* @return PHPUnit_Framework_TestResult
9798
*/
9899
public function run(PHPUnit_Framework_TestResult $result = null)

src/Extensions/TicketListener.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $t
6464
* @param PHPUnit_Framework_Test $test
6565
* @param Exception $e
6666
* @param float $time
67+
*
6768
* @since Method available since Release 4.0.0
6869
*/
6970
public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time)
@@ -76,6 +77,7 @@ public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time)
7677
* @param PHPUnit_Framework_Test $test
7778
* @param Exception $e
7879
* @param float $time
80+
*
7981
* @since Method available since Release 3.0.0
8082
*/
8183
public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time)
@@ -86,6 +88,7 @@ public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time
8688
* A test suite started.
8789
*
8890
* @param PHPUnit_Framework_TestSuite $suite
91+
*
8992
* @since Method available since Release 2.2.0
9093
*/
9194
public function startTestSuite(PHPUnit_Framework_TestSuite $suite)
@@ -96,6 +99,7 @@ public function startTestSuite(PHPUnit_Framework_TestSuite $suite)
9699
* A test suite ended.
97100
*
98101
* @param PHPUnit_Framework_TestSuite $suite
102+
*
99103
* @since Method available since Release 2.2.0
100104
*/
101105
public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
@@ -184,7 +188,8 @@ public function endTest(PHPUnit_Framework_Test $test, $time)
184188
}
185189

186190
/**
187-
* @param mixed $ticketId
191+
* @param mixed $ticketId
192+
*
188193
* @return mixed
189194
*/
190195
abstract protected function getTicketInfo($ticketId = null);

0 commit comments

Comments
 (0)