diff --git a/.travis.yml b/.travis.yml index 440045b..5a2a16a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,24 +4,10 @@ matrix: include: - php: hhvm-3.18 dist: trusty - - php: 5.3 - dist: precise - - php: 5.4 - dist: trusty - - php: 5.5 - dist: trusty - - php: 5.6 - dist: xenial - - php: 7.0 - dist: xenial - - php: 7.1 - dist: bionic - - php: 7.2 - dist: bionic - - php: 7.3 - dist: bionic - php: 7.4 dist: bionic + - php: 8.0 + dist: bionic install: - composer install --prefer-dist diff --git a/Michelf/Markdown.php b/Michelf/Markdown.php index 9cf4c77..61778ba 100644 --- a/Michelf/Markdown.php +++ b/Michelf/Markdown.php @@ -18,7 +18,7 @@ class Markdown implements MarkdownInterface { * Define the package version * @var string */ - const MARKDOWNLIB_VERSION = "1.9.0"; + const MARKDOWNLIB_VERSION = "2.0"; /** * Simple function interface - Initialize the parser and return the result @@ -74,7 +74,7 @@ class Markdown implements MarkdownInterface { * Change to `true` to enable line breaks on \n without two trailling spaces * @var boolean */ - public $hard_wrap = false; + public bool $hard_wrap = false; /** * Predefined URLs and titles for reference links and images. diff --git a/composer.json b/composer.json index f02526d..9990ce1 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ } ], "require": { - "php": ">=7.3" + "php": ">=7.4" }, "autoload": { "psr-4": { "Michelf\\": "Michelf/" } }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": ">= 9.5" } }