Skip to content

Commit

Permalink
Merge pull request #109 from magento-engcom/issue/93
Browse files Browse the repository at this point in the history
Update zendframework/zend-code

The build failure immediately prior to this was a red herring because of a timeout in Travis, other builds jobs are green
  • Loading branch information
bbatsche authored Apr 3, 2018
2 parents 7139667 + 0329dbf commit 7097ea1
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 26 deletions.
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

0 comments on commit 7097ea1

Please sign in to comment.