This PR can be summarized in the following changelog entry:
N/A
Relevant technical choices:
I've done a compare between the composer.json config files in (nearly) all plugin repos.
This commit adds some additional properties to the config file to improve consistency with the other repos and predictability for devs.
Adds an explicit minimum PHP version for require.
Adds a config-yoastcs scripts for use by devs. The "old" version of this configure-phpcs was not in line with the other plugins, but has been left as an alias.
Makes the existing scripts respect the PHP version Composer is run on.
See Yoast/yoastcs#114 for a more detailed explanation.
Test instructions
This PR can be tested by following these steps:
Run composer install
Run each of the scripts defined in the composer.json file in turn to see that all still works as expected.
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
I've done a compare between the
composer.json
config files in (nearly) all plugin repos.This commit adds some additional properties to the config file to improve consistency with the other repos and predictability for devs.
require
.config-yoastcs
scripts for use by devs. The "old" version of thisconfigure-phpcs
was not in line with the other plugins, but has been left as an alias.Test instructions
This PR can be tested by following these steps:
composer install
composer.json
file in turn to see that all still works as expected.