[doc-en] master: Rephrase warning to prevent weird rendering issue

From: Date: Tue, 04 Nov 2025 05:23:55 +0000
Subject: [doc-en] master: Rephrase warning to prevent weird rendering issue
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-22847@lists.php.net to get a copy of this message
Author: Gina Peter Banyard (Girgias) Date: 2025-11-04T05:22:30Z Commit: https://github.com/php/doc-en/commit/0cf48a5a4869bd8b42f84e7032076756cde6a474 Raw diff: https://github.com/php/doc-en/commit/0cf48a5a4869bd8b42f84e7032076756cde6a474.diff Rephrase warning to prevent weird rendering issue Changed paths: M reference/datetime/dateperiod/construct.xml Diff: diff --git a/reference/datetime/dateperiod/construct.xml b/reference/datetime/dateperiod/construct.xml index dcbf7fa328d7..ff475f023385 100644 --- a/reference/datetime/dateperiod/construct.xml +++ b/reference/datetime/dateperiod/construct.xml @@ -24,14 +24,17 @@ <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam> </constructorsynopsis> <warning> + <simpara> + The following constructor variant has been deprecated: + </simpara> <constructorsynopsis role="DatePeriod"> <modifier>public</modifier> <methodname>DatePeriod::__construct</methodname> <methodparam><type>string</type><parameter>isostr</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam> </constructorsynopsis> <simpara> - This variant of the constructor has been deprecated, use - <methodname>DatePeriod::createFromISO8601String</methodname> instead. + Instead the <methodname>DatePeriod::createFromISO8601String</methodname> + static factory method should be used. </simpara> </warning> <para>

« previous php.doc.cvs (#22847) next »