Skip to content

Commit a9fbf74

Browse files
anton-vlasenkojohnbillionSoeantalldanironprogrammer
authored
Bump minimum required PHP version to 7.2. (#60714)
Bump minimum required PHP version to 7.2. Co-authored-by: anton-vlasenko <[email protected]> Co-authored-by: johnbillion <[email protected]> Co-authored-by: Soean <[email protected]> Co-authored-by: talldan <[email protected]> Co-authored-by: ironprogrammer <[email protected]>
1 parent c082852 commit a9fbf74

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
wordpress: [''] # Latest WordPress version.
158158
include:
159159
# Test with the previous WP version.
160-
- php: '7.0'
160+
- php: '7.2'
161161
wordpress: ${{ needs.compute-previous-wordpress-version.outputs.previous-wordpress-version }}
162162
- php: '7.4'
163163
wordpress: ${{ needs.compute-previous-wordpress-version.outputs.previous-wordpress-version }}

gutenberg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin URI: https://github.com/WordPress/gutenberg
55
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality.
66
* Requires at least: 6.3
7-
* Requires PHP: 7.0
7+
* Requires PHP: 7.2
88
* Version: 18.2.0-rc.1
99
* Author: Gutenberg Team
1010
* Text Domain: gutenberg

phpcs.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<ruleset name="WordPress Coding Standards for Gutenberg Plugin">
33
<description>Sniffs for WordPress plugins, with minor modifications for Gutenberg</description>
44

5-
<!-- Check for cross-version support for PHP 7.0 and higher. -->
6-
<config name="testVersion" value="7.0-"/>
5+
<!-- Check for cross-version support for PHP 7.2 and higher. -->
6+
<config name="testVersion" value="7.2-"/>
77
<rule ref="PHPCompatibilityWP">
88
<include-pattern>*\.php$</include-pattern>
99
</rule>

0 commit comments

Comments
 (0)