Skip to content

Commit

Permalink
Fix PHPCompatibility.TextStrings.RemovedDollarBraceStringEmbeds.Depre…
Browse files Browse the repository at this point in the history
…catedVariableSyntax
  • Loading branch information
ronilaukkarinen committed Feb 25, 2024
1 parent e60928c commit 9f331bf
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 14 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 9.4.0rc: 2024-02-14
### 9.4.0rc: 2024-02-25

* Update unit tests for WordPress Coding Standards 3.0.1
* Prepare for PHP version 8.3
Expand All @@ -7,8 +7,9 @@
* Merge pull request #212 from digitoimistodude/dependabot/npm_and_yarn/ip-2.0.1
* Add unit tests for PHPCompatibility
* Upgrade PHP version in use to PHP 8.3
* Require PHP 8.3
* Unit tests: Separately test for PHP 8.3 support
* Fix PHPCompatibility.TextStrings.RemovedDollarBraceStringEmbeds.DeprecatedVariableSyntax
* Bump WordPress to 6.4.2

### 9.3.6: 2024-01-10

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Starting from v2.6.0 WooCommerce support comes with [Air helper](https://github.

* PHP >= 7.4
* Requires at least: WordPress 4.7.1
* Tested up to WordPress 6.4.2
* Tested up to WordPress 6.4.3

### Recommendations for development

Expand Down
4 changes: 2 additions & 2 deletions bin/tasks/additions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ chmod 777 ${PROJECT_PATH}/media

echo "${YELLOW}Generating default README.md...${TXTRESET}"

NEWEST_AIR_VERSION="9.3.6"
NEWEST_WORDPRESS_VERSION="6.4.2"
NEWEST_AIR_VERSION="9.4.0"
NEWEST_WORDPRESS_VERSION="6.4.3"
NEWEST_PHP_VERSION="8.3"
CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_');
echo "# ${PROJECT_NAME}
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* The current version of the theme.
*/
define( 'AIR_LIGHT_VERSION', '9.3.6' );
define( 'AIR_LIGHT_VERSION', '9.4.0' );

// We need to have some defaults as comments or empties so let's allow this:
// phpcs:disable Squiz.Commenting.InlineComment.SpacingBefore, WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray
Expand Down
2 changes: 1 addition & 1 deletion inc/hooks/scripts-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@ function get_asset_file( $filename ) {

$filetype = pathinfo( $filename )['extension'];

return "${filetype}/${env}/${filename}";
return "{$filetype}/{$env}/{$filename}";
} // end get_asset_file
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-light",
"version": "9.3.6",
"version": "9.4.0",
"description": "A minimalist WordPress starter theme.",
"author": "Digitoimisto Dude Oy ([email protected])",
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,8 @@
<property name="is_theme" value="true" />
</properties>
</rule>

<!-- Include sniffs for PHP cross-version compatibility. -->
<config name="testVersion" value="8.3"/>
<rule ref="PHPCompatibility"/>
</ruleset>
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Contributors: Digitoimisto Dude Oy
Tags: one-column, accessibility-ready, translation-ready

Requires at least: 5.0
Tested up to: 6.4.2
Tested up to: 6.4.3
Stable tag: 9.3.5
License: MIT License
License URI: https://opensource.org/licenses/MIT
Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ If you see this, contact the site admin.
@version 2024-01-10
@since 2016-01-28
Tested up to: 6.4.2
Requires PHP: 8.3
Tested up to: 6.4.3
Requires PHP: 7.4
License: MIT License
License URI: LICENSE
Text Domain: air-light
Expand Down

0 comments on commit 9f331bf

Please sign in to comment.