This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Netson\L4shell; | |
use Config; | |
use Log; | |
use File; | |
class Command { | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app\/code\/community\/Kodematix\/Inquiry\/Block\/Inquiry.php":{ | |
"phpmetrics":{ | |
"instability":-1, | |
"lloc":5, | |
"maintainability":"3.89", | |
"nocchecks":5 | |
}, | |
"phpcs":{ | |
"errors":5, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files":{ | |
"app\/code\/community\/Kodematix\/Inquiry\/Block\/Inquiry.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":48, | |
"logicalLoc":10, | |
"volume":529.1, | |
"length":104, | |
"vocabulary":34, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
file { | |
type => "magento-exception" | |
path => "/path/to/magento/www/var/log/exception.log" | |
codec => multiline { | |
pattern => "^%{TIMESTAMP_ISO8601}" | |
negate => true | |
what => previous | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files":{ | |
"app\/code\/local\/Igex\/StoreLocator\/Block\/Adminhtml\/Import\/Form.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":31, | |
"logicalLoc":8, | |
"volume":364.35, | |
"length":75, | |
"vocabulary":29, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com) | |
*/ | |
namespace Magento\Wishlist\Helper; | |
class Rss extends \Magento\Wishlist\Helper\Data | |
{ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Retrieve Customer instance | |
* | |
* @return \Magento\Customer\Api\Data\CustomerInterface | |
*/ | |
public function getCustomer() | |
{ | |
if (is_null($this->_customer)) { | |
$params = $this->urlDecoder->decode($this->_getRequest()->getParam('data')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class NotificationManager { | |
public function sendNotification($type = '', $data) | |
{ | |
switch($type){ | |
case "email": | |
$notification = new EmailService(); | |
$notification->setTo($data['to']); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface NotificationInterface { | |
public function setData($data); | |
public function sendNotification(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface NotificationInterface { | |
public function setData($data); | |
public function sendNotification(); | |
} | |
class TwitterAdapter implements NotificationInterface | |
{ | |
protected $_data; |