-
Notifications
You must be signed in to change notification settings - Fork 5
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 #13 from alma/develop
Release 2.0.0
- Loading branch information
Showing
60 changed files
with
921 additions
and
55 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,4 @@ | ||
* [email protected] | ||
* [email protected] | ||
* [email protected] | ||
|
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,31 @@ | ||
### Reason for change | ||
|
||
<!-- Describe here the reason for change, and provide a link to the corresponding ClickUp task or Sentry issue. --> | ||
|
||
[ClickUp task](https://app.clickup.com/20427503/v/b/4-32476982-2/CLICKUP_ISSUE_ID) | ||
|
||
### Code changes | ||
|
||
<!-- Describe here the code changes at a high level. Anything that can help reviewers review your PR. --> | ||
|
||
### How to test | ||
|
||
_As a reviewer, you are encouraged to test the PR locally._ | ||
|
||
<!-- Describe here how to test your changes, if applicable. Insert UI screenshots when relevant --> | ||
|
||
### Checklist for authors and reviewers | ||
|
||
<!-- Move to the next section the non applicable items --> | ||
|
||
- [ ] The title of the PR uses business wording, not technical jargon, for the changelog readers to understand it | ||
- [ ] The PR implements the changes asked in the referenced task / issue | ||
- [ ] The automated tests are compliant with the [testing strategy](https://www.notion.so/almapay/Backend-testing-strategy-06c642cec1bf47b9b8feca3a91ea8d4a) | ||
- [ ] The tests are relevant, and cover the corner/error cases, not only the happy path | ||
- [ ] You understand the impact of this PR on existing code/features | ||
- [ ] The changes include adequate logging and Datadog traces | ||
- [ ] Documentation is updated (API, developer documentation, ADR, Notion...) | ||
|
||
### Non applicable | ||
|
||
<!-- Move here non applicable items of the checklist, if any --> |
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: PHP Composer | ||
|
||
on: | ||
push: | ||
branches: [main,develop] | ||
pull_request: | ||
branches: [main,develop] | ||
workflow_dispatch: ~ | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-20.04 | ||
defaults: | ||
run: | ||
working-directory: . | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.0 | ||
|
||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
|
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
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 |
---|---|---|
|
@@ -13,9 +13,9 @@ | |
"description": "Payment plugin to integrate Alma installments and pay later payments with your Sylius shop", | ||
"license": "MIT", | ||
"require": { | ||
"php": ">=7.1", | ||
"alma/alma-php-client": "^1.11.1", | ||
"sylius/sylius": ">=1.6.9", | ||
"php": "~7.3 || ~7.4 || ~8.0 || ~8.1 || ~8.2", | ||
"alma/alma-php-client": ">=1.11.2", | ||
"sylius/sylius": ">=v1.9.0", | ||
"ext-json": "*" | ||
}, | ||
"require-dev": { | ||
|
@@ -30,23 +30,23 @@ | |
"friends-of-behat/suite-settings-extension": "^1.0", | ||
"friends-of-behat/symfony-extension": "^2.1", | ||
"friends-of-behat/variadic-extension": "^1.3", | ||
"friends-of-behat/mink-debug-extension": "^2.1.0", | ||
"phpspec/phpspec": "^6.1|^7.0", | ||
"friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev", | ||
"lakion/mink-debug-extension": "^2.0.0", | ||
"phpspec/phpspec": "^7.0", | ||
"phpstan/extension-installer": "^1.0", | ||
"phpstan/phpstan": "1.10.29", | ||
"phpstan/phpstan-doctrine": "^1.3.42", | ||
"phpstan/phpstan-strict-rules": "^1.5.1", | ||
"phpstan/phpstan-webmozart-assert": "^1.2.4", | ||
"phpunit/phpunit": "^8.5", | ||
"phpstan/phpstan": "0.12.88", | ||
"phpstan/phpstan-doctrine": "0.12.37", | ||
"phpstan/phpstan-strict-rules": "^0.12.0", | ||
"phpstan/phpstan-webmozart-assert": "0.12.12", | ||
"phpunit/phpunit": "^9.5", | ||
"sensiolabs/security-checker": "^6.0", | ||
"sylius-labs/coding-standard": "^4.3.1", | ||
"symfony/browser-kit": "^4.4", | ||
"symfony/debug-bundle": "^4.4|^5.0", | ||
"symfony/dotenv": "^4.4|^5.0", | ||
"symfony/intl": "^4.4|^5.0", | ||
"symfony/web-profiler-bundle": "^4.4|^5.0", | ||
"symfony/web-server-bundle": "^4.4|^5.0", | ||
"vimeo/psalm": "3.11.4" | ||
"sylius-labs/coding-standard": "^3.1", | ||
"symfony/browser-kit": "^4.4 || ^5.2", | ||
"symfony/debug-bundle": "^4.4 || ^5.2", | ||
"symfony/dotenv": "^4.4 || ^5.2", | ||
"symfony/intl": "^4.4 || ^5.2", | ||
"symfony/web-profiler-bundle": "^4.4 || ^5.2", | ||
"vimeo/psalm": "4.6.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
|
@@ -62,12 +62,19 @@ | |
"Tests\\Alma\\SyliusPaymentPlugin\\": "tests/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Alma", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"config": { | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"symfony/thanks": true, | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"phpstan/extension-installer": true | ||
"phpstan/extension-installer": true, | ||
"symfony/flex": true | ||
} | ||
} | ||
} |
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,13 @@ | ||
"project_id" : "35" | ||
"api_token" : "MY_API_TOKEN" | ||
"base_path" : "src/" | ||
"base_url" : "https://mycompany.crowdin.com" | ||
"preserve_hierarchy": true | ||
|
||
files: | ||
- | ||
source: Resources/translations/messages.en.yml | ||
translation: Resources/translations/messages.%two_letters_code%.yml | ||
- | ||
source: Resources/translations/flashes.en.yml | ||
translation: Resources/translations/flashes.%two_letters_code%.yml |
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
Oops, something went wrong.