1
0
Fork 0

Updating libraries

master
Brie Bruns 2023-04-20 12:43:04 -06:00
parent 246a9a1736
commit b281994a98
242 changed files with 16141 additions and 554 deletions

91
composer.lock generated
View File

@ -8,22 +8,22 @@
"packages": [
{
"name": "guzzlehttp/guzzle",
"version": "7.5.0",
"version": "7.5.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba"
"reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b964ca597e86b752cd994f27293e9fa6b6a95ed9",
"reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.9 || ^2.4",
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
"php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0"
@ -116,7 +116,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.5.0"
"source": "https://github.com/guzzle/guzzle/tree/7.5.1"
},
"funding": [
{
@ -132,7 +132,7 @@
"type": "tidelift"
}
],
"time": "2022-08-28T15:39:27+00:00"
"time": "2023-04-17T16:30:08+00:00"
},
{
"name": "guzzlehttp/promises",
@ -220,22 +220,22 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.4.4",
"version": "2.5.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
"reference": "b635f279edd83fc275f822a1188157ffea568ff6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",
"reference": "b635f279edd83fc275f822a1188157ffea568ff6",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
@ -255,9 +255,6 @@
"bamarni-bin": {
"bin-links": true,
"forward-command": false
},
"branch-alias": {
"dev-master": "2.4-dev"
}
},
"autoload": {
@ -319,7 +316,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.4"
"source": "https://github.com/guzzle/psr7/tree/2.5.0"
},
"funding": [
{
@ -335,20 +332,20 @@
"type": "tidelift"
}
],
"time": "2023-03-09T13:19:02+00:00"
"time": "2023-04-17T16:11:26+00:00"
},
{
"name": "microsoft/microsoft-graph",
"version": "1.92.0",
"version": "1.94.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e"
"reference": "c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/11bdfe4692002ccd40a36faca844916109f1939e",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8",
"reference": "c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8",
"shasum": ""
},
"require": {
@ -384,27 +381,27 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.92.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.94.0"
},
"time": "2023-03-21T14:11:26+00:00"
"time": "2023-04-11T13:23:45+00:00"
},
{
"name": "psr/http-client",
"version": "1.0.1",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-client.git",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
"reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"shasum": ""
},
"require": {
"php": "^7.0 || ^8.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"type": "library",
"extra": {
@ -424,7 +421,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for HTTP clients",
@ -436,27 +433,27 @@
"psr-18"
],
"support": {
"source": "https://github.com/php-fig/http-client/tree/master"
"source": "https://github.com/php-fig/http-client/tree/1.0.2"
},
"time": "2020-06-29T06:28:15+00:00"
"time": "2023-04-10T20:12:12+00:00"
},
{
"name": "psr/http-factory",
"version": "1.0.1",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-factory.git",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"
"reference": "e616d01114759c4c489f93b099585439f795fe35"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
"reference": "e616d01114759c4c489f93b099585439f795fe35",
"shasum": ""
},
"require": {
"php": ">=7.0.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"type": "library",
"extra": {
@ -476,7 +473,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interfaces for PSR-7 HTTP message factories",
@ -491,31 +488,31 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-factory/tree/master"
"source": "https://github.com/php-fig/http-factory/tree/1.0.2"
},
"time": "2019-04-30T12:38:16+00:00"
"time": "2023-04-10T20:10:41+00:00"
},
{
"name": "psr/http-message",
"version": "1.0.1",
"version": "1.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
"php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "1.1.x-dev"
}
},
"autoload": {
@ -544,9 +541,9 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-message/tree/master"
"source": "https://github.com/php-fig/http-message/tree/1.1"
},
"time": "2016-08-06T14:39:51+00:00"
"time": "2023-04-04T09:50:52+00:00"
},
{
"name": "ralouphie/getallheaders",

View File

@ -2,23 +2,23 @@
"packages": [
{
"name": "guzzlehttp/guzzle",
"version": "7.5.0",
"version_normalized": "7.5.0.0",
"version": "7.5.1",
"version_normalized": "7.5.1.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba"
"reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b964ca597e86b752cd994f27293e9fa6b6a95ed9",
"reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.9 || ^2.4",
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
"php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0"
@ -38,7 +38,7 @@
"ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware"
},
"time": "2022-08-28T15:39:27+00:00",
"time": "2023-04-17T16:30:08+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
@ -113,7 +113,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.5.0"
"source": "https://github.com/guzzle/guzzle/tree/7.5.1"
},
"funding": [
{
@ -220,23 +220,23 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.4.4",
"version_normalized": "2.4.4.0",
"version": "2.5.0",
"version_normalized": "2.5.0.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
"reference": "b635f279edd83fc275f822a1188157ffea568ff6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",
"reference": "b635f279edd83fc275f822a1188157ffea568ff6",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
@ -251,15 +251,12 @@
"suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"time": "2023-03-09T13:19:02+00:00",
"time": "2023-04-17T16:11:26+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false
},
"branch-alias": {
"dev-master": "2.4-dev"
}
},
"installation-source": "dist",
@ -322,7 +319,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.4"
"source": "https://github.com/guzzle/psr7/tree/2.5.0"
},
"funding": [
{
@ -342,17 +339,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.92.0",
"version_normalized": "1.92.0.0",
"version": "1.94.0",
"version_normalized": "1.94.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e"
"reference": "c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/11bdfe4692002ccd40a36faca844916109f1939e",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8",
"reference": "c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8",
"shasum": ""
},
"require": {
@ -366,7 +363,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2023-03-21T14:11:26+00:00",
"time": "2023-04-11T13:23:45+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@ -390,30 +387,30 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.92.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.94.0"
},
"install-path": "../microsoft/microsoft-graph"
},
{
"name": "psr/http-client",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"version": "1.0.2",
"version_normalized": "1.0.2.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-client.git",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
"reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31",
"shasum": ""
},
"require": {
"php": "^7.0 || ^8.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"time": "2020-06-29T06:28:15+00:00",
"time": "2023-04-10T20:12:12+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -433,7 +430,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for HTTP clients",
@ -445,30 +442,30 @@
"psr-18"
],
"support": {
"source": "https://github.com/php-fig/http-client/tree/master"
"source": "https://github.com/php-fig/http-client/tree/1.0.2"
},
"install-path": "../psr/http-client"
},
{
"name": "psr/http-factory",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"version": "1.0.2",
"version_normalized": "1.0.2.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-factory.git",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"
"reference": "e616d01114759c4c489f93b099585439f795fe35"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
"reference": "e616d01114759c4c489f93b099585439f795fe35",
"shasum": ""
},
"require": {
"php": ">=7.0.0",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"time": "2019-04-30T12:38:16+00:00",
"time": "2023-04-10T20:10:41+00:00",
"type": "library",
"extra": {
"branch-alias": {
@ -488,7 +485,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interfaces for PSR-7 HTTP message factories",
@ -503,33 +500,33 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-factory/tree/master"
"source": "https://github.com/php-fig/http-factory/tree/1.0.2"
},
"install-path": "../psr/http-factory"
},
{
"name": "psr/http-message",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"version": "1.1",
"version_normalized": "1.1.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
"php": "^7.2 || ^8.0"
},
"time": "2016-08-06T14:39:51+00:00",
"time": "2023-04-04T09:50:52+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "1.1.x-dev"
}
},
"installation-source": "dist",
@ -559,7 +556,7 @@
"response"
],
"support": {
"source": "https://github.com/php-fig/http-message/tree/master"
"source": "https://github.com/php-fig/http-message/tree/1.1"
},
"install-path": "../psr/http-message"
},

