From df70f995bc53b84c2451509d9494edaf54ade2dd Mon Sep 17 00:00:00 2001 From: Christoffer Pohl Date: Sat, 26 Aug 2023 11:11:11 +0200 Subject: [PATCH 01/15] update gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ad5312d..c53c8f6 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,6 @@ ### Binary Artefacts ## Translation Files *.mo + +## REST Test +request.http \ No newline at end of file From 0766d2ef538060657771d9318e1de73c5830c536 Mon Sep 17 00:00:00 2001 From: Christoffer Pohl Date: Sat, 26 Aug 2023 11:24:42 +0200 Subject: [PATCH 02/15] hotfix settings.js, class-rotaract-appointments-admin.php --- .jshintrc | 2 +- admin/class-rotaract-appointments-admin.php | 5 +- admin/js/settings.js | 96 ++++++++++----------- 3 files changed, 52 insertions(+), 51 deletions(-) diff --git a/.jshintrc b/.jshintrc index fc85e22..0123783 100644 --- a/.jshintrc +++ b/.jshintrc @@ -2,7 +2,7 @@ "bitwise": true, "curly": true, "eqeqeq": true, - "esversion": 6, + "esversion": 11, "forin": false, "freeze": true, "futurehostile": true, diff --git a/admin/class-rotaract-appointments-admin.php b/admin/class-rotaract-appointments-admin.php index f4a3106..14f3f1d 100644 --- a/admin/class-rotaract-appointments-admin.php +++ b/admin/class-rotaract-appointments-admin.php @@ -316,8 +316,9 @@ public function appointment_ics_field( array $args ) { * * @param bool $is_new True if this intends to be a new owner. * @param int $index Index of the parameter. - * @param string|null $owner_name The owner's name. - * @param string|null $owner_color Selected color. + * @param string|null $feed_name The feed's name. + * @param string|null $feed_url The feed's url. + * @param string|null $feed_color Selected color. */ private function print_ics_line( bool $is_new, int $index, string $feed_name = null, string $feed_url = null, string $feed_color = null ) { $color_palette = $this->get_palette(); diff --git a/admin/js/settings.js b/admin/js/settings.js index 4b048f1..4733da1 100644 --- a/admin/js/settings.js +++ b/admin/js/settings.js @@ -15,7 +15,7 @@ addEventListeners(); * Initializes LC-select targeting the select field. */ function lcSelectInit() { - new lc_select( + lc_select( 'select.lc-select', { enable_search: true, @@ -31,11 +31,11 @@ function lcSelectInit() { * Removes LC-select resulting in plain HTML select field. */ function lcSelectDestroy() { - const destroyEvent = new Event( 'lc-select-destroy' ); - const lcSelectElements = document.querySelectorAll( 'select.lc-select' ); + const destroyEvent = new Event('lc-select-destroy'); + const lcSelectElements = document.querySelectorAll('select.lc-select'); lcSelectElements.forEach( function (lcSelect) { - lcSelect.dispatchEvent( destroyEvent ); + lcSelect.dispatchEvent(destroyEvent); } ); } @@ -48,57 +48,57 @@ function lcSelectDestroy() { */ function addEventListeners() { // Add Delete Listeners. - const delBtns = document.querySelectorAll( 'button.delete-line' ); + const delBtns = document.querySelectorAll('button.delete-line'); delBtns.forEach( - function( delBtn ) { - delBtn.addEventListener( 'click', delLine ); + function (delBtn) { + delBtn.addEventListener('click', delLine); } ); - document.querySelector( 'button.add-owner' )?.addEventListener( 'click', addOwner ); - document.querySelector( 'button.add-ics' )?.addEventListener( 'click', addFeed ); + document.querySelector('button.add-owner')?.addEventListener('click', addOwner); + document.querySelector('button.add-ics')?.addEventListener('click', addFeed); } /** * Adds new owner whose events to display. */ -function addOwner( event = null ) { - if ( event ) { +function addOwner(event = null) { + if (event) { event.preventDefault(); } - const owners = document.querySelectorAll( '.owner-group select.owner-name' ); + const owners = document.querySelectorAll('.owner-group select.owner-name'); let newIndex = 0; owners.forEach( function (owner) { - let i = parseInt( owner.getAttribute( 'name' ).split( /\[|\]/ )[1] ); - newIndex = Math.max( newIndex, i ); + let i = parseInt(owner.getAttribute('name').split(/\[|\]/)[1]); + newIndex = Math.max(newIndex, i); } ); newIndex += 1; lcSelectDestroy(); - let newOwner = document.querySelector( '.owner-group' ).cloneNode( true ); - let newSelectName = newOwner.querySelector( 'select.owner-name' ); - let newSelectColor = newOwner.querySelector( 'select.owner-color' ); + let newOwner = document.querySelector('.owner-group').cloneNode(true); + let newSelectName = newOwner.querySelector('select.owner-name'); + let newSelectColor = newOwner.querySelector('select.owner-color'); newOwner.style.backgroundColor = null; - newOwner.style.borderColor = null; + newOwner.style.borderColor = null; - newSelectName.setAttribute( 'name', newSelectName.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); - newSelectColor.setAttribute( 'name', newSelectColor.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); + newSelectName.setAttribute('name', newSelectName.getAttribute('name').replace(/\d+/, newIndex)); + newSelectColor.setAttribute('name', newSelectColor.getAttribute('name').replace(/\d+/, newIndex)); - newSelectName.value = null; + newSelectName.value = null; newSelectColor.value = null; - newOwner.querySelectorAll( 'option' ).forEach( + newOwner.querySelectorAll('option').forEach( function (option) { - option.removeAttribute( 'selected' ); + option.removeAttribute('selected'); } ); - document.getElementById( 'rotaract-appointment-owner' ).append( newOwner ); + document.getElementById('rotaract-appointment-owner').append(newOwner); lcSelectInit(); addEventListeners(); @@ -107,46 +107,46 @@ function addOwner( event = null ) { /** * Adds new ics calendar feeds. */ -function addFeed( event = null ) { - if ( event ) { +function addFeed(event = null) { + if (event) { event.preventDefault(); } - const owners = document.querySelectorAll( '.ics-group input.feed-name' ); + const owners = document.querySelectorAll('.ics-group input.feed-name'); let newIndex = 0; owners.forEach( function (feed) { - let i = parseInt( feed.getAttribute( 'name' ).split( /\[|\]/ )[1] ); - newIndex = Math.max( newIndex, i ); + let i = parseInt(feed.getAttribute('name').split(/\[|\]/)[1]); + newIndex = Math.max(newIndex, i); } ); newIndex += 1; lcSelectDestroy(); - let newFeed = document.querySelector( '.ics-group' ).cloneNode( true ); - let newInputName = newFeed.querySelector( 'input.feed-name' ); - let newInputUrl = newFeed.querySelector( 'input.feed-url' ); - let newSelectColor = newFeed.querySelector( 'select.feed-color' ); + let newFeed = document.querySelector('.ics-group').cloneNode(true); + let newInputName = newFeed.querySelector('input.feed-name'); + let newInputUrl = newFeed.querySelector('input.feed-url'); + let newSelectColor = newFeed.querySelector('select.feed-color'); newFeed.style.backgroundColor = null; - newFeed.style.borderColor = null; + newFeed.style.borderColor = null; - newInputName.setAttribute( 'name', newInputName.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); - newInputUrl.setAttribute( 'name', newInputUrl.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); - newSelectColor.setAttribute( 'name', newSelectColor.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); + newInputName.setAttribute('name', newInputName.getAttribute('name').replace(/\d+/, newIndex)); + newInputUrl.setAttribute('name', newInputUrl.getAttribute('name').replace(/\d+/, newIndex)); + newSelectColor.setAttribute('name', newSelectColor.getAttribute('name').replace(/\d+/, newIndex)); - newInputName.value = null; - newInputUrl.value = null; + newInputName.value = null; + newInputUrl.value = null; newSelectColor.value = null; - newFeed.querySelectorAll( 'option' ).forEach( + newFeed.querySelectorAll('option').forEach( function (option) { - option.removeAttribute( 'selected' ); + option.removeAttribute('selected'); } ); - document.getElementById( 'rotaract-appointment-ics' ).append( newFeed ); + document.getElementById('rotaract-appointment-ics').append(newFeed); lcSelectInit(); addEventListeners(); @@ -155,12 +155,12 @@ function addFeed( event = null ) { /** * Removes owner selection. */ -function delLine( event ) { +function delLine(event) { event.preventDefault(); - if ( document.querySelectorAll( '.appointment-line' ).length < 2 ) { + if (document.querySelectorAll('.appointment-line').length < 2) { addOwner(); } - event.target.closest( '.appointment-line' ).remove(); + event.target.closest('.appointment-line').remove(); } /** @@ -169,8 +169,8 @@ function delLine( event ) { * @param newValue * @param targetField */ -function changeColor( newValue, targetField) { - const style = targetField.closest( '.appointment-line' ).style; +function changeColor(newValue, targetField) { + const style = targetField.closest('.appointment-line').style; style.backgroundColor = newValue + '25'; - style.borderColor = newValue; + style.borderColor = newValue; } From 99bbb4304707c04b9c27e84f847ca0018b2d1cef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 05:02:48 +0000 Subject: [PATCH 03/15] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/lint.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 376569d..bc54fa4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: extensions: imagick key: rotaract-club-finder # an be any string, change to clear the extension cache. steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 4a452bb..ad04653 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3daf38c..a6bf5a8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Composer packages id: composer-cache @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v3 From 9a69d680fdd30834b61415a4ce8cac94461ba73d Mon Sep 17 00:00:00 2001 From: Niklas Zbick Date: Wed, 20 Sep 2023 17:57:45 +0200 Subject: [PATCH 04/15] Set version 2.1.2 --- rotaract-appointments.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rotaract-appointments.php b/rotaract-appointments.php index 3f6a101..f06e179 100644 --- a/rotaract-appointments.php +++ b/rotaract-appointments.php @@ -16,7 +16,7 @@ * Plugin Name: Rotaract Appointments * Plugin URI: https://github.com/rotaract/rotaract-appointments * Description: WordPress plugin for displaying appointments from Elastic. - * Version: 2.1.1 + * Version: 2.1.2 * Author: Ressort IT-Entwicklung - Rotaract Deutschland * Author URI: https://rotaract.de/ueber-rotaract/rdk/ * License: EUPL-1.2 @@ -35,7 +35,7 @@ * Start at version 1.0.0 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define( 'ROTARACT_APPOINTMENTS_VERSION', '2.1.1' ); +define( 'ROTARACT_APPOINTMENTS_VERSION', '2.1.2' ); /** * The core plugin class that is used to define internationalization, From 64e8b7756c5b6ad8df609e1995799ced1c3027d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Sep 2023 21:06:33 +0000 Subject: [PATCH 05/15] Bump composer/composer from 2.2.21 to 2.2.22 Bumps [composer/composer](https://github.com/composer/composer) from 2.2.21 to 2.2.22. - [Release notes](https://github.com/composer/composer/releases) - [Changelog](https://github.com/composer/composer/blob/2.2.22/CHANGELOG.md) - [Commits](https://github.com/composer/composer/compare/2.2.21...2.2.22) --- updated-dependencies: - dependency-name: composer/composer dependency-type: indirect ... Signed-off-by: dependabot[bot] --- composer.lock | 194 +++++++++++++++++++++++++------------------------- 1 file changed, 97 insertions(+), 97 deletions(-) diff --git a/composer.lock b/composer.lock index 2b10160..61e4e4e 100644 --- a/composer.lock +++ b/composer.lock @@ -997,16 +997,16 @@ "packages-dev": [ { "name": "composer/ca-bundle", - "version": "1.3.5", + "version": "1.3.7", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd" + "reference": "76e46335014860eec1aa5a724799a00a2e47cc85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd", - "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/76e46335014860eec1aa5a724799a00a2e47cc85", + "reference": "76e46335014860eec1aa5a724799a00a2e47cc85", "shasum": "" }, "require": { @@ -1053,7 +1053,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.3.5" + "source": "https://github.com/composer/ca-bundle/tree/1.3.7" }, "funding": [ { @@ -1069,20 +1069,20 @@ "type": "tidelift" } ], - "time": "2023-01-11T08:27:00+00:00" + "time": "2023-08-30T09:31:38+00:00" }, { "name": "composer/composer", - "version": "2.2.21", + "version": "2.2.22", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "978198befc71de0b18fc1fc5a472c03b184b504a" + "reference": "fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/978198befc71de0b18fc1fc5a472c03b184b504a", - "reference": "978198befc71de0b18fc1fc5a472c03b184b504a", + "url": "https://api.github.com/repos/composer/composer/zipball/fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa", + "reference": "fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa", "shasum": "" }, "require": { @@ -1152,7 +1152,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.2.21" + "source": "https://github.com/composer/composer/tree/2.2.22" }, "funding": [ { @@ -1168,7 +1168,7 @@ "type": "tidelift" } ], - "time": "2023-02-15T12:07:40+00:00" + "time": "2023-09-29T08:53:46+00:00" }, { "name": "composer/metadata-minifier", @@ -1312,16 +1312,16 @@ }, { "name": "composer/semver", - "version": "3.3.2", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", "shasum": "" }, "require": { @@ -1371,9 +1371,9 @@ "versioning" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.3.2" + "source": "https://github.com/composer/semver/tree/3.4.0" }, "funding": [ { @@ -1389,7 +1389,7 @@ "type": "tidelift" } ], - "time": "2022-04-01T19:23:25+00:00" + "time": "2023-08-31T09:50:34+00:00" }, { "name": "composer/spdx-licenses", @@ -1830,16 +1830,16 @@ }, { "name": "justinrainbow/json-schema", - "version": "5.2.12", + "version": "v5.2.13", "source": { "type": "git", "url": "https://github.com/justinrainbow/json-schema.git", - "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60" + "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", - "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793", + "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793", "shasum": "" }, "require": { @@ -1894,9 +1894,9 @@ ], "support": { "issues": "https://github.com/justinrainbow/json-schema/issues", - "source": "https://github.com/justinrainbow/json-schema/tree/5.2.12" + "source": "https://github.com/justinrainbow/json-schema/tree/v5.2.13" }, - "time": "2022-04-13T08:02:27+00:00" + "time": "2023-09-26T02:20:38+00:00" }, { "name": "mck89/peast", @@ -2395,16 +2395,16 @@ }, { "name": "symfony/console", - "version": "v5.4.24", + "version": "v5.4.28", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8" + "reference": "f4f71842f24c2023b91237c72a365306f3c58827" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8", - "reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8", + "url": "https://api.github.com/repos/symfony/console/zipball/f4f71842f24c2023b91237c72a365306f3c58827", + "reference": "f4f71842f24c2023b91237c72a365306f3c58827", "shasum": "" }, "require": { @@ -2474,7 +2474,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.24" + "source": "https://github.com/symfony/console/tree/v5.4.28" }, "funding": [ { @@ -2490,20 +2490,20 @@ "type": "tidelift" } ], - "time": "2023-05-26T05:13:16+00:00" + "time": "2023-08-07T06:12:30+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.23", + "version": "v5.4.25", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5" + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5", - "reference": "b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", "shasum": "" }, "require": { @@ -2538,7 +2538,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.23" + "source": "https://github.com/symfony/filesystem/tree/v5.4.25" }, "funding": [ { @@ -2554,20 +2554,20 @@ "type": "tidelift" } ], - "time": "2023-03-02T11:38:35+00:00" + "time": "2023-05-31T13:04:02+00:00" }, { "name": "symfony/finder", - "version": "v5.4.21", + "version": "v5.4.27", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19" + "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/078e9a5e1871fcfe6a5ce421b539344c21afef19", - "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19", + "url": "https://api.github.com/repos/symfony/finder/zipball/ff4bce3c33451e7ec778070e45bd23f74214cd5d", + "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d", "shasum": "" }, "require": { @@ -2601,7 +2601,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.21" + "source": "https://github.com/symfony/finder/tree/v5.4.27" }, "funding": [ { @@ -2617,20 +2617,20 @@ "type": "tidelift" } ], - "time": "2023-02-16T09:33:00+00:00" + "time": "2023-07-31T08:02:31+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", "shasum": "" }, "require": { @@ -2645,7 +2645,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2683,7 +2683,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" }, "funding": [ { @@ -2699,20 +2699,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354" + "reference": "875e90aeea2777b6f135677f618529449334a612" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", + "reference": "875e90aeea2777b6f135677f618529449334a612", "shasum": "" }, "require": { @@ -2724,7 +2724,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2764,7 +2764,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" }, "funding": [ { @@ -2780,20 +2780,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", "shasum": "" }, "require": { @@ -2805,7 +2805,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2848,7 +2848,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" }, "funding": [ { @@ -2864,20 +2864,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + "reference": "42292d99c55abe617799667f454222c54c60e229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", + "reference": "42292d99c55abe617799667f454222c54c60e229", "shasum": "" }, "require": { @@ -2892,7 +2892,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2931,7 +2931,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" }, "funding": [ { @@ -2947,20 +2947,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-07-28T09:04:16+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", "shasum": "" }, "require": { @@ -2969,7 +2969,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3010,7 +3010,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.0" }, "funding": [ { @@ -3026,20 +3026,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", "shasum": "" }, "require": { @@ -3048,7 +3048,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3093,7 +3093,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" }, "funding": [ { @@ -3109,20 +3109,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/process", - "version": "v5.4.24", + "version": "v5.4.28", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "e3c46cc5689c8782944274bb30702106ecbe3b64" + "reference": "45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e3c46cc5689c8782944274bb30702106ecbe3b64", - "reference": "e3c46cc5689c8782944274bb30702106ecbe3b64", + "url": "https://api.github.com/repos/symfony/process/zipball/45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b", + "reference": "45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b", "shasum": "" }, "require": { @@ -3155,7 +3155,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.24" + "source": "https://github.com/symfony/process/tree/v5.4.28" }, "funding": [ { @@ -3171,7 +3171,7 @@ "type": "tidelift" } ], - "time": "2023-05-17T11:26:05+00:00" + "time": "2023-08-07T10:36:04+00:00" }, { "name": "symfony/service-contracts", @@ -3258,16 +3258,16 @@ }, { "name": "symfony/string", - "version": "v5.4.22", + "version": "v5.4.26", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62" + "reference": "1181fe9270e373537475e826873b5867b863883c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/8036a4c76c0dd29e60b6a7cafcacc50cf088ea62", - "reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62", + "url": "https://api.github.com/repos/symfony/string/zipball/1181fe9270e373537475e826873b5867b863883c", + "reference": "1181fe9270e373537475e826873b5867b863883c", "shasum": "" }, "require": { @@ -3324,7 +3324,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.22" + "source": "https://github.com/symfony/string/tree/v5.4.26" }, "funding": [ { @@ -3340,7 +3340,7 @@ "type": "tidelift" } ], - "time": "2023-03-14T06:11:53+00:00" + "time": "2023-06-28T12:46:07+00:00" }, { "name": "wp-cli/cache-command", From 97fd0506acfa8beb065209bd51e6538723226198 Mon Sep 17 00:00:00 2001 From: Christoffer Pohl Date: Mon, 9 Oct 2023 17:08:20 +0200 Subject: [PATCH 06/15] wpcs update --- .gitignore | 3 - admin/class-rotaract-appointments-admin.php | 11 +- admin/js/settings.js | 80 +- composer.json | 10 +- composer.lock | 929 ++++++++++-------- includes/class-rotaract-appointments-i18n.php | 2 - .../class-rotaract-appointments-loader.php | 2 - includes/class-rotaract-appointments.php | 1 - phpcs.xml | 1 + public/class-rotaract-appointments-public.php | 75 +- rotaract-appointments.php | 1 - 11 files changed, 633 insertions(+), 482 deletions(-) diff --git a/.gitignore b/.gitignore index c53c8f6..ad5312d 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,3 @@ ### Binary Artefacts ## Translation Files *.mo - -## REST Test -request.http \ No newline at end of file diff --git a/admin/class-rotaract-appointments-admin.php b/admin/class-rotaract-appointments-admin.php index 14f3f1d..c66c2b2 100644 --- a/admin/class-rotaract-appointments-admin.php +++ b/admin/class-rotaract-appointments-admin.php @@ -71,7 +71,6 @@ public function __construct( string $rotaract_appointments, string $version, Rot $this->rotaract_appointments = $rotaract_appointments; $this->version = $version; $this->elastic_caller = $elastic_caller; - } /** @@ -83,7 +82,6 @@ public function enqueue_styles() { wp_enqueue_style( '$this->rotaract_appointments', plugins_url( 'css/admin.css', __FILE__ ), array(), $this->version, 'all' ); wp_enqueue_style( 'lc-select-light', plugins_url( 'node_modules/lc-select/themes/light.css', __DIR__ ), array(), $this->lc_select_version, 'all' ); - } /** @@ -109,7 +107,6 @@ public function enqueue_scripts() { ), ) ); - } /** @@ -122,7 +119,6 @@ public function enqueue_scripts() { private function get_partial( string $filename ): string { return plugin_dir_path( __FILE__ ) . 'partials/' . $filename; - } /** @@ -131,7 +127,6 @@ private function get_partial( string $filename ): string { public function elastic_missing_notice() { include $this->get_partial( 'notice-elastic-missing.php' ); - } /** @@ -209,7 +204,7 @@ public function admin_menu() { add_menu_page( 'Rotaract', 'Rotaract', - 'administrator', + 'manage_options', 'rotaract', array( $this, 'rotaract_settings_html' ), plugins_url( 'images/wheel.svg', __DIR__ ), @@ -240,7 +235,6 @@ public function rotaract_settings_html() { settings_errors( 'rotaract_messages' ); include $this->get_partial( 'page-rotaract-settings.php' ); - } /** @@ -269,7 +263,6 @@ private function get_palette() { public function rotaract_appointment_section( array $args ) { include $this->get_partial( 'section-rotaract-appointments.php' ); - } /** @@ -384,7 +377,5 @@ public function sanitize_rotaract_appointment_ics( ?array $input ): array { public function appointment_owners_shortcode_manual( array $args ) { include $this->get_partial( 'field-shortcode-manual.php' ); - } - } diff --git a/admin/js/settings.js b/admin/js/settings.js index 4733da1..dbfb844 100644 --- a/admin/js/settings.js +++ b/admin/js/settings.js @@ -31,11 +31,11 @@ function lcSelectInit() { * Removes LC-select resulting in plain HTML select field. */ function lcSelectDestroy() { - const destroyEvent = new Event('lc-select-destroy'); - const lcSelectElements = document.querySelectorAll('select.lc-select'); + const destroyEvent = new Event( 'lc-select-destroy' ); + const lcSelectElements = document.querySelectorAll( 'select.lc-select' ); lcSelectElements.forEach( function (lcSelect) { - lcSelect.dispatchEvent(destroyEvent); + lcSelect.dispatchEvent( destroyEvent ); } ); } @@ -48,15 +48,15 @@ function lcSelectDestroy() { */ function addEventListeners() { // Add Delete Listeners. - const delBtns = document.querySelectorAll('button.delete-line'); + const delBtns = document.querySelectorAll( 'button.delete-line' ); delBtns.forEach( function (delBtn) { - delBtn.addEventListener('click', delLine); + delBtn.addEventListener( 'click', delLine ); } ); - document.querySelector('button.add-owner')?.addEventListener('click', addOwner); - document.querySelector('button.add-ics')?.addEventListener('click', addFeed); + document.querySelector( 'button.add-owner' ) ? .addEventListener( 'click', addOwner ); + document.querySelector( 'button.add-ics' ) ? .addEventListener( 'click', addFeed ); } /** @@ -67,38 +67,38 @@ function addOwner(event = null) { event.preventDefault(); } - const owners = document.querySelectorAll('.owner-group select.owner-name'); + const owners = document.querySelectorAll( '.owner-group select.owner-name' ); let newIndex = 0; owners.forEach( function (owner) { - let i = parseInt(owner.getAttribute('name').split(/\[|\]/)[1]); - newIndex = Math.max(newIndex, i); + let i = parseInt( owner.getAttribute( 'name' ).split( /\[|\]/ )[1] ); + newIndex = Math.max( newIndex, i ); } ); newIndex += 1; lcSelectDestroy(); - let newOwner = document.querySelector('.owner-group').cloneNode(true); - let newSelectName = newOwner.querySelector('select.owner-name'); - let newSelectColor = newOwner.querySelector('select.owner-color'); + let newOwner = document.querySelector( '.owner-group' ).cloneNode( true ); + let newSelectName = newOwner.querySelector( 'select.owner-name' ); + let newSelectColor = newOwner.querySelector( 'select.owner-color' ); newOwner.style.backgroundColor = null; - newOwner.style.borderColor = null; + newOwner.style.borderColor = null; - newSelectName.setAttribute('name', newSelectName.getAttribute('name').replace(/\d+/, newIndex)); - newSelectColor.setAttribute('name', newSelectColor.getAttribute('name').replace(/\d+/, newIndex)); + newSelectName.setAttribute( 'name', newSelectName.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); + newSelectColor.setAttribute( 'name', newSelectColor.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); - newSelectName.value = null; + newSelectName.value = null; newSelectColor.value = null; - newOwner.querySelectorAll('option').forEach( + newOwner.querySelectorAll( 'option' ).forEach( function (option) { - option.removeAttribute('selected'); + option.removeAttribute( 'selected' ); } ); - document.getElementById('rotaract-appointment-owner').append(newOwner); + document.getElementById( 'rotaract-appointment-owner' ).append( newOwner ); lcSelectInit(); addEventListeners(); @@ -112,41 +112,41 @@ function addFeed(event = null) { event.preventDefault(); } - const owners = document.querySelectorAll('.ics-group input.feed-name'); + const owners = document.querySelectorAll( '.ics-group input.feed-name' ); let newIndex = 0; owners.forEach( function (feed) { - let i = parseInt(feed.getAttribute('name').split(/\[|\]/)[1]); - newIndex = Math.max(newIndex, i); + let i = parseInt( feed.getAttribute( 'name' ).split( /\[|\]/ )[1] ); + newIndex = Math.max( newIndex, i ); } ); newIndex += 1; lcSelectDestroy(); - let newFeed = document.querySelector('.ics-group').cloneNode(true); - let newInputName = newFeed.querySelector('input.feed-name'); - let newInputUrl = newFeed.querySelector('input.feed-url'); - let newSelectColor = newFeed.querySelector('select.feed-color'); + let newFeed = document.querySelector( '.ics-group' ).cloneNode( true ); + let newInputName = newFeed.querySelector( 'input.feed-name' ); + let newInputUrl = newFeed.querySelector( 'input.feed-url' ); + let newSelectColor = newFeed.querySelector( 'select.feed-color' ); newFeed.style.backgroundColor = null; - newFeed.style.borderColor = null; + newFeed.style.borderColor = null; - newInputName.setAttribute('name', newInputName.getAttribute('name').replace(/\d+/, newIndex)); - newInputUrl.setAttribute('name', newInputUrl.getAttribute('name').replace(/\d+/, newIndex)); - newSelectColor.setAttribute('name', newSelectColor.getAttribute('name').replace(/\d+/, newIndex)); + newInputName.setAttribute( 'name', newInputName.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); + newInputUrl.setAttribute( 'name', newInputUrl.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); + newSelectColor.setAttribute( 'name', newSelectColor.getAttribute( 'name' ).replace( /\d+/, newIndex ) ); - newInputName.value = null; - newInputUrl.value = null; + newInputName.value = null; + newInputUrl.value = null; newSelectColor.value = null; - newFeed.querySelectorAll('option').forEach( + newFeed.querySelectorAll( 'option' ).forEach( function (option) { - option.removeAttribute('selected'); + option.removeAttribute( 'selected' ); } ); - document.getElementById('rotaract-appointment-ics').append(newFeed); + document.getElementById( 'rotaract-appointment-ics' ).append( newFeed ); lcSelectInit(); addEventListeners(); @@ -157,10 +157,10 @@ function addFeed(event = null) { */ function delLine(event) { event.preventDefault(); - if (document.querySelectorAll('.appointment-line').length < 2) { + if (document.querySelectorAll( '.appointment-line' ).length < 2) { addOwner(); } - event.target.closest('.appointment-line').remove(); + event.target.closest( '.appointment-line' ).remove(); } /** @@ -170,7 +170,7 @@ function delLine(event) { * @param targetField */ function changeColor(newValue, targetField) { - const style = targetField.closest('.appointment-line').style; + const style = targetField.closest( '.appointment-line' ).style; style.backgroundColor = newValue + '25'; - style.borderColor = newValue; + style.borderColor = newValue; } diff --git a/composer.json b/composer.json index be411c7..6740210 100644 --- a/composer.json +++ b/composer.json @@ -25,14 +25,13 @@ "erusev/parsedown": "1.8.0-beta-7" }, "require-dev": { - "wp-cli/wp-cli-bundle": "^2.6", - "wp-coding-standards/wpcs": "^2.3", - "phpcompatibility/php-compatibility": "^9.3.5", - "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0" + "wp-cli/wp-cli-bundle": "^2.8", + "wp-coding-standards/wpcs": "^3.0", + "phpcompatibility/php-compatibility": "^9.3" }, "minimum-stability": "stable", "scripts": { - "lint": "phpcs --standard=phpcs.xml", + "lint": "phpcs . --standard=phpcs.xml", "translate": "wp i18n make-mo languages" }, "config": { @@ -40,6 +39,7 @@ "php": "8.0" }, "allow-plugins": { + "php-http/discovery": true, "dealerdirect/phpcodesniffer-composer-installer": true } } diff --git a/composer.lock b/composer.lock index 2b10160..fbb5b8d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ff2ff1dd8959158067f9154503f25b97", + "content-hash": "088f85e0b974f33098eb99d44cd5cc66", "packages": [ { "name": "elastic/transport", - "version": "v8.5.0", + "version": "v8.7.0", "source": { "type": "git", "url": "git@github.com:elastic/elastic-transport-php.git", - "reference": "f4ed45936e4ae6e9f3c3e4ab30a2c976b5a841c9" + "reference": "4d7937f026393186f48b2e4fba6d8db85ca0dba6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/elastic/elastic-transport-php/zipball/f4ed45936e4ae6e9f3c3e4ab30a2c976b5a841c9", - "reference": "f4ed45936e4ae6e9f3c3e4ab30a2c976b5a841c9", + "url": "https://api.github.com/repos/elastic/elastic-transport-php/zipball/4d7937f026393186f48b2e4fba6d8db85ca0dba6", + "reference": "4d7937f026393186f48b2e4fba6d8db85ca0dba6", "shasum": "" }, "require": { @@ -27,7 +27,7 @@ "php-http/httplug": "^2.3", "psr/http-client": "^1.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.0 || ^2.0", "psr/log": "^1 || ^2 || ^3" }, "require-dev": { @@ -55,7 +55,7 @@ "psr-7", "transport" ], - "time": "2022-10-14T15:08:50+00:00" + "time": "2023-05-23T08:44:23+00:00" }, { "name": "elasticsearch/elasticsearch", @@ -160,22 +160,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.5.0", + "version": "7.8.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1110f66a6530a40fe7aea0378fe608ee2b2248f9", + "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -186,7 +186,8 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.1", "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", + "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "php-http/message-factory": "^1.1", "phpunit/phpunit": "^8.5.29 || ^9.5.23", "psr/log": "^1.1 || ^2.0 || ^3.0" }, @@ -200,9 +201,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "7.5-dev" } }, "autoload": { @@ -268,7 +266,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + "source": "https://github.com/guzzle/guzzle/tree/7.8.0" }, "funding": [ { @@ -284,38 +282,37 @@ "type": "tidelift" } ], - "time": "2022-08-28T15:39:27+00:00" + "time": "2023-08-27T10:20:53+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.2", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "b94b2807d85443f9719887892882d0329d1e2598" + "reference": "111166291a0f8130081195ac4556a5587d7f1b5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", - "reference": "b94b2807d85443f9719887892882d0329d1e2598", + "url": "https://api.github.com/repos/guzzle/promises/zipball/111166291a0f8130081195ac4556a5587d7f1b5d", + "reference": "111166291a0f8130081195ac4556a5587d7f1b5d", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.1", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -352,7 +349,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.2" + "source": "https://github.com/guzzle/promises/tree/2.0.1" }, "funding": [ { @@ -368,20 +365,20 @@ "type": "tidelift" } ], - "time": "2022-08-28T14:55:35+00:00" + "time": "2023-08-03T15:11:55+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.5.0", + "version": "2.6.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "b635f279edd83fc275f822a1188157ffea568ff6" + "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6", - "reference": "b635f279edd83fc275f822a1188157ffea568ff6", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/be45764272e8873c72dbe3d2edcfdfcc3bc9f727", + "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727", "shasum": "" }, "require": { @@ -468,7 +465,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.5.0" + "source": "https://github.com/guzzle/psr7/tree/2.6.1" }, "funding": [ { @@ -484,47 +481,57 @@ "type": "tidelift" } ], - "time": "2023-04-17T16:11:26+00:00" + "time": "2023-08-27T10:13:57+00:00" }, { "name": "php-http/discovery", - "version": "1.14.3", + "version": "1.19.1", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735" + "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/31d8ee46d0215108df16a8527c7438e96a4d7735", - "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735", + "url": "https://api.github.com/repos/php-http/discovery/zipball/57f3de01d32085fea20865f9b16fb0e69347c39e", + "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e", "shasum": "" }, "require": { + "composer-plugin-api": "^1.0|^2.0", "php": "^7.1 || ^8.0" }, "conflict": { - "nyholm/psr7": "<1.0" + "nyholm/psr7": "<1.0", + "zendframework/zend-diactoros": "*" + }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "*", + "psr/http-factory-implementation": "*", + "psr/http-message-implementation": "*" }, "require-dev": { + "composer/composer": "^1.0.2|^2.0", "graham-campbell/phpspec-skip-example-extension": "^5.0", "php-http/httplug": "^1.0 || ^2.0", "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1" + "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", + "symfony/phpunit-bridge": "^6.2" }, - "suggest": { - "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories" - }, - "type": "library", + "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } + "class": "Http\\Discovery\\Composer\\Plugin", + "plugin-optional": true }, "autoload": { "psr-4": { "Http\\Discovery\\": "src/" - } + }, + "exclude-from-classmap": [ + "src/Composer/Plugin.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -536,7 +543,7 @@ "email": "mark.sagikazar@gmail.com" } ], - "description": "Finds installed HTTPlug implementations and PSR-7 message factories", + "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", "homepage": "http://php-http.org", "keywords": [ "adapter", @@ -545,44 +552,40 @@ "factory", "http", "message", + "psr17", "psr7" ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.14.3" + "source": "https://github.com/php-http/discovery/tree/1.19.1" }, - "time": "2022-07-11T14:04:40+00:00" + "time": "2023-07-11T07:02:26+00:00" }, { "name": "php-http/httplug", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/php-http/httplug.git", - "reference": "f640739f80dfa1152533976e3c112477f69274eb" + "reference": "625ad742c360c8ac580fcc647a1541d29e257f67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/f640739f80dfa1152533976e3c112477f69274eb", - "reference": "f640739f80dfa1152533976e3c112477f69274eb", + "url": "https://api.github.com/repos/php-http/httplug/zipball/625ad742c360c8ac580fcc647a1541d29e257f67", + "reference": "625ad742c360c8ac580fcc647a1541d29e257f67", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", "php-http/promise": "^1.1", "psr/http-client": "^1.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.1", - "phpspec/phpspec": "^5.1 || ^6.0" + "friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0", + "phpspec/phpspec": "^5.1 || ^6.0 || ^7.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, "autoload": { "psr-4": { "Http\\Client\\": "src/" @@ -611,9 +614,9 @@ ], "support": { "issues": "https://github.com/php-http/httplug/issues", - "source": "https://github.com/php-http/httplug/tree/2.3.0" + "source": "https://github.com/php-http/httplug/tree/2.4.0" }, - "time": "2022-02-21T09:52:22+00:00" + "time": "2023-04-14T15:10:03+00:00" }, { "name": "php-http/promise", @@ -674,21 +677,21 @@ }, { "name": "psr/http-client", - "version": "1.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/php-fig/http-client.git", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -708,7 +711,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP clients", @@ -720,9 +723,9 @@ "psr-18" ], "support": { - "source": "https://github.com/php-fig/http-client/tree/master" + "source": "https://github.com/php-fig/http-client" }, - "time": "2020-06-29T06:28:15+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { "name": "psr/http-factory", @@ -997,16 +1000,16 @@ "packages-dev": [ { "name": "composer/ca-bundle", - "version": "1.3.5", + "version": "1.3.7", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd" + "reference": "76e46335014860eec1aa5a724799a00a2e47cc85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd", - "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/76e46335014860eec1aa5a724799a00a2e47cc85", + "reference": "76e46335014860eec1aa5a724799a00a2e47cc85", "shasum": "" }, "require": { @@ -1053,7 +1056,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.3.5" + "source": "https://github.com/composer/ca-bundle/tree/1.3.7" }, "funding": [ { @@ -1069,20 +1072,20 @@ "type": "tidelift" } ], - "time": "2023-01-11T08:27:00+00:00" + "time": "2023-08-30T09:31:38+00:00" }, { "name": "composer/composer", - "version": "2.2.21", + "version": "2.2.22", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "978198befc71de0b18fc1fc5a472c03b184b504a" + "reference": "fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/978198befc71de0b18fc1fc5a472c03b184b504a", - "reference": "978198befc71de0b18fc1fc5a472c03b184b504a", + "url": "https://api.github.com/repos/composer/composer/zipball/fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa", + "reference": "fedc76ee3f3e3d57d20993b9f4c5fcfb2f8596aa", "shasum": "" }, "require": { @@ -1152,7 +1155,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.2.21" + "source": "https://github.com/composer/composer/tree/2.2.22" }, "funding": [ { @@ -1168,7 +1171,7 @@ "type": "tidelift" } ], - "time": "2023-02-15T12:07:40+00:00" + "time": "2023-09-29T08:53:46+00:00" }, { "name": "composer/metadata-minifier", @@ -1312,16 +1315,16 @@ }, { "name": "composer/semver", - "version": "3.3.2", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", "shasum": "" }, "require": { @@ -1371,9 +1374,9 @@ "versioning" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.3.2" + "source": "https://github.com/composer/semver/tree/3.4.0" }, "funding": [ { @@ -1389,7 +1392,7 @@ "type": "tidelift" } ], - "time": "2022-04-01T19:23:25+00:00" + "time": "2023-08-31T09:50:34+00:00" }, { "name": "composer/spdx-licenses", @@ -1675,16 +1678,16 @@ }, { "name": "gettext/gettext", - "version": "v4.8.8", + "version": "v4.8.11", "source": { "type": "git", "url": "https://github.com/php-gettext/Gettext.git", - "reference": "302a00aa9d6762c92c884d879c15d3ed05d6a37d" + "reference": "b632aaf5e4579d0b2ae8bc61785e238bff4c5156" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-gettext/Gettext/zipball/302a00aa9d6762c92c884d879c15d3ed05d6a37d", - "reference": "302a00aa9d6762c92c884d879c15d3ed05d6a37d", + "url": "https://api.github.com/repos/php-gettext/Gettext/zipball/b632aaf5e4579d0b2ae8bc61785e238bff4c5156", + "reference": "b632aaf5e4579d0b2ae8bc61785e238bff4c5156", "shasum": "" }, "require": { @@ -1736,7 +1739,7 @@ "support": { "email": "oom@oscarotero.com", "issues": "https://github.com/oscarotero/Gettext/issues", - "source": "https://github.com/php-gettext/Gettext/tree/v4.8.8" + "source": "https://github.com/php-gettext/Gettext/tree/v4.8.11" }, "funding": [ { @@ -1752,7 +1755,7 @@ "type": "patreon" } ], - "time": "2022-12-08T11:59:50+00:00" + "time": "2023-08-14T15:15:05+00:00" }, { "name": "gettext/languages", @@ -1830,16 +1833,16 @@ }, { "name": "justinrainbow/json-schema", - "version": "5.2.12", + "version": "v5.2.13", "source": { "type": "git", "url": "https://github.com/justinrainbow/json-schema.git", - "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60" + "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", - "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793", + "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793", "shasum": "" }, "require": { @@ -1894,22 +1897,22 @@ ], "support": { "issues": "https://github.com/justinrainbow/json-schema/issues", - "source": "https://github.com/justinrainbow/json-schema/tree/5.2.12" + "source": "https://github.com/justinrainbow/json-schema/tree/v5.2.13" }, - "time": "2022-04-13T08:02:27+00:00" + "time": "2023-09-26T02:20:38+00:00" }, { "name": "mck89/peast", - "version": "v1.15.1", + "version": "v1.15.4", "source": { "type": "git", "url": "https://github.com/mck89/peast.git", - "reference": "cf06286910b7efc9dce7503553ebee314df3d3d3" + "reference": "1df4dc28a6b5bb7ab117ab073c1712256e954e18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mck89/peast/zipball/cf06286910b7efc9dce7503553ebee314df3d3d3", - "reference": "cf06286910b7efc9dce7503553ebee314df3d3d3", + "url": "https://api.github.com/repos/mck89/peast/zipball/1df4dc28a6b5bb7ab117ab073c1712256e954e18", + "reference": "1df4dc28a6b5bb7ab117ab073c1712256e954e18", "shasum": "" }, "require": { @@ -1922,13 +1925,12 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.15.1-dev" + "dev-master": "1.15.4-dev" } }, "autoload": { "psr-4": { - "Peast\\": "lib/Peast/", - "Peast\\test\\": "test/Peast/" + "Peast\\": "lib/Peast/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1944,9 +1946,9 @@ "description": "Peast is PHP library that generates AST for JavaScript code", "support": { "issues": "https://github.com/mck89/peast/issues", - "source": "https://github.com/mck89/peast/tree/v1.15.1" + "source": "https://github.com/mck89/peast/tree/v1.15.4" }, - "time": "2023-01-21T13:18:17+00:00" + "time": "2023-08-12T08:29:29+00:00" }, { "name": "mustache/mustache", @@ -2105,6 +2107,142 @@ }, "time": "2019-12-27T09:44:58+00:00" }, + { + "name": "phpcsstandards/phpcsextra", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", + "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/746c3190ba8eb2f212087c947ba75f4f5b9a58d5", + "reference": "746c3190ba8eb2f212087c947ba75f4f5b9a58d5", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "phpcsstandards/phpcsutils": "^1.0.8", + "squizlabs/php_codesniffer": "^3.7.1" + }, + "require-dev": { + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcsstandards/phpcsdevcs": "^1.1.6", + "phpcsstandards/phpcsdevtools": "^1.2.1", + "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-stable": "1.x-dev", + "dev-develop": "1.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors" + } + ], + "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.", + "keywords": [ + "PHP_CodeSniffer", + "phpcbf", + "phpcodesniffer-standard", + "phpcs", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues", + "source": "https://github.com/PHPCSStandards/PHPCSExtra" + }, + "time": "2023-09-20T22:06:18+00:00" + }, + { + "name": "phpcsstandards/phpcsutils", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", + "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/69465cab9d12454e5e7767b9041af0cd8cd13be7", + "reference": "69465cab9d12454e5e7767b9041af0cd8cd13be7", + "shasum": "" + }, + "require": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", + "php": ">=5.4", + "squizlabs/php_codesniffer": "^3.7.1 || 4.0.x-dev@dev" + }, + "require-dev": { + "ext-filter": "*", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcsstandards/phpcsdevcs": "^1.1.6", + "yoast/phpunit-polyfills": "^1.0.5 || ^2.0.0" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-stable": "1.x-dev", + "dev-develop": "1.x-dev" + } + }, + "autoload": { + "classmap": [ + "PHPCSUtils/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors" + } + ], + "description": "A suite of utility functions for use with PHP_CodeSniffer", + "homepage": "https://phpcsutils.com/", + "keywords": [ + "PHP_CodeSniffer", + "phpcbf", + "phpcodesniffer-standard", + "phpcs", + "phpcs3", + "standards", + "static analysis", + "tokens", + "utility" + ], + "support": { + "docs": "https://phpcsutils.com/", + "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues", + "source": "https://github.com/PHPCSStandards/PHPCSUtils" + }, + "time": "2023-07-16T21:39:41+00:00" + }, { "name": "psr/container", "version": "1.1.2", @@ -2339,16 +2477,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.7.1", + "version": "3.7.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "1359e176e9307e906dc3d890bcc9603ff6d90619" + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/1359e176e9307e906dc3d890bcc9603ff6d90619", - "reference": "1359e176e9307e906dc3d890bcc9603ff6d90619", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", "shasum": "" }, "require": { @@ -2384,27 +2522,28 @@ "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", "keywords": [ "phpcs", - "standards" + "standards", + "static analysis" ], "support": { "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2022-06-18T07:21:10+00:00" + "time": "2023-02-22T23:07:41+00:00" }, { "name": "symfony/console", - "version": "v5.4.24", + "version": "v5.4.28", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8" + "reference": "f4f71842f24c2023b91237c72a365306f3c58827" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8", - "reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8", + "url": "https://api.github.com/repos/symfony/console/zipball/f4f71842f24c2023b91237c72a365306f3c58827", + "reference": "f4f71842f24c2023b91237c72a365306f3c58827", "shasum": "" }, "require": { @@ -2474,7 +2613,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.24" + "source": "https://github.com/symfony/console/tree/v5.4.28" }, "funding": [ { @@ -2490,20 +2629,20 @@ "type": "tidelift" } ], - "time": "2023-05-26T05:13:16+00:00" + "time": "2023-08-07T06:12:30+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.23", + "version": "v5.4.25", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5" + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5", - "reference": "b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", "shasum": "" }, "require": { @@ -2538,7 +2677,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.23" + "source": "https://github.com/symfony/filesystem/tree/v5.4.25" }, "funding": [ { @@ -2554,20 +2693,20 @@ "type": "tidelift" } ], - "time": "2023-03-02T11:38:35+00:00" + "time": "2023-05-31T13:04:02+00:00" }, { "name": "symfony/finder", - "version": "v5.4.21", + "version": "v5.4.27", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19" + "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/078e9a5e1871fcfe6a5ce421b539344c21afef19", - "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19", + "url": "https://api.github.com/repos/symfony/finder/zipball/ff4bce3c33451e7ec778070e45bd23f74214cd5d", + "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d", "shasum": "" }, "require": { @@ -2601,7 +2740,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.21" + "source": "https://github.com/symfony/finder/tree/v5.4.27" }, "funding": [ { @@ -2617,20 +2756,20 @@ "type": "tidelift" } ], - "time": "2023-02-16T09:33:00+00:00" + "time": "2023-07-31T08:02:31+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", "shasum": "" }, "require": { @@ -2645,7 +2784,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2683,7 +2822,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" }, "funding": [ { @@ -2699,20 +2838,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354" + "reference": "875e90aeea2777b6f135677f618529449334a612" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", + "reference": "875e90aeea2777b6f135677f618529449334a612", "shasum": "" }, "require": { @@ -2724,7 +2863,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2764,7 +2903,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" }, "funding": [ { @@ -2780,20 +2919,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", "shasum": "" }, "require": { @@ -2805,7 +2944,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2848,7 +2987,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" }, "funding": [ { @@ -2864,20 +3003,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + "reference": "42292d99c55abe617799667f454222c54c60e229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", + "reference": "42292d99c55abe617799667f454222c54c60e229", "shasum": "" }, "require": { @@ -2892,7 +3031,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2931,7 +3070,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" }, "funding": [ { @@ -2947,20 +3086,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-07-28T09:04:16+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", "shasum": "" }, "require": { @@ -2969,7 +3108,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3010,7 +3149,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.0" }, "funding": [ { @@ -3026,20 +3165,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.27.0", + "version": "v1.28.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", "shasum": "" }, "require": { @@ -3048,7 +3187,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.27-dev" + "dev-main": "1.28-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3093,7 +3232,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" }, "funding": [ { @@ -3109,20 +3248,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { "name": "symfony/process", - "version": "v5.4.24", + "version": "v5.4.28", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "e3c46cc5689c8782944274bb30702106ecbe3b64" + "reference": "45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e3c46cc5689c8782944274bb30702106ecbe3b64", - "reference": "e3c46cc5689c8782944274bb30702106ecbe3b64", + "url": "https://api.github.com/repos/symfony/process/zipball/45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b", + "reference": "45261e1fccad1b5447a8d7a8e67aa7b4a9798b7b", "shasum": "" }, "require": { @@ -3155,7 +3294,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.24" + "source": "https://github.com/symfony/process/tree/v5.4.28" }, "funding": [ { @@ -3171,7 +3310,7 @@ "type": "tidelift" } ], - "time": "2023-05-17T11:26:05+00:00" + "time": "2023-08-07T10:36:04+00:00" }, { "name": "symfony/service-contracts", @@ -3258,16 +3397,16 @@ }, { "name": "symfony/string", - "version": "v5.4.22", + "version": "v5.4.29", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62" + "reference": "e41bdc93def20eaf3bfc1537c4e0a2b0680a152d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/8036a4c76c0dd29e60b6a7cafcacc50cf088ea62", - "reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62", + "url": "https://api.github.com/repos/symfony/string/zipball/e41bdc93def20eaf3bfc1537c4e0a2b0680a152d", + "reference": "e41bdc93def20eaf3bfc1537c4e0a2b0680a152d", "shasum": "" }, "require": { @@ -3324,7 +3463,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.22" + "source": "https://github.com/symfony/string/tree/v5.4.29" }, "funding": [ { @@ -3340,20 +3479,20 @@ "type": "tidelift" } ], - "time": "2023-03-14T06:11:53+00:00" + "time": "2023-09-13T11:47:41+00:00" }, { "name": "wp-cli/cache-command", - "version": "v2.1.0", + "version": "v2.1.1", "source": { "type": "git", "url": "https://github.com/wp-cli/cache-command.git", - "reference": "e646bd57d3a43614d08239c2a71ff4eda2b862a0" + "reference": "5a74fa042ecaeff93f149b08a279730c69b1b448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/cache-command/zipball/e646bd57d3a43614d08239c2a71ff4eda2b862a0", - "reference": "e646bd57d3a43614d08239c2a71ff4eda2b862a0", + "url": "https://api.github.com/repos/wp-cli/cache-command/zipball/5a74fa042ecaeff93f149b08a279730c69b1b448", + "reference": "5a74fa042ecaeff93f149b08a279730c69b1b448", "shasum": "" }, "require": { @@ -3361,7 +3500,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -3413,22 +3552,22 @@ "homepage": "https://github.com/wp-cli/cache-command", "support": { "issues": "https://github.com/wp-cli/cache-command/issues", - "source": "https://github.com/wp-cli/cache-command/tree/v2.1.0" + "source": "https://github.com/wp-cli/cache-command/tree/v2.1.1" }, - "time": "2023-04-26T19:05:07+00:00" + "time": "2023-08-30T14:34:01+00:00" }, { "name": "wp-cli/checksum-command", - "version": "v2.2.2", + "version": "v2.2.4", "source": { "type": "git", "url": "https://github.com/wp-cli/checksum-command.git", - "reference": "5da44c978635768fb941ad594a973dbd712450dd" + "reference": "7ae020192bc6ee9042be0bf664bd998b1861e994" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/checksum-command/zipball/5da44c978635768fb941ad594a973dbd712450dd", - "reference": "5da44c978635768fb941ad594a973dbd712450dd", + "url": "https://api.github.com/repos/wp-cli/checksum-command/zipball/7ae020192bc6ee9042be0bf664bd998b1861e994", + "reference": "7ae020192bc6ee9042be0bf664bd998b1861e994", "shasum": "" }, "require": { @@ -3436,7 +3575,7 @@ }, "require-dev": { "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -3472,22 +3611,22 @@ "homepage": "https://github.com/wp-cli/checksum-command", "support": { "issues": "https://github.com/wp-cli/checksum-command/issues", - "source": "https://github.com/wp-cli/checksum-command/tree/v2.2.2" + "source": "https://github.com/wp-cli/checksum-command/tree/v2.2.4" }, - "time": "2023-06-01T00:12:46+00:00" + "time": "2023-08-30T13:34:47+00:00" }, { "name": "wp-cli/config-command", - "version": "v2.1.5", + "version": "v2.3.0", "source": { "type": "git", "url": "https://github.com/wp-cli/config-command.git", - "reference": "112ab8af6564084a3599c0f4d90ac91911cf565e" + "reference": "d4d505f5d071871259b2e260cf35085209d4dece" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/config-command/zipball/112ab8af6564084a3599c0f4d90ac91911cf565e", - "reference": "112ab8af6564084a3599c0f4d90ac91911cf565e", + "url": "https://api.github.com/repos/wp-cli/config-command/zipball/d4d505f5d071871259b2e260cf35085209d4dece", + "reference": "d4d505f5d071871259b2e260cf35085209d4dece", "shasum": "" }, "require": { @@ -3496,7 +3635,7 @@ }, "require-dev": { "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -3511,6 +3650,7 @@ "config create", "config get", "config has", + "config is-true", "config list", "config path", "config set", @@ -3545,22 +3685,22 @@ "homepage": "https://github.com/wp-cli/config-command", "support": { "issues": "https://github.com/wp-cli/config-command/issues", - "source": "https://github.com/wp-cli/config-command/tree/v2.1.5" + "source": "https://github.com/wp-cli/config-command/tree/v2.3.0" }, - "time": "2023-02-17T16:29:34+00:00" + "time": "2023-08-30T15:15:17+00:00" }, { "name": "wp-cli/core-command", - "version": "v2.1.13", + "version": "v2.1.15", "source": { "type": "git", "url": "https://github.com/wp-cli/core-command.git", - "reference": "893e18d266a8e4f9145f9ca32aabd44d0c279562" + "reference": "7a81a8658620078bf5f2785836cb33aa382e8bb4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/core-command/zipball/893e18d266a8e4f9145f9ca32aabd44d0c279562", - "reference": "893e18d266a8e4f9145f9ca32aabd44d0c279562", + "url": "https://api.github.com/repos/wp-cli/core-command/zipball/7a81a8658620078bf5f2785836cb33aa382e8bb4", + "reference": "7a81a8658620078bf5f2785836cb33aa382e8bb4", "shasum": "" }, "require": { @@ -3572,7 +3712,7 @@ "wp-cli/db-command": "^1.3 || ^2", "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.2.7" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -3616,22 +3756,22 @@ "homepage": "https://github.com/wp-cli/core-command", "support": { "issues": "https://github.com/wp-cli/core-command/issues", - "source": "https://github.com/wp-cli/core-command/tree/v2.1.13" + "source": "https://github.com/wp-cli/core-command/tree/v2.1.15" }, - "time": "2023-05-31T07:42:48+00:00" + "time": "2023-08-30T15:54:16+00:00" }, { "name": "wp-cli/cron-command", - "version": "v2.2.2", + "version": "v2.2.3", "source": { "type": "git", "url": "https://github.com/wp-cli/cron-command.git", - "reference": "c63ac49baf425b13a80875e092feaebd9c75c932" + "reference": "bc7e4bd2f441a5bb3b311e1419be2b05ed53146d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/cron-command/zipball/c63ac49baf425b13a80875e092feaebd9c75c932", - "reference": "c63ac49baf425b13a80875e092feaebd9c75c932", + "url": "https://api.github.com/repos/wp-cli/cron-command/zipball/bc7e4bd2f441a5bb3b311e1419be2b05ed53146d", + "reference": "bc7e4bd2f441a5bb3b311e1419be2b05ed53146d", "shasum": "" }, "require": { @@ -3641,7 +3781,7 @@ "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/eval-command": "^2.0", "wp-cli/server-command": "^2.0", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -3685,22 +3825,22 @@ "homepage": "https://github.com/wp-cli/cron-command", "support": { "issues": "https://github.com/wp-cli/cron-command/issues", - "source": "https://github.com/wp-cli/cron-command/tree/v2.2.2" + "source": "https://github.com/wp-cli/cron-command/tree/v2.2.3" }, - "time": "2023-05-25T16:11:42+00:00" + "time": "2023-08-30T13:31:32+00:00" }, { "name": "wp-cli/db-command", - "version": "v2.0.25", + "version": "v2.0.26", "source": { "type": "git", "url": "https://github.com/wp-cli/db-command.git", - "reference": "258b9b348d5d1cf884881b1bd1efc819e735af0d" + "reference": "0908bf5182b830c302199037070292e20d9f4ea6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/db-command/zipball/258b9b348d5d1cf884881b1bd1efc819e735af0d", - "reference": "258b9b348d5d1cf884881b1bd1efc819e735af0d", + "url": "https://api.github.com/repos/wp-cli/db-command/zipball/0908bf5182b830c302199037070292e20d9f4ea6", + "reference": "0908bf5182b830c302199037070292e20d9f4ea6", "shasum": "" }, "require": { @@ -3708,7 +3848,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -3759,22 +3899,22 @@ "homepage": "https://github.com/wp-cli/db-command", "support": { "issues": "https://github.com/wp-cli/db-command/issues", - "source": "https://github.com/wp-cli/db-command/tree/v2.0.25" + "source": "https://github.com/wp-cli/db-command/tree/v2.0.26" }, - "time": "2023-02-17T16:38:54+00:00" + "time": "2023-08-30T15:50:59+00:00" }, { "name": "wp-cli/embed-command", - "version": "v2.0.12", + "version": "v2.0.15", "source": { "type": "git", "url": "https://github.com/wp-cli/embed-command.git", - "reference": "ccf8263ea04538c551c3f0144fc1ffe6dc9d31b6" + "reference": "3987e2051354eaad842c8612ea9255493534c589" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/embed-command/zipball/ccf8263ea04538c551c3f0144fc1ffe6dc9d31b6", - "reference": "ccf8263ea04538c551c3f0144fc1ffe6dc9d31b6", + "url": "https://api.github.com/repos/wp-cli/embed-command/zipball/3987e2051354eaad842c8612ea9255493534c589", + "reference": "3987e2051354eaad842c8612ea9255493534c589", "shasum": "" }, "require": { @@ -3782,7 +3922,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -3826,22 +3966,22 @@ "homepage": "https://github.com/wp-cli/embed-command", "support": { "issues": "https://github.com/wp-cli/embed-command/issues", - "source": "https://github.com/wp-cli/embed-command/tree/v2.0.12" + "source": "https://github.com/wp-cli/embed-command/tree/v2.0.15" }, - "time": "2023-02-17T17:57:27+00:00" + "time": "2023-08-30T15:52:06+00:00" }, { "name": "wp-cli/entity-command", - "version": "v2.5.1", + "version": "v2.5.5", "source": { "type": "git", "url": "https://github.com/wp-cli/entity-command.git", - "reference": "4c0b4846baf193d9a3992386b89a381496983eb1" + "reference": "9b4a1d0f4a59f7fc69d6a7e4da724c87c7695675" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/entity-command/zipball/4c0b4846baf193d9a3992386b89a381496983eb1", - "reference": "4c0b4846baf193d9a3992386b89a381496983eb1", + "url": "https://api.github.com/repos/wp-cli/entity-command/zipball/9b4a1d0f4a59f7fc69d6a7e4da724c87c7695675", + "reference": "9b4a1d0f4a59f7fc69d6a7e4da724c87c7695675", "shasum": "" }, "require": { @@ -3853,7 +3993,7 @@ "wp-cli/extension-command": "^1.2 || ^2", "wp-cli/media-command": "^1.1 || ^2", "wp-cli/super-admin-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4037,29 +4177,29 @@ "homepage": "https://github.com/wp-cli/entity-command", "support": { "issues": "https://github.com/wp-cli/entity-command/issues", - "source": "https://github.com/wp-cli/entity-command/tree/v2.5.1" + "source": "https://github.com/wp-cli/entity-command/tree/v2.5.5" }, - "time": "2023-05-30T13:42:30+00:00" + "time": "2023-09-19T23:00:47+00:00" }, { "name": "wp-cli/eval-command", - "version": "v2.2.2", + "version": "v2.2.4", "source": { "type": "git", "url": "https://github.com/wp-cli/eval-command.git", - "reference": "1ba2dab5be33f270f5256ceb605e5a3046194f78" + "reference": "5a9c605ae52d118f582693209d2f1c5c4f214b76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/eval-command/zipball/1ba2dab5be33f270f5256ceb605e5a3046194f78", - "reference": "1ba2dab5be33f270f5256ceb605e5a3046194f78", + "url": "https://api.github.com/repos/wp-cli/eval-command/zipball/5a9c605ae52d118f582693209d2f1c5c4f214b76", + "reference": "5a9c605ae52d118f582693209d2f1c5c4f214b76", "shasum": "" }, "require": { "wp-cli/wp-cli": "^2.5" }, "require-dev": { - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4095,22 +4235,22 @@ "homepage": "https://github.com/wp-cli/eval-command", "support": { "issues": "https://github.com/wp-cli/eval-command/issues", - "source": "https://github.com/wp-cli/eval-command/tree/v2.2.2" + "source": "https://github.com/wp-cli/eval-command/tree/v2.2.4" }, - "time": "2023-02-17T15:16:09+00:00" + "time": "2023-08-30T14:51:36+00:00" }, { "name": "wp-cli/export-command", - "version": "v2.1.1", + "version": "v2.1.12", "source": { "type": "git", "url": "https://github.com/wp-cli/export-command.git", - "reference": "1731f1c869382dfc2cf2630c3139e1f97522db40" + "reference": "31e3d714ac6d6f0af613c34b33dbc02b85dc2e68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/export-command/zipball/1731f1c869382dfc2cf2630c3139e1f97522db40", - "reference": "1731f1c869382dfc2cf2630c3139e1f97522db40", + "url": "https://api.github.com/repos/wp-cli/export-command/zipball/31e3d714ac6d6f0af613c34b33dbc02b85dc2e68", + "reference": "31e3d714ac6d6f0af613c34b33dbc02b85dc2e68", "shasum": "" }, "require": { @@ -4123,7 +4263,7 @@ "wp-cli/extension-command": "^1.2 || ^2", "wp-cli/import-command": "^1 || ^2", "wp-cli/media-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4158,22 +4298,22 @@ "homepage": "https://github.com/wp-cli/export-command", "support": { "issues": "https://github.com/wp-cli/export-command/issues", - "source": "https://github.com/wp-cli/export-command/tree/v2.1.1" + "source": "https://github.com/wp-cli/export-command/tree/v2.1.12" }, - "time": "2023-02-17T16:41:22+00:00" + "time": "2023-09-18T21:41:00+00:00" }, { "name": "wp-cli/extension-command", - "version": "v2.1.13", + "version": "v2.1.14", "source": { "type": "git", "url": "https://github.com/wp-cli/extension-command.git", - "reference": "e92390ce3a0d95f534ab6c88f9a77bfd4615de47" + "reference": "17b16548b5775616dcbbd92f7836e67bba02e8ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/e92390ce3a0d95f534ab6c88f9a77bfd4615de47", - "reference": "e92390ce3a0d95f534ab6c88f9a77bfd4615de47", + "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/17b16548b5775616dcbbd92f7836e67bba02e8ba", + "reference": "17b16548b5775616dcbbd92f7836e67bba02e8ba", "shasum": "" }, "require": { @@ -4185,7 +4325,7 @@ "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/language-command": "^2.0", "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4256,22 +4396,22 @@ "homepage": "https://github.com/wp-cli/extension-command", "support": { "issues": "https://github.com/wp-cli/extension-command/issues", - "source": "https://github.com/wp-cli/extension-command/tree/v2.1.13" + "source": "https://github.com/wp-cli/extension-command/tree/v2.1.14" }, - "time": "2023-04-04T21:39:30+00:00" + "time": "2023-08-30T15:15:35+00:00" }, { "name": "wp-cli/i18n-command", - "version": "v2.4.3", + "version": "v2.4.4", "source": { "type": "git", "url": "https://github.com/wp-cli/i18n-command.git", - "reference": "203b020318fe2596a218bf52db25adc6b187f42d" + "reference": "7d82e675f271359b1af614e6325d8eeaeb7d7474" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/203b020318fe2596a218bf52db25adc6b187f42d", - "reference": "203b020318fe2596a218bf52db25adc6b187f42d", + "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/7d82e675f271359b1af614e6325d8eeaeb7d7474", + "reference": "7d82e675f271359b1af614e6325d8eeaeb7d7474", "shasum": "" }, "require": { @@ -4282,7 +4422,7 @@ }, "require-dev": { "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "suggest": { "ext-json": "Used for reading and generating JSON translation files", @@ -4324,22 +4464,22 @@ "homepage": "https://github.com/wp-cli/i18n-command", "support": { "issues": "https://github.com/wp-cli/i18n-command/issues", - "source": "https://github.com/wp-cli/i18n-command/tree/v2.4.3" + "source": "https://github.com/wp-cli/i18n-command/tree/v2.4.4" }, - "time": "2023-03-24T18:15:59+00:00" + "time": "2023-08-30T18:00:10+00:00" }, { "name": "wp-cli/import-command", - "version": "v2.0.11", + "version": "v2.0.12", "source": { "type": "git", "url": "https://github.com/wp-cli/import-command.git", - "reference": "2019a69abbe7d278dfcae927cfa6aa46cd5f0460" + "reference": "7aafa54bf7c122dfbd777b5e5fbb5907af38e504" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/import-command/zipball/2019a69abbe7d278dfcae927cfa6aa46cd5f0460", - "reference": "2019a69abbe7d278dfcae927cfa6aa46cd5f0460", + "url": "https://api.github.com/repos/wp-cli/import-command/zipball/7aafa54bf7c122dfbd777b5e5fbb5907af38e504", + "reference": "7aafa54bf7c122dfbd777b5e5fbb5907af38e504", "shasum": "" }, "require": { @@ -4349,7 +4489,7 @@ "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/export-command": "^1 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4384,9 +4524,9 @@ "homepage": "https://github.com/wp-cli/import-command", "support": { "issues": "https://github.com/wp-cli/import-command/issues", - "source": "https://github.com/wp-cli/import-command/tree/v2.0.11" + "source": "https://github.com/wp-cli/import-command/tree/v2.0.12" }, - "time": "2023-03-15T15:15:38+00:00" + "time": "2023-08-30T15:53:58+00:00" }, { "name": "wp-cli/language-command", @@ -4469,23 +4609,23 @@ }, { "name": "wp-cli/maintenance-mode-command", - "version": "v2.0.9", + "version": "v2.0.10", "source": { "type": "git", "url": "https://github.com/wp-cli/maintenance-mode-command.git", - "reference": "c53fab1ca9fddb2ba00edc5660b081e2c80b336b" + "reference": "599f8f08045ed2ef26a53d1432a4845b39d54f7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/maintenance-mode-command/zipball/c53fab1ca9fddb2ba00edc5660b081e2c80b336b", - "reference": "c53fab1ca9fddb2ba00edc5660b081e2c80b336b", + "url": "https://api.github.com/repos/wp-cli/maintenance-mode-command/zipball/599f8f08045ed2ef26a53d1432a4845b39d54f7d", + "reference": "599f8f08045ed2ef26a53d1432a4845b39d54f7d", "shasum": "" }, "require": { "wp-cli/wp-cli": "^2.5" }, "require-dev": { - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4524,22 +4664,22 @@ "homepage": "https://github.com/wp-cli/maintenance-mode-command", "support": { "issues": "https://github.com/wp-cli/maintenance-mode-command/issues", - "source": "https://github.com/wp-cli/maintenance-mode-command/tree/v2.0.9" + "source": "https://github.com/wp-cli/maintenance-mode-command/tree/v2.0.10" }, - "time": "2023-02-17T17:58:55+00:00" + "time": "2023-08-30T14:54:15+00:00" }, { "name": "wp-cli/media-command", - "version": "v2.0.17", + "version": "v2.0.20", "source": { "type": "git", "url": "https://github.com/wp-cli/media-command.git", - "reference": "0e7d1fbc7170d8c2b8a2779f0cd3aebbf582b22b" + "reference": "49ef52c657de7ac1e50010ce3f6b0cdc40c02dc7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/media-command/zipball/0e7d1fbc7170d8c2b8a2779f0cd3aebbf582b22b", - "reference": "0e7d1fbc7170d8c2b8a2779f0cd3aebbf582b22b", + "url": "https://api.github.com/repos/wp-cli/media-command/zipball/49ef52c657de7ac1e50010ce3f6b0cdc40c02dc7", + "reference": "49ef52c657de7ac1e50010ce3f6b0cdc40c02dc7", "shasum": "" }, "require": { @@ -4548,7 +4688,7 @@ "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^2.0", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4586,9 +4726,9 @@ "homepage": "https://github.com/wp-cli/media-command", "support": { "issues": "https://github.com/wp-cli/media-command/issues", - "source": "https://github.com/wp-cli/media-command/tree/v2.0.17" + "source": "https://github.com/wp-cli/media-command/tree/v2.0.20" }, - "time": "2023-02-17T18:58:02+00:00" + "time": "2023-09-01T13:08:38+00:00" }, { "name": "wp-cli/mustangostang-spyc", @@ -4643,16 +4783,16 @@ }, { "name": "wp-cli/package-command", - "version": "v2.3.2", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/wp-cli/package-command.git", - "reference": "88b7728c81105be91f1e1aabbdf3b4037999b5bd" + "reference": "f295538382b970cca506172b892f5f1c8adbedb2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/package-command/zipball/88b7728c81105be91f1e1aabbdf3b4037999b5bd", - "reference": "88b7728c81105be91f1e1aabbdf3b4037999b5bd", + "url": "https://api.github.com/repos/wp-cli/package-command/zipball/f295538382b970cca506172b892f5f1c8adbedb2", + "reference": "f295538382b970cca506172b892f5f1c8adbedb2", "shasum": "" }, "require": { @@ -4662,7 +4802,7 @@ }, "require-dev": { "wp-cli/scaffold-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4702,22 +4842,22 @@ "homepage": "https://github.com/wp-cli/package-command", "support": { "issues": "https://github.com/wp-cli/package-command/issues", - "source": "https://github.com/wp-cli/package-command/tree/v2.3.2" + "source": "https://github.com/wp-cli/package-command/tree/v2.4.0" }, - "time": "2023-06-02T06:17:19+00:00" + "time": "2023-09-06T21:10:16+00:00" }, { "name": "wp-cli/php-cli-tools", - "version": "v0.11.18", + "version": "v0.11.21", "source": { "type": "git", "url": "https://github.com/wp-cli/php-cli-tools.git", - "reference": "0f503a790698cb36cf835e5c8d09cd4b64bf2325" + "reference": "b3457a8d60cd0b1c48cab76ad95df136d266f0b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/0f503a790698cb36cf835e5c8d09cd4b64bf2325", - "reference": "0f503a790698cb36cf835e5c8d09cd4b64bf2325", + "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/b3457a8d60cd0b1c48cab76ad95df136d266f0b6", + "reference": "b3457a8d60cd0b1c48cab76ad95df136d266f0b6", "shasum": "" }, "require": { @@ -4725,7 +4865,7 @@ }, "require-dev": { "roave/security-advisories": "dev-latest", - "wp-cli/wp-cli-tests": "^3.1.6" + "wp-cli/wp-cli-tests": "^4" }, "type": "library", "extra": { @@ -4765,22 +4905,22 @@ ], "support": { "issues": "https://github.com/wp-cli/php-cli-tools/issues", - "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.18" + "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.21" }, - "time": "2023-04-04T16:03:53+00:00" + "time": "2023-09-29T15:28:10+00:00" }, { "name": "wp-cli/rewrite-command", - "version": "v2.0.12", + "version": "v2.0.13", "source": { "type": "git", "url": "https://github.com/wp-cli/rewrite-command.git", - "reference": "63410a0a2d538eda27b8a0c7c351a3582d2875fc" + "reference": "293f9de9905b9d0199d72ff0d17e837228e47a10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/rewrite-command/zipball/63410a0a2d538eda27b8a0c7c351a3582d2875fc", - "reference": "63410a0a2d538eda27b8a0c7c351a3582d2875fc", + "url": "https://api.github.com/repos/wp-cli/rewrite-command/zipball/293f9de9905b9d0199d72ff0d17e837228e47a10", + "reference": "293f9de9905b9d0199d72ff0d17e837228e47a10", "shasum": "" }, "require": { @@ -4788,7 +4928,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4826,29 +4966,29 @@ "homepage": "https://github.com/wp-cli/rewrite-command", "support": { "issues": "https://github.com/wp-cli/rewrite-command/issues", - "source": "https://github.com/wp-cli/rewrite-command/tree/v2.0.12" + "source": "https://github.com/wp-cli/rewrite-command/tree/v2.0.13" }, - "time": "2023-02-17T16:50:38+00:00" + "time": "2023-08-30T15:25:42+00:00" }, { "name": "wp-cli/role-command", - "version": "v2.0.13", + "version": "v2.0.14", "source": { "type": "git", "url": "https://github.com/wp-cli/role-command.git", - "reference": "f586e09fe36aa15a213677e0bed3cd0f5e70613b" + "reference": "7680178016a1811421897aeb9eeae9e81e6893ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/role-command/zipball/f586e09fe36aa15a213677e0bed3cd0f5e70613b", - "reference": "f586e09fe36aa15a213677e0bed3cd0f5e70613b", + "url": "https://api.github.com/repos/wp-cli/role-command/zipball/7680178016a1811421897aeb9eeae9e81e6893ac", + "reference": "7680178016a1811421897aeb9eeae9e81e6893ac", "shasum": "" }, "require": { "wp-cli/wp-cli": "^2.5" }, "require-dev": { - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4892,22 +5032,22 @@ "homepage": "https://github.com/wp-cli/role-command", "support": { "issues": "https://github.com/wp-cli/role-command/issues", - "source": "https://github.com/wp-cli/role-command/tree/v2.0.13" + "source": "https://github.com/wp-cli/role-command/tree/v2.0.14" }, - "time": "2023-03-16T15:25:24+00:00" + "time": "2023-08-30T16:18:53+00:00" }, { "name": "wp-cli/scaffold-command", - "version": "v2.1.1", + "version": "v2.1.3", "source": { "type": "git", "url": "https://github.com/wp-cli/scaffold-command.git", - "reference": "eb8d71618de1e34264991109f91a8d8247601fb2" + "reference": "4125a31134e1bad3d28cff71c178dcee1393f605" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/scaffold-command/zipball/eb8d71618de1e34264991109f91a8d8247601fb2", - "reference": "eb8d71618de1e34264991109f91a8d8247601fb2", + "url": "https://api.github.com/repos/wp-cli/scaffold-command/zipball/4125a31134e1bad3d28cff71c178dcee1393f605", + "reference": "4125a31134e1bad3d28cff71c178dcee1393f605", "shasum": "" }, "require": { @@ -4915,7 +5055,7 @@ }, "require-dev": { "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4958,22 +5098,22 @@ "homepage": "https://github.com/wp-cli/scaffold-command", "support": { "issues": "https://github.com/wp-cli/scaffold-command/issues", - "source": "https://github.com/wp-cli/scaffold-command/tree/v2.1.1" + "source": "https://github.com/wp-cli/scaffold-command/tree/v2.1.3" }, - "time": "2023-02-17T18:53:06+00:00" + "time": "2023-08-30T14:29:02+00:00" }, { "name": "wp-cli/search-replace-command", - "version": "v2.1.1", + "version": "v2.1.3", "source": { "type": "git", "url": "https://github.com/wp-cli/search-replace-command.git", - "reference": "1d5c77fbead033a7707915fa0c51306fb3c64d37" + "reference": "0b662a372483224fe93f113c2a4fa2089e951d34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/search-replace-command/zipball/1d5c77fbead033a7707915fa0c51306fb3c64d37", - "reference": "1d5c77fbead033a7707915fa0c51306fb3c64d37", + "url": "https://api.github.com/repos/wp-cli/search-replace-command/zipball/0b662a372483224fe93f113c2a4fa2089e951d34", + "reference": "0b662a372483224fe93f113c2a4fa2089e951d34", "shasum": "" }, "require": { @@ -4983,7 +5123,7 @@ "wp-cli/db-command": "^1.3 || ^2", "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -5018,22 +5158,22 @@ "homepage": "https://github.com/wp-cli/search-replace-command", "support": { "issues": "https://github.com/wp-cli/search-replace-command/issues", - "source": "https://github.com/wp-cli/search-replace-command/tree/v2.1.1" + "source": "https://github.com/wp-cli/search-replace-command/tree/v2.1.3" }, - "time": "2023-06-02T20:30:01+00:00" + "time": "2023-09-01T12:41:32+00:00" }, { "name": "wp-cli/server-command", - "version": "v2.0.12", + "version": "v2.0.13", "source": { "type": "git", "url": "https://github.com/wp-cli/server-command.git", - "reference": "8081e417bb8f5d48dd814b0b9f2402a41af105ea" + "reference": "42babfa0fdd517cd8bdd66528b3c9027d6d14a29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/server-command/zipball/8081e417bb8f5d48dd814b0b9f2402a41af105ea", - "reference": "8081e417bb8f5d48dd814b0b9f2402a41af105ea", + "url": "https://api.github.com/repos/wp-cli/server-command/zipball/42babfa0fdd517cd8bdd66528b3c9027d6d14a29", + "reference": "42babfa0fdd517cd8bdd66528b3c9027d6d14a29", "shasum": "" }, "require": { @@ -5041,7 +5181,7 @@ }, "require-dev": { "wp-cli/entity-command": "^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -5076,29 +5216,29 @@ "homepage": "https://github.com/wp-cli/server-command", "support": { "issues": "https://github.com/wp-cli/server-command/issues", - "source": "https://github.com/wp-cli/server-command/tree/v2.0.12" + "source": "https://github.com/wp-cli/server-command/tree/v2.0.13" }, - "time": "2023-02-17T16:16:13+00:00" + "time": "2023-08-30T15:27:57+00:00" }, { "name": "wp-cli/shell-command", - "version": "v2.0.13", + "version": "v2.0.14", "source": { "type": "git", "url": "https://github.com/wp-cli/shell-command.git", - "reference": "d1d4d34737c0a8402a98bc16f6e603f322085f03" + "reference": "f470d04a597e294ef29ad73dace9d4de98df7c42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/shell-command/zipball/d1d4d34737c0a8402a98bc16f6e603f322085f03", - "reference": "d1d4d34737c0a8402a98bc16f6e603f322085f03", + "url": "https://api.github.com/repos/wp-cli/shell-command/zipball/f470d04a597e294ef29ad73dace9d4de98df7c42", + "reference": "f470d04a597e294ef29ad73dace9d4de98df7c42", "shasum": "" }, "require": { "wp-cli/wp-cli": "^2.5" }, "require-dev": { - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -5133,22 +5273,22 @@ "homepage": "https://github.com/wp-cli/shell-command", "support": { "issues": "https://github.com/wp-cli/shell-command/issues", - "source": "https://github.com/wp-cli/shell-command/tree/v2.0.13" + "source": "https://github.com/wp-cli/shell-command/tree/v2.0.14" }, - "time": "2023-02-17T15:07:21+00:00" + "time": "2023-08-30T15:58:08+00:00" }, { "name": "wp-cli/super-admin-command", - "version": "v2.0.11", + "version": "v2.0.12", "source": { "type": "git", "url": "https://github.com/wp-cli/super-admin-command.git", - "reference": "8e7202b28c80f9181ef12533d1e0cd3b5ace5b07" + "reference": "9a1932d8f19a1464d27cb1b08fa21aa62d349e0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/super-admin-command/zipball/8e7202b28c80f9181ef12533d1e0cd3b5ace5b07", - "reference": "8e7202b28c80f9181ef12533d1e0cd3b5ace5b07", + "url": "https://api.github.com/repos/wp-cli/super-admin-command/zipball/9a1932d8f19a1464d27cb1b08fa21aa62d349e0b", + "reference": "9a1932d8f19a1464d27cb1b08fa21aa62d349e0b", "shasum": "" }, "require": { @@ -5156,7 +5296,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -5194,22 +5334,22 @@ "homepage": "https://github.com/wp-cli/super-admin-command", "support": { "issues": "https://github.com/wp-cli/super-admin-command/issues", - "source": "https://github.com/wp-cli/super-admin-command/tree/v2.0.11" + "source": "https://github.com/wp-cli/super-admin-command/tree/v2.0.12" }, - "time": "2023-02-17T17:03:30+00:00" + "time": "2023-08-30T14:46:22+00:00" }, { "name": "wp-cli/widget-command", - "version": "v2.1.8", + "version": "v2.1.9", "source": { "type": "git", "url": "https://github.com/wp-cli/widget-command.git", - "reference": "366fc586f64faea41c1e6df345b2350193b89c6b" + "reference": "fa67eb62b3b0248014f48fb1280bfdea2eb96712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/widget-command/zipball/366fc586f64faea41c1e6df345b2350193b89c6b", - "reference": "366fc586f64faea41c1e6df345b2350193b89c6b", + "url": "https://api.github.com/repos/wp-cli/widget-command/zipball/fa67eb62b3b0248014f48fb1280bfdea2eb96712", + "reference": "fa67eb62b3b0248014f48fb1280bfdea2eb96712", "shasum": "" }, "require": { @@ -5217,7 +5357,7 @@ }, "require-dev": { "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -5261,9 +5401,9 @@ "homepage": "https://github.com/wp-cli/widget-command", "support": { "issues": "https://github.com/wp-cli/widget-command/issues", - "source": "https://github.com/wp-cli/widget-command/tree/v2.1.8" + "source": "https://github.com/wp-cli/widget-command/tree/v2.1.9" }, - "time": "2023-02-17T17:02:31+00:00" + "time": "2023-08-30T15:52:58+00:00" }, { "name": "wp-cli/wp-cli", @@ -5411,23 +5551,23 @@ }, { "name": "wp-cli/wp-config-transformer", - "version": "v1.3.3", + "version": "v1.3.4", "source": { "type": "git", "url": "https://github.com/wp-cli/wp-config-transformer.git", - "reference": "b1a6a013e4a8c74b29ba185368b78a140b3268da" + "reference": "1f80df413c0d779a813223d9dd5dd58358eee60c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/b1a6a013e4a8c74b29ba185368b78a140b3268da", - "reference": "b1a6a013e4a8c74b29ba185368b78a140b3268da", + "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/1f80df413c0d779a813223d9dd5dd58358eee60c", + "reference": "1f80df413c0d779a813223d9dd5dd58358eee60c", "shasum": "" }, "require": { "php": "^5.6 || ^7.0 || ^8.0" }, "require-dev": { - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4.0" }, "type": "library", "autoload": { @@ -5449,36 +5589,44 @@ "homepage": "https://github.com/wp-cli/wp-config-transformer", "support": { "issues": "https://github.com/wp-cli/wp-config-transformer/issues", - "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3.3" + "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3.4" }, - "time": "2023-04-26T19:51:31+00:00" + "time": "2023-08-31T10:11:36+00:00" }, { "name": "wp-coding-standards/wpcs", - "version": "2.3.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", - "reference": "7da1894633f168fe244afc6de00d141f27517b62" + "reference": "b4caf9689f1a0e4a4c632679a44e638c1c67aff1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62", - "reference": "7da1894633f168fe244afc6de00d141f27517b62", + "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/b4caf9689f1a0e4a4c632679a44e638c1c67aff1", + "reference": "b4caf9689f1a0e4a4c632679a44e638c1c67aff1", "shasum": "" }, "require": { + "ext-filter": "*", + "ext-libxml": "*", + "ext-tokenizer": "*", + "ext-xmlreader": "*", "php": ">=5.4", - "squizlabs/php_codesniffer": "^3.3.1" + "phpcsstandards/phpcsextra": "^1.1.0", + "phpcsstandards/phpcsutils": "^1.0.8", + "squizlabs/php_codesniffer": "^3.7.2" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6", + "php-parallel-lint/php-console-highlighter": "^1.0.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", "phpcompatibility/php-compatibility": "^9.0", - "phpcsstandards/phpcsdevtools": "^1.0", + "phpcsstandards/phpcsdevtools": "^1.2.0", "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically." + "ext-iconv": "For improved results", + "ext-mbstring": "For improved results" }, "type": "phpcodesniffer-standard", "notification-url": "https://packagist.org/downloads/", @@ -5495,6 +5643,7 @@ "keywords": [ "phpcs", "standards", + "static analysis", "wordpress" ], "support": { @@ -5502,7 +5651,13 @@ "source": "https://github.com/WordPress/WordPress-Coding-Standards", "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" }, - "time": "2020-05-13T23:57:56+00:00" + "funding": [ + { + "url": "https://opencollective.com/thewpcc/contribute/wp-php-63406", + "type": "custom" + } + ], + "time": "2023-09-14T07:06:09+00:00" } ], "aliases": [], @@ -5519,5 +5674,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/includes/class-rotaract-appointments-i18n.php b/includes/class-rotaract-appointments-i18n.php index 3462bc6..79c5d5c 100644 --- a/includes/class-rotaract-appointments-i18n.php +++ b/includes/class-rotaract-appointments-i18n.php @@ -37,7 +37,6 @@ public function load_plugin_textdomain() { false, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' ); - } /** @@ -60,5 +59,4 @@ public static function localize_owner_type_name( string $owner_type_name ) { return $owner_type_name; } } - } diff --git a/includes/class-rotaract-appointments-loader.php b/includes/class-rotaract-appointments-loader.php index 0b14aa5..c1d9513 100644 --- a/includes/class-rotaract-appointments-loader.php +++ b/includes/class-rotaract-appointments-loader.php @@ -146,7 +146,5 @@ public function run() { foreach ( $this->shortcodes as $hook ) { add_shortcode( $hook['hook'], array( $hook['component'], $hook['callback'] ) ); } - } - } diff --git a/includes/class-rotaract-appointments.php b/includes/class-rotaract-appointments.php index 2b2ebe4..da10ebc 100644 --- a/includes/class-rotaract-appointments.php +++ b/includes/class-rotaract-appointments.php @@ -234,5 +234,4 @@ public function get_loader(): Rotaract_Appointments_Loader { public function get_version(): string { return $this->version; } - } diff --git a/phpcs.xml b/phpcs.xml index 5769e25..c1aaa60 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -14,5 +14,6 @@ + diff --git a/public/class-rotaract-appointments-public.php b/public/class-rotaract-appointments-public.php index 26e3ef3..b43f46d 100644 --- a/public/class-rotaract-appointments-public.php +++ b/public/class-rotaract-appointments-public.php @@ -27,6 +27,7 @@ */ class Rotaract_Appointments_Public { + /** * The ID of this plugin. * @@ -106,7 +107,6 @@ public function __construct( string $rotaract_appointments, string $version, Rot $this->parser = new Parsedown(); // Escape user-input within the generated HTML. $this->parser->setSafeMode( true ); - } /** @@ -117,7 +117,6 @@ public function __construct( string $rotaract_appointments, string $version, Rot public function enqueue_styles() { wp_enqueue_style( $this->rotaract_appointments, plugins_url( 'css/public.css', __FILE__ ), array(), $this->version, 'all' ); - } /** @@ -145,7 +144,6 @@ public function enqueue_scripts() { 'calendarBtn' => __( 'Calendars', 'rotaract-appointments' ), ) ); - } /** @@ -155,48 +153,64 @@ public function enqueue_scripts() { */ public function register_routes() { - $version = 1; + $version = 1; $namespace = $this->rotaract_appointments . '/v' . $version; - $base_ics = '/ics/(?P.+)'; - register_rest_route( $namespace, $base_ics, array( - 'methods' => 'GET', - 'callback' => array( $this, 'proxy_ics' ), - 'args' => array( - 'name' => array( - 'required' => true, - 'validate_callback' => function( $param ) { - // Check if the given name is present in feeds. - return in_array( urldecode( $param ), array_column( get_option( 'rotaract_appointment_ics' ), 'name' ) ); - } - ) + $base_ics = '/ics/(?P.+)'; + register_rest_route( + $namespace, + $base_ics, + array( + 'methods' => 'GET', + 'callback' => array( $this, 'proxy_ics' ), + 'args' => array( + 'name' => array( + 'required' => true, + 'validate_callback' => function ( $param ) { + // Check if the given name is present in feeds. + return in_array( urldecode( $param ), array_column( get_option( 'rotaract_appointment_ics' ), 'name' ) ); + }, + ), + ), ) - ) ); - + ); } /** * Return remote ICS feeds based on what was defined in Admin Panel. * + * @param array $data Request data. * @since 2.1.1 */ public function proxy_ics( $data ) { - $feed_name = urldecode( $data[ 'name' ] ); + $feed_name = urldecode( $data['name'] ); $feed_index_key = array_search( $feed_name, array_column( get_option( 'rotaract_appointment_ics' ), 'name' ) ); - $feed_url = get_option( 'rotaract_appointment_ics' )[ $feed_index_key ][ 'url' ]; + $feed_url = get_option( 'rotaract_appointment_ics' )[ $feed_index_key ]['url']; $feed_data = wp_remote_get( $feed_url ); $feed_data_body = wp_remote_retrieve_body( $feed_data ); - $response = new WP_HTTP_Response( $feed_data_body, 200, array( - 'Content-Type' => 'text/calendar', - ) ); - add_filter( 'rest_pre_serve_request', function () use ( $feed_data_body ) { - echo $feed_data_body; - return true; - }, 0, 2 ); - return $response; + $response = new WP_HTTP_Response( + $feed_data_body, + 200, + array( + 'Content-Type' => 'text/calendar', + ) + ); + add_filter( + 'rest_pre_serve_request', + function () use ( $feed_data_body ) { + /* + What dose this echo do? + echo $feed_data_body; + */ + return true; + }, + 0, + 2 + ); + return $response; } /** @@ -239,7 +253,7 @@ public function appointments_shortcode( $atts ): string { */ public function init_calendar() { $owners = get_option( 'rotaract_appointment_owners' ); - $feeds = get_option( 'rotaract_appointment_ics' ); + $feeds = get_option( 'rotaract_appointment_ics' ); // boolean? $owner_names = array_map( function ( $o ) { return $o['name']; @@ -281,7 +295,7 @@ function ( $a ) use ( $owner ) { $event_sources[] = array( 'id' => $feed['name'], 'title' => $feed['name'], - 'url' => '/wp-json/' . $this->rotaract_appointments . '/v1/ics/' . urlencode( $feed['name'] ), + 'url' => '/wp-json/' . $this->rotaract_appointments . '/v1/ics/' . rawurlencode( $feed['name'] ), 'color' => $feed['color'], 'textColor' => '#fff', 'format' => 'ics', @@ -310,5 +324,4 @@ private function create_event( array $appointment ): array { 'owner' => $appointment['_source']['owner_select_names'], ); } - } diff --git a/rotaract-appointments.php b/rotaract-appointments.php index 3f6a101..6cce475 100644 --- a/rotaract-appointments.php +++ b/rotaract-appointments.php @@ -56,6 +56,5 @@ function run_rotaract_appointments() { $plugin = new Rotaract_Appointments(); $plugin->run(); - } run_rotaract_appointments(); From 26964745efc188d47598b38c662dca6f27acda45 Mon Sep 17 00:00:00 2001 From: Christoffer Pohl Date: Mon, 9 Oct 2023 17:54:51 +0200 Subject: [PATCH 07/15] wpcs update --- admin/class-rotaract-appointments-admin.php | 13 +++++++------ admin/js/settings.js | 4 ++-- public/class-rotaract-appointments-public.php | 7 ++++--- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/admin/class-rotaract-appointments-admin.php b/admin/class-rotaract-appointments-admin.php index c66c2b2..899e64e 100644 --- a/admin/class-rotaract-appointments-admin.php +++ b/admin/class-rotaract-appointments-admin.php @@ -260,7 +260,7 @@ private function get_palette() { * * @param array $args The settings array, defining title, id, callback. */ - public function rotaract_appointment_section( array $args ) { + public function rotaract_appointment_section( array $args ) { // phpcs:ignore include $this->get_partial( 'section-rotaract-appointments.php' ); } @@ -270,13 +270,14 @@ public function rotaract_appointment_section( array $args ) { * * @param array $args The settings array, defining ... */ - public function appointment_owners_field( array $args ) { + public function appointment_owners_field( array $args ) { // phpcs:ignore // Get the value of the setting we've registered with register_setting(). $selected_owners = get_option( 'rotaract_appointment_owners' ); include $this->get_partial( 'field-appointment-owners.php' ); } + /** * Builds select tag containing grouped appointment options. * @@ -285,7 +286,7 @@ public function appointment_owners_field( array $args ) { * @param string|null $owner_name The owner's name. * @param string|null $owner_color Selected color. */ - private function print_appointment_owners_line( bool $is_new, int $index, string $owner_name = null, string $owner_color = null ) { + private function print_appointment_owners_line( bool $is_new, int $index, string $owner_name = null, string $owner_color = null ) { // phpcs:ignore $owners = $this->elastic_caller->get_all_owners(); $color_palette = $this->get_palette(); @@ -297,7 +298,7 @@ private function print_appointment_owners_line( bool $is_new, int $index, string * * @param array $args The settings array, defining ... */ - public function appointment_ics_field( array $args ) { + public function appointment_ics_field( array $args ) { // phpcs:ignore // Get the value of the setting we've registered with register_setting(). $ics_feeds = get_option( 'rotaract_appointment_ics' ); @@ -313,7 +314,7 @@ public function appointment_ics_field( array $args ) { * @param string|null $feed_url The feed's url. * @param string|null $feed_color Selected color. */ - private function print_ics_line( bool $is_new, int $index, string $feed_name = null, string $feed_url = null, string $feed_color = null ) { + private function print_ics_line( bool $is_new, int $index, string $feed_name = null, string $feed_url = null, string $feed_color = null ) { // phpcs:ignore $color_palette = $this->get_palette(); include $this->get_partial( 'field-ics-line.php' ); @@ -374,7 +375,7 @@ public function sanitize_rotaract_appointment_ics( ?array $input ): array { * * @param array $args The settings array, defining ... */ - public function appointment_owners_shortcode_manual( array $args ) { + public function appointment_owners_shortcode_manual( array $args ) { // phpcs:ignore include $this->get_partial( 'field-shortcode-manual.php' ); } diff --git a/admin/js/settings.js b/admin/js/settings.js index dbfb844..e6acfa6 100644 --- a/admin/js/settings.js +++ b/admin/js/settings.js @@ -55,8 +55,8 @@ function addEventListeners() { } ); - document.querySelector( 'button.add-owner' ) ? .addEventListener( 'click', addOwner ); - document.querySelector( 'button.add-ics' ) ? .addEventListener( 'click', addFeed ); + document.querySelector( 'button.add-owner' ) ?.addEventListener( 'click', addOwner ); + document.querySelector( 'button.add-ics' ) ?.addEventListener( 'click', addFeed ); } /** diff --git a/public/class-rotaract-appointments-public.php b/public/class-rotaract-appointments-public.php index b43f46d..eb3464b 100644 --- a/public/class-rotaract-appointments-public.php +++ b/public/class-rotaract-appointments-public.php @@ -28,6 +28,7 @@ class Rotaract_Appointments_Public { + /** * The ID of this plugin. * @@ -126,7 +127,7 @@ public function enqueue_styles() { */ public function enqueue_scripts() { - wp_enqueue_script( 'ical-js', plugins_url( 'node_modules/ical.js/build/ical.min.js', __DIR__ ), array(), null, true ); + wp_enqueue_script( 'ical-js', plugins_url( 'node_modules/ical.js/build/ical.min.js', __DIR__ ), array(), $this->version, true ); wp_enqueue_script( 'fullcalendar', plugins_url( 'node_modules/fullcalendar/index.global.min.js', __DIR__ ), array(), $this->fullcalendar_version, true ); wp_enqueue_script( 'fullcalendar-locales', plugins_url( 'node_modules/@fullcalendar/core/locales-all.global.min.js', __DIR__ ), array( 'fullcalendar' ), $this->fullcalendar_version, true ); @@ -167,7 +168,7 @@ public function register_routes() { 'required' => true, 'validate_callback' => function ( $param ) { // Check if the given name is present in feeds. - return in_array( urldecode( $param ), array_column( get_option( 'rotaract_appointment_ics' ), 'name' ) ); + return in_array( urldecode( $param ), array_column( get_option( 'rotaract_appointment_ics' ), 'name' ), true ); }, ), ), @@ -184,7 +185,7 @@ public function register_routes() { public function proxy_ics( $data ) { $feed_name = urldecode( $data['name'] ); - $feed_index_key = array_search( $feed_name, array_column( get_option( 'rotaract_appointment_ics' ), 'name' ) ); + $feed_index_key = array_search( $feed_name, array_column( get_option( 'rotaract_appointment_ics' ), 'name' ), true ); $feed_url = get_option( 'rotaract_appointment_ics' )[ $feed_index_key ]['url']; $feed_data = wp_remote_get( $feed_url ); From a5cbe241f6c69f1676a98ddb0cb1ab298e30adee Mon Sep 17 00:00:00 2001 From: Christoffer Pohl Date: Mon, 9 Oct 2023 17:59:17 +0200 Subject: [PATCH 08/15] update js for jshint --- admin/js/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/js/settings.js b/admin/js/settings.js index e6acfa6..eb7f0b2 100644 --- a/admin/js/settings.js +++ b/admin/js/settings.js @@ -55,8 +55,8 @@ function addEventListeners() { } ); - document.querySelector( 'button.add-owner' ) ?.addEventListener( 'click', addOwner ); - document.querySelector( 'button.add-ics' ) ?.addEventListener( 'click', addFeed ); + document.querySelector( 'button.add-owner' ) ?.addEventListener( 'click', addOwner ); // phpcs:ignore + document.querySelector( 'button.add-ics' ) ?.addEventListener( 'click', addFeed ); // phpcs:ignore } /** From 2a69c9bfb111249aa569e719f28bd1df9d40d8a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 05:50:26 +0000 Subject: [PATCH 09/15] Bump actions/setup-node from 3 to 4 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc54fa4..488e96a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: cache: npm - name: Install Node.js dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a6bf5a8..ec3712a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: cache: npm - name: Install Node.js dependencies From 47ade4fba4b5021cc89a5b4c07ea663dd851444e Mon Sep 17 00:00:00 2001 From: Benno Bielmeier Date: Tue, 31 Oct 2023 22:44:46 +0100 Subject: [PATCH 10/15] fix: php warning about wrong type > PHP Warning: foreach() argument must be of type array|object, bool given in public/class-rotaract-appointments-public.php on line 280; This is due to `false` being returned as fallback default value if option is not set AND no other default value is set. See also: https://developer.wordpress.org/reference/functions/get_option/ --- public/class-rotaract-appointments-public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/class-rotaract-appointments-public.php b/public/class-rotaract-appointments-public.php index eb3464b..1651925 100644 --- a/public/class-rotaract-appointments-public.php +++ b/public/class-rotaract-appointments-public.php @@ -254,7 +254,7 @@ public function appointments_shortcode( $atts ): string { */ public function init_calendar() { $owners = get_option( 'rotaract_appointment_owners' ); - $feeds = get_option( 'rotaract_appointment_ics' ); // boolean? + $feeds = get_option( 'rotaract_appointment_ics', array() ); $owner_names = array_map( function ( $o ) { return $o['name']; From 93b1a8a4f72388ecc12c7264e33b955c350fb2e6 Mon Sep 17 00:00:00 2001 From: Benno Bielmeier Date: Tue, 31 Oct 2023 22:46:46 +0100 Subject: [PATCH 11/15] fix: php warning about unset value --- public/class-rotaract-appointments-public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/class-rotaract-appointments-public.php b/public/class-rotaract-appointments-public.php index 1651925..66b018c 100644 --- a/public/class-rotaract-appointments-public.php +++ b/public/class-rotaract-appointments-public.php @@ -320,7 +320,7 @@ private function create_event( array $appointment ): array { 'start' => wp_date( 'Y-m-d\TH:i', strtotime( $appointment['_source']['begins_at'] ) ), 'end' => wp_date( 'Y-m-d\TH:i', strtotime( $appointment['_source']['ends_at'] ) ), 'allDay' => $appointment['_source']['all_day'], - 'address' => $appointment['_source']['address'], + 'address' => $appointment['_source']['address'] ?? '', 'description' => $this->parser->text( $appointment['_source']['description'] ), 'owner' => $appointment['_source']['owner_select_names'], ); From 10cc8a076d42d2810d9a2aac3ddffc7cb64e9919 Mon Sep 17 00:00:00 2001 From: Benno Bielmeier Date: Tue, 31 Oct 2023 22:48:48 +0100 Subject: [PATCH 12/15] feat: udpate dependencies --- composer.lock | 99 ++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 52 deletions(-) diff --git a/composer.lock b/composer.lock index fbb5b8d..23672d9 100644 --- a/composer.lock +++ b/composer.lock @@ -620,31 +620,26 @@ }, { "name": "php-http/promise", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/php-http/promise.git", - "reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88" + "reference": "ef4905bfb492ff389eb7f12e26925a0f20073050" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/4c4c1f9b7289a2ec57cde7f1e9762a5789506f88", - "reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88", + "url": "https://api.github.com/repos/php-http/promise/zipball/ef4905bfb492ff389eb7f12e26925a0f20073050", + "reference": "ef4905bfb492ff389eb7f12e26925a0f20073050", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.3.2", - "phpspec/phpspec": "^5.1.2 || ^6.2" + "friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3", + "phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, "autoload": { "psr-4": { "Http\\Promise\\": "src/" @@ -671,9 +666,9 @@ ], "support": { "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.1.0" + "source": "https://github.com/php-http/promise/tree/1.2.0" }, - "time": "2020-07-07T09:29:14+00:00" + "time": "2023-10-24T09:20:26+00:00" }, { "name": "psr/http-client", @@ -3617,16 +3612,16 @@ }, { "name": "wp-cli/config-command", - "version": "v2.3.0", + "version": "v2.3.2", "source": { "type": "git", "url": "https://github.com/wp-cli/config-command.git", - "reference": "d4d505f5d071871259b2e260cf35085209d4dece" + "reference": "9de6ce3536a2db56ae5264c61b6f1a35e9132e01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/config-command/zipball/d4d505f5d071871259b2e260cf35085209d4dece", - "reference": "d4d505f5d071871259b2e260cf35085209d4dece", + "url": "https://api.github.com/repos/wp-cli/config-command/zipball/9de6ce3536a2db56ae5264c61b6f1a35e9132e01", + "reference": "9de6ce3536a2db56ae5264c61b6f1a35e9132e01", "shasum": "" }, "require": { @@ -3685,9 +3680,9 @@ "homepage": "https://github.com/wp-cli/config-command", "support": { "issues": "https://github.com/wp-cli/config-command/issues", - "source": "https://github.com/wp-cli/config-command/tree/v2.3.0" + "source": "https://github.com/wp-cli/config-command/tree/v2.3.2" }, - "time": "2023-08-30T15:15:17+00:00" + "time": "2023-10-20T10:15:46+00:00" }, { "name": "wp-cli/core-command", @@ -3972,16 +3967,16 @@ }, { "name": "wp-cli/entity-command", - "version": "v2.5.5", + "version": "v2.5.6", "source": { "type": "git", "url": "https://github.com/wp-cli/entity-command.git", - "reference": "9b4a1d0f4a59f7fc69d6a7e4da724c87c7695675" + "reference": "45d4f3a77b7977fee4b4f7e183e692ab84bf7dd8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/entity-command/zipball/9b4a1d0f4a59f7fc69d6a7e4da724c87c7695675", - "reference": "9b4a1d0f4a59f7fc69d6a7e4da724c87c7695675", + "url": "https://api.github.com/repos/wp-cli/entity-command/zipball/45d4f3a77b7977fee4b4f7e183e692ab84bf7dd8", + "reference": "45d4f3a77b7977fee4b4f7e183e692ab84bf7dd8", "shasum": "" }, "require": { @@ -4177,9 +4172,9 @@ "homepage": "https://github.com/wp-cli/entity-command", "support": { "issues": "https://github.com/wp-cli/entity-command/issues", - "source": "https://github.com/wp-cli/entity-command/tree/v2.5.5" + "source": "https://github.com/wp-cli/entity-command/tree/v2.5.6" }, - "time": "2023-09-19T23:00:47+00:00" + "time": "2023-10-13T13:38:49+00:00" }, { "name": "wp-cli/eval-command", @@ -4304,16 +4299,16 @@ }, { "name": "wp-cli/extension-command", - "version": "v2.1.14", + "version": "v2.1.15", "source": { "type": "git", "url": "https://github.com/wp-cli/extension-command.git", - "reference": "17b16548b5775616dcbbd92f7836e67bba02e8ba" + "reference": "1fe271c5ebb1815732a8cf6bb6979c9261ee6375" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/17b16548b5775616dcbbd92f7836e67bba02e8ba", - "reference": "17b16548b5775616dcbbd92f7836e67bba02e8ba", + "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/1fe271c5ebb1815732a8cf6bb6979c9261ee6375", + "reference": "1fe271c5ebb1815732a8cf6bb6979c9261ee6375", "shasum": "" }, "require": { @@ -4396,9 +4391,9 @@ "homepage": "https://github.com/wp-cli/extension-command", "support": { "issues": "https://github.com/wp-cli/extension-command/issues", - "source": "https://github.com/wp-cli/extension-command/tree/v2.1.14" + "source": "https://github.com/wp-cli/extension-command/tree/v2.1.15" }, - "time": "2023-08-30T15:15:35+00:00" + "time": "2023-10-11T14:55:49+00:00" }, { "name": "wp-cli/i18n-command", @@ -4530,16 +4525,16 @@ }, { "name": "wp-cli/language-command", - "version": "v2.0.15", + "version": "v2.0.16", "source": { "type": "git", "url": "https://github.com/wp-cli/language-command.git", - "reference": "5d277b498e4fd3555637bb967c55fc00538ae086" + "reference": "829cdf985fc1fdbe0572ef9a281b8a590aa4ee29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/language-command/zipball/5d277b498e4fd3555637bb967c55fc00538ae086", - "reference": "5d277b498e4fd3555637bb967c55fc00538ae086", + "url": "https://api.github.com/repos/wp-cli/language-command/zipball/829cdf985fc1fdbe0572ef9a281b8a590aa4ee29", + "reference": "829cdf985fc1fdbe0572ef9a281b8a590aa4ee29", "shasum": "" }, "require": { @@ -4549,7 +4544,7 @@ "wp-cli/db-command": "^1.3 || ^2", "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "type": "wp-cli-package", "extra": { @@ -4603,9 +4598,9 @@ "homepage": "https://github.com/wp-cli/language-command", "support": { "issues": "https://github.com/wp-cli/language-command/issues", - "source": "https://github.com/wp-cli/language-command/tree/v2.0.15" + "source": "https://github.com/wp-cli/language-command/tree/v2.0.16" }, - "time": "2023-02-17T16:43:41+00:00" + "time": "2023-10-18T21:57:04+00:00" }, { "name": "wp-cli/maintenance-mode-command", @@ -5407,16 +5402,16 @@ }, { "name": "wp-cli/wp-cli", - "version": "v2.8.1", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "5dd2340b9a01c3cfdbaf5e93a140759fdd190eee" + "reference": "8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/5dd2340b9a01c3cfdbaf5e93a140759fdd190eee", - "reference": "5dd2340b9a01c3cfdbaf5e93a140759fdd190eee", + "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7", + "reference": "8a3befba2d947fbf5cc6d1941edf2dd99da4d4b7", "shasum": "" }, "require": { @@ -5433,7 +5428,7 @@ "wp-cli/entity-command": "^1.2 || ^2", "wp-cli/extension-command": "^1.1 || ^2", "wp-cli/package-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^3.1.6" + "wp-cli/wp-cli-tests": "^4.0.1" }, "suggest": { "ext-readline": "Include for a better --prompt implementation", @@ -5473,20 +5468,20 @@ "issues": "https://github.com/wp-cli/wp-cli/issues", "source": "https://github.com/wp-cli/wp-cli" }, - "time": "2023-06-05T06:55:55+00:00" + "time": "2023-10-25T09:06:37+00:00" }, { "name": "wp-cli/wp-cli-bundle", - "version": "v2.8.1", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli-bundle.git", - "reference": "42e9cb9c16831c31ff720ed9dd1604e0f9871695" + "reference": "3512737e69e55507172e8dce400e09231ba95919" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli-bundle/zipball/42e9cb9c16831c31ff720ed9dd1604e0f9871695", - "reference": "42e9cb9c16831c31ff720ed9dd1604e0f9871695", + "url": "https://api.github.com/repos/wp-cli/wp-cli-bundle/zipball/3512737e69e55507172e8dce400e09231ba95919", + "reference": "3512737e69e55507172e8dce400e09231ba95919", "shasum": "" }, "require": { @@ -5517,11 +5512,11 @@ "wp-cli/shell-command": "^2", "wp-cli/super-admin-command": "^2", "wp-cli/widget-command": "^2", - "wp-cli/wp-cli": "^2.8.1" + "wp-cli/wp-cli": "^2.9.0" }, "require-dev": { "roave/security-advisories": "dev-latest", - "wp-cli/wp-cli-tests": "^3.0.7" + "wp-cli/wp-cli-tests": "^4" }, "suggest": { "psy/psysh": "Enhanced `wp shell` functionality" @@ -5529,7 +5524,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.8.x-dev" + "dev-main": "2.9.x-dev" } }, "notification-url": "https://packagist.org/downloads/", @@ -5547,7 +5542,7 @@ "issues": "https://github.com/wp-cli/wp-cli-bundle/issues", "source": "https://github.com/wp-cli/wp-cli-bundle" }, - "time": "2023-06-05T07:33:43+00:00" + "time": "2023-10-25T09:28:58+00:00" }, { "name": "wp-cli/wp-config-transformer", From 17cd0457e1d82d34af304dfe822fdb6302017346 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 21:52:20 +0000 Subject: [PATCH 13/15] Bump fullcalendar from 6.1.8 to 6.1.9 Bumps [fullcalendar](https://github.com/fullcalendar/fullcalendar/tree/HEAD/bundle) from 6.1.8 to 6.1.9. - [Release notes](https://github.com/fullcalendar/fullcalendar/releases) - [Changelog](https://github.com/fullcalendar/fullcalendar/blob/main/CHANGELOG.md) - [Commits](https://github.com/fullcalendar/fullcalendar/commits/v6.1.9/bundle) --- updated-dependencies: - dependency-name: fullcalendar dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 128 +++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 65 insertions(+), 65 deletions(-) diff --git a/package-lock.json b/package-lock.json index d64670f..a423291 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "license": "EUPL-1.2", "dependencies": { "@fullcalendar/icalendar": "^6.1.8", - "fullcalendar": "^6.1.8", + "fullcalendar": "^6.1.9", "ical.js": "^1.5.0", "lc-select": "^1.1.8", "tippy.js": "^6.3.7" @@ -18,19 +18,19 @@ } }, "node_modules/@fullcalendar/core": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.8.tgz", - "integrity": "sha512-i8JBIvZCWGO9dsMEDcx9bnsQZ9PtGSJdOXGgWbhLaGq2iq41OBdp9g9gM4b/Otv2oK8bL5Gl6CsMmb/HkDtA6Q==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.9.tgz", + "integrity": "sha512-eeG+z9BWerdsU9Ac6j16rpYpPnE0wxtnEHiHrh/u/ADbGTR3hCOjCD9PxQOfhOTHbWOVs7JQunGcksSPu5WZBQ==", "dependencies": { "preact": "~10.12.1" } }, "node_modules/@fullcalendar/daygrid": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.8.tgz", - "integrity": "sha512-kCZxQFKb9Vqa3CZRX0v7rMSJ2mlTt4gDpyLfiNJKxUAq7W51uKurPaFZWicaXy1ESHVBxKNlbx5uNjBpyu50JQ==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.9.tgz", + "integrity": "sha512-o/6joH/7lmVHXAkbaa/tUbzWYnGp/LgfdiFyYPkqQbjKEeivNZWF1WhHqFbhx0zbFONSHtrvkjY2bjr+Ef2quQ==", "peerDependencies": { - "@fullcalendar/core": "~6.1.8" + "@fullcalendar/core": "~6.1.9" } }, "node_modules/@fullcalendar/icalendar": { @@ -43,41 +43,41 @@ } }, "node_modules/@fullcalendar/interaction": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.8.tgz", - "integrity": "sha512-r6W4E9ohaA87M2uPSlmpE2WT7Fzu7LN0u2pE6D/tThruCEaAPbN8Pw5+sqclsuyTIL09mg0eSJm/ggJekTabSA==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.9.tgz", + "integrity": "sha512-I3FGnv0kKZpIwujg3HllbKrciNjTqeTYy3oJG226oAn7lV6wnrrDYMmuGmA0jPJAGN46HKrQqKN7ItxQRDec4Q==", "peerDependencies": { - "@fullcalendar/core": "~6.1.8" + "@fullcalendar/core": "~6.1.9" } }, "node_modules/@fullcalendar/list": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/list/-/list-6.1.8.tgz", - "integrity": "sha512-10N0T/vCtId1cE3JGLpnbAivWVnaWCCkVO7wmbsyr5Y+I939kr/zq4BUNwBoP/xSFVVxx59FETh3iyA+MkV8Fw==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/list/-/list-6.1.9.tgz", + "integrity": "sha512-OCKdC1Gz26cJ5QsXdQyXVyzVu23ypT2xzyAR+Wc8jEytcJLWXw2a914m/MVax8n8EHuaIYY2exhsy/eaSU0XNA==", "peerDependencies": { - "@fullcalendar/core": "~6.1.8" + "@fullcalendar/core": "~6.1.9" } }, "node_modules/@fullcalendar/multimonth": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/multimonth/-/multimonth-6.1.8.tgz", - "integrity": "sha512-3F0NlncQTfeE9x5ICxh/M9DaSdY6XjgM1NazY8k+d6ukd1jthHI7vs6j7tXJI9eGUKs3DNNEyzN/LoP06SIyKw==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/multimonth/-/multimonth-6.1.9.tgz", + "integrity": "sha512-YpH1NL6RzdM1wO2nFJ3pNMo9xhd6i2WuE+e7SnGi7q1lO+ZZ77h5Fja5JKcpuIQUFHpi+m6vTzihIV8DT44NnQ==", "dependencies": { - "@fullcalendar/daygrid": "~6.1.8" + "@fullcalendar/daygrid": "~6.1.9" }, "peerDependencies": { - "@fullcalendar/core": "~6.1.8" + "@fullcalendar/core": "~6.1.9" } }, "node_modules/@fullcalendar/timegrid": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-6.1.8.tgz", - "integrity": "sha512-3+3KHHCoNcaLs/gQt004hAqICbY5+WAffrZ0ePv+80HFB1OVh8BQ5XXLHSOUbTvXdgtUTcfBHuw9fhO31kt5gA==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-6.1.9.tgz", + "integrity": "sha512-le7UV05wVE1Trdr054kgJXTwa+A1pEI8nlCBnPWdcyrL+dTLoPvQ4AWEVCnV7So+4zRYaCqnqGXfCJsj0RQa0g==", "dependencies": { - "@fullcalendar/daygrid": "~6.1.8" + "@fullcalendar/daygrid": "~6.1.9" }, "peerDependencies": { - "@fullcalendar/core": "~6.1.8" + "@fullcalendar/core": "~6.1.9" } }, "node_modules/@popperjs/core": { @@ -223,16 +223,16 @@ "dev": true }, "node_modules/fullcalendar": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/fullcalendar/-/fullcalendar-6.1.8.tgz", - "integrity": "sha512-cbIdnInHVjj3fWqGgurbRuo8EFViVcEKpI2NZpGkzaqpnvN0p1ifKyQ9qnSGS2bKr7733z8Tv8T+CRXfnEWVmw==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/fullcalendar/-/fullcalendar-6.1.9.tgz", + "integrity": "sha512-b3y22EqOtV1cGjOlPE6krs1CwQA/8p5lsylllp35tqDLOK7kLIXDQotpXgsDBY4qAKTgdiSauqzdkdvyrbjAgQ==", "dependencies": { - "@fullcalendar/core": "~6.1.8", - "@fullcalendar/daygrid": "~6.1.8", - "@fullcalendar/interaction": "~6.1.8", - "@fullcalendar/list": "~6.1.8", - "@fullcalendar/multimonth": "~6.1.8", - "@fullcalendar/timegrid": "~6.1.8" + "@fullcalendar/core": "~6.1.9", + "@fullcalendar/daygrid": "~6.1.9", + "@fullcalendar/interaction": "~6.1.9", + "@fullcalendar/list": "~6.1.9", + "@fullcalendar/multimonth": "~6.1.9", + "@fullcalendar/timegrid": "~6.1.9" } }, "node_modules/glob": { @@ -422,17 +422,17 @@ }, "dependencies": { "@fullcalendar/core": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.8.tgz", - "integrity": "sha512-i8JBIvZCWGO9dsMEDcx9bnsQZ9PtGSJdOXGgWbhLaGq2iq41OBdp9g9gM4b/Otv2oK8bL5Gl6CsMmb/HkDtA6Q==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.9.tgz", + "integrity": "sha512-eeG+z9BWerdsU9Ac6j16rpYpPnE0wxtnEHiHrh/u/ADbGTR3hCOjCD9PxQOfhOTHbWOVs7JQunGcksSPu5WZBQ==", "requires": { "preact": "~10.12.1" } }, "@fullcalendar/daygrid": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.8.tgz", - "integrity": "sha512-kCZxQFKb9Vqa3CZRX0v7rMSJ2mlTt4gDpyLfiNJKxUAq7W51uKurPaFZWicaXy1ESHVBxKNlbx5uNjBpyu50JQ==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.9.tgz", + "integrity": "sha512-o/6joH/7lmVHXAkbaa/tUbzWYnGp/LgfdiFyYPkqQbjKEeivNZWF1WhHqFbhx0zbFONSHtrvkjY2bjr+Ef2quQ==", "requires": {} }, "@fullcalendar/icalendar": { @@ -442,31 +442,31 @@ "requires": {} }, "@fullcalendar/interaction": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.8.tgz", - "integrity": "sha512-r6W4E9ohaA87M2uPSlmpE2WT7Fzu7LN0u2pE6D/tThruCEaAPbN8Pw5+sqclsuyTIL09mg0eSJm/ggJekTabSA==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-6.1.9.tgz", + "integrity": "sha512-I3FGnv0kKZpIwujg3HllbKrciNjTqeTYy3oJG226oAn7lV6wnrrDYMmuGmA0jPJAGN46HKrQqKN7ItxQRDec4Q==", "requires": {} }, "@fullcalendar/list": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/list/-/list-6.1.8.tgz", - "integrity": "sha512-10N0T/vCtId1cE3JGLpnbAivWVnaWCCkVO7wmbsyr5Y+I939kr/zq4BUNwBoP/xSFVVxx59FETh3iyA+MkV8Fw==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/list/-/list-6.1.9.tgz", + "integrity": "sha512-OCKdC1Gz26cJ5QsXdQyXVyzVu23ypT2xzyAR+Wc8jEytcJLWXw2a914m/MVax8n8EHuaIYY2exhsy/eaSU0XNA==", "requires": {} }, "@fullcalendar/multimonth": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/multimonth/-/multimonth-6.1.8.tgz", - "integrity": "sha512-3F0NlncQTfeE9x5ICxh/M9DaSdY6XjgM1NazY8k+d6ukd1jthHI7vs6j7tXJI9eGUKs3DNNEyzN/LoP06SIyKw==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/multimonth/-/multimonth-6.1.9.tgz", + "integrity": "sha512-YpH1NL6RzdM1wO2nFJ3pNMo9xhd6i2WuE+e7SnGi7q1lO+ZZ77h5Fja5JKcpuIQUFHpi+m6vTzihIV8DT44NnQ==", "requires": { - "@fullcalendar/daygrid": "~6.1.8" + "@fullcalendar/daygrid": "~6.1.9" } }, "@fullcalendar/timegrid": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-6.1.8.tgz", - "integrity": "sha512-3+3KHHCoNcaLs/gQt004hAqICbY5+WAffrZ0ePv+80HFB1OVh8BQ5XXLHSOUbTvXdgtUTcfBHuw9fhO31kt5gA==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-6.1.9.tgz", + "integrity": "sha512-le7UV05wVE1Trdr054kgJXTwa+A1pEI8nlCBnPWdcyrL+dTLoPvQ4AWEVCnV7So+4zRYaCqnqGXfCJsj0RQa0g==", "requires": { - "@fullcalendar/daygrid": "~6.1.8" + "@fullcalendar/daygrid": "~6.1.9" } }, "@popperjs/core": { @@ -595,16 +595,16 @@ "dev": true }, "fullcalendar": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/fullcalendar/-/fullcalendar-6.1.8.tgz", - "integrity": "sha512-cbIdnInHVjj3fWqGgurbRuo8EFViVcEKpI2NZpGkzaqpnvN0p1ifKyQ9qnSGS2bKr7733z8Tv8T+CRXfnEWVmw==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/fullcalendar/-/fullcalendar-6.1.9.tgz", + "integrity": "sha512-b3y22EqOtV1cGjOlPE6krs1CwQA/8p5lsylllp35tqDLOK7kLIXDQotpXgsDBY4qAKTgdiSauqzdkdvyrbjAgQ==", "requires": { - "@fullcalendar/core": "~6.1.8", - "@fullcalendar/daygrid": "~6.1.8", - "@fullcalendar/interaction": "~6.1.8", - "@fullcalendar/list": "~6.1.8", - "@fullcalendar/multimonth": "~6.1.8", - "@fullcalendar/timegrid": "~6.1.8" + "@fullcalendar/core": "~6.1.9", + "@fullcalendar/daygrid": "~6.1.9", + "@fullcalendar/interaction": "~6.1.9", + "@fullcalendar/list": "~6.1.9", + "@fullcalendar/multimonth": "~6.1.9", + "@fullcalendar/timegrid": "~6.1.9" } }, "glob": { diff --git a/package.json b/package.json index 42c93aa..686649e 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "scripts": {}, "dependencies": { "@fullcalendar/icalendar": "^6.1.8", - "fullcalendar": "^6.1.8", + "fullcalendar": "^6.1.9", "ical.js": "^1.5.0", "lc-select": "^1.1.8", "tippy.js": "^6.3.7" From b6dc4030ae9ae6aaceb984bb9205c24393de7406 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 21:56:50 +0000 Subject: [PATCH 14/15] Bump @fullcalendar/icalendar from 6.1.8 to 6.1.9 Bumps [@fullcalendar/icalendar](https://github.com/fullcalendar/fullcalendar/tree/HEAD/packages/icalendar) from 6.1.8 to 6.1.9. - [Release notes](https://github.com/fullcalendar/fullcalendar/releases) - [Changelog](https://github.com/fullcalendar/fullcalendar/blob/main/CHANGELOG.md) - [Commits](https://github.com/fullcalendar/fullcalendar/commits/v6.1.9/packages/icalendar) --- updated-dependencies: - dependency-name: "@fullcalendar/icalendar" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index a423291..adde45c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "rotaract-appointments", "license": "EUPL-1.2", "dependencies": { - "@fullcalendar/icalendar": "^6.1.8", + "@fullcalendar/icalendar": "^6.1.9", "fullcalendar": "^6.1.9", "ical.js": "^1.5.0", "lc-select": "^1.1.8", @@ -34,11 +34,11 @@ } }, "node_modules/@fullcalendar/icalendar": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/icalendar/-/icalendar-6.1.8.tgz", - "integrity": "sha512-2Qklry51X4/VbTpEOQ+vuSDGa1AVi5TfMjD2q3hRAp4dX8zVL36Oi2iLdIGiFVHYWPUVZgu/BP3rR+pEX1Z0Jw==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/icalendar/-/icalendar-6.1.9.tgz", + "integrity": "sha512-najYnL8IUiTBQx2YzbgQjeWulBefM6VZeCZNQ9cLaQdftMj98vcn7/cYSzl5ZJW1R+HYN+5FLN8rXRejpbo6nA==", "peerDependencies": { - "@fullcalendar/core": "~6.1.8", + "@fullcalendar/core": "~6.1.9", "ical.js": "^1.4.0" } }, @@ -436,9 +436,9 @@ "requires": {} }, "@fullcalendar/icalendar": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@fullcalendar/icalendar/-/icalendar-6.1.8.tgz", - "integrity": "sha512-2Qklry51X4/VbTpEOQ+vuSDGa1AVi5TfMjD2q3hRAp4dX8zVL36Oi2iLdIGiFVHYWPUVZgu/BP3rR+pEX1Z0Jw==", + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@fullcalendar/icalendar/-/icalendar-6.1.9.tgz", + "integrity": "sha512-najYnL8IUiTBQx2YzbgQjeWulBefM6VZeCZNQ9cLaQdftMj98vcn7/cYSzl5ZJW1R+HYN+5FLN8rXRejpbo6nA==", "requires": {} }, "@fullcalendar/interaction": { diff --git a/package.json b/package.json index 686649e..4363879 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "slug": "rotaract-appointments", "scripts": {}, "dependencies": { - "@fullcalendar/icalendar": "^6.1.8", + "@fullcalendar/icalendar": "^6.1.9", "fullcalendar": "^6.1.9", "ical.js": "^1.5.0", "lc-select": "^1.1.8", From 603c68c844cb5663e9f2dc8aba20f9a5679649e6 Mon Sep 17 00:00:00 2001 From: Benno Bielmeier Date: Tue, 31 Oct 2023 23:03:37 +0100 Subject: [PATCH 15/15] fix: fullcalendar version for JS cache clearance --- public/class-rotaract-appointments-public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/class-rotaract-appointments-public.php b/public/class-rotaract-appointments-public.php index 66b018c..68e3900 100644 --- a/public/class-rotaract-appointments-public.php +++ b/public/class-rotaract-appointments-public.php @@ -54,7 +54,7 @@ class Rotaract_Appointments_Public { * @access private * @var string $fullcalendar_version The current version of fullcalendar. */ - private string $fullcalendar_version = '6.0.1'; + private string $fullcalendar_version = '6.1.9'; /** * The version of tippy.js