Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Commit b61e47c

Browse files
authored
Support for PHP 8.0 (#8)
1 parent 3e3e703 commit b61e47c

File tree

6 files changed

+54
-56
lines changed

6 files changed

+54
-56
lines changed

.github/workflows/run-tests.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: run-tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: true
10+
matrix:
11+
php: [8.0, 7.4, 7.3]
12+
laravel: [8.*, 7.*, 6.*]
13+
dependency-version: [prefer-lowest, prefer-stable]
14+
include:
15+
- laravel: 8.*
16+
testbench: 6.*
17+
- laravel: 7.*
18+
testbench: 5.*
19+
- laravel: 6.*
20+
testbench: 4.*
21+
22+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
23+
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v2
27+
28+
- name: Cache dependencies
29+
uses: actions/cache@v2
30+
with:
31+
path: ~/.composer/cache/files
32+
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
33+
34+
- name: Setup PHP
35+
uses: shivammathur/setup-php@v2
36+
with:
37+
php-version: ${{ matrix.php }}
38+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, mysql, mysqli, pdo_mysql
39+
coverage: none
40+
41+
- name: Install dependencies
42+
run: |
43+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
44+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
45+
46+
- name: Execute tests
47+
run: vendor/bin/phpunit tests/ServiceProviderTest.php

.styleci.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All Notable changes to `laravel-webdav` will be documented in this file.
44

55
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
66

7+
## 1.10.0
8+
- Support for PHP 8.0
9+
- Dropped support for PHP 7.2
10+
711
## 1.9.0
812
- Support for Laravel 8.0
913

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Software License][ico-license]](LICENSE.md)
66
[![Total Downloads][ico-downloads]][link-downloads]
77

8-
This package provides a WebDAV driver for Laravel's Filesystem. Laravel 5.0 and higher supported.
8+
This package provides a WebDAV driver for Laravel's Filesystem. Laravel 6.0 and higher supported.
99

1010
## Install
1111

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^7.2",
20+
"php": "^7.3 || ^8.0",
2121
"illuminate/filesystem": "^6.0 || ^7.0 || ^8.0",
2222
"league/flysystem-webdav": "^1.0"
2323
},
2424
"require-dev": {
2525
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0",
26-
"phpunit/phpunit": "~7.0|~8.0"
26+
"phpunit/phpunit": "~7.0 || ~8.0 || ~9.0"
2727
},
2828
"autoload": {
2929
"psr-4": {

0 commit comments

Comments
 (0)