Skip to content

Commit 60105cc

Browse files
authored
Testing Workflow Updates
1 parent 9a00112 commit 60105cc

File tree

9 files changed

+39
-24
lines changed

9 files changed

+39
-24
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ applyTo: '**'
77
## Project Context
88

99
- **Plugin:** EngineScript Site Exporter (WordPress site export/backup plugin)
10-
- **WordPress:** 6.5+ minimum
10+
- **WordPress:** 6.6+ minimum
1111
- **PHP:** 7.4+ minimum (use typed parameters, return types, short arrays `[]`, null coalescing `??=`)
1212
- **License:** GPL-3.0-or-later
1313
- **Text Domain:** `enginescript-site-exporter`

.github/workflows/new-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
Thanks for contributing to EngineScript Site Exporter! 🎉
2424
2525
**Before we review:**
26-
- [ ] Have you tested your changes with WordPress 6.5+?
26+
- [ ] Have you tested your changes with WordPress 6.6+?
2727
- [ ] Are your changes compatible with PHP 7.4+?
2828
- [ ] Have you followed WordPress coding standards?
2929
- [ ] Did you update the CHANGELOG.md if needed?

.github/workflows/wp-compatibility-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# It runs multiple validation processes including:
33
# - WordPress Plugin Check for WordPress.org compatibility
44
# - PHP compatibility testing across multiple PHP versions (7.4, 8.0, 8.3, 8.4)
5-
# - WordPress compatibility testing across multiple WP versions (6.5, latest, nightly)
5+
# - WordPress compatibility testing across multiple WP versions (6.6, latest, nightly)
66
# - PHPStan static analysis for WordPress-specific code quality
77
# - WordPress security vulnerability scanning using pattern analysis
88
# - PHPCS code standards validation for WordPress coding standards
@@ -587,7 +587,7 @@ jobs:
587587
strategy:
588588
matrix:
589589
php-version: ['7.4', '8.0', '8.3', '8.4']
590-
wp-version: ['6.5', 'latest', 'nightly']
590+
wp-version: ['6.6', 'latest', 'nightly']
591591
fail-fast: false
592592

593593
services:
@@ -805,7 +805,7 @@ jobs:
805805
$this->assertNotEmpty($wp_version, 'WordPress version should be available');
806806
807807
// Test that we're running on a supported WordPress version
808-
$min_wp_version = '6.5';
808+
$min_wp_version = '6.6';
809809
$this->assertTrue(version_compare($wp_version, $min_wp_version, '>='),
810810
"WordPress version {$wp_version} should be >= {$min_wp_version}");
811811
}

GEMINI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is a secure WordPress site export plugin that creates complete site backups
88

