Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
[PSR-2] fixers=braces,elseif,short_tag,php_closing_tag,trailing_space…
Browse files Browse the repository at this point in the history
…s,linefeed

Applied php-cs-fixer --fixers=braces,elseif,short_tag,php_closing_tag,trailing_spaces,linefeed
  • Loading branch information
Maks3w committed Jul 12, 2012
1 parent 5028fe9 commit e8236b3
Show file tree
Hide file tree
Showing 20 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* Invalid Argument Exception
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Exception
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* Runtime Exception
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Exception
Expand Down
2 changes: 1 addition & 1 deletion src/Feature/ConfigProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface ConfigProviderInterface
{
/**
* Returns configuration to merge with application configuration
*
*
* @return array|\Traversable
*/
public function getConfig();
Expand Down
12 changes: 6 additions & 6 deletions src/Feature/LocatorRegisteredInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
namespace Zend\ModuleManager\Feature;

/**
* LocatorRegistered
* LocatorRegistered
*
* By implementing this interface in a Module class, the instance of the Module
* class will be automatically injected into any DI-configured object which has
* a constructor or setter parameter which is type hinted with the Module class
* name. Implementing this interface obviously does not require adding any
* By implementing this interface in a Module class, the instance of the Module
* class will be automatically injected into any DI-configured object which has
* a constructor or setter parameter which is type hinted with the Module class
* name. Implementing this interface obviously does not require adding any
* methods to your class.
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Feature
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/AbstractListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* Abstract listener
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Listener
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/AutoloaderListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/**
* Autoloader listener
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Listener
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/ConfigMergerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* Config merger interface
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Listener
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

/**
* Exception interface
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Listener
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

/**
* Invalid Argument Exception
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Listener
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

/**
* Runtime Exception
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Listener
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/InitTrigger.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

/**
* Init trigger
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Listener
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/ModuleResolverListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* Module resolver listener
*
*
* @category Zend
* @package Zend_ModuleManager
* @subpackage Listener
Expand Down
6 changes: 3 additions & 3 deletions test/ModuleManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function setUp()
$this->includePath = get_include_path();

$this->defaultListeners = new DefaultListenerAggregate(
new ListenerOptions(array(
new ListenerOptions(array(
'module_paths' => array(
realpath(__DIR__ . '/TestAsset'),
),
Expand All @@ -49,7 +49,7 @@ public function setUp()
public function tearDown()
{
$file = glob($this->tmpdir . DIRECTORY_SEPARATOR . '*');
@unlink($file[0]); // change this if there's ever > 1 file
@unlink($file[0]); // change this if there's ever > 1 file
@rmdir($this->tmpdir);
// Restore original autoloaders
AutoloaderFactory::unregisterAutoloaders();
Expand All @@ -67,7 +67,7 @@ public function tearDown()
// Restore original include_path
set_include_path($this->includePath);
}

public function testEventManagerIdentifiers()
{
$moduleManager = new ModuleManager(array());
Expand Down
6 changes: 3 additions & 3 deletions test/TestAsset/BafModule/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class Module
{
protected $version = 1;

public function init()
{
$this->initAutoloader();
Expand All @@ -30,7 +30,7 @@ public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}

public function getProvides()
{
return array(
Expand All @@ -39,7 +39,7 @@ public function getProvides()
),
);
}

public function getDependencies()
{
return array(
Expand Down
6 changes: 3 additions & 3 deletions test/TestAsset/BamModule/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class Module
{
protected $version = 1;

public function init()
{
$this->initAutoloader();
Expand All @@ -30,7 +30,7 @@ public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}

public function getProvides()
{
return array(
Expand All @@ -39,7 +39,7 @@ public function getProvides()
),
);
}

public function getDependencies()
{
return array(
Expand Down
8 changes: 4 additions & 4 deletions test/TestAsset/BarModule/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class Module
{
protected $version = 1;

public function init()
{
$this->initAutoloader();
Expand All @@ -30,7 +30,7 @@ public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}

public function getProvides()
{
return array(
Expand All @@ -39,14 +39,14 @@ public function getProvides()
),
);
}

public function getDependencies()
{
return array(
'php' => array(
'version' => '5.3.0',
'required' => true,
),
),
);
}
}
6 changes: 3 additions & 3 deletions test/TestAsset/BooModule/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class Module
{
protected $version = 1;

public function init()
{
$this->initAutoloader();
Expand All @@ -30,7 +30,7 @@ public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}

public function getProvides()
{
return array(
Expand All @@ -39,7 +39,7 @@ public function getProvides()
),
);
}

public function getDependencies()
{
return array(
Expand Down
6 changes: 3 additions & 3 deletions test/TestAsset/BorModule/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class Module
{
protected $version = 1;

public function init()
{
$this->initAutoloader();
Expand All @@ -30,7 +30,7 @@ public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}

public function getProvides()
{
return array(
Expand All @@ -39,7 +39,7 @@ public function getProvides()
),
);
}

public function getDependencies()
{
return array(
Expand Down
8 changes: 4 additions & 4 deletions test/TestAsset/DoubleModule/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class Module
{
protected $version = 1;

public function init()
{
$this->initAutoloader();
Expand All @@ -30,7 +30,7 @@ public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}

public function getProvides()
{
return array(
Expand All @@ -39,13 +39,13 @@ public function getProvides()
),
);
}

public function getDependencies()
{
return array(
'php' => array(
'version' => '5.3.0',
)
)
);
}
}
8 changes: 4 additions & 4 deletions test/TestAsset/ImpossibleModule/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class Module
{
protected $version = 1;

public function init()
{
$this->initAutoloader();
Expand All @@ -30,7 +30,7 @@ public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}

public function getProvides()
{
return array(
Expand All @@ -39,14 +39,14 @@ public function getProvides()
),
);
}

public function getDependencies()
{
return array(
'php' => array(
'version' => '99.3.0',
),
'BarModule' => true,
'BarModule' => true,
);
}
}

0 comments on commit e8236b3

Please sign in to comment.