Skip to content

Commit 79ea501

Browse files
committed
Fixes
1 parent 154e1ee commit 79ea501

17 files changed

Lines changed: 61 additions & 25 deletions

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ an individual is officially representing the community in public spaces.
4545

4646
Instances of abusive, harassing, or otherwise unacceptable behavior may be
4747
reported to the project maintainers responsible for enforcement at
48-
peter@visistruct.com.
48+
<security@enginescript.com>.
4949

5050
Project maintainers will review and investigate all complaints, and will
5151
respond in a way that they deem appropriate to the circumstances.

.github/ISSUE_TEMPLATE/compatibility-test-failure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The automated compatibility test for PHP {{ env.PHP_VERSION }} has failed.
2121

2222
This issue has been automatically created because the EngineScript Site Optimizer plugin failed to load properly with PHP {{ env.PHP_VERSION }}. This could indicate compatibility issues that need to be addressed.
2323

24-
#### Recommended Actions:
24+
#### Recommended Actions
2525

2626
1. Review the workflow logs for specific error messages
2727
2. Check for PHP {{ env.PHP_VERSION }} specific syntax or function compatibility issues

.github/ISSUE_TEMPLATE/phpcs-failure.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ assignees: []
1111
The PHPCS (PHP CodeSniffer) check has failed for the repository.
1212

1313
**Failure Details:**
14+
1415
- **PHP Version:** {{ env.PHP_VERSION }}
1516
- **Workflow Run:** [View Details]({{ env.WORKFLOW_URL }})
1617
- **Run ID:** {{ env.RUN_ID }}
@@ -19,12 +20,14 @@ The PHPCS (PHP CodeSniffer) check has failed for the repository.
1920
The code does not meet WordPress coding standards as defined by PHPCS.
2021

2122
**What needs to be done:**
23+
2224
1. Review the PHPCS output in the failed workflow run
2325
2. Fix coding standard violations in the code
2426
3. Ensure all PHP files follow WordPress coding standards
2527
4. Test locally with: `composer run phpcs`
2628

