@@ -93,7 +93,7 @@ |
||
| 93 | 93 | } |
| 94 | 94 | $export[strtolower($data['tableName']).'_'.$row['id']] = $dataExport; |
| 95 | 95 | } |
| 96 | - $contenu .= Yaml::dump([$namespace => $export,], 2, 4)."\n"; |
|
| 96 | + $contenu .= Yaml::dump([$namespace => $export, ], 2, 4)."\n"; |
|
| 97 | 97 | } |
| 98 | 98 | echo $contenu; |
| 99 | 99 | } |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | /** |
| 80 | 80 | * @return string |
| 81 | 81 | */ |
| 82 | - protected function getEnvironment(){ |
|
| 82 | + protected function getEnvironment() { |
|
| 83 | 83 | return $this->getContainer()->get("kernel")->getEnvironment(); |
| 84 | 84 | } |
| 85 | 85 | |
@@ -267,7 +267,7 @@ |
||
| 267 | 267 | */ |
| 268 | 268 | public function getSerialisation() |
| 269 | 269 | { |
| 270 | - if(empty($this->serialisation)){ |
|
| 270 | + if (empty($this->serialisation)) { |
|
| 271 | 271 | return []; |
| 272 | 272 | } |
| 273 | 273 | return $this->serialisation->getSerialisation(); |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $manager = $this->getContainer()->get('starkerxp_lead.manager.lead'); |
| 72 | 72 | $listeLeads = $manager->getRepository()->findAll(); |
| 73 | 73 | $this->assertCount(1, $listeLeads); |
| 74 | - $LeadActionDepart = $manager->toArray($listeLeads[0], [/*'nom'*/]);// Exemple |
|
| 74 | + $LeadActionDepart = $manager->toArray($listeLeads[0], [/*'nom'*/]); // Exemple |
|
| 75 | 75 | $data = [ |
| 76 | 76 | //'nom' => "Mon nom", //exemple |
| 77 | 77 | ]; |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | $manager->clear(); |
| 89 | 89 | $LeadActions = $manager->findAll(); |
| 90 | 90 | $this->assertCount(1, $LeadActions); |
| 91 | - $LeadActionFinal = $manager->toArray($LeadActions[0], [/*'nom'*/]);// Exemple |
|
| 91 | + $LeadActionFinal = $manager->toArray($LeadActions[0], [/*'nom'*/]); // Exemple |
|
| 92 | 92 | $this->assertNotEquals($LeadActionDepart, $LeadActionFinal); |
| 93 | 93 | $this->assertEquals($data, $LeadActionFinal); |
| 94 | 94 | } |