Skip to content

Commit b88c665

Browse files
authored
Merge pull request #25 from arnidan/php-8
Laravel 8.x only, PHP 8 compatibility & Build on Github Actions
2 parents d5ee7d1 + ff247c9 commit b88c665

File tree

5 files changed

+28
-17
lines changed

5 files changed

+28
-17
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Tests
2+
on: [ push, pull_request ]
3+
jobs:
4+
run:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
php-versions: [ '7.3', '7.4', '8.0' ]
9+
name: Testing on PHP ${{ matrix.php-versions }}
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
- name: Setup PHP
14+
uses: shivammathur/setup-php@v2
15+
with:
16+
php-version: ${{ matrix.php-versions }}
17+
extensions: mbstring,bcmath
18+
tools: phpunit,composer
19+
- name: Install dependencies
20+
run: composer install --quiet --no-ansi --no-interaction --no-scripts --no-progress
21+
- name: Run tests
22+
run: composer test

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
22
.idea
33
/vendor
4-
composer.lock
4+
composer.lock
5+
.phpunit.result.cache

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/hedii/laravel-gelf-logger.svg?branch=master)](https://travis-ci.org/hedii/laravel-gelf-logger)
1+
![Build Status](https://github.com/hedii/laravel-gelf-logger/workflows/build/badge.svg)
22

33
# Laravel Gelf Logger
44

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
"source": "https://github.com/hedii/laravel-gelf-logger"
2727
},
2828
"require": {
29-
"php": "^7.2.5",
30-
"illuminate/log": "^7.0|^8.0",
29+
"php": "^7.3|^8.0",
30+
"illuminate/log": "^8.12",
3131
"graylog2/gelf-php": "^1.6"
3232
},
3333
"require-dev": {
34-
"orchestra/testbench": "^5.0"
34+
"orchestra/testbench": "^6.0"
3535
},
3636
"autoload": {
3737
"psr-4": {

0 commit comments

Comments
 (0)