Skip to content

Commit 3ec5342

Browse files
committed
Update project copyright, dependencies and specs.
1 parent eb3a04f commit 3ec5342

File tree

78 files changed

+206
-190
lines changed

Some content is hidden

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

78 files changed

+206
-190
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$header = <<<'EOF'
66
BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
77
8-
Copyright (c) 2016-2022 BigBlueButton Inc. and by respective authors (see below).
8+
Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below).
99
1010
This program is free software; you can redistribute it and/or modify it under the
1111
terms of the GNU Lesser General Public License as published by the Free Software

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![Home Image](https://raw.githubusercontent.com/wiki/bigbluebutton/bigbluebutton-api-php/images/header.png)
44
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fbigbluebutton%2Fbigbluebutton-api-php.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fbigbluebutton%2Fbigbluebutton-api-php?ref=badge_shield)
55

6-
The official and easy to use **BigBlueButton API for PHP**, makes easy for developers to use [BigBlueButton][bbb] API for **PHP 7.1+**.
6+
The official and easy to use **BigBlueButton API for PHP**, makes easy for developers to use [BigBlueButton][bbb] API for **PHP 7.3+**.
77

88
![Packagist](https://img.shields.io/packagist/v/bigbluebutton/bigbluebutton-api-php.svg?label=release)
99
![PHP from Travis config](https://img.shields.io/travis/php-v/bigbluebutton/bigbluebutton-api-php.svg)
@@ -16,11 +16,11 @@ The official and easy to use **BigBlueButton API for PHP**, makes easy for devel
1616
[![@bigbluebutton on Twitter](https://img.shields.io/badge/twitter-%40bigbluebutton-blue.svg?style=flat)](https://twitter.com/bigbluebutton)
1717
![Website](https://img.shields.io/website-up-down-green-red/http/bigbluebutton.org.svg?label=BigBlueButton.org)
1818

19-
[![PHP 7.1](https://img.shields.io/badge/php-7.2-f33.svg?style=flat-square)](https://php.net/)
20-
[![PHP 7.2](https://img.shields.io/badge/php-7.3-f33.svg?style=flat-square)](https://php.net/)
21-
[![PHP 7.3](https://img.shields.io/badge/php-7.4-f93.svg?style=flat-square)](https://php.net/)
22-
[![PHP 7.4](https://img.shields.io/badge/php-8.0-9c9.svg?style=flat-square)](https://php.net/)
23-
[![PHP 7.4](https://img.shields.io/badge/php-8.1-9c9.svg?style=flat-square)](https://php.net/)
19+
[![PHP 7.3](https://img.shields.io/badge/php-7.3-f33.svg?style=flat-square)](https://www.php.net/supported-versions.php)
20+
[![PHP 7.4](https://img.shields.io/badge/php-7.4-f33.svg?style=flat-square)](https://www.php.net/supported-versions.php)
21+
[![PHP 8.0](https://img.shields.io/badge/php-8.0-f93.svg?style=flat-square)](https://www.php.net/supported-versions.php)
22+
[![PHP 8.1](https://img.shields.io/badge/php-8.1-9c9.svg?style=flat-square)](https://www.php.net/supported-versions.php)
23+
[![PHP 8.2](https://img.shields.io/badge/php-8.2-9c9.svg?style=flat-square)](https://www.php.net/supported-versions.php)
2424

2525
## Installation and usage
2626

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@
3131
},
3232
"require-dev": {
3333
"phpunit/phpunit": "^9.5",
34-
"fakerphp/faker": "^1.17",
35-
"friendsofphp/php-cs-fixer": "^3.9.2",
34+
"fakerphp/faker": "^1.21",
35+
"friendsofphp/php-cs-fixer": "^3.13.2",
3636
"squizlabs/php_codesniffer": "^3.7.1",
3737
"phploc/phploc": "^7.0.2",
38-
"nunomaduro/phpinsights": "^v2.4.0",
39-
"bmitch/churn-php": "^1.7",
40-
"phpmetrics/phpmetrics": "^v2.8.1",
38+
"nunomaduro/phpinsights": "^v2.6.1",
39+
"bmitch/churn-php": "^1.7.1",
40+
"phpmetrics/phpmetrics": "^v2.8",
4141
"wapmorgan/php-deprecation-detector": "^2.0"
4242
},
4343
"scripts": {
4444
"test": "./vendor/bin/phpunit",
4545
"test-cov": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html coverage",
46-
"cs-fix": "./vendor/bin/php-cs-fixer fix --allow-risky yes",
46+
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky yes",
4747
"sniffer": "./vendor/bin/phpcs src/",
4848
"phploc": "./vendor/bin/phploc src/",
4949
"phpinsights": "./vendor/bin/phpinsights",

src/BigBlueButton.php

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
55
*
6-
* Copyright (c) 2016-2022 BigBlueButton Inc. and by respective authors (see below).
6+
* Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below).
77
*
88
* This program is free software; you can redistribute it and/or modify it under the
99
* terms of the GNU Lesser General Public License as published by the Free Software
@@ -49,7 +49,6 @@
4949
use BigBlueButton\Responses\PublishRecordingsResponse;
5050
use BigBlueButton\Responses\UpdateRecordingsResponse;
5151
use BigBlueButton\Util\UrlBuilder;
52-
use SimpleXMLElement;
5352

5453
/**
5554
* Class BigBlueButton.
@@ -61,7 +60,7 @@ class BigBlueButton
6160
protected $urlBuilder;
6261
protected $jSessionId;
6362
protected $curlopts = [];
64-
protected $timeOut = 10;
63+
protected $timeOut = 10;
6564

6665
/**
6766
* BigBlueButton constructor.
@@ -81,9 +80,9 @@ public function __construct($baseUrl = null, $secret = null, $opts = null)
8180
}
8281

8382
/**
84-
* @throws \RuntimeException
85-
*
8683
* @return ApiVersionResponse
84+
*
85+
* @throws \RuntimeException
8786
*/
8887
public function getApiVersion()
8988
{
@@ -113,9 +112,9 @@ public function getCreateMeetingUrl($createMeetingParams)
113112
/**
114113
* @param CreateMeetingParameters $createMeetingParams
115114
*
116-
* @throws \RuntimeException
117-
*
118115
* @return CreateMeetingResponse
116+
*
117+
* @throws \RuntimeException
119118
*/
120119
public function createMeeting($createMeetingParams)
121120
{
@@ -137,9 +136,9 @@ public function getJoinMeetingURL($joinMeetingParams)
137136
/**
138137
* @param $joinMeetingParams JoinMeetingParameters
139138
*
140-
* @throws \RuntimeException
141-
*
142139
* @return JoinMeetingResponse
140+
*
141+
* @throws \RuntimeException
143142
*/
144143
public function joinMeeting($joinMeetingParams)
145144
{
@@ -161,9 +160,10 @@ public function getEndMeetingURL($endParams)
161160
/**
162161
* @param $endParams EndMeetingParameters
163162
*
163+
* @return EndMeetingResponse
164+
*
164165
* @throws \RuntimeException
165166
*
166-
* @return EndMeetingResponse
167167
* */
168168
public function endMeeting($endParams)
169169
{
@@ -185,9 +185,9 @@ public function getInsertDocumentUrl($createMeetingParams)
185185
/**
186186
* @param InsertDocumentParameters $insertDocumentParams
187187
*
188-
* @throws \RuntimeException
189-
*
190188
* @return InsertDocumentResponse
189+
*
190+
* @throws \RuntimeException
191191
*/
192192
public function insertDocument($insertDocumentParams)
193193
{
@@ -214,11 +214,11 @@ public function getIsMeetingRunningUrl($meetingParams)
214214
}
215215

216216
/**
217-
* @param $meetingParams
218-
*
219-
* @throws \RuntimeException
217+
* @param mixed $meetingParams
220218
*
221219
* @return IsMeetingRunningResponse
220+
*
221+
* @throws \RuntimeException
222222
*/
223223
public function isMeetingRunning($meetingParams)
224224
{
@@ -236,9 +236,9 @@ public function getMeetingsUrl()
236236
}
237237

238238
/**
239-
* @throws \RuntimeException
240-
*
241239
* @return GetMeetingsResponse
240+
*
241+
* @throws \RuntimeException
242242
*/
243243
public function getMeetings()
244244
{
@@ -260,9 +260,9 @@ public function getMeetingInfoUrl($meetingParams)
260260
/**
261261
* @param $meetingParams GetMeetingInfoParameters
262262
*
263-
* @throws \RuntimeException
264-
*
265263
* @return GetMeetingInfoResponse
264+
*
265+
* @throws \RuntimeException
266266
*/
267267
public function getMeetingInfo($meetingParams)
268268
{
@@ -289,11 +289,11 @@ public function getRecordingsUrl($recordingsParams)
289289
}
290290

291291
/**
292-
* @param $recordingParams
293-
*
294-
* @throws \RuntimeException
292+
* @param mixed $recordingParams
295293
*
296294
* @return GetRecordingsResponse
295+
*
296+
* @throws \RuntimeException
297297
*/
298298
public function getRecordings($recordingParams)
299299
{
@@ -315,9 +315,9 @@ public function getPublishRecordingsUrl($recordingParams)
315315
/**
316316
* @param $recordingParams PublishRecordingsParameters
317317
*
318-
* @throws \RuntimeException
319-
*
320318
* @return PublishRecordingsResponse
319+
*
320+
* @throws \RuntimeException
321321
*/
322322
public function publishRecordings($recordingParams)
323323
{
@@ -339,9 +339,9 @@ public function getDeleteRecordingsUrl($recordingParams)
339339
/**
340340
* @param $recordingParams DeleteRecordingsParameters
341341
*
342-
* @throws \RuntimeException
343-
*
344342
* @return DeleteRecordingsResponse
343+
*
344+
* @throws \RuntimeException
345345
*/
346346
public function deleteRecordings($recordingParams)
347347
{
@@ -363,9 +363,9 @@ public function getUpdateRecordingsUrl($recordingParams)
363363
/**
364364
* @param $recordingParams UpdateRecordingsParameters
365365
*
366-
* @throws \RuntimeException
367-
*
368366
* @return UpdateRecordingsResponse
367+
*
368+
* @throws \RuntimeException
369369
*/
370370
public function updateRecordings($recordingParams)
371371
{
@@ -387,7 +387,7 @@ public function getHooksCreateUrl($hookCreateParams)
387387
}
388388

389389
/**
390-
* @param $hookCreateParams
390+
* @param mixed $hookCreateParams
391391
*
392392
* @return HooksCreateResponse
393393
*/
@@ -427,7 +427,7 @@ public function getHooksDestroyUrl($hooksDestroyParams)
427427
}
428428

429429
/**
430-
* @param $hooksDestroyParams
430+
* @param mixed $hooksDestroyParams
431431
*
432432
* @return HooksDestroyResponse
433433
*/
@@ -500,9 +500,9 @@ public function buildUrl($method = '', $params = '', $append = true)
500500
* @param string $payload
501501
* @param string $contentType
502502
*
503-
* @throws \RuntimeException
503+
* @return \SimpleXMLElement
504504
*
505-
* @return SimpleXMLElement
505+
* @throws \RuntimeException
506506
*/
507507
private function processXmlResponse($url, $payload = '', $contentType = 'application/xml')
508508
{
@@ -554,7 +554,7 @@ private function processXmlResponse($url, $payload = '', $contentType = 'applica
554554
$this->setJSessionId($output_array['JSESSIONID']);
555555
}
556556

557-
return new SimpleXMLElement($data);
557+
return new \SimpleXMLElement($data);
558558
}
559559

560560
throw new \RuntimeException('Post XML data set but curl PHP module is not installed or not enabled.');

src/Core/ApiMethod.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
55
*
6-
* Copyright (c) 2016-2022 BigBlueButton Inc. and by respective authors (see below).
6+
* Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below).
77
*
88
* This program is free software; you can redistribute it and/or modify it under the
99
* terms of the GNU Lesser General Public License as published by the Free Software

src/Core/Attendee.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
55
*
6-
* Copyright (c) 2016-2022 BigBlueButton Inc. and by respective authors (see below).
6+
* Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below).
77
*
88
* This program is free software; you can redistribute it and/or modify it under the
99
* terms of the GNU Lesser General Public License as published by the Free Software

src/Core/Format.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
55
*
6-
* Copyright (c) 2016-2022 BigBlueButton Inc. and by respective authors (see below).
6+
* Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below).
77
*
88
* This program is free software; you can redistribute it and/or modify it under the
99
* terms of the GNU Lesser General Public License as published by the Free Software

src/Core/Hook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
55
*
6-
* Copyright (c) 2016-2022 BigBlueButton Inc. and by respective authors (see below).
6+
* Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below).
77
*
88
* This program is free software; you can redistribute it and/or modify it under the
99
* terms of the GNU Lesser General Public License as published by the Free Software

src/Core/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
55
*
6-
* Copyright (c) 2016-2022 BigBlueButton Inc. and by respective authors (see below).
6+
* Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below).
77
*
88
* This program is free software; you can redistribute it and/or modify it under the
99
* terms of the GNU Lesser General Public License as published by the Free Software

src/Core/Meeting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
55
*
6-
* Copyright (c) 2016-2022 BigBlueButton Inc. and by respective authors (see below).
6+
* Copyright (c) 2016-2023 BigBlueButton Inc. and by respective authors (see below).
77
*
88
* This program is free software; you can redistribute it and/or modify it under the
99
* terms of the GNU Lesser General Public License as published by the Free Software

0 commit comments

Comments
 (0)