Completed
Pull Request — master (#106)
by Kenji
02:43
created
tests/_ci_phpunit_test/patcher/Patcher/ConstantPatcher/Proxy.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	 * 
35 35
 	 * @param string $constant	 constant name
36 36
 	 * @param mixed  $value		value
37
-	 * @param string $class_name   class::method to apply this patch
37
+	 * @param string $class_method   class::method to apply this patch
38 38
 	 * 
39 39
 	 * @throws LogicException
40 40
 	 */
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
 		self::$patches_to_apply = [];
54 54
 	}
55 55
 
56
+	/**
57
+	 * @param string $constant
58
+	 */
56 59
 	protected static function logInvocation($constant)
57 60
 	{
58 61
 		if (MonkeyPatchManager::$debug)
@@ -70,6 +73,9 @@  discard block
 block discarded – undo
70 73
 		}
71 74
 	}
72 75
 
76
+	/**
77
+	 * @param string $constant
78
+	 */
73 79
 	protected static function checkCalledMethod($constant)
74 80
 	{
75 81
 		$trace = debug_backtrace();
Please login to merge, or discard this patch.
application/tests/_ci_phpunit_test/patcher/MonkeyPatch.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Part of ci-phpunit-test
4
- *
5
- * @author     Kenji Suzuki <https://github.com/kenjis>
6
- * @license    MIT License
7
- * @copyright  2015 Kenji Suzuki
8
- * @link       https://github.com/kenjis/ci-phpunit-test
9
- */
3
+	 * Part of ci-phpunit-test
4
+	 *
5
+	 * @author     Kenji Suzuki <https://github.com/kenjis>
6
+	 * @license    MIT License
7
+	 * @copyright  2015 Kenji Suzuki
8
+	 * @link       https://github.com/kenjis/ci-phpunit-test
9
+	 */
10 10
 
11 11
 namespace Kenjis\MonkeyPatch;
12 12
 
@@ -37,12 +37,12 @@  discard block
 block discarded – undo
37 37
 	}
38 38
 
39 39
 	/**
40
-     * Patch on constant
41
-     * 
42
-     * @param type $constant
43
-     * @param type $value
44
-     * @param type $class_method
45
-     */
40
+	 * Patch on constant
41
+	 * 
42
+	 * @param type $constant
43
+	 * @param type $value
44
+	 * @param type $class_method
45
+	 */
46 46
 	public static function patchConstant($constant, $value, $class_method = null)
47 47
 	{
48 48
 		ConstProxy::patch($constant, $value, $class_method);
Please login to merge, or discard this patch.
application/tests/_ci_phpunit_test/patcher/Patcher/ConstantPatcher.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Part of ci-phpunit-test
4
- *
5
- * @author     Kenji Suzuki <https://github.com/kenjis>
6
- * @license    MIT License
7
- * @copyright  2016 Kenji Suzuki
8
- * @link       https://github.com/kenjis/ci-phpunit-test
9
- */
3
+	 * Part of ci-phpunit-test
4
+	 *
5
+	 * @author     Kenji Suzuki <https://github.com/kenjis>
6
+	 * @license    MIT License
7
+	 * @copyright  2016 Kenji Suzuki
8
+	 * @link       https://github.com/kenjis/ci-phpunit-test
9
+	 */
10 10
 
11 11
 namespace Kenjis\MonkeyPatch\Patcher;
12 12
 
Please login to merge, or discard this patch.
tests/_ci_phpunit_test/patcher/Patcher/ConstantPatcher/NodeVisitor.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Part of ci-phpunit-test
4
- *
5
- * @author     Kenji Suzuki <https://github.com/kenjis>
6
- * @license    MIT License
7
- * @copyright  2016 Kenji Suzuki
8
- * @link       https://github.com/kenjis/ci-phpunit-test
9
- */
3
+	 * Part of ci-phpunit-test
4
+	 *
5
+	 * @author     Kenji Suzuki <https://github.com/kenjis>
6
+	 * @license    MIT License
7
+	 * @copyright  2016 Kenji Suzuki
8
+	 * @link       https://github.com/kenjis/ci-phpunit-test
9
+	 */
10 10
 
11 11
 namespace Kenjis\MonkeyPatch\Patcher;
12 12
 
Please login to merge, or discard this patch.