Skip to content

Commit

Permalink
Merge 20dab72 into c812c3c
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Nov 27, 2020
2 parents c812c3c + 20dab72 commit cc944f0
Show file tree
Hide file tree
Showing 184 changed files with 26 additions and 523 deletions.
Expand Up @@ -7,9 +7,6 @@
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;

/**
* Class ConsoleCompilerPass.
*/
final class ConsoleCompilerPass implements CompilerPassInterface
{
public function process(ContainerBuilder $container)
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/AdminBundle/Event/AdaptSimpleFormEvent.php
Expand Up @@ -6,9 +6,6 @@
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\HttpFoundation\Request;

/**
* Class AdaptSimpleFormEvent
*/
class AdaptSimpleFormEvent extends Event
{
/**
Expand Down
Expand Up @@ -7,9 +7,6 @@
use Symfony\Component\Console\Event\ConsoleErrorEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

/**
* Class ConsoleExceptionSubscriber.
*/
final class ConsoleExceptionSubscriber implements EventSubscriberInterface
{
/** @var LoggerInterface */
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminBundle/EventListener/LoginListener.php
Expand Up @@ -24,8 +24,6 @@ class LoginListener
private $versionChecker;

/**
* Constructor
*
* @param LoggerInterface $logger The logger
* @param VersionChecker $versionChecker The version checker
*/
Expand Down
5 changes: 0 additions & 5 deletions src/Kunstmaan/AdminBundle/EventListener/MappingListener.php
Expand Up @@ -4,9 +4,6 @@

use Doctrine\ORM\Event\LoadClassMetadataEventArgs;

/**
* Class MappingListener
*/
class MappingListener
{
/**
Expand All @@ -15,8 +12,6 @@ class MappingListener
private $className;

/**
* Constructor
*
* @param string $className
*/
public function __construct($className)
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminBundle/FlashMessages/FlashTypes.php
Expand Up @@ -3,8 +3,6 @@
namespace Kunstmaan\AdminBundle\FlashMessages;

/**
* Class FlashTypes
*
* Enabled flash types.
*/
class FlashTypes
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/AdminBundle/Form/MediaTokenTransformer.php
Expand Up @@ -5,9 +5,6 @@
use Symfony\Component\DomCrawler\Crawler;
use Symfony\Component\Form\DataTransformerInterface;

/**
* Class MediaTokenTransformer.
*/
class MediaTokenTransformer implements DataTransformerInterface
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/AdminBundle/Form/WysiwygType.php
Expand Up @@ -6,9 +6,6 @@
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\FormBuilderInterface;

/**
* Class WysiwygType
*/
class WysiwygType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/AdminBundle/Helper/AdminRouteHelper.php
Expand Up @@ -5,9 +5,6 @@
use Kunstmaan\NodeBundle\Router\SlugRouter;
use Symfony\Component\HttpFoundation\RequestStack;

/**
* Class AdminRouteHelper
*/
class AdminRouteHelper
{
protected static $ADMIN_MATCH_REGEX = '/^\/(app_[a-zA-Z]+\.php\/)?([a-zA-Z_-]{2,5}\/)?%s\/(.*)/';
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminBundle/Helper/DomainConfiguration.php
Expand Up @@ -6,8 +6,6 @@
use Symfony\Component\HttpFoundation\RequestStack;

/**
* Class DomainConfiguration
*
* Default (single domain) configuration handling
*/
class DomainConfiguration implements DomainConfigurationInterface
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminBundle/Helper/Menu/SettingsMenuAdaptor.php
Expand Up @@ -21,8 +21,6 @@ class SettingsMenuAdaptor implements MenuAdaptorInterface
private $isEnabledVersionChecker;

/**
* Constructor
*
* @param bool $isEnabledVersionChecker
*/
public function __construct(AuthorizationCheckerInterface $authorizationChecker, $isEnabledVersionChecker)
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminBundle/Helper/Security/Acl/AclHelper.php
Expand Up @@ -48,8 +48,6 @@ class AclHelper
private $permissionsEnabled;

/**
* Constructor.
*
* @param EntityManager $em The entity manager
* @param TokenStorageInterface $tokenStorage The security token storage
* @param RoleHierarchyInterface $rh The role hierarchies
Expand Down
Expand Up @@ -38,8 +38,6 @@ class AclNativeHelper
private $permissionsEnabled;

/**
* Constructor.
*
* @param EntityManager $em The entity manager
* @param TokenStorageInterface $tokenStorage The security context
* @param RoleHierarchyInterface $rh The role hierarchies
Expand Down
Expand Up @@ -81,8 +81,6 @@ class PermissionAdmin
protected $shellHelper;

/**
* Constructor
*
* @param EntityManager $em The EntityManager
* @param TokenStorageInterface $tokenStorage The token storage
* @param AclProviderInterface $aclProvider The ACL provider
Expand Down
Expand Up @@ -50,9 +50,7 @@ class VersionChecker
*/
private $translator;

/**
* Constructor
*/

public function __construct(ContainerInterface $container, Cache $cache, $translator)
{
$this->container = $container;
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/AdminBundle/Service/AclManager.php
Expand Up @@ -10,9 +10,6 @@
use Symfony\Component\Security\Acl\Model\MutableAclProviderInterface;
use Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface;

/**
* Class AclManager
*/
class AclManager
{
/** @var MutableAclProviderInterface */
Expand Down
Expand Up @@ -10,9 +10,6 @@
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RequestStack;

/**
* Class MenuBuilderTest
*/
class MenuBuilderTest extends TestCase
{
/**
Expand Down
Expand Up @@ -7,8 +7,6 @@
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;

/**
* Class PasswordRestrictionsValidatorTest
*
* Unit test for the password restrictions validator, will test with different sets of parameters
* for the validator is possible.
*/
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminBundle/Twig/GoogleSignInTwigExtension.php
Expand Up @@ -6,8 +6,6 @@
use Twig\TwigFunction;

/**
* Class GoogleSignInTwigExtension
*
* @final since 5.4
*/
class GoogleSignInTwigExtension extends AbstractExtension
Expand Down
Expand Up @@ -4,9 +4,6 @@

use Symfony\Component\Validator\Constraint;

/**
* Class PasswordRestrictions
*/
class PasswordRestrictions extends Constraint
{
const INVALID_MIN_DIGITS_ERROR = 1;
Expand Down
Expand Up @@ -6,9 +6,6 @@
use Symfony\Component\Validator\ConstraintValidator;
use Symfony\Component\Validator\Exception\UnexpectedTypeException;

/**
* Class PasswordRestrictionsValidator
*/
class PasswordRestrictionsValidator extends ConstraintValidator
{
/**
Expand Down
4 changes: 1 addition & 3 deletions src/Kunstmaan/AdminListBundle/Entity/LockableEntity.php
Expand Up @@ -42,9 +42,7 @@ class LockableEntity extends AbstractEntity
*/
protected $entityId;

/**
* Constructor
*/

public function __construct()
{
$this->setCreated(new \DateTime());
Expand Down
Expand Up @@ -9,9 +9,6 @@
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Routing\RouterInterface;

/**
* Class AdminListSubscriber.
*/
class AdminListSubscriber implements EventSubscriberInterface
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/AdminListBundle/Exception/ExportException.php
Expand Up @@ -2,9 +2,6 @@

namespace Kunstmaan\AdminListBundle\Exception;

/**
* class ExportException
*/
class ExportException extends \RuntimeException
{
/** @var mixed */
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminListBundle/Helper/DoctrineDBALAdapter.php
Expand Up @@ -22,8 +22,6 @@ class DoctrineDBALAdapter implements AdapterInterface
private $useDistinct;

/**
* Constructor.
*
* @param QueryBuilder $queryBuilder a DBAL query builder
* @param string $countField Primary key for the table in query. Used in count expression. Must include table alias
* @param bool $useDistinct when set to true it'll count the countfield with a distinct in front of it
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/AdminListBundle/Service/ExportService.php
Expand Up @@ -14,9 +14,6 @@
use Symfony\Contracts\Translation\TranslatorInterface;
use Twig\Environment;

/**
* class ExportService
*/
class ExportService
{
const SUPPORTED_EXTENSIONS = [
Expand Down
Expand Up @@ -10,9 +10,6 @@
use Kunstmaan\ArticleBundle\AdminList\AbstractArticlePageAdminListConfigurator;
use Symfony\Component\HttpFoundation\Request;

/**
* Class AbstractArticleEntityAdminListController
*/
abstract class AbstractArticleEntityAdminListController extends AdminListController
{
/**
Expand Down
Expand Up @@ -7,9 +7,6 @@
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;

/**
* Class AbstractArticleOverviewPageController
*/
class AbstractArticleOverviewPageController extends Controller
{
public function serviceAction(Request $request)
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/ArticleBundle/Entity/AbstractAuthor.php
Expand Up @@ -5,9 +5,6 @@
use Doctrine\ORM\Mapping as ORM;
use Kunstmaan\AdminBundle\Entity\AbstractEntity;

/**
* Class AbstractAuthor
*/
class AbstractAuthor extends AbstractEntity
{
/**
Expand Down
Expand Up @@ -34,9 +34,6 @@ public function getOverviewPageRepository()
}
}

/**
* Class AbstractArticlePageAdminListConfiguratorTest
*/
class AbstractArticlePageAdminListConfiguratorTest extends TestCase
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/CacheBundle/Controller/VarnishController.php
Expand Up @@ -12,9 +12,6 @@
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;

/**
* Class VarnishController.
*/
class VarnishController extends Controller
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/CacheBundle/Form/Varnish/BanType.php
Expand Up @@ -7,9 +7,6 @@
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;

/**
* Class BanType.
*/
class BanType extends AbstractType
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/CacheBundle/Helper/VarnishHelper.php
Expand Up @@ -6,9 +6,6 @@
use FOS\HttpCacheBundle\CacheManager;
use Kunstmaan\AdminBundle\Helper\DomainConfigurationInterface;

/**
* Class VarnishHelper.
*/
class VarnishHelper
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/ConfigBundle/Controller/ConfigController.php
Expand Up @@ -16,9 +16,6 @@
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use Twig\Environment;

/**
* Class ConfigController
*/
class ConfigController
{
/**
Expand Down
Expand Up @@ -7,9 +7,6 @@
use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait;
use PHPUnit\Framework\TestCase;

/**
* Class ConfigurationTest
*/
class ConfigurationTest extends TestCase
{
use ConfigurationTestCaseTrait;
Expand Down
Expand Up @@ -6,9 +6,6 @@
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;

/**
* Class KunstmaanConfigExtensionTest
*/
class KunstmaanConfigExtensionTest extends AbstractExtensionTestCase
{
/**
Expand Down
Expand Up @@ -21,8 +21,6 @@ abstract class AbstractAnalyticsCommandHelper
protected $output;

/**
* Constructor
*
* @param $configHelper
* @param $queryHelper
* @param $output
Expand All @@ -37,8 +35,6 @@ public function __construct($configHelper, $queryHelper, $output, $em)
}

/**
* Constructor
*
* @return array
*/
protected function getTimestamps(AnalyticsOverview $overview)
Expand Down
Expand Up @@ -25,9 +25,7 @@ class ConfigHelper
/** @var EntityManager */
private $em;

/**
* constructor
*/

public function __construct(ServiceHelper $serviceHelper, EntityManager $em)
{
$this->serviceHelper = $serviceHelper;
Expand Down
Expand Up @@ -11,8 +11,6 @@ class QueryHelper
private $configHelper;

/**
* constructor
*
* @var ServiceHelper
*/
public function __construct(ServiceHelper $serviceHelper, ConfigHelper $configHelper)
Expand Down

0 comments on commit cc944f0

Please sign in to comment.