Skip to content

Commit 37b7288

Browse files
author
Hugo Hamon
committed
Fixes various phpdoc and coding standards.
1 parent 6e3a08f commit 37b7288

File tree

3 files changed

+35
-25
lines changed

3 files changed

+35
-25
lines changed

Adapter/AbstractAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function ignoreUnreadableDirs($ignore = true)
228228
* isSupported in the adapters as the generic implementation provides a cache
229229
* layer.
230230
*
231-
* @see isSupported
231+
* @see isSupported()
232232
*
233233
* @return bool Whether the adapter is supported
234234
*/

Comparator/NumberComparator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @copyright 2004-2005 Fabien Potencier <[email protected]>
3131
* @copyright 2002 Richard Clamp <[email protected]>
3232
*
33-
* @see http://physics.nist.gov/cuu/Units/binary.html
33+
* @see http://physics.nist.gov/cuu/Units/binary.html
3434
*/
3535
class NumberComparator extends Comparator
3636
{

Finder.php

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,17 @@
1515
use Symfony\Component\Finder\Adapter\GnuFindAdapter;
1616
use Symfony\Component\Finder\Adapter\BsdFindAdapter;
1717
use Symfony\Component\Finder\Adapter\PhpAdapter;
18+
use Symfony\Component\Finder\Comparator\DateComparator;
19+
use Symfony\Component\Finder\Comparator\NumberComparator;
1820
use Symfony\Component\Finder\Exception\ExceptionInterface;
21+
use Symfony\Component\Finder\Iterator\CustomFilterIterator;
22+
use Symfony\Component\Finder\Iterator\DateRangeFilterIterator;
23+
use Symfony\Component\Finder\Iterator\DepthRangeFilterIterator;
24+
use Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator;
25+
use Symfony\Component\Finder\Iterator\FilecontentFilterIterator;
26+
use Symfony\Component\Finder\Iterator\FilenameFilterIterator;
27+
use Symfony\Component\Finder\Iterator\SizeRangeFilterIterator;
28+
use Symfony\Component\Finder\Iterator\SortableIterator;
1929

2030
/**
2131
* Finder allows to build rules to find files and directories.
@@ -202,8 +212,8 @@ public function files()
202212
*
203213
* @return Finder The current Finder instance
204214
*
205-
* @see Symfony\Component\Finder\Iterator\DepthRangeFilterIterator
206-
* @see Symfony\Component\Finder\Comparator\NumberComparator
215+
* @see DepthRangeFilterIterator
216+
* @see NumberComparator
207217
*
208218
* @api
209219
*/
@@ -229,8 +239,8 @@ public function depth($level)
229239
* @return Finder The current Finder instance
230240
*
231241
* @see strtotime
232-
* @see Symfony\Component\Finder\Iterator\DateRangeFilterIterator
233-
* @see Symfony\Component\Finder\Comparator\DateComparator
242+
* @see DateRangeFilterIterator
243+
* @see DateComparator
234244
*
235245
* @api
236246
*/
@@ -254,7 +264,7 @@ public function date($date)
254264
*
255265
* @return Finder The current Finder instance
256266
*
257-
* @see Symfony\Component\Finder\Iterator\FilenameFilterIterator
267+
* @see FilenameFilterIterator
258268
*
259269
* @api
260270
*/
@@ -272,7 +282,7 @@ public function name($pattern)
272282
*
273283
* @return Finder The current Finder instance
274284
*
275-
* @see Symfony\Component\Finder\Iterator\FilenameFilterIterator
285+
* @see FilenameFilterIterator
276286
*
277287
* @api
278288
*/
@@ -295,7 +305,7 @@ public function notName($pattern)
295305
*
296306
* @return Finder The current Finder instance
297307
*
298-
* @see Symfony\Component\Finder\Iterator\FilecontentFilterIterator
308+
* @see FilecontentFilterIterator
299309
*/
300310
public function contains($pattern)
301311
{
@@ -316,7 +326,7 @@ public function contains($pattern)
316326
*
317327
* @return Finder The current Finder instance
318328
*
319-
* @see Symfony\Component\Finder\Iterator\FilecontentFilterIterator
329+
* @see FilecontentFilterIterator
320330
*/
321331
public function notContains($pattern)
322332
{
@@ -339,7 +349,7 @@ public function notContains($pattern)
339349
*
340350
* @return Finder The current Finder instance
341351
*
342-
* @see Symfony\Component\Finder\Iterator\FilenameFilterIterator
352+
* @see FilenameFilterIterator
343353
*/
344354
public function path($pattern)
345355
{
@@ -362,7 +372,7 @@ public function path($pattern)
362372
*
363373
* @return Finder The current Finder instance
364374
*
365-
* @see Symfony\Component\Finder\Iterator\FilenameFilterIterator
375+
* @see FilenameFilterIterator
366376
*/
367377
public function notPath($pattern)
368378
{
@@ -382,8 +392,8 @@ public function notPath($pattern)
382392
*
383393
* @return Finder The current Finder instance
384394
*
385-
* @see Symfony\Component\Finder\Iterator\SizeRangeFilterIterator
386-
* @see Symfony\Component\Finder\Comparator\NumberComparator
395+
* @see SizeRangeFilterIterator
396+
* @see NumberComparator
387397
*
388398
* @api
389399
*/
@@ -401,7 +411,7 @@ public function size($size)
401411
*
402412
* @return Finder The current Finder instance
403413
*
404-
* @see Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator
414+
* @see ExcludeDirectoryFilterIterator
405415
*
406416
* @api
407417
*/
@@ -419,7 +429,7 @@ public function exclude($dirs)
419429
*
420430
* @return Finder The current Finder instance
421431
*
422-
* @see Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator
432+
* @see ExcludeDirectoryFilterIterator
423433
*
424434
* @api
425435
*/
@@ -441,7 +451,7 @@ public function ignoreDotFiles($ignoreDotFiles)
441451
*
442452
* @return Finder The current Finder instance
443453
*
444-
* @see Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator
454+
* @see ExcludeDirectoryFilterIterator
445455
*
446456
* @api
447457
*/
@@ -459,7 +469,7 @@ public function ignoreVCS($ignoreVCS)
459469
/**
460470
* Adds VCS patterns.
461471
*
462-
* @see ignoreVCS
472+
* @see ignoreVCS()
463473
*
464474
* @param string|string[] $pattern VCS patterns to ignore
465475
*/
@@ -483,7 +493,7 @@ public static function addVCSPattern($pattern)
483493
*
484494
* @return Finder The current Finder instance
485495
*
486-
* @see Symfony\Component\Finder\Iterator\SortableIterator
496+
* @see SortableIterator
487497
*
488498
* @api
489499
*/
@@ -501,7 +511,7 @@ public function sort(\Closure $closure)
501511
*
502512
* @return Finder The current Finder instance
503513
*
504-
* @see Symfony\Component\Finder\Iterator\SortableIterator
514+
* @see SortableIterator
505515
*
506516
* @api
507517
*/
@@ -519,7 +529,7 @@ public function sortByName()
519529
*
520530
* @return Finder The current Finder instance
521531
*
522-
* @see Symfony\Component\Finder\Iterator\SortableIterator
532+
* @see SortableIterator
523533
*
524534
* @api
525535
*/
@@ -539,7 +549,7 @@ public function sortByType()
539549
*
540550
* @return Finder The current Finder instance
541551
*
542-
* @see Symfony\Component\Finder\Iterator\SortableIterator
552+
* @see SortableIterator
543553
*
544554
* @api
545555
*/
@@ -561,7 +571,7 @@ public function sortByAccessedTime()
561571
*
562572
* @return Finder The current Finder instance
563573
*
564-
* @see Symfony\Component\Finder\Iterator\SortableIterator
574+
* @see SortableIterator
565575
*
566576
* @api
567577
*/
@@ -581,7 +591,7 @@ public function sortByChangedTime()
581591
*
582592
* @return Finder The current Finder instance
583593
*
584-
* @see Symfony\Component\Finder\Iterator\SortableIterator
594+
* @see SortableIterator
585595
*
586596
* @api
587597
*/
@@ -602,7 +612,7 @@ public function sortByModifiedTime()
602612
*
603613
* @return Finder The current Finder instance
604614
*
605-
* @see Symfony\Component\Finder\Iterator\CustomFilterIterator
615+
* @see CustomFilterIterator
606616
*
607617
* @api
608618
*/

0 commit comments

Comments
 (0)