Skip to content

Commit

Permalink
Merge ba38f14 into c812c3c
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Nov 27, 2020
2 parents c812c3c + ba38f14 commit 18aa2e8
Show file tree
Hide file tree
Showing 228 changed files with 18 additions and 709 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
10 changes: 0 additions & 10 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 @@ -38,7 +35,6 @@ class AdaptSimpleFormEvent extends Event

/**
* @param string $formType
* @param $data
*/
public function __construct(Request $request, $formType, $data, $options = [])
{
Expand Down Expand Up @@ -98,9 +94,6 @@ public function getData()
return $this->data;
}

/**
* @param $data
*/
public function setData($data)
{
$this->data = $data;
Expand All @@ -114,9 +107,6 @@ public function getOptions()
return $this->options;
}

/**
* @param $options
*/
public function setOptions($options)
{
$this->options = $options;
Expand Down
Expand Up @@ -7,17 +7,11 @@
use Symfony\Component\Console\Event\ConsoleErrorEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

/**
* Class ConsoleExceptionSubscriber.
*/
final class ConsoleExceptionSubscriber implements EventSubscriberInterface
{
/** @var LoggerInterface */
private $logger;

/**
* ConsoleExceptionListener constructor.
*/
public function __construct(LoggerInterface $logger)
{
$this->logger = $logger;
Expand All @@ -43,10 +37,6 @@ public function onConsoleError(ConsoleErrorEvent $event)
}
}

/**
* @param $command
* @param $error
*/
private function logCommandError($command, $error)
{
$message = sprintf(
Expand Down
Expand Up @@ -32,9 +32,6 @@ public static function getSubscribedEvents()
];
}

/**
* ExceptionSubscriber constructor.
*/
public function __construct(EntityManagerInterface $em, array $excludes = [])
{
$this->em = $em;
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/EventListener/ToolbarListener.php
Expand Up @@ -75,8 +75,6 @@ class ToolbarListener implements EventSubscriberInterface
protected $adminFirewallName;

/**
* ToolbarListener constructor.
*
* @param bool $enabled
* @param string $adminFirewallName
*/
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
Expand Up @@ -7,8 +7,6 @@ interface RoleDependentUserFormInterface
/**
* Allows you to specify if the user type form should contain all fields or not
*
* @param $canEditAllFields
*
* @return bool
*/
public function setCanEditAllFields($canEditAllFields);
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminBundle/Form/UserType.php
Expand Up @@ -27,8 +27,6 @@ class UserType extends AbstractType implements RoleDependentUserFormInterface
/**
* Setter to check if we can display all form fields
*
* @param $canEditAllFields
*
* @return bool
*/
public function setCanEditAllFields($canEditAllFields)
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 @@ -22,8 +22,6 @@ class OAuthUserCreator implements OAuthUserCreatorInterface
private $userFinder;

/**
* OAuthUserCreator constructor.
*
* @param array $hostedDomains
* @param string $userClass
*/
Expand Down
Expand Up @@ -12,11 +12,6 @@ class OAuthUserFinder implements OAuthUserFinderInterface
/** @var string */
private $userClass;

/**
* OAuthUserCreator constructor.
*
* @param $userClass
*/
public function __construct(EntityManagerInterface $em, $userClass)
{
$this->em = $em;
Expand Down
3 changes: 0 additions & 3 deletions src/Kunstmaan/AdminBundle/Helper/Toolbar/DataCollector.php
Expand Up @@ -16,9 +16,6 @@ class DataCollector
*/
protected $urlGenerator;

/**
* DataCollector constructor.
*/
public function __construct(UrlGeneratorInterface $urlGenerator)
{
$this->urlGenerator = $urlGenerator;
Expand Down
Expand Up @@ -50,9 +50,6 @@ class VersionChecker
*/
private $translator;

/**
* Constructor
*/
public function __construct(ContainerInterface $container, Cache $cache, $translator)
{
$this->container = $container;
Expand Down
6 changes: 0 additions & 6 deletions src/Kunstmaan/AdminBundle/Security/OAuthAuthenticator.php
Expand Up @@ -36,12 +36,6 @@ class OAuthAuthenticator extends AbstractGuardAuthenticator
/** @var string */
private $clientSecret;

/**
* OAuthAuthenticator constructor.
*
* @param $clientId
* @param $clientSecret
*/
public function __construct(RouterInterface $router, SessionInterface $session, TranslatorInterface $translator, OAuthUserCreatorInterface $oAuthUserCreator, $clientId, $clientSecret)
{
$this->router = $router;
Expand Down
7 changes: 0 additions & 7 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 All @@ -35,10 +32,6 @@ public function __construct(MutableAclProviderInterface $aclProvider, ObjectIden
$this->permissionAdmin = $permissionAdmin;
}

/**
* @param $originalNode
* @param $nodeNewPage
*/
public function updateNodeAcl(Node $originalNode, Node $nodeNewPage)
{
$originalIdentity = $this->objectIdentityRetrievalStrategy->getObjectIdentity($originalNode);
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
4 changes: 0 additions & 4 deletions src/Kunstmaan/AdminBundle/Twig/ToolbarTwigExtension.php
Expand Up @@ -26,10 +26,6 @@ public function getFunctions()
}

/**
* @param $template
* @param $block
* @param $context
*
* @return string
*/
public function renderBlock(Environment $env, $template, $block, $context)
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 All @@ -21,11 +18,6 @@ class PasswordRestrictions extends Constraint
const MESSAGE_MIN_LENGTH = 'errors.password.minlength';
const MESSAGE_MAX_LENGTH = 'errors.password.maxlength';

/**
* PasswordRestrictions constructor.
*
* @param null $options
*/
public function __construct($options = null)
{
parent::__construct($options);
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 Expand Up @@ -37,8 +34,6 @@ class PasswordRestrictionsValidator extends ConstraintValidator
private $maxLength;

/**
* PasswordRestrictionsValidator constructor.
*
* @param int $minDigits
* @param int $minUpperCase
* @param int $minSpecialCharacters
Expand Down
2 changes: 0 additions & 2 deletions src/Kunstmaan/AdminListBundle/AdminList/AdminListFactory.php
Expand Up @@ -21,8 +21,6 @@ public function createList(AdminListConfiguratorInterface $configurator)
}

/**
* @param $configurator
*
* @return ExportList
*/
public function createExportList(ExportListConfiguratorInterface $configurator)
Expand Down
Expand Up @@ -44,9 +44,6 @@ abstract class AbstractDoctrineORMAdminListConfigurator extends AbstractAdminLis
*/
protected $aclHelper;

/**
* AbstractDoctrineORMAdminListConfigurator constructor.
*/
public function __construct(EntityManagerInterface $em, AclHelper $aclHelper = null)
{
$this->em = $em;
Expand Down

0 comments on commit 18aa2e8

Please sign in to comment.