Skip to content

Commit

Permalink
upgrade required PHP version to 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JBlond committed Dec 7, 2020
1 parent 3b48a0f commit 8962a2b
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ directory. Included is a light and a dark theme.

## Requirements

* PHP 7.2 or greater
* PHP 7.3 or greater
* PHP Multibyte String
* [jblond/php-cli](https://github.com/jblond/php-cli) (suggested)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
],
"require": {
"php": ">=7.2",
"php": ">=7.3",
"ext-mbstring": "*",
"ext-pcre": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* A comprehensive library for comparing two strings and generating the differences between them in multiple formats.
* (unified, side by side, inline, HTML, etc.)
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond
* @author Chris Boulton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/DiffUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Sequence matcher helper functions for Diff
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff
* @author Mario Brandt <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Html/Merged.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* Merged diff generator for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Text
* @author Ferry Cools <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Html/SideBySide.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Side by Side HTML diff generator for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Html
* @author Chris Boulton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Html/Unified.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Unified HTML diff generator for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Html
* @author Chris Boulton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/MainRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Base renderer for rendering diffs for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Html
* @author Chris Boulton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/MainRendererAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Abstract class for the main renderer in PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer
* @author Mario Brandt <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/SubRendererInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Sub rendering class interface for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Html
* @author Ferry Cools <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Text/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Context diff generator for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Text
* @author Chris Boulton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Text/InlineCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* Inline diff generator for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Text
* @author Ferry Cools <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Text/Unified.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Unified diff generator for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Text
* @author Chris Boulton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Text/UnifiedCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Unified diff generator for PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff\Renderer\Text
* @author Mario Brandt <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/SequenceMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Sequence matcher for Diff
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff
* @author Chris Boulton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Similarity.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @see similar_text()
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package jblond\Diff
* @author Chris Boulton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion tests/Diff/Renderer/MainRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* PHPUnit Test for the main renderer of PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package Tests\Diff\Renderer
* @author Mario Brandt <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion tests/Diff/SequenceMatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* PHPUnit Test for the main renderer of PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package Tests\Diff
* @author Mario Brandt <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion tests/Diff/SimilarityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* PHPUnit Test for the Similarity class of PHP DiffLib.
*
* PHP version 7.2 or greater
* PHP version 7.3 or greater
*
* @package Tests\Diff
* @author Ferry Cools <[email protected]>
Expand Down

3 comments on commit 8962a2b

@vendeeglobe
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is PHP 7.3 a soft or a hard requirement. In the second case I have to bump the requirement for PHP too. I ask this for users who cannot upgrade their stack.

@JBlond
Copy link
Owner Author

@JBlond JBlond commented on 8962a2b Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is a hard requirement in composer. Well, it still works with 7.2, but some dev tools require 7.3. Also, 7.2 doesn't get any fixes see https://www.php.net/supported-versions.php

@JBlond
Copy link
Owner Author

@JBlond JBlond commented on 8962a2b Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vendeeglobe If there is a need for 7.2 we find a solution.

Please sign in to comment.