View File

@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '80d62586a2931932b7376f1956c4a627b9fbda3b',
'reference' => '246a9a17364e1c506739daad4920d35a181e7063',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@ -13,16 +13,16 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '80d62586a2931932b7376f1956c4a627b9fbda3b',
'reference' => '246a9a17364e1c506739daad4920d35a181e7063',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
'pretty_version' => '7.5.0',
'version' => '7.5.0.0',
'reference' => 'b50a2a1251152e43f6a37f0fa053e730a67d25ba',
'pretty_version' => '7.5.1',
'version' => '7.5.1.0',
'reference' => 'b964ca597e86b752cd994f27293e9fa6b6a95ed9',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
'aliases' => array(),
@ -38,27 +38,27 @@
'dev_requirement' => false,
),
'guzzlehttp/psr7' => array(
'pretty_version' => '2.4.4',
'version' => '2.4.4.0',
'reference' => '3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf',
'pretty_version' => '2.5.0',
'version' => '2.5.0.0',
'reference' => 'b635f279edd83fc275f822a1188157ffea568ff6',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(),
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.92.0',
'version' => '1.92.0.0',
'reference' => '11bdfe4692002ccd40a36faca844916109f1939e',
'pretty_version' => '1.94.0',
'version' => '1.94.0.0',
'reference' => 'c0a41246827cf2dadcd4d3bae1ab87fdbe51edf8',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),
'dev_requirement' => false,
),
'psr/http-client' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'reference' => '2dfb5f6c5eff0e91e20e913f8c5452ed95b86621',
'pretty_version' => '1.0.2',
'version' => '1.0.2.0',
'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/http-client',
'aliases' => array(),
@ -71,9 +71,9 @@
),
),
'psr/http-factory' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'reference' => '12ac7fcd07e5b077433f5f2bee95b3a771bf61be',
'pretty_version' => '1.0.2',
'version' => '1.0.2.0',
'reference' => 'e616d01114759c4c489f93b099585439f795fe35',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/http-factory',
'aliases' => array(),
@ -86,9 +86,9 @@
),
),
'psr/http-message' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
'pretty_version' => '1.1',
'version' => '1.1.0.0',
'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/http-message',
'aliases' => array(),

