Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use robrichards/xmlseclibs instead of selective/xmldsig for webhook validation #60

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
uses: php-actions/composer@v5

- name: PHPUnit Tests
uses: php-actions/phpunit@v2
uses: php-actions/phpunit@v3
with:
version: 9.5
php_version: 8.1
bootstrap: vendor/autoload.php
configuration: ./.github/workflows/phpunit.xml
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">../../tests</directory>
</testsuite>
</testsuites>
</phpunit>
</phpunit>
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,14 @@ Utilized by other applications as well:
* [Appendices](#appendices)
+ [List of all supported BICs per context](#list-of-all-supported-bics-per-context)

## 2.4 is coming soon
A new version of the PHP library will be released in the coming 1-2 months.
Starting this release, **PHP 8.1** is the minimum required version for this library.

## Requirements
- Since our release >= 2.3, **PHP 8.0** is the minimum required version for this library. Previous releases requires **PHP 7.4**.
- 2024: Starting at our release >= 2.4, **PHP 8.1** is the minimum required version for this library. Previous releases requires **PHP 8.0**.
- Update April 2023: Since our release >= 2.3, **PHP 8.0** is the minimum required version for this library. Previous releases requires **PHP 7.4**.

- Please use the [major git releases](https://github.com/bluem-development/bluem-php/releases) for the stable versions of this plugin.
- Refer to the `composer.json` requirements for any other dependencies

Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,22 @@
"ext-curl": "*",
"ext-json": "*",
"ext-openssl": "*",
"selective/xmldsig": "^3.0"
"robrichards/xmlseclibs": "^3.1"
},
"autoload": {
"psr-4": {
"Bluem\\BluemPHP\\": "src/"
"Bluem\\BluemPHP\\": "src/",
"Bluem\\BluemPHP\\Tests\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpspec/prophecy": "~1.0",
"vlucas/phpdotenv": "^5.4",
"roave/security-advisories": "dev-latest",
"rector/rector": "^0.15.10",
"squizlabs/php_codesniffer": "^3.7",
"magento/magento-coding-standard": "^31.0",
"phpcompatibility/php-compatibility": "^9.3"

},
"prefer-stable" : true,
"scripts": {
Expand Down
Loading
Loading