Skip to content

Commit cad44f6

Browse files
committed
Clarify the minimum required / oldest supported PHP version in the contributing guidelines.
1 parent e430a82 commit cad44f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Thank you for your interest in contributing to the PHP AI Client package! Here y
66

77
While this project is stewarded by [WordPress AI Team](https://make.wordpress.org/ai/) members and contributors, it is a WordPress agnostic PHP package that can benefit any project in the PHP ecosystem. As such, all code must follow the [PSR-12 Coding Standards](https://www.php-fig.org/psr/psr-12/).
88

9+
All parameters, return values, and properties must use explicit type hints, except in cases where providing the correct type hint would be impossible given limitations of the oldest supported PHP version (see below).
10+
11+
## PHP Compatibility
12+
13+
All code must be backward compatible with PHP 7.4, which is the minimum required PHP version for this project.
14+
915
## Guidelines
1016

1117
- As with all WordPress projects, we want to ensure a welcoming environment for everyone. With that in mind, all contributors are expected to follow our [Code of Conduct](https://make.wordpress.org/handbook/community-code-of-conduct/).

0 commit comments

Comments
 (0)