Sfoglia il codice sorgente

Some linguistic improvements.

Taddeus Kroes 13 anni fa
parent
commit
ebf19c3dff
2 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 1 1
      README.txt
  2. 1 2
      template.php

+ 1 - 1
README.txt

@@ -12,7 +12,7 @@ Unit tests
 ----------
 Unit tests are in the 'tests/' directory. PHPUnit is used to run tests. The
 PHP extension Xdebug needs to be installed in order to generate a code
-coverage report. To run unit tests, simply run 'phpunit' in the root
+coverage report. To run all unit tests, simply run 'phpunit' in the root
 directory.
 
 -------------

+ 1 - 2
template.php

@@ -144,7 +144,7 @@ class Template extends Node {
 	/**
 	 * Get the path to the template file (including one of the include paths).
 	 * 
-	 * @return string the path to the template file.
+	 * @return string The path to the template file.
 	 */
 	function get_path() {
 		return $this->path;
@@ -164,7 +164,6 @@ class Template extends Node {
 		while( preg_match('/(.*?)\{([^}]+)}(.*)/s', $after, $matches) ) {
 			list($before, $brackets_content, $after) = array_slice($matches, 1);
 			$line_count += substr_count($before, "\n");
-			//var_dump(array_slice($matches, 1));
 			
 			// Everything before the new block belongs to its parent
 			$current->add('html')->set('content', $before);