Skip to content

Commit

Permalink
Compatible with PHP8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andykim committed Aug 1, 2022
1 parent 0852650 commit a7b3307
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 4.0.1 (2022-08-01)
Improvements:
- Compatible with PHP 8.1.0

## 4.0.0 (2022-07-26)
Improvements:
- Add new IDR payment: AstraPay
Expand Down
2 changes: 1 addition & 1 deletion Helper/ApiRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function getHeaders($isPublicRequest, $preferredMethod = null, $customHe
'Content-Type' => 'application/json',
'x-plugin-name' => 'MAGENTO2',
'user-agent' => 'Magento 2 Module',
'x-plugin-version' => '4.0.0'
'x-plugin-version' => '4.0.1'
];

if ($preferredMethod !== null) {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If your server doesn’t have the composer install, you can easily install it. h
`composer require xendit/m2invoice`

When it’s finished you can activate the extension, clean the caches and deploy the content in your Magento® environment using the following command line;
- `php bin/magento module:enable Mollie_Payment`
- `php bin/magento module:enable Xendit_M2Invoice`
- `php bin/magento setup:upgrade`
- `php bin/magento cache:clean`

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "xendit/m2invoice",
"description": "Xendit Payment Gateway Module",
"type": "magento2-module",
"version": "4.0.0",
"version": "4.0.1",
"license": [
"GPL-3.0"
],
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Xendit_M2Invoice" setup_version="4.0.0" active="true"></module>
<module name="Xendit_M2Invoice" setup_version="4.0.1" active="true"></module>
</config>

0 comments on commit a7b3307

Please sign in to comment.