-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] - change payment type on cart order page
Allowed provider configuration formats are: - MPAY24 - MPAY24 - pType - MPAY24 - pType - Brand For valid pType Brand combinations have a look at https://docs.mpay24.com/docs/redirect-integration#section-payment-system-integration. At the moment, there is no check on whether these funds are available.
- Loading branch information
Showing
43 changed files
with
1,126 additions
and
3,908 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 |
---|---|---|
|
@@ -3,7 +3,5 @@ composer.lock | |
|
||
.php_cs.cache | ||
|
||
Documentation/_make | ||
|
||
.DS_Store | ||
.idea |
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,21 +1,64 @@ | ||
cache: | ||
key: "$CI_COMMIT_REF_NAME/$CI_JOB_STAGE" | ||
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_NAME" | ||
paths: | ||
- .composer/ | ||
- .php_cs.cache | ||
|
||
variables: | ||
COMPOSER_CACHE_DIR: ".composer" | ||
TYPO3_PATH_WEB: "$CI_PROJECT_DIR/.Build/Web" | ||
MYSQL_DATABASE: "typo3" | ||
MYSQL_ROOT_PASSWORD: "joh316" | ||
typo3DatabaseName: "typo3" | ||
typo3DatabaseHost: "mysql" | ||
typo3DatabaseUsername: "root" | ||
typo3DatabasePassword: "joh316" | ||
|
||
before_script: | ||
- apk add git --update | ||
- apk --no-cache add php-mcrypt | ||
|
||
stages: | ||
- test | ||
- lint | ||
|
||
lint:cgl: | ||
image: composer:1.6 | ||
stage: lint | ||
before_script: | ||
- composer remove typo3/cms-core --no-update | ||
- composer install --no-progress --no-ansi --no-interaction | ||
script: | ||
- .Build/bin/php-cs-fixer fix --config=Build/.php_cs.dist -v --dry-run --using-cache=no --path-mode=intersection ./ | ||
|
||
lint:typoscriptcgl: | ||
stage: lint | ||
image: composer:1.6 | ||
script: | ||
- composer remove typo3/cms-core --no-update | ||
- composer install --no-progress --no-ansi --no-interaction | ||
- .Build/bin/typoscript-lint -c tslint.yaml | ||
|
||
test:cgl: | ||
image: composer:1.3 | ||
stage: test | ||
lint:yaml: | ||
stage: lint | ||
image: python:alpine3.7 | ||
before_script: | ||
- composer remove typo3/cms-core --no-update | ||
- composer install | ||
- pip install yamllint==1.10.0 | ||
script: | ||
- yamllint -c Build/yamllint.yaml Configuration/ Resources/ .travis.yml | ||
|
||
lint:php70: | ||
stage: lint | ||
image: php:7.0-alpine | ||
script: | ||
- find . -name \*.php -exec php -l "{}" \; | ||
|
||
lint:php71: | ||
stage: lint | ||
image: php:7.1-alpine | ||
script: | ||
- find . -name \*.php -exec php -l "{}" \; | ||
|
||
lint:php72: | ||
stage: lint | ||
image: php:7.2-alpine | ||
script: | ||
- .Build/bin/php-cs-fixer fix --config=Build/.php_cs -v --dry-run --using-cache=no --path-mode=intersection ./ | ||
- find . -name \*.php -exec php -l "{}" \; |
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,49 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 7.2 | ||
env: TYPO3_VERSION=^8.7 | ||
- php: 7.1 | ||
env: TYPO3_VERSION=^8.7 | ||
- php: 7 | ||
env: TYPO3_VERSION=^8.7 | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- parallel | ||
|
||
notifications: | ||
email: | ||
- travis@extco.de | ||
|
||
before_install: | ||
- echo $TRAVIS_PHP_VERSION | ||
- if php -i | grep -q xdebug; then phpenv config-rm xdebug.ini; fi | ||
- composer self-update | ||
- composer --version | ||
|
||
before_script: | ||
- composer require typo3/cms=$TYPO3_VERSION | ||
- git checkout composer.json | ||
- export TYPO3_PATH_WEB="$PWD/.Build/Web" | ||
|
||
script: | ||
|
||
- > | ||
echo; | ||
echo "Running php lint"; | ||
find . -name \*.php ! -path "./.Build/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \; | ||
- > | ||
echo; | ||
echo "Running php-cs-fixer"; | ||
.Build/bin/php-cs-fixer fix --config=Build/.php_cs -v --dry-run --using-cache=no --path-mode=intersection ./; |
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,48 @@ | ||
<?php | ||
|
||
if (PHP_SAPI !== 'cli') { | ||
die('This script supports command line usage only. Please check your command.'); | ||
} | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRiskyAllowed(true) | ||
->setRules([ | ||
'@PSR2' => true, | ||
'no_leading_import_slash' => true, | ||
'no_trailing_comma_in_singleline_array' => true, | ||
'no_singleline_whitespace_before_semicolons' => true, | ||
'no_unused_imports' => true, | ||
'concat_space' => ['spacing' => 'one'], | ||
'no_whitespace_in_blank_line' => true, | ||
'ordered_imports' => true, | ||
'single_quote' => true, | ||
'no_empty_statement' => true, | ||
'no_extra_consecutive_blank_lines' => true, | ||
'phpdoc_no_package' => true, | ||
'phpdoc_no_package' => true, | ||
'phpdoc_scalar' => true, | ||
'no_blank_lines_after_phpdoc' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'whitespace_after_comma_in_array' => true, | ||
'function_typehint_space' => true, | ||
'hash_to_slash_comment' => true, | ||
'no_alias_functions' => true, | ||
'lowercase_cast' => true, | ||
'no_leading_namespace_whitespace' => true, | ||
'native_function_casing' => true, | ||
'self_accessor' => true, | ||
'no_short_bool_cast' => true, | ||
'no_unneeded_control_parentheses' => true, | ||
'phpdoc_no_empty_return' => true, | ||
'phpdoc_trim' => true | ||
]) | ||
->setFinder( | ||
PhpCsFixer\Finder::create() | ||
->in(__DIR__ . '/../') | ||
->exclude('.Build') | ||
->exclude('Documentation') | ||
->exclude('Resources') | ||
->notName('ext_emconf.php') | ||
->notName('ext_localconf.php') | ||
->notName('ext_tables.php') | ||
); |
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,23 @@ | ||
extends: default | ||
|
||
rules: | ||
line-length: disable | ||
document-start: disable | ||
braces: | ||
min-spaces-inside-empty: 1 | ||
max-spaces-inside-empty: 1 | ||
brackets: | ||
min-spaces-inside-empty: 1 | ||
max-spaces-inside-empty: 1 | ||
comments: | ||
level: error | ||
min-spaces-from-content: 1 | ||
comments-indentation: | ||
level: error | ||
empty-lines: | ||
max: 1 | ||
empty-values: | ||
forbid-in-block-mappings: true | ||
forbid-in-flow-mappings: true | ||
indentation: | ||
spaces: 2 |
Oops, something went wrong.