Passed
Branch master (16305b)
by Martijn
02:18
created
Category
classes/Sentence.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	 */
53 53
 	private static function mbSplit($pattern, $string, $limit = -1, $flags = 0)
54 54
 	{
55
-		$strlen = strlen($string);  // bytes!
55
+		$strlen = strlen($string); // bytes!
56 56
 		mb_ereg_search_init($string);
57 57
 
58 58
 		$lengths = array();
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
 			// detect end quote - if the entire string is a quotation mark, or it's [quote, space, lowercase]
334 334
 			if (trim($statement) == '"' || trim($statement) == "'" ||
335 335
 					(
336
-					( substr($statement, 0, 1) == '"' || substr($statement, 0, 1) == "'" )
336
+					(substr($statement, 0, 1) == '"' || substr($statement, 0, 1) == "'")
337 337
 					and substr($statement, 1, 1) == " "
338 338
 					and ctype_lower(substr($statement, 2, 1)) == true
339 339
 					)
Please login to merge, or discard this patch.
classes/autoloader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 	 * @param string $class
14 14
 	 */
15 15
 	function Sentence_autoloader($class) {
16
-		if (!class_exists($class) && is_file(dirname(__FILE__). '/' . $class . '.php')) {
17
-			require dirname(__FILE__). '/' . $class . '.php';
16
+		if (!class_exists($class) && is_file(dirname(__FILE__) . '/' . $class . '.php')) {
17
+			require dirname(__FILE__) . '/' . $class . '.php';
18 18
 		}
19 19
 	}
20 20
 	
Please login to merge, or discard this patch.