View File

@ -2,6 +2,16 @@
Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
## 7.5.1 - 2023-04-17
### Fixed
- Fixed `NO_PROXY` settings so that setting the `proxy` option to `no` overrides the env variable
### Changed
- Adjusted `guzzlehttp/psr7` version constraint to `^1.9.1 || ^2.4.5`
## 7.5.0 - 2022-08-28
### Added
@ -11,16 +21,22 @@ Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version
## 7.4.5 - 2022-06-20
### Fixed
* Fix change in port should be considered a change in origin
* Fix `CURLOPT_HTTPAUTH` option not cleared on change of origin
## 7.4.4 - 2022-06-09
### Fixed
* Fix failure to strip Authorization header on HTTP downgrade
* Fix failure to strip the Cookie header on change in host or HTTP downgrade
## 7.4.3 - 2022-05-25
### Fixed
* Fix cross-domain cookie leakage
## 7.4.2 - 2022-03-20

View File

@ -66,7 +66,7 @@ composer require guzzlehttp/guzzle
| 4.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v4][guzzle-4-repo] | N/A | No | >=5.4,<7.0 |
| 5.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v5][guzzle-5-repo] | [v5][guzzle-5-docs] | No | >=5.4,<7.4 |
| 6.x | Security fixes | `guzzlehttp/guzzle` | `GuzzleHttp` | [v6][guzzle-6-repo] | [v6][guzzle-6-docs] | Yes | >=5.5,<8.0 |
| 7.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v7][guzzle-7-repo] | [v7][guzzle-7-docs] | Yes | >=7.2.5,<8.2 |
| 7.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v7][guzzle-7-repo] | [v7][guzzle-7-docs] | Yes | >=7.2.5,<8.3 |
[guzzle-3-repo]: https://github.com/guzzle/guzzle3
[guzzle-4-repo]: https://github.com/guzzle/guzzle/tree/4.x

View File

@ -54,7 +54,7 @@
"php": "^7.2.5 || ^8.0",
"ext-json": "*",
"guzzlehttp/promises": "^1.5",
"guzzlehttp/psr7": "^1.9 || ^2.4",
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5",
"psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0"
},

View File

@ -443,7 +443,9 @@ class CurlFactory implements CurlFactoryInterface
$scheme = $easy->request->getUri()->getScheme();
if (isset($options['proxy'][$scheme])) {
$host = $easy->request->getUri()->getHost();
if (!isset($options['proxy']['no']) || !Utils::isHostInNoProxy($host, $options['proxy']['no'])) {
if (isset($options['proxy']['no']) && Utils::isHostInNoProxy($host, $options['proxy']['no'])) {
unset($conf[\CURLOPT_PROXY]);
} else {
$conf[\CURLOPT_PROXY] = $options['proxy'][$scheme];
}
}

View File

@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
## 2.5.0 - 2023-04-17
### Changed
- Adjusted `psr/http-message` version constraint to `^1.1 || ^2.0`
## 2.4.5 - 2023-04-17
### Fixed
- Prevent possible warnings on unset variables in `ServerRequest::normalizeNestedFileSpec`
- Fixed `Message::bodySummary` when `preg_match` fails
- Fixed header validation issue
## 2.4.4 - 2023-03-09
### Changed

View File

@ -52,7 +52,7 @@
"require": {
"php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0"
},
"provide": {
@ -81,9 +81,6 @@
"bamarni-bin": {
"bin-links": true,
"forward-command": false
},
"branch-alias": {
"dev-master": "2.4-dev"
}
},
"config": {

View File

@ -77,7 +77,7 @@ final class Message
// Matches any printable character, including unicode characters:
// letters, marks, numbers, punctuation, spacing, and separators.
if (preg_match('/[^\pL\pM\pN\pP\pS\pZ\n\r\t]/u', $summary)) {
if (preg_match('/[^\pL\pM\pN\pP\pS\pZ\n\r\t]/u', $summary) !== 0) {
return null;
}

View File

@ -224,12 +224,9 @@ trait MessageTrait
));
}
if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/', $header)) {
if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/D', $header)) {
throw new \InvalidArgumentException(
sprintf(
'"%s" is not valid header name',
$header
)
sprintf('"%s" is not valid header name.', $header)
);
}
}
@ -257,8 +254,10 @@ trait MessageTrait
// Clients must not send a request with line folding and a server sending folded headers is
// likely very rare. Line folding is a fairly obscure feature of HTTP/1.1 and thus not accepting
// folding is not likely to break any legitimate use case.
if (! preg_match('/^[\x20\x09\x21-\x7E\x80-\xFF]*$/', $value)) {
throw new \InvalidArgumentException(sprintf('"%s" is not valid header value', $value));
if (! preg_match('/^[\x20\x09\x21-\x7E\x80-\xFF]*$/D', $value)) {
throw new \InvalidArgumentException(
sprintf('"%s" is not valid header value.', $value)
);
}
}
}

