Passed
Branch master (6e2713)
by Zangra
14:31
created
src/Domain/Expediteur.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -25,22 +25,22 @@
 block discarded – undo
25 25
 
26 26
 class Expediteur extends Model
27 27
 {
28
-	public string $nom;
29
-	public string $adresse1;
30
-	public string $adresse2;
31
-	public int    $codePostal;
32
-	public string $ville;
33
-	public string $codePays;
34
-	public ?string $nomContact = null;
35
-	public ?string $email = null;
36
-	public ?int    $telFixe = null;
37
-	public ?string $indTelMobile = null;
28
+    public string $nom;
29
+    public string $adresse1;
30
+    public string $adresse2;
31
+    public int    $codePostal;
32
+    public string $ville;
33
+    public string $codePays;
34
+    public ?string $nomContact = null;
35
+    public ?string $email = null;
36
+    public ?int    $telFixe = null;
37
+    public ?string $indTelMobile = null;
38 38
     public ?int    $telMobile = null;
39 39
     public ?int    $codePorte = null;
40 40
     public ?int    $codeTiers = null;
41
-	public ?string $noEntrepositaireAgree = null;
42
-	public ?string $periodePreferenceEnlevement = null;
43
-	public ?string $instructionEnlevement = null;
41
+    public ?string $noEntrepositaireAgree = null;
42
+    public ?string $periodePreferenceEnlevement = null;
43
+    public ?string $instructionEnlevement = null;
44 44
 
45 45
     public function getNom(): string
46 46
     {
Please login to merge, or discard this patch.
src/Domain/Base/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  */
10 10
 abstract class Model
11 11
 {
12
-    public function toJson($skipNullValues = null): bool|string
12
+    public function toJson($skipNullValues = null): bool | string
13 13
     {
14 14
         $json = array();
15 15
         foreach ($this as $key => $value) {
Please login to merge, or discard this patch.
src/Event/ExceptionListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             $trace  = $exception->getTrace();
52 52
             $first  = $trace[0] ?? null;
53 53
 
54
-            $called  = $first
54
+            $called = $first
55 55
                 ? sprintf('file: %s line: %s', $first['file'] ?? 'n/a', $first['line'] ?? 'n/a')
56 56
                 : 'n/a';
57 57
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             $this->em->persist($log);
66 66
             $this->em->flush();
67 67
         } catch (\Throwable $e) {
68
-            $this->logger->error('Erreur lors de la persistance du log Geodis : ' . $e->getMessage(), [
68
+            $this->logger->error('Erreur lors de la persistance du log Geodis : '.$e->getMessage(), [
69 69
                 'exception' => $e
70 70
             ]);
71 71
         }
Please login to merge, or discard this patch.
src/Service/GeodisJsonApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         parent::setConfig($config);
19 19
     }
20 20
 
21
-    private function request(string $method, string $service, array|string|null $body = null): mixed
21
+    private function request(string $method, string $service, array | string | null $body = null): mixed
22 22
     {
23 23
         Connection::setContentType('json');
24 24
 
Please login to merge, or discard this patch.