From d484730c1dff038950c3966fe2477e79584072d9 Mon Sep 17 00:00:00 2001
From: Alexander Bias <bias@alexanderbias.de>
Date: Wed, 8 Dec 2021 21:28:08 +0100
Subject: [PATCH] Prepare compatibility for Moodle 3.11.

---
 .github/workflows/moodle-plugin-ci.yml | 4 ++--
 CHANGES.md                             | 4 ++++
 README.md                              | 2 +-
 version.php                            | 6 +++---
 4 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml
index dab7864..fbe0a26 100644
--- a/.github/workflows/moodle-plugin-ci.yml
+++ b/.github/workflows/moodle-plugin-ci.yml
@@ -27,8 +27,8 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        php: ['7.2', '7.3', '7.4']
-        moodle-branch: ['MOODLE_310_STABLE']
+        php: ['7.3', '7.4']
+        moodle-branch: ['MOODLE_311_STABLE']
         database: [pgsql, mariadb]
 
     steps:
diff --git a/CHANGES.md b/CHANGES.md
index ca56653..771ce44 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -4,6 +4,10 @@ moodle-theme_boost_campus
 Changes
 -------
 
+### Unreleased
+
+* 2021-12-08 - Prepare compatibility for Moodle 3.11.
+
 ### v3.10-r9
 
 * 2021-09-16 - Regression: The switch role functionality caused a fatal error with some theme configurations - Thanks to Klaus Steitz.
diff --git a/README.md b/README.md
index 9282760..c02b6e6 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Moodle Boost child theme which is intended to meet the needs of university campu
 Requirements
 ------------
 
-This plugin requires Moodle 3.10+
+This plugin requires Moodle 3.11+
 
 
 Motivation for this theme
diff --git a/version.php b/version.php
index 9845f69..e61150a 100644
--- a/version.php
+++ b/version.php
@@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die();
 $plugin->component = 'theme_boost_campus';
 $plugin->version = 2020112808;
 $plugin->release = 'v3.10-r9';
-$plugin->requires = 2020110900;
-$plugin->supported = [310, 310];
+$plugin->requires = 2021051700;
+$plugin->supported = [311, 311];
 $plugin->maturity = MATURITY_STABLE;
-$plugin->dependencies = array('theme_boost' => 2020110900);
+$plugin->dependencies = array('theme_boost' => 2021051700);
-- 
GitLab