Skip to content

Commit 98f1a0c

Browse files
authored
Merge pull request #143 from littleredbutton/5.0
Make master become 5.0
2 parents ea8c6fa + 6789cad commit 98f1a0c

39 files changed

Lines changed: 92 additions & 740 deletions

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66

77
jobs:
88
PHP_Lowest:
9-
name: PHP wth lowest dependencies
9+
name: PHP ${{ matrix.php-versions }} wth lowest dependencies
1010
runs-on: ubuntu-latest
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php-versions: ['7.2']
14+
php-versions: ['7.4', '8.0']
1515
experimental: [false]
1616

1717
steps:
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
php-versions: ['7.2','7.3','7.4','8.0']
40+
php-versions: ['7.4','8.0']
4141
experimental: [false]
4242
include:
4343
- php-versions: '8.1'
@@ -70,5 +70,5 @@ jobs:
7070
- name: Coveralls
7171
env:
7272
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73-
if: ${{ matrix.php-versions == '7.2' && env.COVERALLS_REPO_TOKEN != null }}
73+
if: ${{ matrix.php-versions == '7.4' && env.COVERALLS_REPO_TOKEN != null }}
7474
run: tools/php-coveralls --coverage_clover=build/logs/coverage.xml -v

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# :tada: Best BigBlueButton API for PHP
22

33
The unofficial and easiest to use **BigBlueButton API for PHP**, makes easy for
4-
developers to use [BigBlueButton API] v2.2+ for **PHP 7.2+**.
4+
developers to use [BigBlueButton API] v2.2+ for **PHP 7.4+**.
55

66
![Build Status](https://github.com/littleredbutton/bigbluebutton-api-php/workflows/CI/badge.svg)
77
[![Coverage Status](https://coveralls.io/repos/github/littleredbutton/bigbluebutton-api-php/badge.svg?branch=master)](https://coveralls.io/github/littleredbutton/bigbluebutton-api-php?branch=master)
@@ -56,15 +56,15 @@ following advantages:
5656
- Development is simplified through git hooks and contributor guidelines
5757
- Documentation is up-to-date and complete
5858
- API is fixed and extended to exploit the full potential
59-
- Require at least PHP 7.2, which allows to make the code more efficient and
59+
- Require at least PHP 7.4, which allows to make the code more efficient and
6060
readable
6161

6262
## :gear: Installation and usage
6363
### Requirements
6464
In order to use this library you have to make sure to meet the following
6565
requirements:
6666

67-
- PHP 7.2 or above.
67+
- PHP 7.4 or above.
6868
- curl library installed.
6969
- mbstring library installed.
7070
- xml library installed.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"docs": "https://github.com/littleredbutton/bigbluebutton-api-php/blob/master/README.md"
5959
},
6060
"require": {
61-
"php": ">=7.2",
61+
"php": ">=7.4",
6262
"ext-curl": "*",
6363
"ext-simplexml": "*",
6464
"ext-mbstring": "*",

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
backupStaticAttributes="false"
66
bootstrap="./tests/bootstrap.php"
77
colors="true"
8+
convertDeprecationsToExceptions="false"
89
convertErrorsToExceptions="true"
910
convertNoticesToExceptions="true"
1011
convertWarningsToExceptions="true"

src/Core/ApiMethod.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919

2020
namespace BigBlueButton\Core;
2121

22-
/**
23-
* @final since 4.0.
24-
*/
25-
class ApiMethod
22+
final class ApiMethod
2623
{
2724
public const CREATE = 'create';
2825
public const JOIN = 'join';

src/Core/Record.php

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ class Record
3232
private $startTime;
3333
private $endTime;
3434
private $participantCount;
35-
private $playbackType;
36-
private $playbackUrl;
37-
private $playbackLength;
3835
private $metas = [];
3936

4037
/** @var PlaybackFormat[] */
@@ -127,36 +124,6 @@ public function getParticipantCount()
127124
return $this->participantCount;
128125
}
129126

130-
/**
131-
* @deprecated since 4.2. Use getPlaybackFormats() instead.
132-
*
133-
* @return string
134-
*/
135-
public function getPlaybackType()
136-
{
137-
return $this->playbackType;
138-
}
139-
140-
/**
141-
* @deprecated since 4.2. Use getPlaybackFormats() instead.
142-
*
143-
* @return string
144-
*/
145-
public function getPlaybackUrl()
146-
{
147-
return $this->playbackUrl;
148-
}
149-
150-
/**
151-
* @deprecated since 4.2. Use getPlaybackFormats() instead.
152-
*
153-
* @return string
154-
*/
155-
public function getPlaybackLength()
156-
{
157-
return $this->playbackLength;
158-
}
159-
160127
/**
161128
* @return array
162129
*/

src/Exceptions/ConfigException.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121

2222
namespace BigBlueButton\Exceptions;
2323

24-
/**
25-
* @final since 4.0.
26-
*/
27-
class ConfigException extends BaseException
24+
final class ConfigException extends BaseException
2825
{
2926
}

src/Exceptions/NetworkException.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121

2222
namespace BigBlueButton\Exceptions;
2323

24-
/**
25-
* @final since 4.0.
26-
*/
27-
class NetworkException extends BaseException
24+
final class NetworkException extends BaseException
2825
{
2926
}

src/Exceptions/ParsingException.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121

2222
namespace BigBlueButton\Exceptions;
2323

24-
/**
25-
* @final since 4.0.
26-
*/
27-
class ParsingException extends BaseException
24+
final class ParsingException extends BaseException
2825
{
2926
}

src/Exceptions/RuntimeException.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121

2222
namespace BigBlueButton\Exceptions;
2323

24-
/**
25-
* @final since 4.0.
26-
*/
27-
class RuntimeException extends BaseException
24+
final class RuntimeException extends BaseException
2825
{
2926
}

0 commit comments

Comments
 (0)