Skip to content

Commit f46903c

Browse files
committed
Remove support for PHP 7.0 as phpunit support 7.1+
1 parent 136eb12 commit f46903c

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 7.0
54
- 7.1
65
- 7.2
76
- 7.3
@@ -13,9 +12,6 @@ php:
1312
matrix:
1413
fast_finish: true
1514
allow_failures:
16-
- php: 5.4
17-
- php: 5.5
18-
- php: 5.6
1915
- php: hhvm
2016
- php: nightly
2117

README.md

Lines changed: 1 addition & 2 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.0+**.
6+
The official and easy to use **BigBlueButton API for PHP**, makes easy for developers to use [BigBlueButton][bbb] API for **PHP 7.1+**.
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,7 +16,6 @@ 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.0](https://img.shields.io/badge/php-7.0-f33.svg?style=flat-square)](https://php.net/)
2019
[![PHP 7.1](https://img.shields.io/badge/php-7.1-f33.svg?style=flat-square)](https://php.net/)
2120
[![PHP 7.2](https://img.shields.io/badge/php-7.2-f33.svg?style=flat-square)](https://php.net/)
2221
[![PHP 7.3](https://img.shields.io/badge/php-7.3-f93.svg?style=flat-square)](https://php.net/)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
},
2525
"require": {
26-
"php": ">=7.0",
26+
"php": ">=7.1",
2727
"ext-curl": "*",
2828
"ext-simplexml": "*",
2929
"ext-mbstring": "*"

src/Parameters/CreateMeetingParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
class CreateMeetingParameters extends MetaParameters
2525
{
2626
const ALWAYS_ACCEPT = 'ALWAYS_ACCEPT';
27-
const ALWAYS_DENY = 'ALWAYS_DENY';
27+
const ALWAYS_DENY = 'ALWAYS_DENY';
2828
const ASK_MODERATOR = 'ASK_MODERATOR';
2929

3030
/**

src/Parameters/JoinMeetingParameters.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ class JoinMeetingParameters extends UserDataParameters
9292
*/
9393
public function __construct($meetingId, $username, $password)
9494
{
95-
$this->meetingId = $meetingId;
96-
$this->username = $username;
97-
$this->password = $password;
98-
$this->customParameters = array();
95+
$this->meetingId = $meetingId;
96+
$this->username = $username;
97+
$this->password = $password;
98+
$this->customParameters = [];
9999
}
100100

101101
/**
@@ -314,8 +314,8 @@ public function setJoinViaHtml5($joinViaHtml5)
314314
}
315315

316316
/**
317-
* @param string $paramName
318-
* @param string $paramValue
317+
* @param string $paramName
318+
* @param string $paramValue
319319
* @return JoinMeetingParameters
320320
*/
321321
public function setCustomParameter($paramName, $paramValue)
@@ -344,7 +344,7 @@ public function getHTTPQuery()
344344
'clientURL' => $this->clientURL
345345
];
346346

347-
foreach( $this->customParameters as $key => $value ) {
347+
foreach ( $this->customParameters as $key => $value ) {
348348
$queries[$key] = $value;
349349
}
350350

0 commit comments

Comments
 (0)