Skip to content

Commit

Permalink
Bump 0.8.0 (and remaining PHP & WP version refs)
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jan 24, 2024
1 parent 0bc41e5 commit 5ed4882
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ module.exports = {
"**/*.js": [
"npm run lint:js"
],
"**/!(pwa).php": [
"**/*.php": [
"npm run lint:php"
],
"pwa.php": [
"vendor/bin/phpcs --runtime-set testVersion 5.2-"
]
};
4 changes: 2 additions & 2 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

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

<!-- Rules: WordPress Coding Standards - see
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards -->
Expand All @@ -45,7 +45,7 @@

<!-- For help in understanding these custom sniff properties:
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<config name="minimum_supported_wp_version" value="5.1"/>
<config name="minimum_supported_wp_version" value="6.3"/>

<rule ref="WordPress.WP.I18n">
<properties>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WordPress feature plugin to bring Progressive Web App (PWA) capabilities to Core
**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)
**Requires at least:** 6.3
**Tested up to:** 6.3
**Stable tag:** 0.7.1
**Stable tag:** 0.8.0
**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
**Requires PHP:** 7.0

Expand Down
4 changes: 2 additions & 2 deletions pwa.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
* Plugin Name: PWA
* Plugin URI: https://github.com/GoogleChromeLabs/pwa-wp
* Description: Feature plugin to bring Progressive Web App (PWA) capabilities to Core
* Version: 0.8.0-alpha
* Version: 0.8.0
* Author: PWA Plugin Contributors
* Author URI: https://github.com/GoogleChromeLabs/pwa-wp/graphs/contributors
* Text Domain: pwa
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/

define( 'PWA_VERSION', '0.8.0-alpha' );
define( 'PWA_VERSION', '0.8.0' );
define( 'PWA_PLUGIN_FILE', __FILE__ );
define( 'PWA_PLUGIN_DIR', __DIR__ );
define( 'PWA_WORKBOX_VERSION', json_decode( file_get_contents( PWA_PLUGIN_DIR . '/package.json' ), true )['devDependencies']['workbox-cli'] ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents,PHPCompatibility.Syntax.NewFunctionArrayDereferencing.Found -- Replaced with version literal build.
Expand Down

0 comments on commit 5ed4882

Please sign in to comment.