Skip to content

Commit

Permalink
Merge pull request #477 from magento-api/MAGETWO-40183
Browse files Browse the repository at this point in the history
MAGETWO-40183 Accept 9 Public Pull Requests
  • Loading branch information
Paliarush, Alexander(apaliarush) committed Jul 17, 2015
2 parents d525084 + ec7c7b0 commit b0372d6
Show file tree
Hide file tree
Showing 453 changed files with 1,279 additions and 500 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
namespace Magento\AdminNotification\Controller\Adminhtml;

class Notification extends \Magento\Backend\App\AbstractAction
abstract class Notification extends \Magento\Backend\App\AbstractAction
{
/**
* @return bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
*/
namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

class Start extends \Magento\Sales\Controller\Adminhtml\Order\Create
abstract class Start extends \Magento\Sales\Controller\Adminhtml\Order\Create
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Payment extends \Magento\Framework\App\Action\Action
abstract class Payment extends \Magento\Framework\App\Action\Action
{
/**
* Core registry
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/App/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
/**
* @SuppressWarnings(PHPMD.NumberOfChildren)
*/
class Action extends \Magento\Backend\App\AbstractAction
abstract class Action extends \Magento\Backend\App\AbstractAction
{
}
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Controller/Adminhtml/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Auth backend controller
*/
class Auth extends AbstractAction
abstract class Auth extends AbstractAction
{
/**
* Check if user has permissions to access this controller
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Controller/Adminhtml/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Magento\Backend\App\Action;
use Magento\Framework\Exception\LocalizedException;

class Cache extends Action
abstract class Cache extends Action
{
/**
* @var \Magento\Framework\App\Cache\TypeListInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
namespace Magento\Backend\Controller\Adminhtml;

class Dashboard extends \Magento\Backend\App\Action
abstract class Dashboard extends \Magento\Backend\App\Action
{
/**
* @return bool
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Controller/Adminhtml/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Index backend controller
*/
class Index extends AbstractAction
abstract class Index extends AbstractAction
{
/**
* Check if user has permissions to access this controller
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Controller/Adminhtml/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class System extends AbstractAction
abstract class System extends AbstractAction
{
/**
* @return bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Account extends Action
abstract class Account extends Action
{
/**
* @return bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

use Magento\Backend\App\Action;

class Design extends Action
abstract class Design extends Action
{
/**
* Core registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Store extends Action
abstract class Store extends Action
{
/**
* Core registry
Expand Down
15 changes: 15 additions & 0 deletions app/code/Magento/Backend/Test/Unit/App/Action/Stub/ActionStub.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Backend\Test\Unit\App\Action\Stub;

class ActionStub extends \Magento\Backend\App\Action
{
protected function execute()
{
// Empty method stub for test
}
}
Empty file.
2 changes: 1 addition & 1 deletion app/code/Magento/Backup/Controller/Adminhtml/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Index extends \Magento\Backend\App\Action
abstract class Index extends \Magento\Backend\App\Action
{
/**
* Core registry
Expand Down
Empty file modified app/code/Magento/Backup/Controller/Adminhtml/Index/Download.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Backup/Model/Backup.php
100755 → 100644
Empty file.
Empty file.
Empty file modified app/code/Magento/Backup/Test/Unit/Model/BackupTest.php
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion app/code/Magento/Braintree/Controller/MyCreditCards.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Magento\Framework\App\Action\Context;
use \Braintree_Result_Error;

class MyCreditCards extends \Magento\Framework\App\Action\Action
abstract class MyCreditCards extends \Magento\Framework\App\Action\Action
{
/**
* @var \Magento\Customer\Model\Session
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Braintree/Controller/PayPal.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Braintree PayPal Checkout Controller
*/
class PayPal extends \Magento\Framework\App\Action\Action
abstract class PayPal extends \Magento\Framework\App\Action\Action
{
/**
* @var \Magento\Braintree\Model\CheckoutFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function testDispatchNoVault()
->getMock();

$notification = $objectManager->getObject(
'Magento\Braintree\Controller\MyCreditCards',
'Magento\Braintree\Test\Unit\Controller\Stub\MyCreditCardsStub',
[
'customerSession' => $this->customerSession,
'resultRedirectFactory' => $this->resultRedirectFactory,
Expand Down Expand Up @@ -157,7 +157,7 @@ public function testDispatchNotLoggedIn()


$notification = $objectManager->getObject(
'Magento\Braintree\Controller\MyCreditCards',
'Magento\Braintree\Test\Unit\Controller\Stub\MyCreditCardsStub',
[
'customerSession' => $this->customerSession,
'resultRedirectFactory' => $this->resultRedirectFactory,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function setUp()

$this->objectManagerHelper = new ObjectManagerHelper($this);
$this->controller = $this->objectManagerHelper->getObject(
'\Magento\Braintree\Controller\PayPal',
'Magento\Braintree\Test\Unit\Controller\Stub\PayPalStub',
[
'context' => $contextMock,
'customerSession' => $this->customerSessionMock,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Braintree\Test\Unit\Controller\Stub;

class MyCreditCardsStub extends \Magento\Braintree\Controller\MyCreditCards
{
protected function execute()
{
// Empty method stub for test
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Braintree\Test\Unit\Controller\Stub;

class PayPalStub extends \Magento\Braintree\Controller\PayPal
{
protected function execute()
{
// Empty method stub for test
}
}
Empty file modified app/code/Magento/BundleImportExport/LICENSE.txt
100755 → 100644
Empty file.
Empty file modified app/code/Magento/BundleImportExport/LICENSE_AFL.txt
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file modified app/code/Magento/BundleImportExport/composer.json
100755 → 100644
Empty file.
Empty file modified app/code/Magento/BundleImportExport/etc/di.xml
100755 → 100644
Empty file.
Empty file modified app/code/Magento/BundleImportExport/etc/import.xml
100755 → 100644
Empty file.
Empty file modified app/code/Magento/BundleImportExport/etc/module.xml
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Captcha/Model/DefaultModel.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Captcha/Test/Unit/Model/DefaultTest.php
100755 → 100644
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Controller/Adminhtml/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* Catalog category controller
*/
class Category extends \Magento\Backend\App\Action
abstract class Category extends \Magento\Backend\App\Action
{
/**
* Initialize requested category and put it into registry.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Widget extends \Magento\Backend\App\Action
abstract class Widget extends \Magento\Backend\App\Action
{
/**
* @var \Magento\Framework\View\LayoutFactory
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Controller/Adminhtml/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Catalog product controller
* @SuppressWarnings(PHPMD.NumberOfChildren)
*/
class Product extends \Magento\Backend\App\Action
abstract class Product extends \Magento\Backend\App\Action
{
/**
* @var Product\Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Magento\Catalog\Controller\Adminhtml\Product;
use Magento\Framework\Controller\Result;

class AbstractProductGrid extends Product
abstract class AbstractProductGrid extends Product
{
/**
* @var \Magento\Framework\View\Result\LayoutFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* Adminhtml catalog product action attribute update controller
*/
class Attribute extends Action
abstract class Attribute extends Action
{
/**
* @var \Magento\Catalog\Helper\Product\Edit\Action\Attribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Magento\Framework\Controller\Result;
use Magento\Framework\View\Result\PageFactory;

class Attribute extends \Magento\Backend\App\Action
abstract class Attribute extends \Magento\Backend\App\Action
{
/**
* @var \Magento\Framework\Cache\FrontendInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Set extends \Magento\Backend\App\Action
abstract class Set extends \Magento\Backend\App\Action
{
/**
* Core registry
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Controller/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Magento\Catalog\Controller\Product\View\ViewInterface;
use Magento\Catalog\Model\Product as ModelProduct;

class Product extends \Magento\Framework\App\Action\Action implements ViewInterface
abstract class Product extends \Magento\Framework\App\Action\Action implements ViewInterface
{
/**
* Initialize requested product object
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Controller/Product/Compare.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @SuppressWarnings(PHPMD.LongVariable)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class Compare extends \Magento\Framework\App\Action\Action
abstract class Compare extends \Magento\Framework\App\Action\Action
{
/**
* Customer id
Expand Down
Empty file modified app/code/Magento/Catalog/Model/Entity/Attribute.php
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified app/code/Magento/Catalog/Test/Unit/Model/ProductTest.php
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file modified app/code/Magento/CatalogImportExport/Model/Import/Product.php
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Magento\Framework\Registry;
use Magento\Framework\Stdlib\DateTime\Filter\Date;

class Catalog extends Action
abstract class Catalog extends Action
{
/**
* Dirty rules notice message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

use Magento\Backend\App\Action;

class Widget extends Action
abstract class Widget extends Action
{
/**
* @return bool
Expand Down
Empty file modified app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/CatalogRule/Setup/InstallData.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/CatalogUrlRewrite/etc/adminhtml/di.xml
100755 → 100644
Empty file.
Empty file modified app/code/Magento/CatalogUrlRewrite/etc/events.xml
100755 → 100644
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Class Widget
*/
class Widget extends Action
abstract class Widget extends Action
{
/**
* @return bool
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Checkout/Controller/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Shopping cart controller
*/
class Cart extends \Magento\Framework\App\Action\Action implements ViewInterface
abstract class Cart extends \Magento\Framework\App\Action\Action implements ViewInterface
{
/**
* @var \Magento\Framework\App\Config\ScopeConfigInterface
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Checkout/Controller/Onepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class Onepage extends Action
abstract class Onepage extends Action
{
/**
* @var array
Expand Down
Empty file modified app/code/Magento/Checkout/Exception.php
100755 → 100644
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ protected function setUp()
$context->expects($this->once())
->method('getEventManager')
->willReturn($this->eventManager);

$this->controller = $objectManager->getObject(
'Magento\Checkout\Controller\Onepage',
'Magento\Checkout\Test\Unit\Controller\Stub\OnepageStub',
[
'context' => $context
]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Checkout\Test\Unit\Controller\Stub;

class OnepageStub extends \Magento\Checkout\Controller\Onepage
{
protected function execute()
{
// Empty method stub for test
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
namespace Magento\CheckoutAgreements\Controller\Adminhtml;

class Agreement extends \Magento\Backend\App\Action
abstract class Agreement extends \Magento\Backend\App\Action
{
/**
* Core registry
Expand Down
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion app/code/Magento/Cms/Controller/Adminhtml/Block.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Block extends \Magento\Backend\App\Action
abstract class Block extends \Magento\Backend\App\Action
{
/**
* Core registry
Expand Down
Empty file modified app/code/Magento/Cms/Controller/Adminhtml/Block/Delete.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Adminhtml/Block/Edit.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Adminhtml/Block/Index.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Adminhtml/Block/NewAction.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Adminhtml/Block/Save.php
100755 → 100644
Empty file.
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Adminhtml/Page/Edit.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Adminhtml/Page/NewAction.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Directive.php
100755 → 100644
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Images extends \Magento\Backend\App\Action
abstract class Images extends \Magento\Backend\App\Action
{
/**
* Core registry
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Index/Index.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Cms/Controller/Page/View.php
100755 → 100644
Empty file.
Empty file modified app/code/Magento/Cms/Helper/Page.php
100755 → 100644
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"Element 'resource': [facet 'minLength'] The value has a length of '4'; this underruns the allowed " .
"minimum length of '8'.",
"Element 'resource': [facet 'pattern'] The value 'One:' is not accepted by the " .
"pattern '[A-Z]+[a-zA-Z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"pattern '([A-Z]+[a-zA-Z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'.",
"Element 'resource': 'One:' is not " . "a valid value of the atomic type 'typeAclResourceId'."
],
],
Expand Down
Loading

0 comments on commit b0372d6

Please sign in to comment.