This repository has been archived by the owner on May 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
671 additions
and
124 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
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,4 @@ | ||
elcodi_plugin: | ||
paypal_web_checkout: | ||
name: Paypal | ||
description: Integració de Paypal per a la teva botiga |
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,4 @@ | ||
elcodi_plugin: | ||
paypal_web_checkout: | ||
name: Paypal | ||
description: Paypal integration for your shop |
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,4 @@ | ||
elcodi_plugin: | ||
paypal_web_checkout: | ||
name: Paypal | ||
description: Integración de Paypal para tu tienda |
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
82 changes: 0 additions & 82 deletions
82
src/Elcodi/Admin/PaymentBundle/Resources/views/Payment/list.html.twig
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
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,10 @@ | ||
; top-most EditorConfig file | ||
root = true | ||
|
||
; Unix-style newlines | ||
[*] | ||
end_of_line = LF | ||
|
||
[*.php] | ||
indent_style = space | ||
indent_size = 4 |
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 @@ | ||
use-sort: | ||
group: | ||
- _main | ||
- Elcodi | ||
group-type: each | ||
sort-type: alph | ||
sort-direction: asc | ||
|
||
header: | | ||
/* | ||
* This file is part of the Elcodi package. | ||
* | ||
* Copyright (c) 2014-2015 Elcodi.com | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* Feel free to edit as you please, and have fun. | ||
* | ||
* @author Marc Morera <yuhu@mmoreram.com> | ||
* @author Aldo Chiecchia <zimage@tiscali.it> | ||
* @author Elcodi Team <tech@elcodi.com> | ||
*/ |
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,4 @@ | ||
vendor | ||
composer.phar | ||
composer.lock | ||
phpunit.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Contributing | ||
------------ | ||
|
||
This project follows some standards. If you want to collaborate, please ensure | ||
that your code fulfills these standards before any Pull Request. | ||
|
||
``` bash | ||
composer.phar update | ||
bin/php-cs-fixer fix | ||
bin/php-formatter formatter:use:sort src/ | ||
bin/php-formatter formatter:header:fix src/ | ||
``` | ||
|
||
There is also a policy for contributing to this project. Pull requests must | ||
be explained step by step to make the review process easy in order to | ||
accept and merge them. New features must come paired with Unit and/or Functional | ||
tests. |
68 changes: 68 additions & 0 deletions
68
src/Elcodi/Plugin/StripeBundle/DependencyInjection/ElcodiStripeExtension.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,68 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Elcodi package. | ||
* | ||
* Copyright (c) 2014-2015 Elcodi.com | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* Feel free to edit as you please, and have fun. | ||
* | ||
* @author Marc Morera <yuhu@mmoreram.com> | ||
* @author Aldo Chiecchia <zimage@tiscali.it> | ||
* @author Elcodi Team <tech@elcodi.com> | ||
*/ | ||
|
||
namespace Elcodi\Plugin\StripeBundle\DependencyInjection; | ||
|
||
use Elcodi\Bundle\CoreBundle\DependencyInjection\Abstracts\AbstractExtension; | ||
|
||
/** | ||
* Class ElcodiStripeExtension | ||
*/ | ||
class ElcodiStripeExtension extends AbstractExtension | ||
{ | ||
/** | ||
* @var string | ||
* | ||
* Extension name | ||
*/ | ||
const EXTENSION_NAME = 'elcodi_stripe'; | ||
|
||
/** | ||
* Get the Config file location | ||
* | ||
* @return string Config file location | ||
*/ | ||
public function getConfigFilesLocation() | ||
{ | ||
return __DIR__ . '/../Resources/config'; | ||
} | ||
|
||
/** | ||
* Config files to load | ||
* | ||
* @param array $config Config array | ||
* | ||
* @return array Config files | ||
*/ | ||
public function getConfigFiles(array $config) | ||
{ | ||
return [ | ||
'services', | ||
'eventListeners', | ||
]; | ||
} | ||
|
||
/** | ||
* Returns the extension alias, same value as extension name | ||
* | ||
* @return string The alias | ||
*/ | ||
public function getAlias() | ||
{ | ||
return static::EXTENSION_NAME; | ||
} | ||
} |
Oops, something went wrong.