Completed
Push — master ( e5b2f0...e9a020 )
by Florian
02:29
created
DataFixtures/AbstractStingerFixture.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
 	 */
35 35
 	private $logger;
36 36
 
37
-	public final function load(ObjectManager $manager) {
37
+	public final function load(ObjectManager $manager){
38 38
 		$this->manager = $manager;
39
-		if(!$this->skipMe()) {
39
+		if(!$this->skipMe()){
40 40
 			$this->info("Starting import of fixtures ...");
41 41
 			$this->reportMemoryUsage();
42 42
 // 			$startTime = microtime(true);
@@ -44,12 +44,12 @@  discard block
 block discarded – undo
44 44
 // 			$endTime = microtime(true);
45 45
 // 			$this->info("Finished importing fixtures in " . $this->formatTime($startTime, $endTime));
46 46
 			$this->reportMemoryUsage();
47
-		} else {
47
+		} else{
48 48
 			$this->info('Skipping import of fixtures !');
49 49
 		}
50 50
 	}
51 51
 
52
-	protected final function reportMemoryUsage() {
52
+	protected final function reportMemoryUsage(){
53 53
 		$this->info("Currently using %s of RAM", $this->getMemoryUsage());
54 54
 	}
55 55
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @return bool
65 65
 	 */
66
-	protected function skipMe() {
66
+	protected function skipMe(){
67 67
 		return false;
68 68
 	}
69 69
 	
@@ -72,10 +72,10 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @return LoggerInterface|null
74 74
 	 */
75
-	protected function getLogger() {
76
-		if(!$this->logger && $this->container && $this->container->has('logger')) {
75
+	protected function getLogger(){
76
+		if(!$this->logger && $this->container && $this->container->has('logger')){
77 77
 			$this->logger = $this->container->get('logger');
78
-		} else {
78
+		} else{
79 79
 			$this->logger = new NullLogger();
80 80
 		}
81 81
 		return $this->logger;
@@ -83,6 +83,6 @@  discard block
 block discarded – undo
83 83
 
84 84
 	/**
85 85
 	 */
86
-	protected function getDependencies() {
86
+	protected function getDependencies(){
87 87
 	}
88 88
 }
89 89
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
 	 */
35 35
 	private $logger;
36 36
 
37
-	public final function load(ObjectManager $manager) {
37
+	public final function load(ObjectManager $manager){
38 38
 		$this->manager = $manager;
39
-		if(!$this->skipMe()) {
39
+		if(!$this->skipMe()){
40 40
 			$this->info("Starting import of fixtures ...");
41 41
 			$this->reportMemoryUsage();
42 42
 // 			$startTime = microtime(true);
@@ -44,12 +44,12 @@  discard block
 block discarded – undo
44 44
 // 			$endTime = microtime(true);
45 45
 // 			$this->info("Finished importing fixtures in " . $this->formatTime($startTime, $endTime));
46 46
 			$this->reportMemoryUsage();
47
-		} else {
47
+		} else{
48 48
 			$this->info('Skipping import of fixtures !');
49 49
 		}
50 50
 	}
51 51
 
52
-	protected final function reportMemoryUsage() {
52
+	protected final function reportMemoryUsage(){
53 53
 		$this->info("Currently using %s of RAM", $this->getMemoryUsage());
54 54
 	}
55 55
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @return bool
65 65
 	 */
66
-	protected function skipMe() {
66
+	protected function skipMe(){
67 67
 		return false;
68 68
 	}
69 69
 	
@@ -72,10 +72,10 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @return LoggerInterface|null
74 74
 	 */
75
-	protected function getLogger() {
76
-		if(!$this->logger && $this->container && $this->container->has('logger')) {
75
+	protected function getLogger(){
76
+		if(!$this->logger && $this->container && $this->container->has('logger')){
77 77
 			$this->logger = $this->container->get('logger');
78
-		} else {
78
+		} else{
79 79
 			$this->logger = new NullLogger();
80 80
 		}
81 81
 		return $this->logger;
@@ -83,6 +83,6 @@  discard block
 block discarded – undo
83 83
 
84 84
 	/**
85 85
 	 */
86
-	protected function getDependencies() {
86
+	protected function getDependencies(){
87 87
 	}
88 88
 }
89 89
\ No newline at end of file
Please login to merge, or discard this patch.