View File

@ -144,10 +144,10 @@ class ServerRequest extends Request implements ServerRequestInterface
foreach (array_keys($files['tmp_name']) as $key) {
$spec = [
'tmp_name' => $files['tmp_name'][$key],
'size' => $files['size'][$key],
'error' => $files['error'][$key],
'name' => $files['name'][$key],
'type' => $files['type'][$key],
'size' => $files['size'][$key] ?? null,
'error' => $files['error'][$key] ?? null,
'name' => $files['name'][$key] ?? null,
'type' => $files['type'][$key] ?? null,
];
$normalizedFiles[$key] = self::createUploadedFileFromSpec($spec);
}

View File

@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
```
{
"require": {
"microsoft/microsoft-graph": "^1.92.0"
"microsoft/microsoft-graph": "^1.93.0"
}
}
```

View File

@ -431,6 +431,32 @@ class DirectRoutingLogRow extends \Beta\Microsoft\Graph\Model\Entity
return $this;
}
/**
* Gets the otherPartyCountryCode
*
* @return string|null The otherPartyCountryCode
*/
public function getOtherPartyCountryCode()
{
if (array_key_exists("otherPartyCountryCode", $this->_propDict)) {
return $this->_propDict["otherPartyCountryCode"];
} else {
return null;
}
}
/**
* Sets the otherPartyCountryCode
*
* @param string $val The value of the otherPartyCountryCode
*
* @return DirectRoutingLogRow
*/
public function setOtherPartyCountryCode($val)
{
$this->_propDict["otherPartyCountryCode"] = $val;
return $this;
}
/**
* Gets the signalingLocation
* The datacenter used for signaling for both bypass and non-bypass calls.
*
@ -548,6 +574,32 @@ class DirectRoutingLogRow extends \Beta\Microsoft\Graph\Model\Entity
return $this;
}
/**
* Gets the userCountryCode
*
* @return string|null The userCountryCode
*/
public function getUserCountryCode()
{
if (array_key_exists("userCountryCode", $this->_propDict)) {
return $this->_propDict["userCountryCode"];
} else {
return null;
}
}
/**
* Sets the userCountryCode
*
* @param string $val The value of the userCountryCode
*
* @return DirectRoutingLogRow
*/
public function setUserCountryCode($val)
{
$this->_propDict["userCountryCode"] = $val;
return $this;
}
/**
* Gets the userDisplayName
* Display name of the user.
*

View File

@ -0,0 +1,244 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PstnBlockedUsersLogRow File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\CallRecords\Model;
/**
* PstnBlockedUsersLogRow class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PstnBlockedUsersLogRow extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the blockDateTime
*
* @return \DateTime|null The blockDateTime
*/
public function getBlockDateTime()
{
if (array_key_exists("blockDateTime", $this->_propDict)) {
if (is_a($this->_propDict["blockDateTime"], "\DateTime") || is_null($this->_propDict["blockDateTime"])) {
return $this->_propDict["blockDateTime"];
} else {
$this->_propDict["blockDateTime"] = new \DateTime($this->_propDict["blockDateTime"]);
return $this->_propDict["blockDateTime"];
}
}
return null;
}
/**
* Sets the blockDateTime
*
* @param \DateTime $val The value to assign to the blockDateTime
*
* @return PstnBlockedUsersLogRow The PstnBlockedUsersLogRow
*/
public function setBlockDateTime($val)
{
$this->_propDict["blockDateTime"] = $val;
return $this;
}
/**
* Gets the blockReason
*
* @return string|null The blockReason
*/
public function getBlockReason()
{
if (array_key_exists("blockReason", $this->_propDict)) {
return $this->_propDict["blockReason"];
} else {
return null;
}
}
/**
* Sets the blockReason
*
* @param string $val The value of the blockReason
*
* @return PstnBlockedUsersLogRow
*/
public function setBlockReason($val)
{
$this->_propDict["blockReason"] = $val;
return $this;
}
/**
* Gets the remediationId
*
* @return string|null The remediationId
*/
public function getRemediationId()
{
if (array_key_exists("remediationId", $this->_propDict)) {
return $this->_propDict["remediationId"];
} else {
return null;
}
}
/**
* Sets the remediationId
*
* @param string $val The value of the remediationId
*
* @return PstnBlockedUsersLogRow
*/
public function setRemediationId($val)
{
$this->_propDict["remediationId"] = $val;
return $this;
}
/**
* Gets the userBlockMode
*
* @return PstnUserBlockMode|null The userBlockMode
*/
public function getUserBlockMode()
{
if (array_key_exists("userBlockMode", $this->_propDict)) {
if (is_a($this->_propDict["userBlockMode"], "\Beta\Microsoft\Graph\CallRecords\Model\PstnUserBlockMode") || is_null($this->_propDict["userBlockMode"])) {
return $this->_propDict["userBlockMode"];
} else {
$this->_propDict["userBlockMode"] = new PstnUserBlockMode($this->_propDict["userBlockMode"]);
return $this->_propDict["userBlockMode"];
}
}
return null;
}
/**
* Sets the userBlockMode
*
* @param PstnUserBlockMode $val The value to assign to the userBlockMode
*
* @return PstnBlockedUsersLogRow The PstnBlockedUsersLogRow
*/
public function setUserBlockMode($val)
{
$this->_propDict["userBlockMode"] = $val;
return $this;
}
/**
* Gets the userDisplayName
*
* @return string|null The userDisplayName
*/
public function getUserDisplayName()
{
if (array_key_exists("userDisplayName", $this->_propDict)) {
return $this->_propDict["userDisplayName"];
} else {
return null;
}
}
/**
* Sets the userDisplayName
*
* @param string $val The value of the userDisplayName
*
* @return PstnBlockedUsersLogRow
*/
public function setUserDisplayName($val)
{
$this->_propDict["userDisplayName"] = $val;
return $this;
}
/**
* Gets the userId
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;
}
}
/**
* Sets the userId
*
* @param string $val The value of the userId
*
* @return PstnBlockedUsersLogRow
*/
public function setUserId($val)
{
$this->_propDict["userId"] = $val;
return $this;
}
/**
* Gets the userPrincipalName
*
* @return string|null The userPrincipalName
*/
public function getUserPrincipalName()
{
if (array_key_exists("userPrincipalName", $this->_propDict)) {
return $this->_propDict["userPrincipalName"];
} else {
return null;
}
}
/**
* Sets the userPrincipalName
*
* @param string $val The value of the userPrincipalName
*
* @return PstnBlockedUsersLogRow
*/
public function setUserPrincipalName($val)
{
$this->_propDict["userPrincipalName"] = $val;
return $this;
}
/**
* Gets the userTelephoneNumber
*
* @return string|null The userTelephoneNumber
*/
public function getUserTelephoneNumber()
{
if (array_key_exists("userTelephoneNumber", $this->_propDict)) {
return $this->_propDict["userTelephoneNumber"];
} else {
return null;
}
}
/**
* Sets the userTelephoneNumber
*
* @param string $val The value of the userTelephoneNumber
*
* @return PstnBlockedUsersLogRow
*/
public function setUserTelephoneNumber($val)
{
$this->_propDict["userTelephoneNumber"] = $val;
return $this;
}
}

