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 ( 1e4e2d...df200b )
by Florian
20s
created
Services/DoctrineListener.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
 				$event = new DocumentPreSaveEvent($document);
176 176
 				$this->getEventDispatcher()->dispatch($event, DocumentPreSaveEvent::NAME);
177 177
 			}
178
-			if($this->enableAsync) {
178
+			if ($this->enableAsync) {
179 179
 				$this->bus->dispatch(new SaveDocumentMessage($document));
180 180
 				return;
181 181
 			}
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 		}
195 195
 		$document = $this->getEntityToDocumentMapper()->createDocument($manager, $entity);
196 196
 		if ($document !== null) {
197
-			if($this->enableAsync) {
197
+			if ($this->enableAsync) {
198 198
 				$this->bus->dispatch(new RemoveDocumentMessage($document));
199 199
 				return;
200 200
 			}
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,9 @@
 block discarded – undo
141 141
 	 * @param LifecycleEventArgs $args
142 142
 	 */
143 143
 	public function postUpdate(LifecycleEventArgs $args): void {
144
-		if (!$this->enableIndexing) return;
144
+		if (!$this->enableIndexing) {
145
+			return;
146
+		}
145 147
 		$this->updateEntity($args->getObject(), $args->getObjectManager());
146 148
 	}
147 149
 
Please login to merge, or discard this patch.
Services/Messenger/DocumentMessageHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
 	}
15 15
 
16 16
 	public function __invoke(DocumentMessage $message): void {
17
-		if($message instanceof SaveDocumentMessage) {
17
+		if ($message instanceof SaveDocumentMessage) {
18 18
 			$this->searchService->saveDocument($message->getDocument());
19 19
 			$this->em->flush();
20 20
 		}
21
-		if($message instanceof RemoveDocumentMessage) {
21
+		if ($message instanceof RemoveDocumentMessage) {
22 22
 			$this->searchService->removeDocument($message->getDocument());
23 23
 			$this->em->flush();
24 24
 		}
Please login to merge, or discard this patch.