Skip to content

Commit

Permalink
Updates for laravel 10.
Browse files Browse the repository at this point in the history
  • Loading branch information
RTippin committed Feb 19, 2023
1 parent de74f0f commit 01ecb78
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ on:

jobs:
tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: true
matrix:
php: [8.0.2, 8.1]
laravel: [^9.0]
php: [8.1, 8.2]
laravel: [^9.0, ^10.0]

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -39,4 +39,4 @@ jobs:
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/vendor
/.idea
composer.lock
.phpunit.result.cache
/.phpunit.cache
_ide_helper.php
.phpstorm.meta.php
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
|---------|:--------------------:|-------------:|
| `8.x` | `^7.4` `^8.0` `^8.1` | `<= 1.0.0` |
| `9.x` | `^8.0.2` `^8.1` | `>= 1.1.0` |
| `10.x` | `^8.1` `^8.2` | `>= 1.2.0` |

## Included
- Core REST API wrapper to interact with janus.
Expand Down Expand Up @@ -413,7 +414,7 @@ Janus::disconnect();
[link-author]: https://github.com/rtippin
[ico-version]: https://img.shields.io/packagist/v/rtippin/janus-client.svg?style=plastic&cacheSeconds=3600
[ico-downloads]: https://img.shields.io/packagist/dt/rtippin/janus-client.svg?style=plastic&cacheSeconds=3600
[link-test]: https://github.com/RTippin/janus-client/actions
[link-test]: https://img.shields.io/github/actions/workflow/status/rtippin/janus-client/test.yml?branch=master&style=plastic
[ico-test]: https://img.shields.io/github/workflow/status/rtippin/janus-client/tests?style=plastic
[ico-styleci]: https://styleci.io/repos/387571926/shield?style=plastic&cacheSeconds=3600
[ico-license]: https://img.shields.io/github/license/RTippin/janus-client?style=plastic
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"Client"
],
"require": {
"php": "^8.0.2|^8.1",
"php": "^8.0.2|^8.1|^8.2",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.3",
"illuminate/support": "^9.0"
"illuminate/support": "^9.0|^10.0"
},
"require-dev": {
"phpunit/phpunit": "~9.0",
"orchestra/testbench": "~7"
"phpunit/phpunit": "~9.0|^10.0",
"orchestra/testbench": "~7|^8.0"
},
"autoload": {
"psr-4": {
Expand All @@ -48,6 +48,6 @@
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"prefer-stable": true
}
13 changes: 6 additions & 7 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="Janus Client Test Suite">
<directory suffix="Test.php">./tests</directory>
Expand Down

0 comments on commit 01ecb78

Please sign in to comment.