mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Fix code style in CompileCommand
according to PSR2 coding rules
This commit is contained in:
		
							parent
							
								
									5602bf83fe
								
							
						
					
					
						commit
						c06a9c7cf1
					
				@ -42,13 +42,23 @@ class CompileCommand extends AbstractCommand
 | 
				
			|||||||
    public function run()
 | 
					    public function run()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        if (ini_get('phar.readonly')) {
 | 
					        if (ini_get('phar.readonly')) {
 | 
				
			||||||
            Console::output('The <purple>php.ini</purple> variable <light_red>phar.readonly</light_red> must be <yellow>Off</yellow>.', 1, 2);
 | 
					            Console::output(
 | 
				
			||||||
 | 
					                'The <purple>php.ini</purple> variable <light_red>phar.readonly</light_red>'
 | 
				
			||||||
 | 
					                . ' must be <yellow>Off</yellow>.',
 | 
				
			||||||
 | 
					                1,
 | 
				
			||||||
 | 
					                2
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return 200;
 | 
					            return 200;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $this->compiler->compile();
 | 
					        $this->compiler->compile();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Console::output('<light_purple>mage.phar</light_purple> compiled <light_green>successfully</light_green>', 0, 2);
 | 
					        Console::output(
 | 
				
			||||||
 | 
					            '<light_purple>mage.phar</light_purple> compiled <light_green>successfully</light_green>',
 | 
				
			||||||
 | 
					            0,
 | 
				
			||||||
 | 
					            2
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return 0;
 | 
					        return 0;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user