GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 2c7b14...3be0f5 )
by Mario
02:10
created
bundle/DependencyInjection/NetgenInformationCollectionExtension.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Netgen\Bundle\InformationCollectionBundle\DependencyInjection;
4 4
 
5
-use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationProcessor;
6 5
 use Symfony\Component\Config\FileLocator;
6
+use Symfony\Component\Config\Resource\FileResource;
7 7
 use Symfony\Component\DependencyInjection\ContainerBuilder;
8 8
 use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
9 9
 use Symfony\Component\DependencyInjection\Loader;
10 10
 use Symfony\Component\HttpKernel\DependencyInjection\Extension;
11
-use Symfony\Component\Config\Resource\FileResource;
12 11
 use Symfony\Component\Yaml\Yaml;
12
+use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationProcessor;
13 13
 use function array_merge;
14 14
 
15 15
 /**
Please login to merge, or discard this patch.
lib/Core/Factory/EmailDataFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
     }
234 234
 
235 235
     /**
236
-     * @param $contentTypeIdentifier
236
+     * @param string $contentTypeIdentifier
237 237
      * @param array $collectedFields
238 238
      *
239 239
      * @return BinaryFile[]|null
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,14 +5,14 @@
 block discarded – undo
5 5
 namespace Netgen\InformationCollection\Core\Factory;
6 6
 
7 7
 use function array_key_exists;
8
-use eZ\Publish\API\Repository\ContentService;
9
-use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFile;
10
-use eZ\Publish\Core\Helper\FieldHelper;
11
-use eZ\Publish\Core\Helper\TranslationHelper;
12 8
 use Netgen\InformationCollection\API\Constants;
13 9
 use Netgen\InformationCollection\API\Exception\MissingEmailBlockException;
14 10
 use Netgen\InformationCollection\API\Exception\MissingValueException;
15 11
 use Netgen\InformationCollection\API\Value\Event\InformationCollected;
12
+use eZ\Publish\API\Repository\ContentService;
13
+use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFile;
14
+use eZ\Publish\Core\Helper\FieldHelper;
15
+use eZ\Publish\Core\Helper\TranslationHelper;
16 16
 use function trim;
17 17
 use Twig_Environment;
18 18
 
Please login to merge, or discard this patch.
bundle/Command/DataAnonymizerCommand.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Netgen\Bundle\InformationCollectionBundle\Command;
4 4
 
5
+use DateInterval;
6
+use DateTime;
7
+use Exception;
5 8
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
6 9
 use Symfony\Component\Console\Command\HelpCommand;
7 10
 use Symfony\Component\Console\Input\InputDefinition;
@@ -9,9 +12,6 @@  discard block
 block discarded – undo
9 12
 use Symfony\Component\Console\Input\InputOption;
10 13
 use Symfony\Component\Console\Output\OutputInterface;
11 14
 use Symfony\Component\Console\Question\ConfirmationQuestion;
12
-use DateInterval;
13
-use DateTime;
14
-use Exception;
15 15
 
16 16
 class DataAnonymizerCommand extends ContainerAwareCommand
17 17
 {
Please login to merge, or discard this patch.
bundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Netgen\Bundle\InformationCollectionBundle\DependencyInjection;
4 4
 
5
-use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\Configuration as SiteAccessConfiguration;
6
-use Symfony\Component\Config\Definition\Builder\TreeBuilder;
7 5
 use Symfony\Component\Config\Definition\Builder\NodeBuilder;
6
+use Symfony\Component\Config\Definition\Builder\TreeBuilder;
7
+use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\Configuration as SiteAccessConfiguration;
8 8
 
9 9
 /**
10 10
  * This is the class that validates and merges configuration from your app/config files.
Please login to merge, or discard this patch.
lib/Core/Persistence/Anonymizer/AnonymizerServiceFacade.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @param int $contentId Content id
51 51
      * @param array $fields Fields list
52
-     * @param DateTime|null $date Anonymize collections older that this date
52
+     * @param null|\DateTimeImmutable $date Anonymize collections older that this date
53 53
      *
54 54
      * @return int
55 55
      */
@@ -73,9 +73,8 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Map field id's to list of field identifiers.
75 75
      *
76
-     * @param int $content
77 76
      * @param array $fieldIdentifiers
78
-     * @param mixed $contentId
77
+     * @param integer $contentId
79 78
      *
80 79
      * @return array
81 80
      */
@@ -93,6 +92,9 @@  discard block
 block discarded – undo
93 92
         return $ids;
94 93
     }
95 94
 
95
+    /**
96
+     * @param integer $contentId
97
+     */
96 98
     private function getCollections($contentId, \DateTimeImmutable $date = null)
