aboutsummaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-06-02 08:00:45 +0000
committerMario <mario@mariovavti.com>2022-06-02 08:00:45 +0000
commitd1a8e7813a5cd695f13339ab0c9cc19daf3f1d94 (patch)
treec23243ae91154fd85866833f23f4f5ae24a1a1fc /vendor
parenta0582fec12ffd53b7bafb93795eb5ea1dfb57da1 (diff)
downloadvolse-hubzilla-d1a8e7813a5cd695f13339ab0c9cc19daf3f1d94.tar.gz
volse-hubzilla-d1a8e7813a5cd695f13339ab0c9cc19daf3f1d94.tar.bz2
volse-hubzilla-d1a8e7813a5cd695f13339ab0c9cc19daf3f1d94.zip
Revert "composer updates"
This reverts commit 47448b11cdd5b077b6a8412b41db2862c6d2d4b3.
Diffstat (limited to 'vendor')
-rw-r--r--vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php2
-rw-r--r--vendor/bshaffer/oauth2-server-php/test/OAuth2/TokenType/BearerTest.php11
-rw-r--r--vendor/composer/installed.json14
-rw-r--r--vendor/composer/installed.php10
4 files changed, 13 insertions, 24 deletions
diff --git a/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php b/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php
index aa1094b1e..8ac8596ac 100644
--- a/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php
+++ b/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php
@@ -109,7 +109,7 @@ class Bearer implements TokenTypeInterface
}
$contentType = $request->server('CONTENT_TYPE');
- if (false !== $pos = strpos((string) $contentType, ';')) {
+ if (false !== $pos = strpos($contentType, ';')) {
$contentType = substr($contentType, 0, $pos);
}
diff --git a/vendor/bshaffer/oauth2-server-php/test/OAuth2/TokenType/BearerTest.php b/vendor/bshaffer/oauth2-server-php/test/OAuth2/TokenType/BearerTest.php
index 021fc7f5a..71cca3bd9 100644
--- a/vendor/bshaffer/oauth2-server-php/test/OAuth2/TokenType/BearerTest.php
+++ b/vendor/bshaffer/oauth2-server-php/test/OAuth2/TokenType/BearerTest.php
@@ -35,17 +35,6 @@ class BearerTest extends TestCase
$this->assertEquals($response->getParameter('error_description'), 'The content type for POST requests must be "application/x-www-form-urlencoded"');
}
- public function testMissingContentTypeExpectsToBeCorrectContent()
- {
- $bearer = new Bearer();
- $request = TestRequest::createPost(array(
- 'access_token' => 'ThisIsMyAccessToken'
- ));
-
- $param = $bearer->getAccessTokenParameter($request, $response = new Response());
- $this->assertEquals($param, 'ThisIsMyAccessToken');
- }
-
public function testValidRequestUsingAuthorizationHeader()
{
$bearer = new Bearer();
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index 5ef46025d..38ca5fe16 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -133,17 +133,17 @@
},
{
"name": "bshaffer/oauth2-server-php",
- "version": "v1.12.1",
- "version_normalized": "1.12.1.0",
+ "version": "v1.12.0",
+ "version_normalized": "1.12.0.0",
"source": {
"type": "git",
"url": "https://github.com/bshaffer/oauth2-server-php.git",
- "reference": "2bfaf9d7bbebe2ba1c1deb48e756ba0b3af4e985"
+ "reference": "60254fc7fbb08ce56164faae9e075068adf914ef"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/bshaffer/oauth2-server-php/zipball/2bfaf9d7bbebe2ba1c1deb48e756ba0b3af4e985",
- "reference": "2bfaf9d7bbebe2ba1c1deb48e756ba0b3af4e985",
+ "url": "https://api.github.com/repos/bshaffer/oauth2-server-php/zipball/60254fc7fbb08ce56164faae9e075068adf914ef",
+ "reference": "60254fc7fbb08ce56164faae9e075068adf914ef",
"shasum": ""
},
"require": {
@@ -165,7 +165,7 @@
"predis/predis": "Required to use Redis storage",
"thobbs/phpcassa": "Required to use Cassandra storage"
},
- "time": "2022-05-31T16:12:58+00:00",
+ "time": "2022-04-19T17:09:11+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -193,7 +193,7 @@
],
"support": {
"issues": "https://github.com/bshaffer/oauth2-server-php/issues",
- "source": "https://github.com/bshaffer/oauth2-server-php/tree/v1.12.1"
+ "source": "https://github.com/bshaffer/oauth2-server-php/tree/v1.12.0"
},
"install-path": "../bshaffer/oauth2-server-php"
},
diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php
index 0c9500bdb..1b026f54d 100644
--- a/vendor/composer/installed.php
+++ b/vendor/composer/installed.php
@@ -5,7 +5,7 @@
'type' => 'application',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
- 'reference' => '073ed5253825842ee307add098c647dc74076251',
+ 'reference' => '8ba47450970bab036664f03a558917c13d8c1574',
'name' => 'zotlabs/hubzilla',
'dev' => false,
),
@@ -29,12 +29,12 @@
'dev_requirement' => false,
),
'bshaffer/oauth2-server-php' => array(
- 'pretty_version' => 'v1.12.1',
- 'version' => '1.12.1.0',
+ 'pretty_version' => 'v1.12.0',
+ 'version' => '1.12.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../bshaffer/oauth2-server-php',
'aliases' => array(),
- 'reference' => '2bfaf9d7bbebe2ba1c1deb48e756ba0b3af4e985',
+ 'reference' => '60254fc7fbb08ce56164faae9e075068adf914ef',
'dev_requirement' => false,
),
'commerceguys/intl' => array(
@@ -271,7 +271,7 @@
'type' => 'application',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
- 'reference' => '073ed5253825842ee307add098c647dc74076251',
+ 'reference' => '8ba47450970bab036664f03a558917c13d8c1574',
'dev_requirement' => false,
),
),