@@ -153,31 +153,11 @@ public function generate()
153153 }//end generate()
154154
155155
156- /**
157- * Print the header of the HTML page.
158- *
159- * @deprecated 3.12.0 Use HTML::getFormattedHeader() instead.
160- *
161- * @codeCoverageIgnore
162- *
163- * @return void
164- */
165- protected function printHeader ()
166- {
167- trigger_error (
168- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedHeader()" instead. ' ,
169- E_USER_DEPRECATED
170- );
171-
172- echo $ this ->getFormattedHeader ();
173-
174- }//end printHeader()
175-
176-
177156 /**
178157 * Format the header of the HTML page.
179158 *
180- * @since 3.12.0 Replaces the deprecated HTML::printHeader() method.
159+ * @since 3.12.0 Replaces the HTML::printHeader() method,
160+ * which was deprecated in 3.12.0 and removed in 4.0.0.
181161 *
182162 * @return string
183163 */
@@ -202,33 +182,13 @@ protected function getFormattedHeader()
202182 }//end getFormattedHeader()
203183
204184
205- /**
206- * Print the table of contents for the standard.
207- *
208- * @deprecated 3.12.0 Use HTML::getFormattedToc() instead.
209- *
210- * @codeCoverageIgnore
211- *
212- * @return void
213- */
214- protected function printToc ()
215- {
216- trigger_error (
217- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedToc()" instead. ' ,
218- E_USER_DEPRECATED
219- );
220-
221- echo $ this ->getFormattedToc ();
222-
223- }//end printToc()
224-
225-
226185 /**
227186 * Format the table of contents for the standard.
228187 *
229188 * The TOC is just an unordered list of bookmarks to sniffs on the page.
230189 *
231- * @since 3.12.0 Replaces the deprecated HTML::printToc() method.
190+ * @since 3.12.0 Replaces the HTML::printToc() method,
191+ * which was deprecated in 3.12.0 and removed in 4.0.0.
232192 *
233193 * @return string
234194 */
@@ -259,31 +219,11 @@ protected function getFormattedToc()
259219 }//end getFormattedToc()
260220
261221
262- /**
263- * Print the footer of the HTML page.
264- *
265- * @deprecated 3.12.0 Use HTML::getFormattedFooter() instead.
266- *
267- * @codeCoverageIgnore
268- *
269- * @return void
270- */
271- protected function printFooter ()
272- {
273- trigger_error (
274- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedFooter()" instead. ' ,
275- E_USER_DEPRECATED
276- );
277-
278- echo $ this ->getFormattedFooter ();
279-
280- }//end printFooter()
281-
282-
283222 /**
284223 * Format the footer of the HTML page.
285224 *
286- * @since 3.12.0 Replaces the deprecated HTML::printFooter() method.
225+ * @since 3.12.0 Replaces the HTML::printFooter() method,
226+ * which was deprecated in 3.12.0 and removed in 4.0.0.
287227 *
288228 * @return string
289229 */
@@ -369,35 +309,13 @@ private function titleToAnchor($title)
369309 }//end titleToAnchor()
370310
371311
372- /**
373- * Print a text block found in a standard.
374- *
375- * @param \DOMNode $node The DOMNode object for the text block.
376- *
377- * @deprecated 3.12.0 Use HTML::getFormattedTextBlock() instead.
378- *
379- * @codeCoverageIgnore
380- *
381- * @return void
382- */
383- protected function printTextBlock (DOMNode $ node )
384- {
385- trigger_error (
386- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedTextBlock()" instead. ' ,
387- E_USER_DEPRECATED
388- );
389-
390- echo $ this ->getFormattedTextBlock ($ node );
391-
392- }//end printTextBlock()
393-
394-
395312 /**
396313 * Format a text block found in a standard.
397314 *
398315 * @param \DOMNode $node The DOMNode object for the text block.
399316 *
400- * @since 3.12.0 Replaces the deprecated HTML::printTextBlock() method.
317+ * @since 3.12.0 Replaces the HTML::printTextBlock() method,
318+ * which was deprecated in 3.12.0 and removed in 4.0.0.
401319 *
402320 * @return string
403321 */
@@ -444,35 +362,13 @@ protected function getFormattedTextBlock(DOMNode $node)
444362 }//end getFormattedTextBlock()
445363
446364
447- /**
448- * Print a code comparison block found in a standard.
449- *
450- * @param \DOMNode $node The DOMNode object for the code comparison block.
451- *
452- * @deprecated 3.12.0 Use HTML::getFormattedCodeComparisonBlock() instead.
453- *
454- * @codeCoverageIgnore
455- *
456- * @return void
457- */
458- protected function printCodeComparisonBlock (DOMNode $ node )
459- {
460- trigger_error (
461- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedCodeComparisonBlock()" instead. ' ,
462- E_USER_DEPRECATED
463- );
464-
465- echo $ this ->getFormattedCodeComparisonBlock ($ node );
466-
467- }//end printCodeComparisonBlock()
468-
469-
470365 /**
471366 * Format a code comparison block found in a standard.
472367 *
473368 * @param \DOMNode $node The DOMNode object for the code comparison block.
474369 *
475- * @since 3.12.0 Replaces the deprecated HTML::printCodeComparisonBlock() method.
370+ * @since 3.12.0 Replaces the HTML::printCodeComparisonBlock() method,
371+ * which was deprecated in 3.12.0 and removed in 4.0.0.
476372 *
477373 * @return string
478374 */
0 commit comments