8000 minor #13054 [2.3] CS Fixes (GrahamCampbell) · symfony/symfony@ff52a9f · GitHub
[go: up one dir, main page]

Skip to content

Commit ff52a9f

Browse files
committed
minor #13054 [2.3] CS Fixes (GrahamCampbell)
This PR was squashed before being merged into the 2.3 branch (closes #13054). Discussion ---------- [2.3] CS Fixes | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A ##### This pull request provides some cs fixes. Commits ------- b521c20 [2.3] CS Fixes
2 parents 6031d76 + b521c20 commit ff52a9f

File tree

12 files changed

+19
-21
lines changed

12 files changed

+19
-21
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/UserProvider/DummyProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class DummyProvider implements UserProviderFactoryInterface
1010
{
1111
public function create(ContainerBuilder $container, $id, $config)
1212
{
13-
1413
}
1514

1615
public function getKey()
@@ -20,6 +19,5 @@ public function getKey()
2019

2120
public function addConfiguration(NodeDefinition $node)
2221
{
23-
2422
}
2523
}

src/Symfony/Component/ClassLoader/ApcClassLoader.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ class ApcClassLoader
4444
private $prefix;
4545

4646
/**
47-
* The class loader object being decorated.
47+
* A class loader object that implements the findFile() method.
4848
*
4949
* @var object
50-
* A class loader object that implements the findFile() method.
5150
*/
5251
protected $decorated;
5352

src/Symfony/Component/ClassLoader/ClassLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\ClassLoader;
1313

1414
/**
15-
* ClassLoader implements an PSR-0 class loader
15+
* ClassLoader implements an PSR-0 class loader.
1616
*
1717
* See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
1818
*
@@ -76,7 +76,7 @@ public function addPrefixes(array $prefixes)
7676
}
7777

7878
/**
79-
* Registers a set of classes
79+
* Registers a set of classes.
8080
*
8181
* @param string $prefix The classes prefix
8282
* @param array|string $paths The location(s) of the classes

src/Symfony/Component/ClassLoader/ClassMapGenerator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
}
2121

2222
/**
23-
* ClassMapGenerator
23+
* ClassMapGenerator.
2424
*
2525
* @author Gyula Sallai <salla016@gmail.com>
2626
*/
2727
class ClassMapGenerator
2828
{
2929
/**
30-
* Generate a class map file
30+
* Generate a class map file.
3131
*
3232
* @param array|string $dirs Directories or a single path to search in
3333
* @param string $file The name of the class map file
@@ -45,7 +45,7 @@ public static function dump($dirs, $file)
4545
}
4646

4747
/**
48-
* Iterate over all files in the given directory searching for classes
48+
* Iterate over all files in the given directory searching for classes.
4949
*
5050
* @param \Iterator|string $dir The directory to search in or an iterator
5151
*
@@ -81,7 +81,7 @@ public static function createMap($dir)
8181
}
8282

8383
/**
84-
* Extract the classes in the given file
84+
* Extract the classes in the given file.
8585
*
8686
* @param string $path The file to check
8787
*

src/Symfony/Component/ClassLoader/DebugClassLoader.php

Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function unregister()
7070
}
7171

7272
/**
73-
* Finds a file by class name
73+
* Finds a file by class name.
7474
*
7575
* @param string $class A class name to resolve to file
7676
*

src/Symfony/Component/ClassLoader/UniversalClassLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class UniversalClassLoader
6868

6969
/**
7070
* Turns on searching the include for class files. Allows easy loading
71-
* of installed PEAR packages
71+
* of installed PEAR packages.
7272
*
7373
* @param bool $useIncludePath
7474
*/
@@ -173,7 +173,7 @@ public function registerPrefixFallback($dir)
173173
}
174174

175175
/**
176-
* Registers an array of namespaces
176+
* Registers an array of namespaces.
177177
*
178178
* @param array $namespaces An array of namespaces (namespaces as keys and locations as values)
179179
*

src/Symfony/Component/ClassLoader/WinCacheClassLoader.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ class WinCacheClassLoader
4343
private $prefix;
4444

4545
/**
46-
* The class loader object being decorated.
46+
* A class loader object that implements the findFile() method.
4747
*
48-
* @var \Symfony\Component\ClassLoader\ClassLoader
49-
* A class loader object that implements the findFile() method.
48+
* @var object
5049
*/
5150
protected $decorated;
5251

src/Symfony/Component/ClassLoader/XcacheClassLoader.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ class XcacheClassLoader
4545
private $prefix;
4646

4747
/**
48-
* @var object A class loader object that implements the findFile() method
48+
* A class loader object that implements the findFile() method.
49+
*
50+
* @var object
4951
*/
5052
private $decorated;
5153

src/Symfony/Component/EventDispatcher/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
class Event
3131
{
3232
/**
33-
* @var bool Whether no further event listeners should be triggered
33+
* @var bool Whether no further event listeners should be triggered
3434
*/
3535
private $propagationStopped = false;
3636

src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcacheSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MemcacheSessionHandler implements \SessionHandlerInterface
2424
private $memcache;
2525

2626
/**
27-
* @var int Time to live in seconds
27+
* @var int Time to live in seconds
2828
*/
2929
private $ttl;
3030

0 commit comments

Comments
 (0)
0