From 52a2d1c0a7a990f6ba51766d39cc333118a24848 Mon Sep 17 00:00:00 2001 From: Raj Mohan Date: Thu, 3 Oct 2024 15:15:26 +0530 Subject: [PATCH 1/4] PHP8.4 Support Added --- .laminas-ci.json | 3 ++- composer.json | 2 +- composer.lock | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.laminas-ci.json b/.laminas-ci.json index 76b2eab3..f62c375c 100644 --- a/.laminas-ci.json +++ b/.laminas-ci.json @@ -5,6 +5,7 @@ "ignore_php_platform_requirements": { "8.1": false, "8.2": false, - "8.3": true + "8.3": true, + "8.4": true } } diff --git a/composer.json b/composer.json index d061455e..848e8a9b 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "extra": { }, "require": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", "ext-dom": "*", "ext-libxml": "*", "laminas/laminas-escaper": "^2.9", diff --git a/composer.lock b/composer.lock index bfbfbf79..8012f0e1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ca32b0856e5eac840d5d600e341fa4ba", + "content-hash": "e05d646687b4eebce5ee94cfb9164ef3", "packages": [ { "name": "laminas/laminas-escaper", @@ -4964,7 +4964,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", "ext-dom": "*", "ext-libxml": "*" }, From cad048ceab010924bff08d3881df174409ac6c90 Mon Sep 17 00:00:00 2001 From: Raj Mohan Date: Fri, 4 Oct 2024 12:12:01 +0530 Subject: [PATCH 2/4] Fix: Replace smart quotes with regular quotes in getCommentFeedLink method description to resolve Markdown formatting issue. --- docs/book/reader.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/reader.md b/docs/book/reader.md index 72f712d3..a4053f80 100644 --- a/docs/book/reader.md +++ b/docs/book/reader.md @@ -461,7 +461,7 @@ Method | Description `getEnclosure()` | Returns class object (stdClass) containing the value of all attributes from a multi-media `` element including as class attributes: url, length, type. In accordance with the RSS Best Practices Profile of the RSS Advisory Board, no support is offers for multiple enclosures since such support forms no part of the RSS specification. `getCommentCount()` | Returns the number of comments made on this entry at the time the feed was last generated. `getCommentLink()` | Returns a URI pointing to the HTML page where comments can be made on this entry. -`getCommentFeedLink([string $type = ‘atom'|'rss'])` | Returns a URI pointing to a feed of the provided type containing all comments for this entry (type defaults to Atom/RSS depending on current feed type). +`getCommentFeedLink([string $type = 'atom'|'rss'])` | Returns a URI pointing to a feed of the provided type containing all comments for this entry (type defaults to Atom/RSS depending on current feed type). `getCategories()` | Returns a `Laminas\Feed\Reader\Collection\Category` object containing the details of any categories associated with the entry. The supported fields include "term" (the machine readable category name), "scheme" (the categorisation scheme and domain for this category), and "label" (an HTML-decoded human readable category name). Where any of the three fields are absent from the field, they are either set to the closest available alternative or, in the case of "scheme", set to `NULL`. The extended API for entries is identical to that for feeds with the exception From 851432d74603be1586c3e335a0be5caa11ba1a3d Mon Sep 17 00:00:00 2001 From: Raj Mohan Date: Fri, 4 Oct 2024 12:16:27 +0530 Subject: [PATCH 3/4] Fix: Escape pipe character in getCommentFeedLink method description to resolve Markdown table column issue --- docs/book/reader.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/reader.md b/docs/book/reader.md index a4053f80..a946b200 100644 --- a/docs/book/reader.md +++ b/docs/book/reader.md @@ -461,7 +461,7 @@ Method | Description `getEnclosure()` | Returns class object (stdClass) containing the value of all attributes from a multi-media `` element including as class attributes: url, length, type. In accordance with the RSS Best Practices Profile of the RSS Advisory Board, no support is offers for multiple enclosures since such support forms no part of the RSS specification. `getCommentCount()` | Returns the number of comments made on this entry at the time the feed was last generated. `getCommentLink()` | Returns a URI pointing to the HTML page where comments can be made on this entry. -`getCommentFeedLink([string $type = 'atom'|'rss'])` | Returns a URI pointing to a feed of the provided type containing all comments for this entry (type defaults to Atom/RSS depending on current feed type). +`getCommentFeedLink([string $type = 'atom'\|'rss'])` | Returns a URI pointing to a feed of the provided type containing all comments for this entry (type defaults to Atom/RSS depending on current feed type). `getCategories()` | Returns a `Laminas\Feed\Reader\Collection\Category` object containing the details of any categories associated with the entry. The supported fields include "term" (the machine readable category name), "scheme" (the categorisation scheme and domain for this category), and "label" (an HTML-decoded human readable category name). Where any of the three fields are absent from the field, they are either set to the closest available alternative or, in the case of "scheme", set to `NULL`. The extended API for entries is identical to that for feeds with the exception From 865b15508fe38a128d6497bb7432f5d82ffec9c0 Mon Sep 17 00:00:00 2001 From: Raj Mohan Date: Tue, 8 Oct 2024 14:30:26 +0530 Subject: [PATCH 4/4] Updated PHP Platform Requirements --- .laminas-ci.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/.laminas-ci.json b/.laminas-ci.json index f62c375c..683a9e0d 100644 --- a/.laminas-ci.json +++ b/.laminas-ci.json @@ -3,9 +3,6 @@ "tidy" ], "ignore_php_platform_requirements": { - "8.1": false, - "8.2": false, - "8.3": true, "8.4": true } }