Skip to content

Commit

Permalink
[CHLP-1138] refactor webhook (#117)
Browse files Browse the repository at this point in the history
* [Feat] refactor webhook

* [Feat] Refactor config form
* Unify config var
* Separate form validation
* Add class to create the webhooks
* Remove unnecessary validations
* Remove duplicate code
  • Loading branch information
ElvisHeredia authored Jun 20, 2023
1 parent 83805b0 commit 3c7a190
Show file tree
Hide file tree
Showing 46 changed files with 932 additions and 3,428 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/composer.lock
/.php-cs-fixer.cache
/vendor/
/vendor/
.DS_Store
3 changes: 2 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@
'single_line' => true,
'space_before_parenthesis' => true,
'inline_constructor_arguments' => true
]
],
'ordered_imports' => ['sort_algorithm' => 'alpha']

//'not_operator_with_successor_space' => false,
//'no_superfluous_elseif' => true,
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
[Full Changelog](https://github.com/conekta/conekta_prestashop/compare/2.3.5...2.3.6)
- Add MSI feature by @ElvisHeredia [#115](https://github.com/conekta/conekta_prestashop/pull/115)
- Fix Coding standards to get approval from Prestashop Validator by @ElvisHeredia [#116](https://github.com/conekta/conekta_prestashop/pull/116)

- Unify config var by @ElvisHeredia [#117](https://github.com/conekta/conekta_prestashop/pull/117)
- Separate form validation by @ElvisHeredia [#117](https://github.com/conekta/conekta_prestashop/pull/117)
- Add class to create the webhooks by @ElvisHeredia [#117](https://github.com/conekta/conekta_prestashop/pull/117)
- Remove unnecessary validations by @ElvisHeredia [#117](https://github.com/conekta/conekta_prestashop/pull/117)
- Remove duplicate code by @ElvisHeredia [#117](https://github.com/conekta/conekta_prestashop/pull/117)

## [v2.3.5] - 2022-11-04
[Full Changelog](https://github.com/conekta/conekta_prestashop/compare/2.3.4...2.3.5)
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
}
],
"require": {
"php": ">=7.0"
"php": ">=7.1"
},
"config": {
"preferred-install": "dist",
"prepend-autoloader": false
},
"type": "prestashop-module",
"version": "2.3.6",
"require-dev": {
"prestashop/autoindex": "^2.1"
"autoload": {
"psr-4": {"Conekta\\Payments\\": "src/"}
}
}
Loading

0 comments on commit 3c7a190

Please sign in to comment.