File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 strategy :
1919 matrix :
2020 operating-system : [ ubuntu-latest ]
21- php-versions : [ 7.4, 8.0, 8.1 ]
21+ php-versions : [ "8.0", "8.1", "8.2" ]
2222 wp-versions : [ 'latest' ]
2323 coverage : [ true ]
2424 services :
4040 WORDPRESS_DB_USER : wp
4141 steps :
4242 - name : Checkout
43- uses : actions/checkout@v2
43+ uses : actions/checkout@v3
4444 with :
4545 fetch-depth : 0 # No shallow clone, we need all history!
4646
@@ -57,13 +57,13 @@ jobs:
5757
5858 - name : Get composer cache directory
5959 id : composercache
60- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
60+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
6161
6262 - name : Cache dependencies
63- uses : actions/cache@v2
63+ uses : actions/cache@v3
6464 with :
6565 path : ${{ steps.composercache.outputs.dir }}
66- key : php-${{ runner.os }}-composer-${{ hashFiles('**/composer.lock ') }}
66+ key : php-${{ runner.os }}-composer-${{ hashFiles('**/composer.json ') }}
6767 restore-keys : ${{ runner.os }}-composer-
6868
6969 - name : Install dependencies
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66
77# UNRELEASED
88
9+ ## 3.7.0 - 2023-02-16
10+ - Set minimum PHP version to 8.0.
11+
912## 3.6.1 - 2022-08-09
1013- Add mew ` WpSettingsApi::HOOK_INIT_SLUG__S ` action hook, which would allow hooks only on current
1114` getPluginInfo()->getMenuSlug() ` .
Original file line number Diff line number Diff line change 1818 },
1919 "optimize-autoloader" : true ,
2020 "platform" : {
21- "php" : " 7.4 "
21+ "php" : " 8.0 "
2222 },
2323 "sort-packages" : true
2424 },
2525 "minimum-stability" : " dev" ,
2626 "require" : {
27- "php" : " ^7.4 || ^ 8.0" ,
27+ "php" : " ^8.0" ,
2828 "ext-json" : " *" ,
2929 "thefrosty/wp-utilities" : " ^2.8"
3030 },
3737 "phpunit/phpunit" : " ^9" ,
3838 "roave/security-advisories" : " dev-master" ,
3939 "roots/wordpress" : " ~6.1.1" ,
40- "slevomat/coding-standard" : " ~4.0 " ,
40+ "slevomat/coding-standard" : " ~7.2 " ,
4141 "squizlabs/php_codesniffer" : " ^3.2" ,
4242 "wp-phpunit/wp-phpunit" : " ~6.1.1" ,
4343 "yoast/phpunit-polyfills" : " ^1.0.2"
Original file line number Diff line number Diff line change 11{
22 "name" : " wp-settings-api" ,
3- "version" : " 3.2 .0" ,
3+ "version" : " 3.7 .0" ,
44 "private" : true ,
55 "author" :
" Austin Passy <[email protected] >" ,
66 "scripts" : {
7- "travis" : " if [ \" $TRAVIS_COMMIT_RANGE\" ]; then standard $TRAVIS_COMMIT_RANGE; else standard; fi" ,
87 "eslint" : " ./vendor/thefrosty/wp-utilities/bin/eslint.sh"
98 },
109 "standard" : {
Original file line number Diff line number Diff line change 2222 <arg name =" tab-width" value =" 4" />
2323 <!-- For CI, don't fail on warnings -->
2424 <config name =" ignore_warnings_on_exit" value =" 1" />
25- <config name =" minimum_supported_wp_version" value =" 5.5 " />
25+ <config name =" minimum_supported_wp_version" value =" 6.0 " />
2626
2727 <rule ref =" Inpsyde" >
2828 <exclude name =" Inpsyde.CodeQuality.NoAccessors.NoGetter" />
4444
4545 <!-- Loads the PHP Compatibility ruleset. -->
4646 <rule ref =" PHPCompatibility" />
47- <!-- Check for cross-version support for PHP 7.4 and higher. -->
48- <config name =" testVersion" value =" 7.4 -" />
47+ <!-- Check for cross-version support for PHP 8.0 and higher. -->
48+ <config name =" testVersion" value =" 8.0 -" />
4949</ruleset >
Original file line number Diff line number Diff line change 1212 </php >
1313 <testsuites >
1414 <testsuite name =" unit" >
15- <directory phpVersion =" 7.4 " phpVersionOperator =" >=" suffix =" Test.php" >./tests/unit</directory >
15+ <directory phpVersion =" 8.0 " phpVersionOperator =" >=" suffix =" Test.php" >./tests/unit</directory >
1616 </testsuite >
1717 </testsuites >
1818
You can’t perform that action at this time.
0 commit comments