-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from firegento/develop
New Release 0.1.1
- Loading branch information
Showing
38 changed files
with
495 additions
and
88 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/.idea/ | ||
/composer.lock | ||
/vendor |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright © 2016 FireGento e.V. | ||
# See LICENSE.md bundled with this module for license details. | ||
sudo: required | ||
dist: trusty | ||
addons: | ||
apt: | ||
packages: | ||
- mysql-server-5.6 | ||
- mysql-client-core-5.6 | ||
- mysql-client-5.6 | ||
|
||
env: | ||
global: | ||
- COVERAGE: FALSE | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 5.6 | ||
env: MAGENTO_VERSION=2.0.12 | ||
- php: 5.6 | ||
env: MAGENTO_VERSION=2.0.* | ||
- php: 7.0 | ||
env: MAGENTO_VERSION=2.1.0 | ||
- php: 7.0 | ||
env: MAGENTO_VERSION=2.1.* | ||
- php: 7.1 | ||
env: MAGENTO_VERSION=2.2.0 | ||
- php: 7.1 | ||
env: MAGENTO_VERSION=2.2.* CODE_QUALITY=true | ||
- php: 7.2 | ||
env: MAGENTO_VERSION=2.3.0 | ||
- php: 7.2 | ||
env: MAGENTO_VERSION=2.3.* | ||
|
||
|
||
language: php | ||
cache: | ||
directories: | ||
- "$HOME/.composer/cache" | ||
- "$HOME/.php-cs-fixer" | ||
- "$HOME/.local" | ||
|
||
before_install: | ||
- "./Test/script/travis_before_install.sh" | ||
|
||
install: | ||
- echo "{\"http-basic\":{\"repo.magento.com\":{\"username\":\"${MAGENTO_USERNAME}\",\"password\":\"${MAGENTO_PASSWORD}\"}}}" > $HOME/.composer/auth.json | ||
- export MAGENTO_ROOT=`mktemp -d /tmp/mage.XXXXXXXX` | ||
- "./Test/script/travis_install_magento.sh $MAGENTO_VERSION" | ||
|
||
script: | ||
- "./Test/script/travis_script.sh" |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* Copyright © 2018 FireGento e.V. | ||
* See LICENSE.md bundled with this module for license details. | ||
*/ | ||
|
||
namespace FireGento\MageSetup\Helper; | ||
|
||
use Magento\Framework\App\Helper\AbstractHelper; | ||
use Magento\Store\Model\ScopeInterface; | ||
|
||
/** | ||
* Class AroundRenderPlugin | ||
* @package FireGento\MageSetup\Helper | ||
*/ | ||
class Data extends AbstractHelper | ||
{ | ||
public function getConfigValue($field, $storeId = null) | ||
{ | ||
return $this->scopeConfig->getValue( | ||
$field, | ||
ScopeInterface::SCOPE_STORE, | ||
$storeId | ||
); | ||
} | ||
} |
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
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
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
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
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
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
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
Oops, something went wrong.