From b833ec94ab1d0d4933f9e15a3df37bab980e8672 Mon Sep 17 00:00:00 2001 From: Gareth Parker Date: Sat, 24 Aug 2024 01:02:20 +0100 Subject: [PATCH] Removing more deprecation --- .github/workflows/php.yml | 2 +- ...ta set #0.json => APITest.testGetFolderByDisplayName.json} | 0 ...with data set #0.json => APITest.testListItemChanges.json} | 0 tests/src/APITest.php | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename Resources/recordings/garethp/ews/Test/{APITest.testGetFolderByDisplayName with data set #0.json => APITest.testGetFolderByDisplayName.json} (100%) rename Resources/recordings/garethp/ews/Test/{APITest.testListItemChanges with data set #0.json => APITest.testListItemChanges.json} (100%) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 771fefe6..a814b02d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '8.0', '8.1', '8.2', '8.3' ] + php: [ '8.2', '8.3' ] name: PHP ${{ matrix.php }} steps: - name: Checkout diff --git a/Resources/recordings/garethp/ews/Test/APITest.testGetFolderByDisplayName with data set #0.json b/Resources/recordings/garethp/ews/Test/APITest.testGetFolderByDisplayName.json similarity index 100% rename from Resources/recordings/garethp/ews/Test/APITest.testGetFolderByDisplayName with data set #0.json rename to Resources/recordings/garethp/ews/Test/APITest.testGetFolderByDisplayName.json diff --git a/Resources/recordings/garethp/ews/Test/APITest.testListItemChanges with data set #0.json b/Resources/recordings/garethp/ews/Test/APITest.testListItemChanges.json similarity index 100% rename from Resources/recordings/garethp/ews/Test/APITest.testListItemChanges with data set #0.json rename to Resources/recordings/garethp/ews/Test/APITest.testListItemChanges.json diff --git a/tests/src/APITest.php b/tests/src/APITest.php index 646ccc92..99388b24 100644 --- a/tests/src/APITest.php +++ b/tests/src/APITest.php @@ -341,14 +341,14 @@ public function testListItemChanges($folderInput) * * @return array */ - public function listChangesProvider() + public static function listChangesProvider() { return array( array(array('Test', 'calendar')) ); } - public function getFolderByDisplayNameProvider() + public static function getFolderByDisplayNameProvider() { return array( array('Common Views', 'Common Views')