Browse Source

Trim PHPDoc

Kuba Werłos 5 years ago
parent
commit
63256b26d3

+ 1 - 0
.php_cs

@@ -14,4 +14,5 @@ return PhpCsFixer\Config::create()
     ->setRules([
         '@PSR2' => true,
         'php_unit_test_annotation' => true,
+        'phpdoc_trim' => true,
     ]);

+ 0 - 2
tests/Bridge/Laravel/SlugifyProviderTest.php

@@ -42,7 +42,6 @@ class SlugifyProviderTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Laravel\SlugifyServiceProvider::register()
      */
     public function testRegisterRegistersTheServiceProvider()
@@ -57,7 +56,6 @@ class SlugifyProviderTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Laravel\SlugifyServiceProvider::provides()
      */
     public function testContainsReturnsTheNameOfThProvider()

+ 0 - 1
tests/Bridge/Latte/SlugifyHelperTest.php

@@ -25,7 +25,6 @@ class SlugifyHelperTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Latte\SlugifyHelper::slugify()
      */
     public function testSlugify()

+ 0 - 2
tests/Bridge/Nette/SlugifyExtensionTest.php

@@ -24,7 +24,6 @@ class SlugifyExtensionTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Nette\SlugifyExtension::loadConfiguration()
      */
     public function testLoadConfiguration()
@@ -76,7 +75,6 @@ class SlugifyExtensionTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Nette\SlugifyExtension::beforeCompile()
      */
     public function testBeforeCompile()

+ 0 - 2
tests/Bridge/Plum/SlugifyConverterTest.php

@@ -26,7 +26,6 @@ use Mockery\Adapter\Phpunit\MockeryTestCase;
 class SlugifyConverterTest extends MockeryTestCase
 {
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Plum\SlugifyConverter::__construct()
      * @covers Cocur\Slugify\Bridge\Plum\SlugifyConverter::convert()
      */
@@ -40,7 +39,6 @@ class SlugifyConverterTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Plum\SlugifyConverter::__construct()
      * @covers Cocur\Slugify\Bridge\Plum\SlugifyConverter::convert()
      */

+ 0 - 1
tests/Bridge/Silex/SlugifySilexProviderTest.php

@@ -31,7 +31,6 @@ use Mockery\Adapter\Phpunit\MockeryTestCase;
 class SlugifySilexProviderTest extends MockeryTestCase
 {
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Silex\SlugifyServiceProvider
      */
     public function testRegister()

+ 0 - 1
tests/Bridge/Symfony/CocurSlugifyExtensionTest.php

@@ -34,7 +34,6 @@ class CocurSlugifyExtensionTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Symfony\CocurSlugifyExtension::load()
      */
     public function testLoad()

+ 0 - 2
tests/Bridge/Twig/SlugifyExtensionTest.php

@@ -45,7 +45,6 @@ class SlugifyExtensionTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Twig\SlugifyExtension::getFilters()
      */
     public function testGetFilters()
@@ -57,7 +56,6 @@ class SlugifyExtensionTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\Twig\SlugifyExtension::slugifyFilter()
      */
     public function testSlugifyFilter()

+ 0 - 2
tests/Bridge/ZF2/ModuleTest.php

@@ -23,7 +23,6 @@ class ModuleTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\ZF2\Module::getServiceConfig()
      */
     public function testGetServiceConfig()
@@ -37,7 +36,6 @@ class ModuleTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\ZF2\Module::getViewHelperConfig()
      */
     public function testGetViewHelperConfig()

+ 0 - 2
tests/Bridge/ZF2/SlugifyServiceTest.php

@@ -25,7 +25,6 @@ class SlugifyServiceTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\ZF2\SlugifyService::__invoke()
      */
     public function testInvokeWithoutCustomConfig()
@@ -41,7 +40,6 @@ class SlugifyServiceTest extends MockeryTestCase
     }
 
     /**
-     *
      * @covers Cocur\Slugify\Bridge\ZF2\SlugifyService::__invoke()
      */
     public function testInvokeWithCustomConfig()

Some files were not shown because too many files changed in this diff