Skip to content

Commit

Permalink
fixed PHPDoc author (#766)
Browse files Browse the repository at this point in the history
* fixed PHPDoc author

* removed useless comments
  • Loading branch information
OskarStark authored and core23 committed Jan 16, 2017
1 parent 9634acd commit 241c44a
Show file tree
Hide file tree
Showing 31 changed files with 1 addition and 81 deletions.
2 changes: 0 additions & 2 deletions Admin/SiteAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ class SiteAdmin extends AbstractAdmin
protected $routePageGenerator;

/**
* Constructor.
*
* @param string $code A Sonata admin code
* @param string $class A Sonata admin class name
* @param string $baseControllerName A Sonata admin base controller name
Expand Down
2 changes: 0 additions & 2 deletions Cache/BlockEsiCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ class BlockEsiCache extends VarnishCache
protected $recorder;

/**
* Constructor.
*
* @param string $token A token
* @param array $servers An array of servers
* @param RouterInterface $router A router instance
Expand Down
2 changes: 0 additions & 2 deletions Consumer/CleanupSnapshotConsumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ class CleanupSnapshotConsumer implements ConsumerInterface
protected $pageManager;

/**
* Constructor.
*
* @param SnapshotManagerInterface $snapshotManager A snapshot manager instance
* @param PageManagerInterface $pageManager A page manager instance
*/
Expand Down
2 changes: 0 additions & 2 deletions Consumer/CleanupSnapshotsConsumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class CleanupSnapshotsConsumer implements ConsumerInterface
protected $pageManager;

/**
* Constructor.
*
* @param BackendInterface $asyncBackend An asynchronous backend instance
* @param BackendInterface $runtimeBackend A runtime backend instance
* @param PageManagerInterface $pageManager A page manager instance
Expand Down
4 changes: 0 additions & 4 deletions Controller/Api/BlockController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

/**
* Class BlockController.
*
* @author Vincent Composieux <[email protected]>
*/
class BlockController
Expand All @@ -39,8 +37,6 @@ class BlockController
protected $formFactory;

/**
* Constructor.
*
* @param BlockManagerInterface $blockManager
* @param FormFactoryInterface $formFactory
*/
Expand Down
5 changes: 0 additions & 5 deletions Controller/Api/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

/**
* Class PageController.
*
*
* @author Hugo Briand <[email protected]>
*/
class PageController
Expand Down Expand Up @@ -63,8 +60,6 @@ class PageController
protected $backend;

/**
* Constructor.
*
* @param SiteManagerInterface $siteManager
* @param PageManagerInterface $pageManager
* @param BlockManagerInterface $blockManager
Expand Down
4 changes: 0 additions & 4 deletions Controller/Api/SiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

/**
* Class SiteController.
*
* @author Raphaël Benitte <[email protected]>
*/
class SiteController
Expand All @@ -42,8 +40,6 @@ class SiteController
protected $formFactory;

/**
* Constructor.
*
* @param SiteManagerInterface $siteManager
* @param FormFactoryInterface $formFactory
*/
Expand Down
4 changes: 0 additions & 4 deletions Controller/Api/SnapshotController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

/**
* Class SnapshotController.
*
* @author Benoit de Jacobet <[email protected]>
*/
class SnapshotController
Expand All @@ -33,8 +31,6 @@ class SnapshotController
protected $snapshotManager;

/**
* Constructor.
*
* @param SnapshotManagerInterface $snapshotManager
*/
public function __construct(SnapshotManagerInterface $snapshotManager)
Expand Down
4 changes: 1 addition & 3 deletions DependencyInjection/SonataPageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
use Symfony\Component\HttpKernel\DependencyInjection\Extension;

/**
* PageExtension.
*
* @author Thomas Rabaix <[email protected]>
* @author Thomas Rabaix <[email protected]>
*/
class SonataPageExtension extends Extension
{
Expand Down
2 changes: 0 additions & 2 deletions Entity/BlockInteractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class BlockInteractor implements BlockInteractorInterface
protected $blockManager;

/**
* Constructor.
*
* @param RegistryInterface $registry Doctrine registry
* @param BlockManagerInterface $blockManager Block manager
*/
Expand Down
2 changes: 0 additions & 2 deletions Entity/SnapshotManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ class SnapshotManager extends BaseEntityManager implements SnapshotManagerInterf
protected $snapshotPageProxyFactory;

/**
* Constructor.
*
* @param string $class Namespace of entity class
* @param ManagerRegistry $registry An entity manager instance
* @param array $templates An array of templates
Expand Down
2 changes: 0 additions & 2 deletions Listener/ExceptionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ class ExceptionListener
protected $status;

/**
* Constructor.
*
* @param SiteSelectorInterface $siteSelector Site selector
* @param CmsManagerSelectorInterface $cmsManagerSelector CMS Manager selector
* @param bool $debug Debug mode
Expand Down
2 changes: 0 additions & 2 deletions Listener/RequestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ class RequestListener
protected $decoratorStrategy;

/**
* Constructor.
*
* @param CmsManagerSelectorInterface $cmsSelector Cms manager selector
* @param SiteSelectorInterface $siteSelector Site selector
* @param DecoratorStrategyInterface $decoratorStrategy Decorator strategy
Expand Down
2 changes: 0 additions & 2 deletions Model/SnapshotPageProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class SnapshotPageProxy implements SnapshotPageProxyInterface
private $transformer;

/**
* Constructor.
*
* @param SnapshotManagerInterface $manager Snapshot manager
* @param TransformerInterface $transformer The transformer object
* @param SnapshotInterface $snapshot Snapshot object
Expand Down
2 changes: 0 additions & 2 deletions Page/PageServiceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ class PageServiceManager implements PageServiceManagerInterface
protected $router;

/**
* Constructor.
*
* @param RouterInterface $router Router
*/
public function __construct(RouterInterface $router)
Expand Down
2 changes: 0 additions & 2 deletions Page/Service/BasePageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ abstract class BasePageService implements PageServiceInterface
protected $name;

/**
* Constructor.
*
* @param string $name Page service name
*/
public function __construct($name)
Expand Down
2 changes: 0 additions & 2 deletions Page/Service/DefaultPageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class DefaultPageService extends BasePageService
protected $seoPage;

/**
* Constructor.
*
* @param string $name Page service name
* @param TemplateManagerInterface $templateManager Template manager
* @param SeoPageInterface $seoPage SEO page object
Expand Down
2 changes: 0 additions & 2 deletions Page/TemplateManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ class TemplateManager implements TemplateManagerInterface
protected $defaultTemplatePath = 'SonataPageBundle::layout.html.twig';

/**
* Constructor.
*
* @param EngineInterface $engine Templating engine
* @param array $defaultParameters An array of default view parameters
*/
Expand Down
2 changes: 0 additions & 2 deletions Route/RoutePageGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ class RoutePageGenerator
protected $exceptionListener;

/**
* Constructor.
*
* @param RouterInterface $router A Symfony router service
* @param PageManagerInterface $pageManager A Sonata Page manager
* @param DecoratorStrategyInterface $decoratorStrategy A Sonata page decorator strategy service
Expand Down
2 changes: 0 additions & 2 deletions Tests/Block/BlockContextManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
use Sonata\PageBundle\Block\BlockContextManager;

/**
* Class BlockContextManagerTest.
*
* @author Sullivan Senechal <[email protected]>
*/
class BlockContextManagerTest extends \PHPUnit_Framework_TestCase
Expand Down
2 changes: 0 additions & 2 deletions Tests/Command/BaseCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
use Sonata\PageBundle\Command\BaseCommand;

/**
* Class BaseCommandTest.
*
* @author Vincent Composieux <[email protected]>
*/
class BaseCommandTest extends \PHPUnit_Framework_TestCase
Expand Down
3 changes: 0 additions & 3 deletions Tests/Controller/Api/AjaxControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
use Symfony\Component\HttpFoundation\Response;

/**
* Class BlockControllerTest.
*
*
* @author Vincent Composieux <[email protected]>
*/
class AjaxControllerTest extends \PHPUnit_Framework_TestCase
Expand Down
3 changes: 0 additions & 3 deletions Tests/Controller/Api/BlockControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
use Symfony\Component\HttpFoundation\Request;

/**
* Class BlockControllerTest.
*
*
* @author Vincent Composieux <[email protected]>
*/
class BlockControllerTest extends \PHPUnit_Framework_TestCase
Expand Down
3 changes: 0 additions & 3 deletions Tests/Controller/Api/PageControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
use Symfony\Component\HttpFoundation\Request;

/**
* Class PageControllerTest.
*
*
* @author Hugo Briand <[email protected]>
*/
class PageControllerTest extends \PHPUnit_Framework_TestCase
Expand Down
3 changes: 0 additions & 3 deletions Tests/Controller/Api/SiteControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
use Symfony\Component\HttpFoundation\Request;

/**
* Class SiteControllerTest.
*
*
* @author Benoit de Jacobet <[email protected]>
*/
class SiteControllerTest extends \PHPUnit_Framework_TestCase
Expand Down
3 changes: 0 additions & 3 deletions Tests/Controller/Api/SnapshotControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
use Sonata\PageBundle\Controller\Api\SnapshotController;

/**
* Class SnapshotControllerTest.
*
*
* @author Benoit de Jacobet <[email protected]>
*/
class SnapshotControllerTest extends \PHPUnit_Framework_TestCase
Expand Down
3 changes: 0 additions & 3 deletions Tests/Entity/BlockManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@

use Sonata\PageBundle\Entity\BlockManager;

/**
* Class BlockManagerTest.
*/
class BlockManagerTest extends \PHPUnit_Framework_TestCase
{
public function testGetPager()
Expand Down
3 changes: 0 additions & 3 deletions Tests/Entity/PageManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
use Sonata\PageBundle\Entity\PageManager;
use Sonata\PageBundle\Tests\Model\Page;

/**
* Class PageManagerTest.
*/
class PageManagerTest extends \PHPUnit_Framework_TestCase
{
public function testFixUrl()
Expand Down
3 changes: 0 additions & 3 deletions Tests/Entity/SiteManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@

use Sonata\PageBundle\Entity\SiteManager;

/**
* Class SiteManagerTest.
*/
class SiteManagerTest extends \PHPUnit_Framework_TestCase
{
public function testGetPager()
Expand Down
3 changes: 0 additions & 3 deletions Tests/Entity/SnapshotManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@

use Sonata\PageBundle\Entity\SnapshotManager;

/**
* Class SnapshotManagerTest.
*/
class SnapshotManagerTest extends \PHPUnit_Framework_TestCase
{
public function testSetTemplates()
Expand Down
2 changes: 0 additions & 2 deletions Twig/Extension/PageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ class PageExtension extends \Twig_Extension implements \Twig_Extension_InitRunti
private $hideDisabledBlocks;

/**
* Constructor.
*
* @param CmsManagerSelectorInterface $cmsManagerSelector A CMS manager selector
* @param SiteSelectorInterface $siteSelector A site selector
* @param RouterInterface $router The Router
Expand Down

0 comments on commit 241c44a

Please sign in to comment.