2729
**Resources:**
30+
2831
- [WordPress Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/)
2932
- [PHP CodeSniffer Documentation](https://github.com/squizlabs/PHP_CodeSniffer)
3033

.github/ISSUE_TEMPLATE/phpmd-failure.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ assignees: []
1111
The PHPMD (PHP Mess Detector) check has failed for the repository.
1212

1313
**Failure Details:**
14+
1415
- **PHP Version:** {{ env.PHP_VERSION }}
1516
- **Workflow Run:** [View Details]({{ env.WORKFLOW_URL }})
1617
- **Run ID:** {{ env.RUN_ID }}
@@ -19,6 +20,7 @@ The PHPMD (PHP Mess Detector) check has failed for the repository.
1920
The code has quality issues detected by PHPMD analysis.
2021

2122
**What needs to be done:**
23+
2224
1. Review the PHPMD output in the failed workflow run
2325
2. Address code quality issues such as:
2426
- Complex methods that should be simplified
@@ -29,6 +31,7 @@ The code has quality issues detected by PHPMD analysis.
2931
3. Test locally with: `composer run phpmd`
3032

3133
**Resources:**
34+
3235
- [PHPMD Documentation](https://phpmd.org/)
3336
- [PHPMD Rules](https://phpmd.org/rules/index.html)
3437

.github/ISSUE_TEMPLATE/phpstan-failure.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ assignees: []
1313
**Date:** {{ date | date('YYYY-MM-DD') }}
1414

1515
### Description
16+
1617
The PHPStan for WordPress static analysis check has failed during the automated testing process.
1718

1819
### What happened?
20+
1921
PHPStan for WordPress detected potential code issues during static analysis. This could indicate:
2022

2123
- Type safety issues specific to WordPress APIs
@@ -24,13 +26,15 @@ PHPStan for WordPress detected potential code issues during static analysis. Thi
2426
- Incorrect usage of WordPress functions or hooks
2527

2628
### Next Steps
29+
2730
1. Review the workflow logs at the link above
2831
2. Check the specific PHPStan error messages
2932
3. Fix any identified code issues
3033
4. Ensure WordPress-specific type annotations are correct
3134
5. Re-run the workflow to verify fixes
3235

3336
### Additional Information
37+
3438
- This check uses WordPress-specific PHPStan rules
3539
- The analysis helps catch WordPress-related coding issues early
3640
- Consider updating code to follow WordPress best practices

.github/ISSUE_TEMPLATE/plugin-check-failure.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ The WordPress Plugin Check action has identified issues with the EngineScript Si
1919

2020
This issue has been automatically created because the WordPress Plugin Check found issues with the plugin that should be addressed. The check performed the following specific tests:
2121

22-
#### Categories:
22+
#### Categories
23+
2324
- **Accessibility**: Checks for accessibility compliance issues
2425
- **General**: General WordPress coding standards and best practices
2526
- **Performance**: Tests that identify performance bottlenecks
2627
- **Plugin Repo**: Requirements for WordPress.org plugin repository
2728
- **Security**: Security-focused checks to identify vulnerabilities
2829

29-
#### Specific Checks:
30+
#### Specific Checks
31+
3032
- **i18n_usage**: Proper internationalization usage
3133
- **code_obfuscation**: Detecting potentially obfuscated code
3234
- **direct_db_queries**: Identifying direct database queries that bypass WordPress APIs
@@ -44,7 +46,7 @@ This issue has been automatically created because the WordPress Plugin Check fou
4446
- **plugin_updater**: Checking plugin update mechanisms
4547
- **trademarks**: Checking for potential trademark violations
4648

47-
#### Recommended Actions:
49+
#### Recommended Actions
4850

4951
1. Review the workflow logs for specific error messages and warnings
5052
2. Address each identified issue in the plugin code

.github/ISSUE_TEMPLATE/psalm-failure.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ assignees: []
1111
The Psalm static analysis check has failed for the repository.
1212

1313
**Failure Details:**
14+
1415
- **PHP Version:** {{ env.PHP_VERSION }}
1516
- **Workflow Run:** [View Details]({{ env.WORKFLOW_URL }})
1617
- **Run ID:** {{ env.RUN_ID }}
@@ -19,6 +20,7 @@ The Psalm static analysis check has failed for the repository.
1920
Psalm has detected potential issues in the code through static analysis.
2021

2122
**What needs to be done:**
23+
2224
1. Review the Psalm output in the failed workflow run
2325
2. Address static analysis issues such as:
2426
- Type errors
@@ -29,6 +31,7 @@ Psalm has detected potential issues in the code through static analysis.
2931
3. Test locally with: `composer run psalm`
3032

3133
**Resources:**
34+
3235
- [Psalm Documentation](https://psalm.dev/)
3336
- [Psalm Error Levels](https://psalm.dev/docs/running_psalm/error_levels/)
3437

.github/ISSUE_TEMPLATE/security-failure.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ assignees: []
1111
A security vulnerability has been detected in the project dependencies.
1212

1313
**Failure Details:**
14+
1415
- **PHP Version:** {{ env.PHP_VERSION }}
1516
- **Workflow Run:** [View Details]({{ env.WORKFLOW_URL }})
1617
- **Run ID:** {{ env.RUN_ID }}
@@ -19,6 +20,7 @@ A security vulnerability has been detected in the project dependencies.
1920
The security checker has identified known vulnerabilities in one or more of the project's dependencies.
2021

2122
**What needs to be done:**
23+
2224
1. Review the security check output in the failed workflow run
2325
2. Identify which dependencies have vulnerabilities
2426
3. Update vulnerable dependencies to secure versions
@@ -31,6 +33,7 @@ The security checker has identified known vulnerabilities in one or more of the
3133
**Priority:** This is a security issue and should be addressed immediately.
3234

3335
**Resources:**
36+
3437
- [Symfony Security Checker](https://github.com/FriendsOfPHP/security-advisories)
3538
- [WordPress Security Best Practices](https://developer.wordpress.org/plugins/security/)
3639

.github/ISSUE_TEMPLATE/vip-phpcs-failure.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,21 @@ The WordPress VIP coding standards check failed during the automated workflow. T
1919
The WordPress VIP Go coding standards check covers the following areas:
2020

2121
**Enterprise Platform Requirements:**
22+
2223
- File system operation restrictions (VIP platform limitations)
2324
- Performance and caching best practices for high-traffic sites
2425
- Security vulnerabilities specific to enterprise WordPress environments
2526
- User experience guidelines for enterprise-level WordPress
2627

2728
**Performance and Caching:**
29+
2830
- Uncached function usage patterns
2931
- Database query optimization
3032
- Remote data fetching best practices
3133
- Resource-heavy operation detection
3234

3335
**VIP-Specific Security:**
36+
3437
- File operation security in restricted environments
3538
- Admin bar removal restrictions for VIP support users
3639
- Cookie and caching constraint validations
@@ -39,6 +42,7 @@ The WordPress VIP Go coding standards check covers the following areas:
3942
### Important Notes
4043

4144
**VIP Standards Context:**
45+
4246
- Many VIP standards are specific to the WordPress VIP hosting platform
4347
- Not all VIP recommendations may apply to standard WordPress installations
4448
- Some restrictions are platform-specific (e.g., file system limitations)

.github/ISSUE_TEMPLATE/wp-dependencies-failure.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ assignees: []
1313
**Date:** {{ date | date('YYYY-MM-DD') }}
1414

1515
### Description
16+
1617
The WordPress dependencies monitoring check has failed during the automated testing process.
1718

1819
### What happened?
20+
1921
The WordPress dependencies monitoring action detected issues with dependencies. This could indicate:
2022

2123
- Outdated WordPress core dependencies
@@ -25,12 +27,14 @@ The WordPress dependencies monitoring action detected issues with dependencies.
2527
- Plugin dependency conflicts
2628

2729
### Potential Issues
30+
2831
- **WordPress Core Updates:** WordPress core may have been updated with breaking changes
2932
- **Plugin Dependencies:** Dependencies used by the plugin may be outdated or incompatible
3033
- **API Changes:** WordPress APIs used by the plugin may have changed
3134
- **Deprecated Functions:** The plugin may be using deprecated WordPress functions
3235

3336
### Next Steps
37+
3438
1. Review the workflow logs at the link above
3539
2. Check for specific dependency warnings or errors
3640
3. Update WordPress core compatibility if needed
@@ -40,6 +44,7 @@ The WordPress dependencies monitoring action detected issues with dependencies.
4044
7. Re-run the workflow to verify fixes
4145

4246
### Additional Information
47+
4348
- This monitoring helps ensure WordPress ecosystem compatibility
4449
- Regular dependency monitoring prevents future compatibility issues
4550
- Consider updating minimum WordPress version requirements if needed

0 commit comments

Comments
 (0)