This file contains 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
diff --git a/Filter/Template.php b/Filter/Template.php | |
index 8a3b350f3ab..39bf4c23e16 100644 | |
--- a/Filter/Template.php | |
+++ b/Filter/Template.php | |
@@ -9,7 +9,9 @@ | |
*/ | |
namespace Magento\Framework\Filter; | |
| |
+use InvalidArgumentException; | |
use Magento\Framework\App\ObjectManager; |
This file contains 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
--- dev/tests/integration/framework/Magento/TestFramework/Helper/Memory.php 2020-08-03 11:38:00.536570075 +0200 | |
+++ dev/tests/integration/framework/Magento/TestFramework/Helper/Memory.php 2020-08-03 11:40:49.483161722 +0200 | |
@@ -55,6 +55,7 @@ | |
} catch (\Magento\Framework\Exception\LocalizedException $e) { | |
// try to use the Windows command line | |
// some ports of Unix commands on Windows, such as MinGW, have limited capabilities and cannot be used | |
+ die($e->getMessage()); | |
$result = $this->_getWinProcessMemoryUsage($pid); | |
} | |
return $result; |
This file contains 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
--- setup/src/Magento/Setup/Controller/Landing.php 2020-08-03 10:54:26.952234698 +0200 | |
+++ setup/src/Magento/Setup/Controller/Landing.php 2020-08-03 10:54:35.300358599 +0200 | |
@@ -5,8 +5,8 @@ | |
*/ | |
namespace Magento\Setup\Controller; | |
-use Laminas\Mvc\Controller\AbstractActionController; | |
-use Laminas\View\Model\ViewModel; | |
+use Zend\View\Model\ViewModel; | |
+use Zend\Mvc\Controller\AbstractActionController; |
This file contains 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 | |
if (!isset($argv) || count($argv) !== 2) { | |
die('Usage: ' . basename(__FILE__ ). ' {URL}'."\n"); | |
} | |
$url = $argv[1]; | |
if (empty($url)) { | |
die("Empty URL"); | |
} |
This file contains 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
#location = / { | |
# try_files $uri /index.php; | |
#} | |
#location / { | |
# try_files $uri $uri/ /index.php?$args; | |
#} | |
location = / { | |
try_files /pwa/index.html =404; |
This file contains 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 | |
declare(strict_types=1); | |
class LessImportParser | |
{ | |
private $content = ''; | |
public function load(string $fileName) | |
{ | |
$this->content = $this->resolveImports($fileName); |
This file contains 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 | |
require_once 'app/Mage.php'; | |
Mage::app(); | |
$autoFix = true; | |
class Clean_Attribute_Source_Models | |
{ | |
private $autofix; | |
private $modelFields = ['backend_model', 'frontend_model', 'source_model']; |
This file contains 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 | |
include_once 'vendor/autoload.php'; | |
use DMS\Service\Meetup\MeetupKeyAuthClient; | |
$apiKey = 'enter-your-own-meetup-api-key'; | |
$client = MeetupKeyAuthClient::factory(array('key' => $apiKey)); | |
$meetupGroupUrlNames = array( | |
'Magento-User-Group-Friesland', |
This file contains 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
SET FOREIGN_KEY_CHECKS = 0; | |
TRUNCATE TABLE `cataloginventory_stock_item`; | |
TRUNCATE TABLE `cataloginventory_stock_status`; | |
TRUNCATE TABLE `cataloginventory_stock_status_idx`; | |
TRUNCATE TABLE `cataloginventory_stock_status_tmp`; | |
TRUNCATE TABLE `catalog_category_product`; | |
TRUNCATE TABLE `catalog_category_product_index`; | |
TRUNCATE TABLE `catalog_category_product_index_tmp`; |
This file contains 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 | |
/* | |
* - Switch to composer package | |
* - Namespacing | |
* - Use file/handler package | |
* - Use downloader package | |
* - Use image creation package | |
*/ | |
interface ImageGenerator |
NewerOlder