From d59a9a48168e9b6136ea0538c2391b162d2d7907 Mon Sep 17 00:00:00 2001 From: mscherer Date: Tue, 2 Jan 2024 16:56:17 +0100 Subject: [PATCH] Rss example update. --- composer.lock | 98 +++++++++---------- .../Controller/CacheExamplesController.php | 1 - .../src/Controller/FeedExamplesController.php | 4 +- .../Controller/JqueryExamplesController.php | 1 - 4 files changed, 52 insertions(+), 52 deletions(-) diff --git a/composer.lock b/composer.lock index 9f341d64..0f0da333 100644 --- a/composer.lock +++ b/composer.lock @@ -225,16 +225,16 @@ }, { "name": "cakephp/cakephp", - "version": "5.0.3", + "version": "5.0.4", "source": { "type": "git", "url": "https://github.com/cakephp/cakephp.git", - "reference": "84174915611447d54639d35580d6e208f1a48e21" + "reference": "ac9cda35fc15b59fa1e44436de56fd8f08ca8a21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/cakephp/zipball/84174915611447d54639d35580d6e208f1a48e21", - "reference": "84174915611447d54639d35580d6e208f1a48e21", + "url": "https://api.github.com/repos/cakephp/cakephp/zipball/ac9cda35fc15b59fa1e44436de56fd8f08ca8a21", + "reference": "ac9cda35fc15b59fa1e44436de56fd8f08ca8a21", "shasum": "" }, "require": { @@ -286,7 +286,7 @@ "http-interop/http-factory-tests": "^2.0", "mikey179/vfsstream": "^1.6.10", "mockery/mockery": "^1.6", - "paragonie/csp-builder": "^2.3", + "paragonie/csp-builder": "^2.3 || ^3.0", "phpunit/phpunit": "^10.1.0" }, "suggest": { @@ -339,7 +339,7 @@ "issues": "https://github.com/cakephp/cakephp/issues", "source": "https://github.com/cakephp/cakephp" }, - "time": "2023-11-28T03:41:40+00:00" + "time": "2023-12-28T00:00:09+00:00" }, { "name": "cakephp/chronos", @@ -1912,12 +1912,12 @@ "source": { "type": "git", "url": "https://github.com/dereuromark/cakephp-feed.git", - "reference": "6a8784b23860e84eb44ad2f57cd8209b3006149e" + "reference": "9b13685c492beaf1d4f0744596c3e5969cba15c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dereuromark/cakephp-feed/zipball/6a8784b23860e84eb44ad2f57cd8209b3006149e", - "reference": "6a8784b23860e84eb44ad2f57cd8209b3006149e", + "url": "https://api.github.com/repos/dereuromark/cakephp-feed/zipball/9b13685c492beaf1d4f0744596c3e5969cba15c0", + "reference": "9b13685c492beaf1d4f0744596c3e5969cba15c0", "shasum": "" }, "require": { @@ -1960,7 +1960,7 @@ "issues": "https://github.com/dereuromark/cakephp-feed/issues", "source": "https://github.com/dereuromark/cakephp-feed" }, - "time": "2023-12-11T22:10:54+00:00" + "time": "2024-01-02T15:54:26+00:00" }, { "name": "dereuromark/cakephp-feedback", @@ -2631,12 +2631,12 @@ "source": { "type": "git", "url": "https://github.com/dereuromark/cakephp-tinyauth.git", - "reference": "60a0dc663f165717d9aee1895ed1a6fa240a88b1" + "reference": "fb1bb8e3e6680bb4c5b947be81c528e0f49e8586" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dereuromark/cakephp-tinyauth/zipball/60a0dc663f165717d9aee1895ed1a6fa240a88b1", - "reference": "60a0dc663f165717d9aee1895ed1a6fa240a88b1", + "url": "https://api.github.com/repos/dereuromark/cakephp-tinyauth/zipball/fb1bb8e3e6680bb4c5b947be81c528e0f49e8586", + "reference": "fb1bb8e3e6680bb4c5b947be81c528e0f49e8586", "shasum": "" }, "require": { @@ -2683,7 +2683,7 @@ "issues": "https://github.com/dereuromark/cakephp-tinyauth/issues", "source": "https://github.com/dereuromark/cakephp-tinyauth" }, - "time": "2023-12-24T15:38:04+00:00" + "time": "2023-12-28T11:10:25+00:00" }, { "name": "dereuromark/cakephp-tools", @@ -5786,12 +5786,12 @@ "source": { "type": "git", "url": "https://github.com/cakephp/phinx.git", - "reference": "bd4cb0d61bfda8d1bce33d4d2341054174aa5277" + "reference": "5b423937a86f2d84d67429c8bae39e672d0fee3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/phinx/zipball/bd4cb0d61bfda8d1bce33d4d2341054174aa5277", - "reference": "bd4cb0d61bfda8d1bce33d4d2341054174aa5277", + "url": "https://api.github.com/repos/cakephp/phinx/zipball/5b423937a86f2d84d67429c8bae39e672d0fee3b", + "reference": "5b423937a86f2d84d67429c8bae39e672d0fee3b", "shasum": "" }, "require": { @@ -5865,7 +5865,7 @@ "issues": "https://github.com/cakephp/phinx/issues", "source": "https://github.com/cakephp/phinx/tree/0.x" }, - "time": "2023-12-20T20:14:19+00:00" + "time": "2023-12-28T11:56:53+00:00" }, { "name": "sabberworm/php-css-parser", @@ -6368,16 +6368,16 @@ }, { "name": "symfony/console", - "version": "v6.4.1", + "version": "v6.4.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd" + "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a550a7c99daeedef3f9d23fb82e3531525ff11fd", - "reference": "a550a7c99daeedef3f9d23fb82e3531525ff11fd", + "url": "https://api.github.com/repos/symfony/console/zipball/0254811a143e6bc6c8deea08b589a7e68a37f625", + "reference": "0254811a143e6bc6c8deea08b589a7e68a37f625", "shasum": "" }, "require": { @@ -6442,7 +6442,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.1" + "source": "https://github.com/symfony/console/tree/v6.4.2" }, "funding": [ { @@ -6458,7 +6458,7 @@ "type": "tidelift" } ], - "time": "2023-11-30T10:54:28+00:00" + "time": "2023-12-10T16:15:48+00:00" }, { "name": "symfony/deprecation-contracts", @@ -7227,16 +7227,16 @@ }, { "name": "symfony/process", - "version": "v6.4.0", + "version": "v6.4.2", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "191703b1566d97a5425dc969e4350d32b8ef17aa" + "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/191703b1566d97a5425dc969e4350d32b8ef17aa", - "reference": "191703b1566d97a5425dc969e4350d32b8ef17aa", + "url": "https://api.github.com/repos/symfony/process/zipball/c4b1ef0bc80533d87a2e969806172f1c2a980241", + "reference": "c4b1ef0bc80533d87a2e969806172f1c2a980241", "shasum": "" }, "require": { @@ -7268,7 +7268,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.0" + "source": "https://github.com/symfony/process/tree/v6.4.2" }, "funding": [ { @@ -7284,25 +7284,25 @@ "type": "tidelift" } ], - "time": "2023-11-17T21:06:49+00:00" + "time": "2023-12-22T16:42:54+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.0", + "version": "v3.4.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838" + "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838", - "reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", + "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", "shasum": "" }, "require": { "php": ">=8.1", - "psr/container": "^2.0" + "psr/container": "^1.1|^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -7350,7 +7350,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" }, "funding": [ { @@ -7366,20 +7366,20 @@ "type": "tidelift" } ], - "time": "2023-07-30T20:28:31+00:00" + "time": "2023-12-26T14:02:43+00:00" }, { "name": "symfony/string", - "version": "v6.4.0", + "version": "v6.4.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "b45fcf399ea9c3af543a92edf7172ba21174d809" + "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/b45fcf399ea9c3af543a92edf7172ba21174d809", - "reference": "b45fcf399ea9c3af543a92edf7172ba21174d809", + "url": "https://api.github.com/repos/symfony/string/zipball/7cb80bc10bfcdf6b5492741c0b9357dac66940bc", + "reference": "7cb80bc10bfcdf6b5492741c0b9357dac66940bc", "shasum": "" }, "require": { @@ -7436,7 +7436,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.0" + "source": "https://github.com/symfony/string/tree/v6.4.2" }, "funding": [ { @@ -7452,7 +7452,7 @@ "type": "tidelift" } ], - "time": "2023-11-28T20:41:49+00:00" + "time": "2023-12-10T16:15:48+00:00" }, { "name": "tecnickcom/tcpdf", @@ -8847,16 +8847,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.3", + "version": "10.5.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19" + "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6fce887c71076a73f32fd3e0774a6833fc5c7f19", - "reference": "6fce887c71076a73f32fd3e0774a6833fc5c7f19", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ed21115d505b4b4f7dc7b5651464e19a2c7f7856", + "reference": "ed21115d505b4b4f7dc7b5651464e19a2c7f7856", "shasum": "" }, "require": { @@ -8928,7 +8928,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.3" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.5" }, "funding": [ { @@ -8944,7 +8944,7 @@ "type": "tidelift" } ], - "time": "2023-12-13T07:25:23+00:00" + "time": "2023-12-27T15:13:52+00:00" }, { "name": "sebastian/cli-parser", diff --git a/plugins/Sandbox/src/Controller/CacheExamplesController.php b/plugins/Sandbox/src/Controller/CacheExamplesController.php index cec9dfbf..2aa3f9d9 100644 --- a/plugins/Sandbox/src/Controller/CacheExamplesController.php +++ b/plugins/Sandbox/src/Controller/CacheExamplesController.php @@ -69,7 +69,6 @@ public function someJson() { ]; $this->set(compact('something')); - //$this->set('_serialize', ['something']); $serialize = 'something'; $this->viewBuilder()->setOptions(compact('serialize')); } diff --git a/plugins/Sandbox/src/Controller/FeedExamplesController.php b/plugins/Sandbox/src/Controller/FeedExamplesController.php index cdb22948..ece7c11c 100644 --- a/plugins/Sandbox/src/Controller/FeedExamplesController.php +++ b/plugins/Sandbox/src/Controller/FeedExamplesController.php @@ -79,7 +79,9 @@ public function feed() { 'channel' => $channel, 'items' => $items, ]; - $this->set(['channel' => $data, '_serialize' => 'channel']); + $this->set(['channel' => $data]); + $serialize = 'channel'; + $this->viewBuilder()->setOptions(compact('serialize')); } /** diff --git a/plugins/Sandbox/src/Controller/JqueryExamplesController.php b/plugins/Sandbox/src/Controller/JqueryExamplesController.php index 1b902461..da1f10e3 100644 --- a/plugins/Sandbox/src/Controller/JqueryExamplesController.php +++ b/plugins/Sandbox/src/Controller/JqueryExamplesController.php @@ -67,7 +67,6 @@ public function autocomplete() { ]); $this->set('items', $items); - //$this->set('_serialize', ['items']); $serialize = 'items'; $this->viewBuilder()->setOptions(compact('serialize')); }