Completed
Push — master ( 954bab...484894 )
by Guillaume
02:44
created
web/app_dev.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 /**
7 7
  * @var Composer\Autoload\ClassLoader $loader
8 8
  */
9
-$loader = require __DIR__ . '/../app/autoload.php';
9
+$loader = require __DIR__.'/../app/autoload.php';
10 10
 Debug::enable();
11 11
 
12 12
 $kernel = new AppKernel('dev', true);
Please login to merge, or discard this patch.
src/Starkerxp/CampagneBundle/Render/HtmlToTxtRender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $monTexte = implode(
41 41
             "\n",
42 42
             array_map(
43
-                function ($ligne) {
43
+                function($ligne) {
44 44
                     return trim($ligne);
45 45
                 },
46 46
                 explode("\n", $monTexte)
Please login to merge, or discard this patch.
src/Starkerxp/CampagneBundle/Render/OctosendHtmlRender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
             return "<a href='{{unsubscribe:".$lien."}}' style='".$style."' title='Désinscription'>".$texte.'</a>';
59 59
         }
60 60
 
61
-        return "<a href='{{click:".$lien."}}' style='".$style."'>".$texte.'</a>';;
61
+        return "<a href='{{click:".$lien."}}' style='".$style."'>".$texte.'</a>'; ;
62 62
     }
63 63
 
64 64
     public function getSupport($api, $version)
Please login to merge, or discard this patch.
src/Starkerxp/RabbitmqBundle/Command/ReceiverLockCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
                 true,
57 57
                 true,
58 58
                 [
59
-                    'x-message-ttl'          => ['I', $this->getDelaiTemporisation() * 1000],   // delay in seconds to milliseconds
59
+                    'x-message-ttl'          => ['I', $this->getDelaiTemporisation() * 1000], // delay in seconds to milliseconds
60 60
                     "x-expires"              => ["I", $this->getDelaiTemporisation() * 1000 + 1000],
61 61
                     'x-dead-letter-exchange' => ['S', 'exchange_'.$nomChannel] // after message expiration in delay queue, move message to the right.now.queue
62 62
                 ]
Please login to merge, or discard this patch.
src/Starkerxp/StructureBundle/Manager/EntityManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,8 @@
 block discarded – undo
102 102
      *
103 103
      * @return bool|EntityRepository
104 104
      */
105
-    public function getRepository(Entity $object){
106
-        if(!$manager = $this->getManager( $object)){
105
+    public function getRepository(Entity $object) {
106
+        if (!$manager = $this->getManager($object)) {
107 107
             return false;
108 108
         }
109 109
         return $manager->getRepository();
Please login to merge, or discard this patch.
src/Starkerxp/CampagneBundle/Controller/TemplateController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             return new JsonResponse([]);
28 28
         }
29 29
         $retour = array_map(
30
-            function ($element) use ($manager, $options) {
30
+            function($element) use ($manager, $options) {
31 31
                 return $manager->toArray($element, $this->getFields($options['fields']));
32 32
             },
33 33
             $resultSets
Please login to merge, or discard this patch.
web/app_test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 /**
7 7
  * @var Composer\Autoload\ClassLoader $loader
8 8
  */
9
-$loader = require __DIR__ . '/../app/autoload.php';
9
+$loader = require __DIR__.'/../app/autoload.php';
10 10
 Debug::enable();
11 11
 
12 12
 $kernel = new AppKernel('test', true);
Please login to merge, or discard this patch.
src/Starkerxp/StructureBundle/Controller/StructureController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @return array
88 88
      */
89
-    protected function getFormErrors($form){
89
+    protected function getFormErrors($form) {
90 90
         $errors = $this->get("starkerxp_structure.services.form_errors")->getFormErrors($form);
91 91
         return $errors;
92 92
     }
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @return string
98 98
      */
99
-    protected function getUuid(){
99
+    protected function getUuid() {
100 100
         return (\Ramsey\Uuid\Uuid::uuid4())->toString();
101 101
     }
102 102
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @return string
111 111
      */
112
-    protected function translate($id, $domain = null, array $parameters = []){
112
+    protected function translate($id, $domain = null, array $parameters = []) {
113 113
        return $this->get('translator')->trans($id, $parameters, $domain);
114 114
     }
115 115
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      *
121 121
      * @return array|mixed
122 122
      */
123
-    protected function getRequestData(Request $request){
123
+    protected function getRequestData(Request $request) {
124 124
         $data = json_decode($request->getContent(), true);
125 125
         if (empty($data)) {
126 126
             $data = $request->request->all();
Please login to merge, or discard this patch.
src/Starkerxp/StructureBundle/Generator/ControllerGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
             '/Controller/_nomController_Controller.php',
40 40
             '/Tests/Controller/_nomController_ControllerTest.php',
41 41
             '/Form/Type/_nomController_Type.php',
42
-            '/Resources/config/routing.yml',  // Il faut récupérer la locale par défaut afin de générer le bon fichier.
43
-            '/Resources/translations/_lnomController_._locale_.yml',  // Il faut récupérer la locale par défaut afin de générer le bon fichier.
42
+            '/Resources/config/routing.yml', // Il faut récupérer la locale par défaut afin de générer le bon fichier.
43
+            '/Resources/translations/_lnomController_._locale_.yml', // Il faut récupérer la locale par défaut afin de générer le bon fichier.
44 44
         ];
45 45
     }
46 46
 
Please login to merge, or discard this patch.