Skip to content

Commit b03dd02

Browse files
committed
Generatin with Open API Generator for the new Brevo OpenAPI 3.0 file and PHP 8.1 version
1 parent d1b5cf2 commit b03dd02

File tree

2,101 files changed

+236778
-176914
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,101 files changed

+236778
-176914
lines changed

.openapi-generator/FILES

+960
Large diffs are not rendered by default.

.openapi-generator/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.9.0

.php-cs-fixer.dist.php

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
/**
4+
* @generated
5+
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst
6+
*/
7+
$finder = PhpCsFixer\Finder::create()
8+
->in(__DIR__)
9+
->exclude('vendor')
10+
->exclude('test')
11+
->exclude('tests')
12+
;
13+
14+
$config = new PhpCsFixer\Config();
15+
return $config->setRules([
16+
'@PSR12' => true,
17+
'phpdoc_order' => true,
18+
'array_syntax' => [ 'syntax' => 'short' ],
19+
'strict_comparison' => true,
20+
'strict_param' => true,
21+
'no_trailing_whitespace' => false,
22+
'no_trailing_whitespace_in_comment' => false,
23+
'braces' => false,
24+
'single_blank_line_at_eof' => false,
25+
'blank_line_after_namespace' => false,
26+
'no_leading_import_slash' => false,
27+
])
28+
->setFinder($finder)
29+
;

.phplint.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
path:
2+
- ./lib
3+
- ./tests
4+
jobs: 10
5+
extensions:
6+
- php
7+
exclude:
8+
- vendor
9+
warning: true
10+
memory-limit: -1
11+
no-cache: true

.travis.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
language: php
2-
sudo: false
2+
# Jammy Jellyfish environment has preinstalled PHP 8.1
3+
# Focal Fossa doesn't fit since it contains preinstalled PHP 7.4 only
4+
# https://docs.travis-ci.com/user/reference/jammy/#php-support
5+
dist: jammy
6+
os:
7+
- linux
38
php:
4-
- 5.6
5-
- 7.0
9+
- 8.1
10+
- 8.2
611
before_install: "composer install"
7-
script: "vendor/bin/phpunit"
12+
script: "vendor/bin/phpunit"

README.md

+603-460
Large diffs are not rendered by default.

composer.json

+23-21
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,44 @@
22
"name": "getbrevo/brevo-php",
33
"description": "Official Brevo provided RESTFul API V3 php library",
44
"keywords": [
5-
"brevo",
6-
"swagger",
7-
"php",
8-
"sdk",
9-
"api"
5+
"brevo",
6+
"swagger",
7+
"php",
8+
"sdk",
9+
"api"
1010
],
1111
"homepage": "https://github.com/getbrevo/brevo-php",
1212
"license": "MIT",
1313
"authors": [
14-
{
15-
"name": "Brevo Developers",
16-
"email": "[email protected]",
17-
"homepage": "https://www.brevo.com/"
18-
}
14+
{
15+
"name": "Brevo Developers",
16+
"email": "[email protected]",
17+
"homepage": "https://www.brevo.com/"
18+
}
1919
],
2020
"require": {
21-
"php": ">=5.6",
21+
"php": "^8.1",
2222
"ext-curl": "*",
2323
"ext-json": "*",
2424
"ext-mbstring": "*",
25-
"guzzlehttp/guzzle": "^7.4.0"
25+
"guzzlehttp/guzzle": "^7.4.5",
26+
"guzzlehttp/psr7": "^2.0"
2627
},
2728
"require-dev": {
28-
"phpunit/phpunit": "^4.8",
29-
"squizlabs/php_codesniffer": "~2.6",
30-
"friendsofphp/php-cs-fixer": "~1.12"
29+
"friendsofphp/php-cs-fixer": "^3.5",
30+
"overtrue/phplint": "^9.0",
31+
"phpunit/phpunit": "^9.0"
3132
},
3233
"autoload": {
3334
"psr-4": { "Brevo\\Client\\" : "lib/" }
3435
},
3536
"autoload-dev": {
36-
"psr-4": { "Brevo\\Client\\" : "test/" }
37+
"psr-4": { "Brevo\\Client\\Test\\" : "tests/" }
3738
},
38-
"extra": {
39-
"branch-alias": {
40-
"dev-master": "1.x.x-dev"
41-
}
39+
"scripts": {
40+
"test": [
41+
"@phplint"
42+
],
43+
"phplint": "phplint"
4244
}
43-
}
45+
}

0 commit comments

Comments
 (0)