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

Fix compatible with php 8.2 #7

Closed
Closed
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Transactional

### 1.0.51
* Fix compatible with php 8.2

### 1.0.50
* Added a response parameter to /messages/send and /messages/send-template called 'queued_response' that details why an email was queued.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mailchimp/transactional",
"version": "1.0.50",
"version": "1.0.51",
"description": "",
"keywords": [
"swagger",
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/AllowlistsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class AllowlistsApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/ExportsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class ExportsApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/InboundApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class InboundApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/IpsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class IpsApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/MessagesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class MessagesApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/MetadataApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class MetadataApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/RejectsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class RejectsApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/SendersApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class SendersApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/SubaccountsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class SubaccountsApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/TagsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class TagsApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/TemplatesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class TemplatesApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/UrlsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class UrlsApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/UsersApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class UsersApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/WebhooksApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class WebhooksApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/WhitelistsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
class WhitelistsApi
{
protected $Configuration;
protected $config;

public function __construct(Configuration $config = null)
{
Expand Down
15 changes: 15 additions & 0 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ class Configuration
protected $requestClient;
protected $defaultOutputFormat = '';
protected $timeout = 300;
protected $allowlists;
protected $exports;
protected $inbound;
protected $ips;
protected $messages;
protected $metadata;
protected $rejects;
protected $senders;
protected $subaccounts;
protected $tags;
protected $templates;
protected $urls;
protected $users;
protected $webhooks;
protected $whitelists;

public static $formatList = ['json', 'xml', 'php', 'yaml'];

Expand Down