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 ( 84e69f...aacd2f )
by Florian
03:33
created
Services/AbstractSearchService.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,9 @@
 block discarded – undo
32 32
 	 * @see \StingerSoft\EntitySearchBundle\Services\SearchService::setObjectManager()
33 33
 	 */
34 34
 	public function setObjectManager(ObjectManager $om) {
35
-		if($this->objectManager) return;
35
+		if($this->objectManager) {
36
+			return;
37
+		}
36 38
 		$this->objectManager = $om;
37 39
 	}
38 40
 
Please login to merge, or discard this patch.
Services/DoctrineListener.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,8 +82,9 @@  discard block
 block discarded – undo
82 82
 	 * @param object $entity        	
83 83
 	 */
84 84
 	protected function updateEntity($entity, ObjectManager $manager) {
85
-		if(!($entity instanceof SearchableEntity))
86
-			return;
85
+		if(!($entity instanceof SearchableEntity)) {
86
+					return;
87
+		}
87 88
 		$document = $this->getSearchService($manager)->createEmptyDocumentFromEntity($entity);
88 89
 		if($entity->indexEntity($document) !== false) {
89 90
 			$this->getSearchService($manager)->saveDocument($document);
@@ -97,8 +98,9 @@  discard block
 block discarded – undo
97 98
 	 * @param object $entity        	
98 99
 	 */
99 100
 	protected function removeEntity($entity, ObjectManager $manager) {
100
-		if(!($entity instanceof SearchableEntity))
101
-			return;
101
+		if(!($entity instanceof SearchableEntity)) {
102
+					return;
103
+		}
102 104
 		$document = $this->getSearchService($manager)->createEmptyDocumentFromEntity($entity);
103 105
 		$this->getSearchService($manager)->removeDocument($document);
104 106
 	}
Please login to merge, or discard this patch.
StingerSoftEntitySearchBundle.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
  */
18 18
 class StingerSoftEntitySearchBundle extends Bundle {
19 19
 
20
+	/**
21
+	 * @param string $env
22
+	 */
20 23
 	public static function getRequiredBundles($env) {
21 24
 		$bundles = array();
22 25
 		$bundles['StingerSoftEntitySearchBundle'] = '\StingerSoft\EntitySearchBundle\StingerSoftEntitySearchBundle';
Please login to merge, or discard this patch.