-
Notifications
You must be signed in to change notification settings - Fork 1
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
313 changed files
with
27,380 additions
and
2,109 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,10 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="PrestaShop ECP Plugin Coding Standards"> | ||
<description>Generally-applicable sniffs for PrestaShop ECP Plugin</description> | ||
|
||
<rule ref="PSR1" /> | ||
<rule ref="PSR2" /> | ||
|
||
<exclude-pattern>*/genesis/*</exclude-pattern> | ||
<exclude-pattern>*/backward_compatibility/*</exclude-pattern> | ||
</ruleset> |
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,52 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="PrestaShop ECP Plugin" | ||
xmlns="http://pmd.sf.net/ruleset/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 | ||
http://pmd.sf.net/ruleset_xml_schema.xsd" | ||
xsi:noNamespaceSchemaLocation=" | ||
http://pmd.sf.net/ruleset_xml_schema.xsd"> | ||
<description> | ||
Rule Set for PrestaShop ecomprocessing Plugin | ||
</description> | ||
|
||
<!--Start of CleanCode RuleSets--> | ||
<rule ref="rulesets/cleancode.xml"> | ||
<exclude name="StaticAccess" /> | ||
<exclude name="BooleanArgumentFlag" /> | ||
<exclude name="ElseExpression" /> | ||
</rule> | ||
<!--End of CleanCode RuleSets--> | ||
|
||
<!--Start of CodeSize RuleSets--> | ||
<rule ref="rulesets/codesize.xml"> | ||
<exclude name="TooManyPublicMethods"/> | ||
</rule> | ||
<!--End of CodeSize RuleSets--> | ||
|
||
<rule ref="rulesets/design.xml"/> | ||
|
||
<!--Start of Naming RuleSets--> | ||
<rule ref="rulesets/naming.xml"> | ||
<exclude name="LongVariable"/> | ||
<exclude name="BooleanGetMethodName"/> | ||
</rule> | ||
|
||
<rule ref="rulesets/naming.xml/LongVariable"> | ||
<properties> | ||
<property name="maximum" value="25" /> | ||
</properties> | ||
</rule> | ||
|
||
<rule ref="rulesets/naming.xml/BooleanGetMethodName"> | ||
<properties> | ||
<property name="checkParameterizedMethods" value="true" /> | ||
</properties> | ||
</rule> | ||
<!--End of Naming RuleSets--> | ||
|
||
<rule ref="rulesets/unusedcode.xml"/> | ||
|
||
<exclude-pattern>*/genesis/*</exclude-pattern> | ||
<exclude-pattern>*/backward_compatibility/*</exclude-pattern> | ||
</ruleset> |
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,6 @@ | ||
github: | ||
slug: eMerchantPay/prestashop-ecp-plugin | ||
access_token: ENV['PRONTO_GITHUB_ACCESS_TOKEN'] | ||
api_endpoint: ENV['PRONTO_GITHUB_API_ENDPOINT'] | ||
web_endpoint: ENV['PRONTO_GITHUB_WEB_ENDPOINT'] | ||
verbose: false |
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
header("Pragma: no-cache"); | ||
|
||
header("Location: ../"); | ||
exit; | ||
exit; |
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
header("Pragma: no-cache"); | ||
|
||
header("Location: ../"); | ||
exit; | ||
exit; |
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
header("Pragma: no-cache"); | ||
|
||
header("Location: ../"); | ||
exit; | ||
exit; |
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
header("Pragma: no-cache"); | ||
|
||
header("Location: ../"); | ||
exit; | ||
exit; |
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
header("Pragma: no-cache"); | ||
|
||
header("Location: ../"); | ||
exit; | ||
exit; |
Large diffs are not rendered by default.
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
header("Pragma: no-cache"); | ||
|
||
header("Location: ../"); | ||
exit; | ||
exit; |
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 |
---|---|---|
|
@@ -101,7 +101,7 @@ class Context | |
/** | ||
* @var Employee | ||
*/ | ||
public $employee; | ||
public $ecployee; | ||
|
||
/** | ||
* @var Controller | ||
|
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
class PrestaShopCollection extends Collection | ||
{ | ||
|
||
} | ||
} |
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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
header("Pragma: no-cache"); | ||
|
||
header("Location: ../"); | ||
exit; | ||
exit; |
Oops, something went wrong.