Skip to content

Commit

Permalink
fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
wodor committed Feb 18, 2012
1 parent bc73487 commit 1472283
Showing 1 changed file with 10 additions and 5 deletions.
Expand Up @@ -93,7 +93,8 @@ public function testGetNameValidTemplate()
* template should be loaded for 'foo' because other collectors are
* missing in profile or in profiler
*/
public function testGetTemplates() {
public function testGetTemplates()
{

$profile = $this->mockProfile();
$profile->expects($this->any())
Expand All @@ -111,7 +112,8 @@ public function testGetTemplates() {
$this->assertArrayNotHasKey('baz',$result);
}

public function profilerHasCallback($panel) {
public function profilerHasCallback($panel)
{
switch ($panel) {
case 'foo':
case 'bar':
Expand All @@ -121,7 +123,8 @@ public function profilerHasCallback($panel) {
}
}

public function profileHasCollectorCallback($panel) {
public function profileHasCollectorCallback($panel)
{
switch ($panel) {
case 'foo':
case 'baz':
Expand All @@ -131,7 +134,8 @@ public function profileHasCollectorCallback($panel) {
}
}

protected function mockProfile() {
protected function mockProfile()
{
$this->profile = $this->getMockBuilder('Symfony\Component\HttpKernel\Profiler\Profile')
->disableOriginalConstructor()
->getMock();
Expand Down Expand Up @@ -163,7 +167,8 @@ protected function mockTwigEngine()
return $this->twigEngine;
}

protected function mockProfiler() {
protected function mockProfiler()
{
$this->profiler = $this->getMockBuilder('Symfony\Component\HttpKernel\Profiler\Profiler')
->disableOriginalConstructor()
->getMock();
Expand Down

0 comments on commit 1472283

Please sign in to comment.