Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set PHP version
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
with:
php-version: '7.4'
php-version: '8.2'
coverage: none
tools: cs2pr
- name: composer install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '8.4', '8.3', '8.2', '8.1', '8.0', '7.4' ]
php: [ '8.5', '8.4', '8.3', '8.2' ]
wp: [ latest, trunk ]
env:
WP_ENV_PHP_VERSION: ${{ matrix.php }}
Expand Down
6 changes: 3 additions & 3 deletions ad-refresh-control.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: https://github.com/10up/Ad-Refresh-Control
* Description: Enable Active View refresh for Google Ad Manager ads without needing to modify any code.
* Version: 1.2.0
* Requires PHP: 7.4
* Requires PHP: 8.2
* Author: 10up
* Author URI: https://10up.com
* License: GPL-2.0-or-later
Expand All @@ -29,7 +29,7 @@
* @return string Minimum version required.
*/
function minimum_php_requirement() {
return '7.4';
return '8.2';
}

/**
Expand All @@ -45,7 +45,7 @@ function site_meets_php_requirements() {
if ( ! site_meets_php_requirements() ) {
add_action(
'admin_notices',
function() {
function () {
?>
<div class="notice notice-error">
<p>
Expand Down
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@
}
],
"require": {
"php": ">=7.4"
"php": ">=8.2"
},
"autoload": {
"psr-4": {
"AdRefreshControl\\": "includes/classes/"
}
},
"require-dev": {
"10up/phpcs-composer": "dev-master",
"10up/phpcs-composer": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.6",
"wp-phpunit/wp-phpunit": "^6.9",
"yoast/phpunit-polyfills": "^4.0"
},
Expand All @@ -37,6 +39,9 @@
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "8.2.0"
}
}
}
Loading
Loading