99
- **Name:** EngineScript Site Exporter
1010
- **Version:** 2.0.0
11-
- **WordPress Compatibility:** 6.5+
11+
- **WordPress Compatibility:** 6.6+
1212
- **PHP Compatibility:** 7.4+
1313
- **License:** GPL-3.0-or-later
1414
- **Text Domain:** enginescript-site-exporter

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/94ac1b08e70a48cc895d8522dffcf472)](https://app.codacy.com/gh/EngineScript/enginescript-site-exporter/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
44
[![License](https://img.shields.io/badge/License-GPL%20v3-green.svg?logo=gnu)](https://www.gnu.org/licenses/gpl-3.0.html)
5-
[![WordPress Compatible](https://img.shields.io/badge/WordPress-6.5%2B-blue.svg?logo=wordpress)](https://wordpress.org/)
5+
[![WordPress Compatible](https://img.shields.io/badge/WordPress-6.6%2B-blue.svg?logo=wordpress)](https://wordpress.org/)
66
[![PHP Compatible](https://img.shields.io/badge/PHP-7.4%2B-purple.svg?logo=php)](https://www.php.net/)
77

88
## Current Version
@@ -60,7 +60,7 @@ The export format is specifically designed to work with EngineScript's site impo
6060

6161
## Requirements
6262

63-
- WordPress 6.5 or higher
63+
- WordPress 6.6 or higher
6464
- PHP 7.4 or higher
6565
- Write access to the WordPress uploads directory
6666
- For database exports: MySQL access or WP-CLI installed

composer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@
1414
"php": ">=7.4"
1515
},
1616
"require-dev": {
17-
"phpunit/phpunit": "13.0.5",
18-
"yoast/phpunit-polyfills": "4.0",
19-
"wp-coding-standards/wpcs": "3.1",
20-
"dealerdirect/phpcodesniffer-composer-installer": "1.0.0",
21-
"php-stubs/wordpress-stubs": "6.9",
22-
"szepeviktor/phpstan-wordpress": "1.3",
23-
"phpstan/phpstan": "1.0",
24-
"phpcompatibility/phpcompatibility-wp": "2.1"
17+
"phpunit/phpunit": "12.*",
18+
"yoast/phpunit-polyfills": "4.*",
19+
"squizlabs/php_codesniffer": "3.*",
20+
"wp-coding-standards/wpcs": "3.*",
21+
"phpcsextra/phpcsextra": "1.*",
22+
"dealerdirect/phpcodesniffer-composer-installer": "1.*",
23+
"friendsofphp/php-cs-fixer": "3.*",
24+
"php-stubs/wordpress-stubs": "6.*",
25+
"szepeviktor/phpstan-wordpress": "2.*",
26+
"phpstan/phpstan": "2.*",
27+
"phpcompatibility/phpcompatibility-wp": "2.*"
2528
},
2629
"scripts": {
2730
"phpcs": "phpcs --standard=phpcs.xml",

enginescript-site-exporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: Exports the site files and database as a zip archive.
55
* Version: 2.0.0
66
* Author: EngineScript
7-
* Requires at least: 6.5
7+
* Requires at least: 6.6
88
* Tested up to: 6.9
99
* Requires PHP: 7.4
1010
* License: GPL-3.0-or-later

phpcs.xml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
<exclude-pattern>*/vendor/*</exclude-pattern>
1010
<exclude-pattern>*/node_modules/*</exclude-pattern>
1111
<exclude-pattern>*/tests/*</exclude-pattern>
12-
<exclude-pattern>*/assets/*</exclude-pattern>
13-
<exclude-pattern>*/languages/*</exclude-pattern>
1412
<exclude-pattern>*/.git/*</exclude-pattern>
1513
<exclude-pattern>*/.github/*</exclude-pattern>
14+
<exclude-pattern>*/build/*</exclude-pattern>
15+
<exclude-pattern>*/dist/*</exclude-pattern>
1616

17-
<!-- Use WordPress coding standards -->
18-
<rule ref="WordPress">
17+
<!-- Use WordPress-Extra coding standards (includes WordPress-Core) -->
18+
<rule ref="WordPress-Extra">
1919
<!-- Allow short array syntax [] instead of array() -->
2020
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
2121

@@ -26,6 +26,9 @@
2626
<exclude name="WordPress.DB.DirectDatabaseQuery"/>
2727
</rule>
2828

29+
<!-- WordPress documentation standards -->
30+
<rule ref="WordPress-Docs"/>
31+
2932
<!-- COMMENTED OUT: These rules enforce spaces instead of tabs, which conflicts with WordPress standards -->
3033
<!-- WordPress standards actually require TABS for indentation, not spaces -->
3134
<!--
@@ -85,6 +88,8 @@
8588

8689
<!-- WordPress security and best practices -->
8790
<rule ref="WordPress.Security"/>
91+
92+
<!-- WordPress internationalization configuration -->
8893
<rule ref="WordPress.WP.I18n">
8994
<properties>
9095
<!-- Set the text domain for internationalization -->
@@ -103,7 +108,14 @@
103108
<rule ref="PHPCompatibilityWP">
104109
<include-pattern>*\.php$</include-pattern>
105110
</rule>
106-
<config name="minimum_supported_wp_version" value="6.5"/>
111+
112+
<!-- PHPCSExtra rules for additional code quality checks -->
113+
<rule ref="PHPCSExtra">
114+
<exclude name="Modernize.FunctionCalls.Dirname.Nested"/>
115+
</rule>
116+
117+
<!-- Set minimum WordPress version for deprecated function checks -->
118+
<config name="minimum_wp_version" value="6.6"/>
107119
<config name="testVersion" value="7.4-"/>
108120

109121
<!-- Show progress -->

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
=== EngineScript Site Exporter ===
22
Contributors: enginescript
33
Tags: backup, export, migration, site export, database export
4-
Requires at least: 6.5
4+
Requires at least: 6.6
55
Tested up to: 6.9
66
Stable tag: 2.0.0
77
Requires PHP: 7.4
@@ -101,7 +101,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
101101
* **Bug Fix**: Removed unnecessary phpcs suppression comment on properly escaped output
102102
* **Bug Fix**: Updated GEMINI.md WP-CLI section to reflect required dependency status
103103
* **Bug Fix**: Corrected WP-CLI description from "when available" to "requires" in README.md and readme.txt
104-
* **Bug Fix**: Fixed phpcs.xml `minimum_supported_wp_version` from 6.8 to 6.5 to match plugin header
104+
* **Bug Fix**: Fixed phpcs.xml `minimum_supported_wp_version` from 6.8 to 6.6 to match plugin header
105105
* **Architecture**: Extracted duplicated WP_Filesystem initialization into `sse_init_filesystem()` helper
106106
* **Architecture**: Inlined 3 pass-through wrapper functions for simpler call graph
107107
* **Architecture**: Removed 2 redundant intermediate download validation passes

0 commit comments

Comments
 (0)