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
Pull Request — master (#73)
by
unknown
14:32
created
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 Netgen\InformationCollection\Core\Persistence\Anonymizer\AnonymizerServiceFacade;
6 9
 use Symfony\Component\Console\Command\Command;
7 10
 use Symfony\Component\Console\Command\HelpCommand;
@@ -10,9 +13,6 @@  discard block
 block discarded – undo
10 13
 use Symfony\Component\Console\Input\InputOption;
11 14
 use Symfony\Component\Console\Output\OutputInterface;
12 15
 use Symfony\Component\Console\Question\ConfirmationQuestion;
13
-use DateInterval;
14
-use DateTime;
15
-use Exception;
16 16
 
17 17
 class DataAnonymizerCommand extends Command
18 18
 {
Please login to merge, or discard this patch.
lib/Core/Factory/AutoResponderDataFactory.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 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\Values\Content\Field;
9
-use Netgen\InformationCollection\API\Constants;
10 8
 use Netgen\InformationCollection\API\ConfigurationConstants;
9
+use Netgen\InformationCollection\API\Constants;
11 10
 use Netgen\InformationCollection\API\Exception\MissingValueException;
12 11
 use Netgen\InformationCollection\API\Value\DataTransfer\EmailContent;
13 12
 use Netgen\InformationCollection\API\Value\DataTransfer\TemplateContent;
14 13
 use Netgen\InformationCollection\API\Value\Event\InformationCollected;
14
+use eZ\Publish\API\Repository\Values\Content\Field;
15 15
 use function trim;
16 16
 
17 17
 class AutoResponderDataFactory extends EmailDataFactory
Please login to merge, or discard this patch.
lib/Core/Service/InformationCollectionService.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@  discard block
 block discarded – undo
4 4
 
5 5
 namespace Netgen\InformationCollection\Core\Service;
6 6
 
7
-use eZ\Publish\API\Repository\Exceptions\NotFoundException;
8
-use eZ\Publish\API\Repository\Repository;
9
-use eZ\Publish\API\Repository\Values\User\UserReference;
10 7
 use Netgen\InformationCollection\API\Exception\PersistingFailedException;
11 8
 use Netgen\InformationCollection\API\Exception\StoringAttributeFailedException;
12 9
 use Netgen\InformationCollection\API\Exception\StoringCollectionFailedException;
@@ -31,6 +28,8 @@  discard block
 block discarded – undo
31 28
 use Netgen\InformationCollection\Core\Persistence\Gateway\DoctrineDatabase;
32 29
 use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionAttributeRepository;
33 30
 use Netgen\InformationCollection\Doctrine\Repository\EzInfoCollectionRepository;
31
+use eZ\Publish\API\Repository\Exceptions\NotFoundException;
32
+use eZ\Publish\API\Repository\Repository;
34 33
 
35 34
 class InformationCollectionService implements InformationCollection
36 35
 {
Please login to merge, or discard this patch.
bundle/Controller/Admin/AdminController.php 1 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;
@@ -23,6 +18,11 @@  discard block
 block discarded – undo
23 18
 use Pagerfanta\Pagerfanta;
24 19
 use Symfony\Component\HttpFoundation\Request;
25 20
 use Symfony\Contracts\Translation\TranslatorInterface;
21
+use eZ\Bundle\EzPublishCoreBundle\Controller;
22
+use eZ\Publish\API\Repository\ContentService;
23
+use eZ\Publish\API\Repository\Values\Content\Content;
24
+use eZ\Publish\Core\MVC\ConfigResolverInterface;
25
+use eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute;
26 26
 
27 27
 class AdminController extends Controller
28 28
 {
Please login to merge, or discard this patch.
bundle/Controller/Admin/Export/Export.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Netgen\Bundle\InformationCollectionBundle\Controller\Admin\Export;
4 4
 
5
-use eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute;
6
-use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
7
-use Netgen\InformationCollection\API\Value\Export\ExportCriteria;
8 5
 use Netgen\InformationCollection\API\Service\Exporter;
6
+use Netgen\InformationCollection\API\Value\Export\ExportCriteria;
9 7
 use Netgen\InformationCollection\Core\Export\ExportResponseFormatterRegistry;
10
-use Symfony\Component\HttpFoundation\Request;
11 8
 use Netgen\InformationCollection\Form\Type\ExportType;
9
+use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
10
+use Symfony\Component\HttpFoundation\Request;
12 11
 use eZ\Publish\API\Repository\ContentService;
12
+use eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute;
13 13
 
14 14
 final class Export extends AbstractController
15 15
 {
Please login to merge, or discard this patch.
bundle/Controller/Admin/TreeController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Netgen\Bundle\InformationCollectionBundle\Controller\Admin;
4 4
 
5
-use eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute;
6
-use eZ\Bundle\EzPublishCoreBundle\Controller;
7 5
 use Netgen\InformationCollection\API\Service\InformationCollection;
8 6
 use Netgen\InformationCollection\API\Value\Content;
9 7
 use Netgen\InformationCollection\API\Value\Filter\ContentId;
@@ -11,6 +9,8 @@  discard block
 block discarded – undo
11 9
 use Symfony\Component\HttpFoundation\JsonResponse;
12 10
 use Symfony\Component\Routing\RouterInterface;
13 11
 use Symfony\Contracts\Translation\TranslatorInterface;
12
+use eZ\Bundle\EzPublishCoreBundle\Controller;
13
+use eZ\Publish\Core\MVC\Symfony\Security\Authorization\Attribute;
14 14
 
15 15
 class TreeController extends Controller
16 16
 {
Please login to merge, or discard this patch.
lib/Core/Factory/EmailDataFactory.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * EmailDataFactory constructor.
48 48
      *
49
-     * @param array $config
50 49
      * @param \eZ\Publish\Core\Helper\TranslationHelper $translationHelper
51 50
      * @param \eZ\Publish\Core\Helper\FieldHelper $fieldHelper
52 51
      * @param \Twig\Environment $twig
@@ -243,7 +242,7 @@  discard block
 block discarded – undo
243 242
 
244 243
     /**
245 244
      * @param string $contentTypeIdentifier
246
-     * @param array $collectedFields
245
+     * @param \EzSystems\RepositoryForms\Data\Content\FieldData[] $collectedFields
247 246
      *
248 247
      * @return BinaryFile[]
249 248
      */
Please login to merge, or discard this patch.
Unused Use Statements   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@
 block discarded – undo
4 4
 
5 5
 namespace Netgen\InformationCollection\Core\Factory;
6 6
 
7
-use eZ\Publish\Core\MVC\ConfigResolverInterface;
8 7
 use Netgen\InformationCollection\Core\Action\EmailAction;
8
+use eZ\Publish\Core\MVC\ConfigResolverInterface;
9 9
 use function array_key_exists;
10
-use eZ\Publish\API\Repository\Values\Content\Field;
11
-use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFile;
12
-use eZ\Publish\Core\Helper\FieldHelper;
13
-use eZ\Publish\Core\Helper\TranslationHelper;
14
-use Netgen\InformationCollection\API\Value\DataTransfer\EmailContent;
15
-use Netgen\InformationCollection\API\Constants;
16 10
 use Netgen\InformationCollection\API\ConfigurationConstants;
11
+use Netgen\InformationCollection\API\Constants;
17 12
 use Netgen\InformationCollection\API\Exception\MissingEmailBlockException;
18 13
 use Netgen\InformationCollection\API\Exception\MissingValueException;
14
+use Netgen\InformationCollection\API\Value\DataTransfer\EmailContent;
19 15
 use Netgen\InformationCollection\API\Value\DataTransfer\TemplateContent;
20 16
 use Netgen\InformationCollection\API\Value\Event\InformationCollected;
17
+use eZ\Publish\API\Repository\Values\Content\Field;
18
+use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFile;
19
+use eZ\Publish\Core\Helper\FieldHelper;
20
+use eZ\Publish\Core\Helper\TranslationHelper;
21 21
 use function trim;
22 22
 use Twig\Environment;
23 23
 
Please login to merge, or discard this patch.
lib/API/Service/InformationCollection.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param \Netgen\InformationCollection\API\Value\InformationCollectionStruct $struct
29 29
      *
30 30
      * @throws \Netgen\InformationCollection\API\Exception\PersistingFailedException
31
+     * @return void
31 32
      */
32 33
     public function createCollection(InformationCollectionStruct $struct): void;
33 34
 
@@ -62,7 +63,6 @@  discard block
 block discarded – undo
62 63
     /**
63 64
      * Returns collections for given content object.
64 65
      *
65
-     * @param \Netgen\InformationCollection\API\Value\Filter\ContentId $contentId
66 66
      *
67 67
      * @return \Netgen\InformationCollection\API\Value\Collections
68 68
      */
@@ -99,6 +99,7 @@  discard block
 block discarded – undo
99 99
      * Removes selected collection fields.
100 100
      *
101 101
      * @param \Netgen\InformationCollection\API\Value\Filter\CollectionFields $collectionFields
102
+     * @return void
102 103
      */
103 104
     public function deleteCollectionFields(CollectionFields $collectionFields): void;
104 105
 
@@ -106,6 +107,7 @@  discard block
 block discarded – undo
106 107
      * Removes whole collections.
107 108
      *
108 109
      * @param \Netgen\InformationCollection\API\Value\Filter\Collections $collections
110
+     * @return void
109 111
      */
110 112
     public function deleteCollections(FilterCollections $collections): void;
111 113
 
@@ -113,6 +115,7 @@  discard block
 block discarded – undo
113 115
      * Removes whole collections per content.
114 116
      *
115 117
      * @param \Netgen\InformationCollection\API\Value\Filter\Contents $contents
118
+     * @return void
116 119
      */
117 120
     public function deleteCollectionByContent(Contents $contents): void;
118 121
 
@@ -121,6 +124,7 @@  discard block
 block discarded – undo
121 124
      *
122 125
      * @param \Netgen\InformationCollection\API\Value\Filter\CollectionId $collectionId
123 126
      * @param \Netgen\InformationCollection\API\Value\Attribute $attribute
127
+     * @return void
124 128
      */
125 129
     public function updateCollectionAttribute(CollectionId $collectionId, Attribute $attribute): void;
126 130
 }
Please login to merge, or discard this patch.
lib/Core/Action/ConfigurationUtility.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Netgen\InformationCollection\Core\Action;
4 4
 
5
-use eZ\Publish\API\Repository\Values\ContentType\ContentType;
6
-use eZ\Publish\Core\MVC\ConfigResolverInterface;
7 5
 use Netgen\InformationCollection\API\Action\ActionInterface;
8 6
 use OutOfBoundsException;
7
+use eZ\Publish\API\Repository\Values\ContentType\ContentType;
8
+use eZ\Publish\Core\MVC\ConfigResolverInterface;
9 9
 use function sprintf;
10 10
 use function in_array;
11 11
 
Please login to merge, or discard this patch.