97 99
     {
98 100
         if (null === $date) {
Please login to merge, or discard this patch.
lib/Form/Builder/FormBuilder.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,6 @@
 block discarded – undo
41 41
      *
42 42
      * @param FormFactoryInterface $formFactory
43 43
      * @param ContentTypeService $contentTypeService
44
-     * @param RouterInterface $router
45
-     * @param bool $useCsrf
46 44
      */
47 45
     public function __construct(FormFactoryInterface $formFactory, ContentTypeService $contentTypeService)
48 46
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@  discard block
 block discarded – undo
4 4
 
5 5
 namespace Netgen\InformationCollection\Form\Builder;
6 6
 
7
-use eZ\Publish\API\Repository\ContentTypeService;
8
-use eZ\Publish\API\Repository\Values\Content\Content;
9 7
 use Netgen\InformationCollection\API\Form\DynamicFormBuilderInterface;
10 8
 use Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionMapper;
11 9
 use Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionType;
@@ -13,6 +11,8 @@  discard block
 block discarded – undo
13 11
 use Symfony\Component\Form\FormFactoryInterface;
14 12
 use Symfony\Component\Form\FormInterface;
15 13
 use Symfony\Component\Routing\RouterInterface;
14
+use eZ\Publish\API\Repository\ContentTypeService;
15
+use eZ\Publish\API\Repository\Values\Content\Content;
16 16
 
17 17
 class FormBuilder implements DynamicFormBuilderInterface
18 18
 {
Please login to merge, or discard this patch.
bundle/Controller/Admin/AdminController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * Displays individual collection details
134 134
      *
135
-     * @param int $collectionId
135
+     * @param int $collection
136 136
      *
137 137
      * @return \Symfony\Component\HttpFoundation\Response
138 138
      */
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
      *
320 320
      * @param string $messageType
321 321
      * @param string $message
322
-     * @param string $count
322
+     * @param integer $count
323 323
      * @param array $parameters
324 324
      */
325 325
     protected function addFlashMessage($messageType, $message, $count = 1, array $parameters = array())
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
      * Returns configured instance of Pagerfanta
340 340
      *
341 341
      * @param \Pagerfanta\Adapter\AdapterInterface $adapter
342
-     * @param $currentPage
342
+     * @param integer $currentPage
343 343
      *
344 344
      * @return \Pagerfanta\Pagerfanta
345 345
      */
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,11 +2,6 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Netgen\Bundle\InformationCollectionBundle\Controller\Admin;
4 4
 
5
-use eZ\Publish\API\Repository\Values\Content\Content;
6
-use eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute;
7
-use eZ\Bundle\EzPublishCoreBundle\Controller;
8
-use eZ\Publish\API\Repository\ContentService;
9
-use eZ\Publish\Core\MVC\ConfigResolverInterface;
10 5
 use Netgen\InformationCollection\API\Persistence\Anonymizer\Anonymizer;
11 6
 use Netgen\InformationCollection\API\Service\InformationCollection;
12 7
 use Netgen\InformationCollection\API\Value\Collection;
@@ -22,6 +17,11 @@  discard block
 block discarded – undo
22 17
 use Pagerfanta\Adapter\AdapterInterface;
23 18
 use Pagerfanta\Pagerfanta;
24 19
 use Symfony\Component\HttpFoundation\Request;
20
+use eZ\Bundle\EzPublishCoreBundle\Controller;
21
+use eZ\Publish\API\Repository\ContentService;
22
+use eZ\Publish\API\Repository\Values\Content\Content;
23
+use eZ\Publish\Core\MVC\ConfigResolverInterface;
24
+use eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute;
25 25
 
26 26
 class AdminController extends Controller
27 27
 {
Please login to merge, or discard this patch.
lib/API/Value/Attribute.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 
5 5
 namespace Netgen\InformationCollection\API\Value;
6 6
 
7
+use Netgen\InformationCollection\Doctrine\Entity\EzInfoCollectionAttribute;
8
+use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition;
7 9
 use eZ\Publish\API\Repository\Values\Content\Content;
8 10
 use eZ\Publish\API\Repository\Values\Content\Field;
9
-use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition;
10
-use Netgen\InformationCollection\Doctrine\Entity\EzInfoCollectionAttribute;
11 11
 
12 12
 final class Attribute extends ValueObject
13 13
 {
Please login to merge, or discard this patch.
lib/API/Value/Collection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @return int
78
+     * @return DateTimeInterface
79 79
      */
80 80
     public function getCreated(): DateTimeInterface
81 81
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-     * @return int
86
+     * @return DateTimeInterface
87 87
      */
88 88
     public function getModified(): DateTimeInterface
89 89
     {
Please login to merge, or discard this patch.