Skip to content

Commit 91771b6

Browse files
authored
Merge pull request #1204 from GoogleChromeLabs/update/tested-versions
Bump minimum PHP and WP versions
2 parents 5e9d0ba + d9d2a2f commit 91771b6

File tree

7 files changed

+20
-18
lines changed

7 files changed

+20
-18
lines changed

.github/workflows/build-test-measure.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ jobs:
226226
fail-fast: false
227227
matrix:
228228
coverage: [false]
229-
php: ['7.3', '7.2', '7.1']
229+
php: ['7.3', '7.2']
230230
wp: ['latest']
231231
phpunit: ['7']
232232
include:
@@ -260,8 +260,8 @@ jobs:
260260
coverage: true
261261
phpunit: '9.3'
262262

263-
- php: '7.0'
264-
wp: '6.3'
263+
- php: '7.2'
264+
wp: '6.6'
265265
coverage: false
266266
phpunit: '6'
267267

.phpcs.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
<!-- For help in understanding this testVersion:
3737
https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
38-
<config name="testVersion" value="7.0-"/>
38+
<config name="testVersion" value="7.2-"/>
3939

4040
<!-- Rules: WordPress Coding Standards - see
4141
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards -->

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WordPress feature plugin to bring Progressive Web App (PWA) capabilities to Core
77
**Contributors:** [google](https://profiles.wordpress.org/google), [xwp](https://profiles.wordpress.org/xwp), [rtcamp](https://profiles.wordpress.org/rtcamp), [westonruter](https://profiles.wordpress.org/westonruter), [albertomedina](https://profiles.wordpress.org/albertomedina)
88
**Tags:** [pwa](https://wordpress.org/plugins/tags/pwa), [progressive web apps](https://wordpress.org/plugins/tags/progressive-web-apps), [service workers](https://wordpress.org/plugins/tags/service-workers), [web app manifest](https://wordpress.org/plugins/tags/web-app-manifest)
99
**Requires at least:** 6.4
10-
**Tested up to:** 6.6
10+
**Tested up to:** 6.7
1111
**Stable tag:** 0.8.1
1212
**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
1313
**Requires PHP:** 7.0

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"dealerdirect/phpcodesniffer-composer-installer": true
2727
},
2828
"platform": {
29-
"php": "7.0"
29+
"php": "7.2"
3030
},
3131
"sort-packages": true
3232
},

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integrations/class-wp-service-worker-admin-assets-integration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class WP_Service_Worker_Admin_Assets_Integration extends WP_Service_Worker
2222
*/
2323
public function register( WP_Service_Worker_Scripts $scripts ) {
2424
if ( ! function_exists( 'list_files' ) ) {
25-
require_once ABSPATH . 'wp-admin/includes/file.php';
25+
require_once ABSPATH . 'wp-admin/includes/file.php'; // @phpstan-ignore requireOnce.fileNotFound
2626
}
2727

2828
$admin_dir = ABSPATH . 'wp-admin/';

pwa.php

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@
66
* @license GPL-2.0+
77
*
88
* @wordpress-plugin
9-
* Plugin Name: PWA
10-
* Plugin URI: https://github.com/GoogleChromeLabs/pwa-wp
11-
* Description: Feature plugin to bring Progressive Web App (PWA) capabilities to Core
12-
* Version: 0.8.2-alpha
13-
* Author: PWA Plugin Contributors
14-
* Author URI: https://github.com/GoogleChromeLabs/pwa-wp/graphs/contributors
15-
* Text Domain: pwa
16-
* License: GPL-2.0+
17-
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
9+
* Plugin Name: PWA
10+
* Plugin URI: https://github.com/GoogleChromeLabs/pwa-wp
11+
* Description: Feature plugin to bring Progressive Web App (PWA) capabilities to Core
12+
* Requires at least: 6.6
13+
* Requires PHP: 7.2
14+
* Version: 0.8.2-alpha
15+
* Author: PWA Plugin Contributors
16+
* Author URI: https://github.com/GoogleChromeLabs/pwa-wp/graphs/contributors
17+
* Text Domain: pwa
18+
* License: GPL-2.0+
19+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1820
*/
1921

2022
define( 'PWA_VERSION', '0.8.2-alpha' );

0 commit comments

Comments
 (0)