View File

@ -519,6 +519,32 @@ class PstnCallLogRow extends \Beta\Microsoft\Graph\Model\Entity
$this->_propDict["operator"] = $val;
return $this;
}
/**
* Gets the otherPartyCountryCode
*
* @return string|null The otherPartyCountryCode
*/
public function getOtherPartyCountryCode()
{
if (array_key_exists("otherPartyCountryCode", $this->_propDict)) {
return $this->_propDict["otherPartyCountryCode"];
} else {
return null;
}
}
/**
* Sets the otherPartyCountryCode
*
* @param string $val The value of the otherPartyCountryCode
*
* @return PstnCallLogRow
*/
public function setOtherPartyCountryCode($val)
{
$this->_propDict["otherPartyCountryCode"] = $val;
return $this;
}
/**
* Gets the startDateTime

View File

@ -0,0 +1,265 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PstnOnlineMeetingDialoutReport File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\CallRecords\Model;
/**
* PstnOnlineMeetingDialoutReport class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PstnOnlineMeetingDialoutReport extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the currency
*
* @return string|null The currency
*/
public function getCurrency()
{
if (array_key_exists("currency", $this->_propDict)) {
return $this->_propDict["currency"];
} else {
return null;
}
}
/**
* Sets the currency
*
* @param string $val The value of the currency
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setCurrency($val)
{
$this->_propDict["currency"] = $val;
return $this;
}
/**
* Gets the destinationContext
*
* @return string|null The destinationContext
*/
public function getDestinationContext()
{
if (array_key_exists("destinationContext", $this->_propDict)) {
return $this->_propDict["destinationContext"];
} else {
return null;
}
}
/**
* Sets the destinationContext
*
* @param string $val The value of the destinationContext
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setDestinationContext($val)
{
$this->_propDict["destinationContext"] = $val;
return $this;
}
/**
* Gets the totalCallCharge
*
* @return \Beta\Microsoft\Graph\Model\Decimal|null The totalCallCharge
*/
public function getTotalCallCharge()
{
if (array_key_exists("totalCallCharge", $this->_propDict)) {
if (is_a($this->_propDict["totalCallCharge"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalCallCharge"])) {
return $this->_propDict["totalCallCharge"];
} else {
$this->_propDict["totalCallCharge"] = new \Beta\Microsoft\Graph\Model\Decimal($this->_propDict["totalCallCharge"]);
return $this->_propDict["totalCallCharge"];
}
}
return null;
}
/**
* Sets the totalCallCharge
*
* @param \Beta\Microsoft\Graph\Model\Decimal $val The value to assign to the totalCallCharge
*
* @return PstnOnlineMeetingDialoutReport The PstnOnlineMeetingDialoutReport
*/
public function setTotalCallCharge($val)
{
$this->_propDict["totalCallCharge"] = $val;
return $this;
}
/**
* Gets the totalCalls
*
* @return int|null The totalCalls
*/
public function getTotalCalls()
{
if (array_key_exists("totalCalls", $this->_propDict)) {
return $this->_propDict["totalCalls"];
} else {
return null;
}
}
/**
* Sets the totalCalls
*
* @param int $val The value of the totalCalls
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setTotalCalls($val)
{
$this->_propDict["totalCalls"] = $val;
return $this;
}
/**
* Gets the totalCallSeconds
*
* @return int|null The totalCallSeconds
*/
public function getTotalCallSeconds()
{
if (array_key_exists("totalCallSeconds", $this->_propDict)) {
return $this->_propDict["totalCallSeconds"];
} else {
return null;
}
}
/**
* Sets the totalCallSeconds
*
* @param int $val The value of the totalCallSeconds
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setTotalCallSeconds($val)
{
$this->_propDict["totalCallSeconds"] = $val;
return $this;
}
/**
* Gets the usageLocation
*
* @return string|null The usageLocation
*/
public function getUsageLocation()
{
if (array_key_exists("usageLocation", $this->_propDict)) {
return $this->_propDict["usageLocation"];
} else {
return null;
}
}
/**
* Sets the usageLocation
*
* @param string $val The value of the usageLocation
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setUsageLocation($val)
{
$this->_propDict["usageLocation"] = $val;
return $this;
}
/**
* Gets the userDisplayName
*
* @return string|null The userDisplayName
*/
public function getUserDisplayName()
{
if (array_key_exists("userDisplayName", $this->_propDict)) {
return $this->_propDict["userDisplayName"];
} else {
return null;
}
}
/**
* Sets the userDisplayName
*
* @param string $val The value of the userDisplayName
*
* @return PstnOnlineMeetingDialoutReport
*/
public function setUserDisplayName($val)
{
$this->_propDict["userDisplayName"] = $val;
return $this;
}
/**
* Gets the userId
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;