| @@ -129,7 +129,7 @@ | ||
| 129 | 129 | |
| 130 | 130 |                  $this->fail('charsets other than UTF-8 are rejected.'); | 
| 131 | 131 |              } catch (\Exception $e) { | 
| 132 | -                 $this->assertInstanceOf('Symfony\Component\Yaml\Exception\ParseException', $e, 'charsets other than UTF-8 are rejected.'); | |
| 132 | +                    $this->assertInstanceOf('Symfony\Component\Yaml\Exception\ParseException', $e, 'charsets other than UTF-8 are rejected.'); | |
| 133 | 133 | } | 
| 134 | 134 | } | 
| 135 | 135 | } | 
| @@ -26,17 +26,17 @@ | ||
| 26 | 26 | // on the input arrays. This ordering of the characters avoids the use of strtr, | 
| 27 | 27 | // which performs more slowly. | 
| 28 | 28 |      static private $escapees = array('\\\\', '\\"', | 
| 29 | - "\x00", "\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", | |
| 30 | - "\x08", "\x09", "\x0a", "\x0b", "\x0c", "\x0d", "\x0e", "\x0f", | |
| 31 | - "\x10", "\x11", "\x12", "\x13", "\x14", "\x15", "\x16", "\x17", | |
| 32 | - "\x18", "\x19", "\x1a", "\x1b", "\x1c", "\x1d", "\x1e", "\x1f", | |
| 33 | - "\xc2\x85", "\xc2\xa0", "\xe2\x80\xa8", "\xe2\x80\xa9"); | |
| 29 | + "\x00", "\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", | |
| 30 | + "\x08", "\x09", "\x0a", "\x0b", "\x0c", "\x0d", "\x0e", "\x0f", | |
| 31 | + "\x10", "\x11", "\x12", "\x13", "\x14", "\x15", "\x16", "\x17", | |
| 32 | + "\x18", "\x19", "\x1a", "\x1b", "\x1c", "\x1d", "\x1e", "\x1f", | |
| 33 | + "\xc2\x85", "\xc2\xa0", "\xe2\x80\xa8", "\xe2\x80\xa9"); | |
| 34 | 34 |      static private $escaped  = array('\\"', '\\\\', | 
| 35 | - "\\0", "\\x01", "\\x02", "\\x03", "\\x04", "\\x05", "\\x06", "\\a", | |
| 36 | - "\\b", "\\t", "\\n", "\\v", "\\f", "\\r", "\\x0e", "\\x0f", | |
| 37 | - "\\x10", "\\x11", "\\x12", "\\x13", "\\x14", "\\x15", "\\x16", "\\x17", | |
| 38 | - "\\x18", "\\x19", "\\x1a", "\\e", "\\x1c", "\\x1d", "\\x1e", "\\x1f", | |
| 39 | - "\\N", "\\_", "\\L", "\\P"); | |
| 35 | + "\\0", "\\x01", "\\x02", "\\x03", "\\x04", "\\x05", "\\x06", "\\a", | |
| 36 | + "\\b", "\\t", "\\n", "\\v", "\\f", "\\r", "\\x0e", "\\x0f", | |
| 37 | + "\\x10", "\\x11", "\\x12", "\\x13", "\\x14", "\\x15", "\\x16", "\\x17", | |
| 38 | + "\\x18", "\\x19", "\\x1a", "\\e", "\\x1c", "\\x1d", "\\x1e", "\\x1f", | |
| 39 | + "\\N", "\\_", "\\L", "\\P"); | |
| 40 | 40 | |
| 41 | 41 | /** | 
| 42 | 42 | * Determines if a PHP value would require double quoting in YAML. |