Skip to content

Commit

Permalink
Update PHP SDK to 2.2.0
Browse files Browse the repository at this point in the history
- include testing for PHP 8.0 and 8.1
- includes various smaller changes
  • Loading branch information
martinseener committed Mar 17, 2024
1 parent 90f9ab3 commit a51a86d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 36 deletions.
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016-2020 viafintech GmbH
Copyright (c) 2016-2024 viafintech GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Barzahlen Payment Module PHP SDK (v2.1.2)
# viacash/Barzahlen Payment Module PHP SDK (v2.2.0)

[![Build Status](https://travis-ci.org/Barzahlen/Barzahlen-PHP.svg?branch=master)](https://travis-ci.org/Barzahlen/Barzahlen-PHP)
[![Total Downloads](https://poser.pugx.org/barzahlen/barzahlen-php/downloads)](https://packagist.org/packages/barzahlen/barzahlen-php)
[![License](https://poser.pugx.org/barzahlen/barzahlen-php/license)](https://packagist.org/packages/barzahlen/barzahlen-php)

## Copyright
(c) 2016-2021, viafintech GmbH
(c) 2016-2024, viafintech GmbH
https://www.viafintech.com

## Preparation
Expand Down Expand Up @@ -336,6 +336,6 @@ if ($webhook->verify($header, $body)) {
```

## Support
The Barzahlen Team will happily assist you with any problems or questions.
The viacash Team will happily assist you with any problems or questions.

Send us an email to support@viafintech.com or use the contact form at https://integration.barzahlen.de/en/support.
Send us an email to support@viafintech.com or check out our Solutions center at https://www.viafintech.com/overview-solutions/.
6 changes: 3 additions & 3 deletions tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ClientTest extends \PHPUnit\Framework\TestCase
/**
* @var string
*/
private $userAgent = 'PHP SDK v2.1.2';
private $userAgent = 'PHP SDK v2.2.0';

public function setUp()
{
Expand All @@ -30,9 +30,9 @@ public function testDefaultUserAgent()

public function testSetUserAgent()
{
$this->client->setUserAgent('Shopsystem v2.1.2');
$this->client->setUserAgent('Shopsystem v2.2.0');

$this->assertAttributeEquals('Shopsystem v2.1.2', 'userAgent', $this->client);
$this->assertAttributeEquals('Shopsystem v2.2.0', 'userAgent', $this->client);
}

public function testBuildHeaderWithIdempotency()
Expand Down

0 comments on commit a51a86d

Please sign in to comment.