8000 fix class use and in phpdoc · Seldaek/symfony@f0d40c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit f0d40c4

Browse files
ewgRaTobion
authored andcommitted
fix class use and in phpdoc
1 parent ac822f9 commit f0d40c4

File tree

17 files changed

+22
-20
lines changed

17 files changed

+22
-20
lines changed

src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/DoctrineExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protected function setUp()
4949
}
5050

5151
/**
52-
* @expectedException LogicException
52+
* @expectedException \LogicException
5353
*/
5454
public function testFixManagersAutoMappingsWithTwoAutomappings()
5555
{
@@ -239,7 +239,7 @@ public function testServiceCacheDriver()
239239
}
240240

241241
/**
242-
* @expectedException InvalidArgumentException
242+
* @expectedException \InvalidArgumentException
243243
* @expectedExceptionMessage "unrecognized_type" is an unrecognized Doctrine cache driver.
244244
*/
245245
public function testUnrecognizedCacheDriverException()

src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function testClassOptionIsRequired()
117117
}
118118

119119
/**
120-
* @expectedException Symfony\Component\Form\Exception\RuntimeException
120+
* @expectedException \Symfony\Component\Form\Exception\RuntimeException
121121
*/
122122
public function testInvalidClassOption()
123123
{

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/AddConsoleCommandPassTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testProcess()
4040
}
4141

4242
/**
43-
* @expectedException InvalidArgumentException
43+
* @expectedException \InvalidArgumentException
4444
* @expectedExceptionMessage The service "my-command" tagged "console.command" must be public.
4545
*/
4646
public function testProcessThrowAnExceptionIfTheServiceIsNotPublic()
@@ -57,7 +57,7 @@ public function testProcessThrowAnExceptionIfTheServiceIsNotPublic()
5757
}
5858

5959
/**
60-
* @expectedException InvalidArgumentException
60+
* @expectedException \InvalidArgumentException
6161
* @expectedExceptionMessage The service "my-command" tagged "console.command" must not be abstract.
6262
*/
6363
public function testProcessThrowAnExceptionIfTheServiceIsAbstract()
@@ -74,7 +74,7 @@ public function testProcessThrowAnExceptionIfTheServiceIsAbstract()
7474
}
7575

7676
/**
77-
* @expectedException InvalidArgumentException
77+
* @expectedException \InvalidArgumentException
7878
* @expectedExceptionMessage The service "my-command" tagged "console.command" must be a subclass of "Symfony\Component\Console\Command\Command".
7979
*/
8080
public function testProcessThrowAnExceptionIfTheServiceIsNotASubclassOfCommand()

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/MainConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function testCsrfAliases()
9292
}
9393

9494
/**
95-
* @expectedException InvalidArgumentException
95+
* @expectedException \InvalidArgumentException
9696
*/
9797
public function testCsrfOriginalAndAliasValueCausesException()
9898
{

src/Symfony/Component/Console/Helper/ProgressBar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public function clear()
476476
/**
477477
* Sets the progress bar maximal steps.
478478
*
479-
* @param int The progress bar max steps
479+
* @param int $max The progress bar max steps
480480
*/
481481
private func F438 tion setMaxSteps($max)
482482
{

src/Symfony/Component/Console/Helper/Table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ private function buildTableRows($rows)
376376
* fill rows that contains rowspan > 1.
377377
*
378378
* @param array $rows
379-
* @param array $line
379+
* @param int $line
380380
*
381381
* @return array
382382
*/
@@ -429,7 +429,7 @@ private function fillNextRows($rows, $line)
429429
* fill cells for a row that contains colspan > 1.
430430
*
431431
* @param array $row
432-
* @param array $column
432+
* @param int $column
433433
*
434434
* @return array
435435
*/

src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ public function testHasScope()
539539
}
540540

541541
/**
542-
* @expectedException Exception
542+
* @expectedException \Exception
543543
* @expectedExceptionMessage Something went terribly wrong!
544544
*/
545545
public function testGetThrowsException()

src/Symfony/Component/DomCrawler/Tests/FormTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ public function testFormRegistrySetValueOnCompoundField()
820820
}
821821

822822
/**
823-
* @expectedException InvalidArgumentException
823+
* @expectedException \InvalidArgumentException
824824
* @expectedExceptionMessage Unreachable field "0"
825825
*/
826826
public function testFormRegistrySetArrayOnNotCompoundField()

src/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\EventDispatcher\Tests;
1313

1414
use Symfony\Component\EventDispatcher\Event;
15+
use Symfony\Component\EventDispatcher\EventDispatcher;
1516
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
1617

1718
abstract class AbstractEventDispatcherTest extends \PHPUnit_Framework_TestCase

src/Symfony/Component/ExpressionLanguage/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function __construct(array $functions)
8888
* @param TokenStream $stream A token stream instance
8989
* @param array $names An array of valid names
9090
*
91-
* @return Node A node tree
91+
* @return Node\Node A node tree
9292
*
9393
* @throws SyntaxError
9494
*/

0 commit comments

Comments
 (0)
0