[ci skip] Fix #3515
diff --git a/user_guide_src/source/libraries/unit_testing.rst b/user_guide_src/source/libraries/unit_testing.rst
index 7e91a7b..026781c 100644
--- a/user_guide_src/source/libraries/unit_testing.rst
+++ b/user_guide_src/source/libraries/unit_testing.rst
@@ -177,9 +177,9 @@
Class Reference
***************
-.. class:: CI_Unit_test
+.. php:class:: CI_Unit_test
- .. method:: set_test_items($items)
+ .. php:method:: set_test_items($items)
:param array $items: List of visible test items
:returns: void
@@ -195,7 +195,7 @@
- line
- notes
- .. method:: run($test[, $expected = TRUE[, $test_name = 'undefined'[, $notes = '']]])
+ .. php:method:: run($test[, $expected = TRUE[, $test_name = 'undefined'[, $notes = '']]])
:param mixed $test: Test data
:param mixed $expected: Expected result
@@ -206,7 +206,7 @@
Runs unit tests.
- .. method:: report([$result = array()])
+ .. php:method:: report([$result = array()])
:param array $result: Array containing tests results
:returns: Test report
@@ -214,21 +214,21 @@
Generates a report about already complete tests.
- .. method:: use_strict([$state = TRUE])
+ .. php:method:: use_strict([$state = TRUE])
:param bool $state: Strict state flag
:rtype: void
Enables/disables strict type comparison in tests.
- .. method:: active([$state = TRUE])
+ .. php:method:: active([$state = TRUE])
:param bool $state: Whether to enable testing
:rtype: void
Enables/disables unit testing.
- .. method:: result([$results = array()])
+ .. php:method:: result([$results = array()])
:param array $results: Tests results list
:returns: Array of raw result data
@@ -236,7 +236,7 @@
Returns raw tests results data.
- .. method:: set_template($template)
+ .. php:method:: set_template($template)
:param string $template: Test result template
:rtype: void