-
Notifications
You must be signed in to change notification settings - Fork 41
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 #140 from magmodules/release/1.6.0
Release/1.6.0
- Loading branch information
Showing
107 changed files
with
8,000 additions
and
3,473 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,15 @@ | ||
name: Codesniffer with the Magento Coding standard | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Run codesniffer | ||
run: | ||
docker run | ||
--volume $(pwd)/:/app/workdir | ||
michielgerritsen/magento-coding-standard:latest | ||
--severity=10 |
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 |
---|---|---|
@@ -1,14 +1,7 @@ | ||
name: Lint PHP files | ||
on: push | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
php-70: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/[email protected] | ||
with: | ||
dir: './' | ||
|
||
php-71: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -36,3 +29,17 @@ jobs: | |
- uses: StephaneBour/[email protected] | ||
with: | ||
dir: './' | ||
|
||
php-80: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/[email protected] | ||
with: | ||
dir: './' | ||
|
||
php-81: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/[email protected] | ||
with: | ||
dir: './' |
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,30 @@ | ||
name: setup:di:compile | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
include: | ||
- PHP_VERSION: php71-fpm | ||
MAGENTO_VERSION: 2.3.3 | ||
- PHP_VERSION: php73-fpm | ||
MAGENTO_VERSION: 2.3.6-p1 | ||
- PHP_VERSION: php74-fpm | ||
MAGENTO_VERSION: 2.4.2 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Start Docker | ||
run: docker run --detach --name magento-project-community-edition michielgerritsen/magento-project-community-edition:${{ matrix.PHP_VERSION }}-magento${{ matrix.MAGENTO_VERSION }} | ||
|
||
- name: Upload our code into the docker container | ||
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/ | ||
|
||
- name: Install the extension in Magento | ||
run: docker exec magento-project-community-edition composer require magmodules/magento2-channable:@dev | ||
|
||
- name: Run setup:di:compile | ||
run: docker exec magento-project-community-edition php bin/magento setup:di:compile |
This file was deleted.
Oops, something went wrong.
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,73 @@ | ||
<?php | ||
/** | ||
* Copyright © Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Magmodules\Channable\Api\Config; | ||
|
||
/** | ||
* Config repository interface | ||
*/ | ||
interface RepositoryInterface extends System\OrderInterface | ||
{ | ||
|
||
/** Extension code */ | ||
const EXTENSION_CODE = 'Magmodules_Channable'; | ||
|
||
/** General Group */ | ||
const XML_PATH_EXTENSION_VERSION = 'magmodules_channable/general/version'; | ||
const XML_PATH_DEBUG = 'magmodules_channable/general/debug'; | ||
|
||
/** | ||
* Returns current version of module | ||
* | ||
* @return string | ||
*/ | ||
public function getExtensionVersion(): string; | ||
|
||
/** | ||
* Get Magento Product version | ||
* | ||
* @return string | ||
*/ | ||
public function getMagentoVersion(): string; | ||
|
||
/** | ||
* Get Magento Product edition | ||
* | ||
* @return string | ||
*/ | ||
public function getMagentoEdition(): string; | ||
|
||
/** | ||
* Returns saved module token | ||
* | ||
* @return ?string | ||
*/ | ||
public function getToken(): ?string; | ||
|
||
/** | ||
* Set module token | ||
* | ||
* @param string|null $token | ||
* | ||
* @return mixed | ||
*/ | ||
public function setToken(?string $token); | ||
|
||
/** | ||
* Retrieve application store currenct code | ||
* | ||
* @return string | ||
*/ | ||
public function getStoreCurrencyCode(): string; | ||
|
||
/** | ||
* Returns true if debug log is enabled | ||
* | ||
* @return bool | ||
*/ | ||
public function logDebug(): bool; | ||
} |
Oops, something went wrong.