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
image: php:7.2-apache | |
pipelines: | |
pull-requests: | |
'**': | |
- parallel: | |
- step: | |
name: Linting & Static Checks & Unit Tests | |
caches: | |
- composer | |
script: |
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
# Installation: | |
# Copy to ~/.config/fish/completions/magento.fish | |
# Open new or restart existing shell session | |
# Commands based on Magento 2.0.0-rc and the command | |
# bin/magento --raw --no-ansi list | |
# It is a static list since you probably do not have the magento shell script | |
# in your path. | |
complete -f -c magento -a --help; | |
complete -f -c magento -a -h; |
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 -rw magento1920/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php magento1921/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php | |
236,238c236,238 | |
< $phpAuthUser = $this->getController()->getRequest()->getServer('PHP_AUTH_USER', false); | |
< $phpAuthPw = $this->getController()->getRequest()->getServer('PHP_AUTH_PW', false); | |
< $scheme = $this->getController()->getRequest()->getScheme(); | |
--- | |
> $phpAuthUser = rawurlencode($this->getController()->getRequest()->getServer('PHP_AUTH_USER', false)); | |
> $phpAuthPw = rawurlencode($this->getController()->getRequest()->getServer('PHP_AUTH_PW', false)); | |
> $scheme = rawurlencode($this->getController()->getRequest()->getScheme()); | |
diff -rw magento1920/app/code/core/Mage/Catalog/etc/api.xml magento1921/app/code/core/Mage/Catalog/etc/api.xml |
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
// make sure that $j is your jQuery function or customise accordingly | |
// make sure that "trustbadge" is the ID of your custom trusted shops container or customise accordingly | |
$j(window).on("load resize", function(e) { | |
// responsive Trusted Shops badge | |
var trustbadgeContainerWidth = $j('#trustbadge').width(); | |
// trusted shops ignores the customBadgeWidth, so set the height accordingly | |
_tsConfig.customBadgeHeight = (90/264) * trustbadgeContainerWidth; | |
// on a normal load event, the badge is loaded afterwards anyway | |
if (e.type == 'resize' && typeof trustbadge == 'object' && typeof trustbadge.reInitialize == 'function') { |
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 | |
error_reporting(E_ALL); | |
ini_set('display_errors', '1'); | |
// only allow php CLI execution | |
if (php_sapi_name() !== 'cli') { | |
exit; | |
} |