Test Setup Failed
Branch user/international-postal-code... (b53ac3)
by Bertrand
08:58
created
app/Src/UseCases/Domain/Context/Dto/PractiseVo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $this->wikiCode = $wikiCode;
18 18
     }
19 19
 
20
-    public function doneAt():?\DateTime
20
+    public function doneAt(): ?\DateTime
21 21
     {
22 22
         return $this->doneAt;
23 23
     }
Please login to merge, or discard this patch.
app/Src/UseCases/Domain/Context/Dto/CharacteristicDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public $code;
17 17
     public $wiki;
18 18
 
19
-    public function __construct(string $uuid,  string $label, string $type, ?string $icon, $prettyLabel, array $opt = [], string $wiki = 'fr')
19
+    public function __construct(string $uuid, string $label, string $type, ?string $icon, $prettyLabel, array $opt = [], string $wiki = 'fr')
20 20
     {
21 21
         $this->uuid = $uuid;
22 22
         $this->label = $label;
Please login to merge, or discard this patch.
app/Src/UseCases/Domain/Ports/CharacteristicsRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
     public function getByType(string $type, bool $isMain):array;
12 12
     public function getAllByType(string $type, string $wikiCode):array;
13 13
     public function save(Characteristic $c);
14
-    public function getBy(array $conditions):?Characteristic;
15
-    public function getByPageId(int $pageId):?Characteristic;
14
+    public function getBy(array $conditions): ?Characteristic;
15
+    public function getByPageId(int $pageId): ?Characteristic;
16 16
 }
Please login to merge, or discard this patch.
app/Src/UseCases/Domain/Ports/InteractionRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 interface InteractionRepository
12 12
 {
13 13
     public function save(CanInteract $canInteract, Interaction $interaction);
14
-    public function getByInteractUser(CanInteract $canInteract, int $pageId, string $wikiCode):?Interaction;
14
+    public function getByInteractUser(CanInteract $canInteract, int $pageId, string $wikiCode): ?Interaction;
15 15
     public function transfer(CanInteract $anonymous, CanInteract $registered);
16 16
     public function getCountInteractionsOnPage(int $pageId, string $wikiCode):array;
17 17
     public function getInteractionsByUser(string $userId):array;
Please login to merge, or discard this patch.
app/ServiceConfigs.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
         $localesConfigs = $this->getLocalesConfig();
15 15
 
16 16
         foreach ($localesConfigs as $localeConfig) {
17
-            if($localeConfig->code === $lang){
17
+            if ($localeConfig->code === $lang) {
18 18
                 return $localeConfig;
19 19
             }
20 20
         }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         $localesConfigs = Cache::get('localesConfigs');
26 26
         if (empty($localesConfigs)) {
27 27
             $localesConfigs = LocalesConfig::all()->toArray();
28
-            Cache::put('localesConfigs', $localesConfigs, 60 * 24);
28
+            Cache::put('localesConfigs', $localesConfigs, 60*24);
29 29
         }
30 30
 
31 31
         return $localesConfigs;
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     public function all(): array
35 35
     {
36 36
         $locales = [];
37
-        foreach($this->getLocalesConfig() as $localeConfig){
37
+        foreach ($this->getLocalesConfig() as $localeConfig) {
38 38
             $locales[$localeConfig['code']] = $localeConfig;
39 39
         }
40 40
 
Please login to merge, or discard this patch.
app/SendinBlueService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
 
39 39
 
40 40
             $this->client->createContact($createContact);
41
-            Log::info('Email added to sendinblue : ' . $email);
41
+            Log::info('Email added to sendinblue : '.$email);
42 42
         } catch (\Throwable $e) {
43
-            Log::error('Exception when calling ContactsApi->createContact: '. $e->getMessage());
43
+            Log::error('Exception when calling ContactsApi->createContact: '.$e->getMessage());
44 44
         }
45 45
     }
46 46
 }
Please login to merge, or discard this patch.