Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Update zendframework/zend-code #109

Merged
merged 6 commits into from
Apr 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"tubalmartin/cssmin": "4.1.1",
"webonyx/graphql-php": "^0.11.1",
"zendframework/zend-captcha": "^2.7.1",
"zendframework/zend-code": "~3.1.0",
"zendframework/zend-code": "~3.3.0",
"zendframework/zend-config": "^2.6.0",
"zendframework/zend-console": "^2.6.0",
"zendframework/zend-crypt": "^2.6.0",
Expand Down
22 changes: 11 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SourceClassWithNamespaceExtensionInterfaceFactory
* @param array $data
* @return \Magento\Framework\Code\GeneratorTest\SourceClassWithNamespaceExtension
*/
public function create(array $data = array())
public function create(array $data = [])
{
return $this->_objectManager->create($this->_instanceName, $data);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SourceClassWithNamespaceFactory
* @param array $data
* @return \Magento\Framework\Code\GeneratorTest\SourceClassWithNamespace
*/
public function create(array $data = array())
public function create(array $data = [])
{
return $this->_objectManager->create($this->_instanceName, $data);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Interceptor extends \Magento\Framework\Code\GeneratorTest\SourceClassWithN
/**
* {@inheritdoc}
*/
public function publicChildMethod(\Zend\Code\Generator\ClassGenerator $classGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = array())
public function publicChildMethod(\Zend\Code\Generator\ClassGenerator $classGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = [])
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'publicChildMethod');
if (!$pluginInfo) {
Expand Down Expand Up @@ -57,7 +57,7 @@ class Interceptor extends \Magento\Framework\Code\GeneratorTest\SourceClassWithN
/**
* {@inheritdoc}
*/
public function publicParentMethod(\Zend\Code\Generator\DocBlockGenerator $docBlockGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = array())
public function publicParentMethod(\Zend\Code\Generator\DocBlockGenerator $docBlockGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = [])
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'publicParentMethod');
if (!$pluginInfo) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Proxy extends \Magento\Framework\Code\GeneratorTest\SourceClassWithNamespa
/**
* {@inheritdoc}
*/
public function publicChildMethod(\Zend\Code\Generator\ClassGenerator $classGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = array())
public function publicChildMethod(\Zend\Code\Generator\ClassGenerator $classGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = [])
{
return $this->_getSubject()->publicChildMethod($classGenerator, $param1, $param2, $param3, $array);
}
Expand All @@ -117,7 +117,7 @@ class Proxy extends \Magento\Framework\Code\GeneratorTest\SourceClassWithNamespa
/**
* {@inheritdoc}
*/
public function publicParentMethod(\Zend\Code\Generator\DocBlockGenerator $docBlockGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = array())
public function publicParentMethod(\Zend\Code\Generator\DocBlockGenerator $docBlockGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = [])
{
return $this->_getSubject()->publicParentMethod($docBlockGenerator, $param1, $param2, $param3, $array);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class SampleMapper
*
* @var array
*/
protected $registry = array(
protected $registry = [

);
];

/**
* Mapper constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface SevenInterface extends \Magento\Framework\Code\Generator\CodeGenerator
* @param array $data
* @return TestThree
*/
public static function testMethod1(array &$data = array());
public static function testMethod1(array &$data = []);

/**
* Method short description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SampleFactory
* @param array $data
* @return \Magento\Framework\ObjectManager\Code\Generator\Sample
*/
public function create(array $data = array())
public function create(array $data = [])
{
return $this->_objectManager->create($this->_instanceName, $data);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class SampleRepository implements SampleRepositoryInterface
*
* @var array
*/
protected $registry = array(
protected $registry = [

);
];

/**
* Extension attributes join processor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class TSampleRepository implements TSampleRepositoryInterface
*
* @var array
*/
protected $registry = array(
protected $registry = [

);
];

/**
* Extension attributes join processor.
Expand Down