From dc214fe729b65d85f313e5f88275ef97beda98ad Mon Sep 17 00:00:00 2001 From: Marek Szymczuk Date: Wed, 9 Sep 2020 13:35:49 +0200 Subject: [PATCH] Add support for Laravel 8.0 --- .editorconfig | 7 +++---- .travis.yml | 2 +- CHANGELOG.md | 4 ++++ README.md | 4 ++-- composer.json | 8 ++++---- phpunit.xml.dist | 12 +++++++----- 6 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.editorconfig b/.editorconfig index ef2dbf8..6537ca4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,14 +3,13 @@ root = true [*] charset = utf-8 end_of_line = lf -indent_size = 4 -indent_style = space insert_final_newline = true +indent_style = space +indent_size = 4 trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false -[*.yml] -indent_style = space +[*.{yml,yaml}] indent_size = 2 diff --git a/.travis.yml b/.travis.yml index 7868a43..3c5b6ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ language: php sudo: false php: - - 7.2 - 7.3 + - 7.4 before_script: - travis_retry composer self-update diff --git a/CHANGELOG.md b/CHANGELOG.md index d886bd8..ffa29ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release Notes +## v5.0.0 (2020-09-09) + +- Added support for Laravel 8.0. + ## v4.0.0 (2020-04-28) - Added support for Laravel 7.0. diff --git a/README.md b/README.md index 83013ce..2f497fc 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ A Laravel package for converting URLs in a given string of text into clickable l ## Requirements -- PHP >= 7.2.5 -- Laravel >= 7.0 +- PHP >= 7.3 +- Laravel >= 8.0 ## Installation diff --git a/composer.json b/composer.json index 0d5f213..03077a1 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ } ], "require": { - "php": "^7.2.5", - "illuminate/support": "^7.0", + "php": "^7.3", + "illuminate/support": "^8.0", "symfony/polyfill-mbstring": "^1.0", - "spatie/laravel-html": "^2.23" + "spatie/laravel-html": "^2.27" }, "require-dev": { - "phpunit/phpunit": "^8.5", + "phpunit/phpunit": "^9.3", "mockery/mockery": "^1.3.1" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 242e576..043a6ff 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,5 +1,7 @@ -./tests - - + + ./src - - + +