Skip to content

Commit

Permalink
fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jun 8, 2011
1 parent 1bc14cd commit f110058
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CacheWarmer/AssetWriterCacheWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

/**
* The AssetWriterCacheWarmer processes and writes the asset files.
*
*
* @author Kris Wallsmith <[email protected]>
*/
class AssetWriterCacheWarmer implements CacheWarmerInterface
Expand Down
1 change: 1 addition & 0 deletions DependencyInjection/AsseticExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ static protected function processConfigs(array $configs, $debug, array $bundles)
{
$processor = new Processor();
$configuration = new Configuration($debug, $bundles);

return $processor->processConfiguration($configuration, $configs);
}

Expand Down
4 changes: 2 additions & 2 deletions Tests/CacheWarmer/AssetManagerCacheWarmerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ public function testWarmUp()
;

$am->expects($this->once())->method('load');

$container = $this
->getMockBuilder('Symfony\\Component\\DependencyInjection\\Container')
->setConstructorArgs(array())
->getMock()
;

$container
->expects($this->once())
->method('get')
Expand Down
8 changes: 4 additions & 4 deletions Tests/CacheWarmer/AssetWriterCacheWarmerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected function setUp()
public function testWarmUp()
{
$am = $this->getMock('Assetic\\AssetManager');

$writer = $this
->getMockBuilder('Assetic\\AssetWriter')
->disableOriginalConstructor()
Expand All @@ -37,19 +37,19 @@ public function testWarmUp()
->method('writeManagerAssets')
->with($am)
;

$container = $this
->getMockBuilder('Symfony\\Component\\DependencyInjection\\Container')
->setConstructorArgs(array())
->getMock()
;

$container
->expects($this->once())
->method('get')
->with('assetic.asset_manager')
->will($this->returnValue($am))
;
;

$warmer = new AssetWriterCacheWarmer($container, $writer);
$warmer->warmUp('/path/to/cache');
Expand Down

0 comments on commit f110058

Please sign in to comment.