public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/inc/lib/vendor/mustangostang/spyc/Spyc.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Spyc.php
on main
Author
Date
Commit
Line
Code
tinect
over 6 years ago
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1
<?php
<?php
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 2
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 3
* Spyc -- A Simple PHP YAML Class
* Spyc -- A Simple PHP YAML Class
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 4
* @version 0.6.2
* @version 0.6.2
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 5
* @author Vlad Andersen <[email protected]>
* @author Vlad Andersen <[email protected]>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 6
* @author Chris Wanstrath <[email protected]>
* @author Chris Wanstrath <[email protected]>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 7
* @link https://github.com/mustangostang/spyc/
* @link https://github.com/mustangostang/spyc/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 8
* @copyright Copyright 2005-2006 Chris Wanstrath, 2006-2011 Vlad Andersen
* @copyright Copyright 2005-2006 Chris Wanstrath, 2006-2011 Vlad Andersen
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 9
* @license http://www.opensource.org/licenses/mit-license.php MIT License
* @license http://www.opensource.org/licenses/mit-license.php MIT License
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 10
* @package Spyc
* @package Spyc
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 11
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 12
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 13
if (!function_exists('spyc_load')) {
if (!function_exists('spyc_load')) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 14
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 15
* Parses YAML to array.
* Parses YAML to array.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 16
* @param string $string YAML string.
* @param string $string YAML string.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 17
* @return array
* @return array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 18
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 19
function spyc_load ($string) {
function spyc_load ($string) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 20
return Spyc::YAMLLoadString($string);
return Spyc::YAMLLoadString($string);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 21
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 22
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 23
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 24
if (!function_exists('spyc_load_file')) {
if (!function_exists('spyc_load_file')) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 25
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 26
* Parses YAML to array.
* Parses YAML to array.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 27
* @param string $file Path to YAML file.
* @param string $file Path to YAML file.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 28
* @return array
* @return array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 29
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 30
function spyc_load_file ($file) {
function spyc_load_file ($file) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 31
return Spyc::YAMLLoad($file);
return Spyc::YAMLLoad($file);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 32
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 33
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 34
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 35
if (!function_exists('spyc_dump')) {
if (!function_exists('spyc_dump')) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 36
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 37
* Dumps array to YAML.
* Dumps array to YAML.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 38
* @param array $data Array.
* @param array $data Array.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 39
* @return string
* @return string
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 40
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 41
function spyc_dump ($data) {
function spyc_dump ($data) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 42
return Spyc::YAMLDump($data, false, false, true);
return Spyc::YAMLDump($data, false, false, true);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 43
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 44
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 45
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 46
if (!class_exists('Spyc')) {
if (!class_exists('Spyc')) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 47
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 48
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 49
* The Simple PHP YAML Class.
* The Simple PHP YAML Class.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 50
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 51
* This class can be used to read a YAML file and convert its contents
* This class can be used to read a YAML file and convert its contents
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 52
* into a PHP array. It currently supports a very limited subsection of
* into a PHP array. It currently supports a very limited subsection of
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 53
* the YAML spec.
* the YAML spec.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 54
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 55
* Usage:
* Usage:
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 56
* <code>
* <code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 57
* $Spyc = new Spyc;
* $Spyc = new Spyc;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 58
* $array = $Spyc->load($file);
* $array = $Spyc->load($file);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 59
* </code>
* </code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 60
* or:
* or:
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 61
* <code>
* <code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 62
* $array = Spyc::YAMLLoad($file);
* $array = Spyc::YAMLLoad($file);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 63
* </code>
* </code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 64
* or:
* or:
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 65
* <code>
* <code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 66
* $array = spyc_load_file($file);
* $array = spyc_load_file($file);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 67
* </code>
* </code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 68
* @package Spyc
* @package Spyc
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 69
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 70
class Spyc {
class Spyc {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 71
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 72
// SETTINGS
// SETTINGS
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 73
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 74
const REMPTY = "\0\0\0\0\0";
const REMPTY = "\0\0\0\0\0";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 75
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 76
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 77
* Setting this to true will force YAMLDump to enclose any string value in
* Setting this to true will force YAMLDump to enclose any string value in
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 78
* quotes. False by default.
* quotes. False by default.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 79
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 80
* @var bool
* @var bool
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 81
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 82
public $setting_dump_force_quotes = false;
public $setting_dump_force_quotes = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 83
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 84
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 85
* Setting this to true will forse YAMLLoad to use syck_load function when
* Setting this to true will forse YAMLLoad to use syck_load function when
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 86
* possible. False by default.
* possible. False by default.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 87
* @var bool
* @var bool
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 88
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 89
public $setting_use_syck_is_possible = false;
public $setting_use_syck_is_possible = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 90
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 91
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 92
* Setting this to true will forse YAMLLoad to use syck_load function when
* Setting this to true will forse YAMLLoad to use syck_load function when
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 93
* possible. False by default.
* possible. False by default.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 94
* @var bool
* @var bool
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 95
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 96
public $setting_empty_hash_as_object = false;
public $setting_empty_hash_as_object = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 97
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 98
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 99
/**#@+
/**#@+
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 100
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 101
* @var mixed
* @var mixed
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 102
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 103
private $_dumpIndent;
private $_dumpIndent;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 104
private $_dumpWordWrap;
private $_dumpWordWrap;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 105
private $_containsGroupAnchor = false;
private $_containsGroupAnchor = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 106
private $_containsGroupAlias = false;
private $_containsGroupAlias = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 107
private $path;
private $path;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 108
private $result;
private $result;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 109
private $LiteralPlaceHolder = '___YAML_Literal_Block___';
private $LiteralPlaceHolder = '___YAML_Literal_Block___';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 110
private $SavedGroups = array();
private $SavedGroups = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 111
private $indent;
private $indent;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 112
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 113
* Path modifier that should be applied after adding current element.
* Path modifier that should be applied after adding current element.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 114
* @var array
* @var array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 115
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 116
private $delayedPath = array();
private $delayedPath = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 117
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 118
/**#@+
/**#@+
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 119
* @access public
* @access public
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 120
* @var mixed
* @var mixed
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 121
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 122
public $_nodeId;
public $_nodeId;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 123
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 124
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 125
* Load a valid YAML string to Spyc.
* Load a valid YAML string to Spyc.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 126
* @param string $input
* @param string $input
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 127
* @return array
* @return array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 128
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 129
public function load ($input) {
public function load ($input) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 130
return $this->_loadString($input);
return $this->_loadString($input);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 131
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 132
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 133
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 134
* Load a valid YAML file to Spyc.
* Load a valid YAML file to Spyc.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 135
* @param string $file
* @param string $file
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 136
* @return array
* @return array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 137
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 138
public function loadFile ($file) {
public function loadFile ($file) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 139
return $this->_load($file);
return $this->_load($file);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 140
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 141
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 142
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 143
* Load YAML into a PHP array statically
* Load YAML into a PHP array statically
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 144
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 145
* The load method, when supplied with a YAML stream (string or file),
* The load method, when supplied with a YAML stream (string or file),
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 146
* will do its best to convert YAML in a file into a PHP array. Pretty
* will do its best to convert YAML in a file into a PHP array. Pretty
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 147
* simple.
* simple.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 148
* Usage:
* Usage:
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 149
* <code>
* <code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 150
* $array = Spyc::YAMLLoad('lucky.yaml');
* $array = Spyc::YAMLLoad('lucky.yaml');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 151
* print_r($array);
* print_r($array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 152
* </code>
* </code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 153
* @access public
* @access public
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 154
* @return array
* @return array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 155
* @param string $input Path of YAML file or string containing YAML
* @param string $input Path of YAML file or string containing YAML
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 156
* @param array set options
* @param array set options
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 157
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 158
public static function YAMLLoad($input, $options = []) {
public static function YAMLLoad($input, $options = []) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 159
$Spyc = new Spyc;
$Spyc = new Spyc;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 160
foreach ($options as $key => $value) {
foreach ($options as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 161
if (property_exists($Spyc, $key)) {
if (property_exists($Spyc, $key)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 162
$Spyc->$key = $value;
$Spyc->$key = $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 163
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 164
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 165
return $Spyc->_load($input);
return $Spyc->_load($input);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 166
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 167
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 168
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 169
* Load a string of YAML into a PHP array statically
* Load a string of YAML into a PHP array statically
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 170
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 171
* The load method, when supplied with a YAML string, will do its best
* The load method, when supplied with a YAML string, will do its best
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 172
* to convert YAML in a string into a PHP array. Pretty simple.
* to convert YAML in a string into a PHP array. Pretty simple.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 173
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 174
* Note: use this function if you don't want files from the file system
* Note: use this function if you don't want files from the file system
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 175
* loaded and processed as YAML. This is of interest to people concerned
* loaded and processed as YAML. This is of interest to people concerned
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 176
* about security whose input is from a string.
* about security whose input is from a string.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 177
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 178
* Usage:
* Usage:
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 179
* <code>
* <code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 180
* $array = Spyc::YAMLLoadString("---\n0: hello world\n");
* $array = Spyc::YAMLLoadString("---\n0: hello world\n");
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 181
* print_r($array);
* print_r($array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 182
* </code>
* </code>
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 183
* @access public
* @access public
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 184
* @return array
* @return array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 185
* @param string $input String containing YAML
* @param string $input String containing YAML
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 186
* @param array set options
* @param array set options
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 187
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 188
public static function YAMLLoadString($input, $options = []) {
public static function YAMLLoadString($input, $options = []) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 189
$Spyc = new Spyc;
$Spyc = new Spyc;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 190
foreach ($options as $key => $value) {
foreach ($options as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 191
if (property_exists($Spyc, $key)) {
if (property_exists($Spyc, $key)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 192
$Spyc->$key = $value;
$Spyc->$key = $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 193
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 194
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 195
return $Spyc->_loadString($input);
return $Spyc->_loadString($input);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 196
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 197
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 198
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 199
* Dump YAML from PHP array statically
* Dump YAML from PHP array statically
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 200
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 201
* The dump method, when supplied with an array, will do its best
* The dump method, when supplied with an array, will do its best
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 202
* to convert the array into friendly YAML. Pretty simple. Feel free to
* to convert the array into friendly YAML. Pretty simple. Feel free to
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 203
* save the returned string as nothing.yaml and pass it around.
* save the returned string as nothing.yaml and pass it around.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 204
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 205
* Oh, and you can decide how big the indent is and what the wordwrap
* Oh, and you can decide how big the indent is and what the wordwrap
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 206
* for folding is. Pretty cool -- just pass in 'false' for either if
* for folding is. Pretty cool -- just pass in 'false' for either if
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 207
* you want to use the default.
* you want to use the default.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 208
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 209
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 210
* you can turn off wordwrap by passing in 0.
* you can turn off wordwrap by passing in 0.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 211
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 212
* @access public
* @access public
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 213
* @return string
* @return string
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 214
* @param array|\stdClass $array PHP array
* @param array|\stdClass $array PHP array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 215
* @param int $indent Pass in false to use the default, which is 2
* @param int $indent Pass in false to use the default, which is 2
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 216
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 217
* @param bool $no_opening_dashes Do not start YAML file with "---\n"
* @param bool $no_opening_dashes Do not start YAML file with "---\n"
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 218
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 219
public static function YAMLDump($array, $indent = false, $wordwrap = false, $no_opening_dashes = false) {
public static function YAMLDump($array, $indent = false, $wordwrap = false, $no_opening_dashes = false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 220
$spyc = new Spyc;
$spyc = new Spyc;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 221
return $spyc->dump($array, $indent, $wordwrap, $no_opening_dashes);
return $spyc->dump($array, $indent, $wordwrap, $no_opening_dashes);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 222
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 223
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 224
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 225
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 226
* Dump PHP array to YAML
* Dump PHP array to YAML
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 227
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 228
* The dump method, when supplied with an array, will do its best
* The dump method, when supplied with an array, will do its best
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 229
* to convert the array into friendly YAML. Pretty simple. Feel free to
* to convert the array into friendly YAML. Pretty simple. Feel free to
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 230
* save the returned string as tasteful.yaml and pass it around.
* save the returned string as tasteful.yaml and pass it around.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 231
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 232
* Oh, and you can decide how big the indent is and what the wordwrap
* Oh, and you can decide how big the indent is and what the wordwrap
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 233
* for folding is. Pretty cool -- just pass in 'false' for either if
* for folding is. Pretty cool -- just pass in 'false' for either if
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 234
* you want to use the default.
* you want to use the default.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 235
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 236
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 237
* you can turn off wordwrap by passing in 0.
* you can turn off wordwrap by passing in 0.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 238
*
*
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 239
* @access public
* @access public
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 240
* @return string
* @return string
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 241
* @param array $array PHP array
* @param array $array PHP array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 242
* @param int $indent Pass in false to use the default, which is 2
* @param int $indent Pass in false to use the default, which is 2
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 243
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 244
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 245
public function dump($array,$indent = false,$wordwrap = false, $no_opening_dashes = false) {
public function dump($array,$indent = false,$wordwrap = false, $no_opening_dashes = false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 246
// Dumps to some very clean YAML. We'll have to add some more features
// Dumps to some very clean YAML. We'll have to add some more features
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 247
// and options soon. And better support for folding.
// and options soon. And better support for folding.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 248
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 249
// New features and options.
// New features and options.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 250
if ($indent === false or !is_numeric($indent)) {
if ($indent === false or !is_numeric($indent)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 251
$this->_dumpIndent = 2;
$this->_dumpIndent = 2;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 252
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 253
$this->_dumpIndent = $indent;
$this->_dumpIndent = $indent;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 254
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 255
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 256
if ($wordwrap === false or !is_numeric($wordwrap)) {
if ($wordwrap === false or !is_numeric($wordwrap)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 257
$this->_dumpWordWrap = 40;
$this->_dumpWordWrap = 40;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 258
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 259
$this->_dumpWordWrap = $wordwrap;
$this->_dumpWordWrap = $wordwrap;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 260
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 261
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 262
// New YAML document
// New YAML document
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 263
$string = "";
$string = "";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 264
if (!$no_opening_dashes) $string = "---\n";
if (!$no_opening_dashes) $string = "---\n";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 265
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 266
// Start at the base of the array and move through it.
// Start at the base of the array and move through it.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 267
if ($array) {
if ($array) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 268
$array = (array)$array;
$array = (array)$array;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 269
$previous_key = -1;
$previous_key = -1;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 270
foreach ($array as $key => $value) {
foreach ($array as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 271
if (!isset($first_key)) $first_key = $key;
if (!isset($first_key)) $first_key = $key;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 272
$string .= $this->_yamlize($key,$value,0,$previous_key, $first_key, $array);
$string .= $this->_yamlize($key,$value,0,$previous_key, $first_key, $array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 273
$previous_key = $key;
$previous_key = $key;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 274
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 275
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 276
return $string;
return $string;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 277
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 278
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 279
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 280
* Attempts to convert a key / value array item to YAML
* Attempts to convert a key / value array item to YAML
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 281
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 282
* @return string
* @return string
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 283
* @param $key The name of the key
* @param $key The name of the key
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 284
* @param $value The value of the item
* @param $value The value of the item
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 285
* @param $indent The indent of the current node
* @param $indent The indent of the current node
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 286
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 287
private function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0, $source_array = null) {
private function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0, $source_array = null) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 288
if(is_object($value)) $value = (array)$value;
if(is_object($value)) $value = (array)$value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 289
if (is_array($value)) {
if (is_array($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 290
if (empty ($value))
if (empty ($value))
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 291
return $this->_dumpNode($key, array(), $indent, $previous_key, $first_key, $source_array);
return $this->_dumpNode($key, array(), $indent, $previous_key, $first_key, $source_array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 292
// It has children. What to do?
// It has children. What to do?
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 293
// Make it the right kind of item
// Make it the right kind of item
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 294
$string = $this->_dumpNode($key, self::REMPTY, $indent, $previous_key, $first_key, $source_array);
$string = $this->_dumpNode($key, self::REMPTY, $indent, $previous_key, $first_key, $source_array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 295
// Add the indent
// Add the indent
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 296
$indent += $this->_dumpIndent;
$indent += $this->_dumpIndent;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 297
// Yamlize the array
// Yamlize the array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 298
$string .= $this->_yamlizeArray($value,$indent);
$string .= $this->_yamlizeArray($value,$indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 299
} elseif (!is_array($value)) {
} elseif (!is_array($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 300
// It doesn't have children. Yip.
// It doesn't have children. Yip.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 301
$string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key, $source_array);
$string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key, $source_array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 302
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 303
return $string;
return $string;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 304
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 305
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 306
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 307
* Attempts to convert an array to YAML
* Attempts to convert an array to YAML
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 308
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 309
* @return string
* @return string
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 310
* @param $array The array you want to convert
* @param $array The array you want to convert
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 311
* @param $indent The indent of the current level
* @param $indent The indent of the current level
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 312
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 313
private function _yamlizeArray($array,$indent) {
private function _yamlizeArray($array,$indent) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 314
if (is_array($array)) {
if (is_array($array)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 315
$string = '';
$string = '';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 316
$previous_key = -1;
$previous_key = -1;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 317
foreach ($array as $key => $value) {
foreach ($array as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 318
if (!isset($first_key)) $first_key = $key;
if (!isset($first_key)) $first_key = $key;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 319
$string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key, $array);
$string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key, $array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 320
$previous_key = $key;
$previous_key = $key;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 321
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 322
return $string;
return $string;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 323
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 324
return false;
return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 325
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 326
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 327
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 328
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 329
* Returns YAML from a key and a value
* Returns YAML from a key and a value
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 330
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 331
* @return string
* @return string
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 332
* @param $key The name of the key
* @param $key The name of the key
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 333
* @param $value The value of the item
* @param $value The value of the item
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 334
* @param $indent The indent of the current node
* @param $indent The indent of the current node
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 335
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 336
private function _dumpNode($key, $value, $indent, $previous_key = -1, $first_key = 0, $source_array = null) {
private function _dumpNode($key, $value, $indent, $previous_key = -1, $first_key = 0, $source_array = null) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 337
// do some folding here, for blocks
// do some folding here, for blocks
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 338
if (is_string ($value) && ((strpos($value,"\n") !== false || strpos($value,": ") !== false || strpos($value,"- ") !== false ||
if (is_string ($value) && ((strpos($value,"\n") !== false || strpos($value,": ") !== false || strpos($value,"- ") !== false ||
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 339
strpos($value,"*") !== false || strpos($value,"#") !== false || strpos($value,"<") !== false || strpos($value,">") !== false || strpos ($value, '%') !== false || strpos ($value, ' ') !== false ||
strpos($value,"*") !== false || strpos($value,"#") !== false || strpos($value,"<") !== false || strpos($value,">") !== false || strpos ($value, '%') !== false || strpos ($value, ' ') !== false ||
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 340
strpos($value,"[") !== false || strpos($value,"]") !== false || strpos($value,"{") !== false || strpos($value,"}") !== false) || strpos($value,"&") !== false || strpos($value, "'") !== false || strpos($value, "!") === 0 ||
strpos($value,"[") !== false || strpos($value,"]") !== false || strpos($value,"{") !== false || strpos($value,"}") !== false) || strpos($value,"&") !== false || strpos($value, "'") !== false || strpos($value, "!") === 0 ||
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 341
substr ($value, -1, 1) == ':')
substr ($value, -1, 1) == ':')
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 342
) {
) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 343
$value = $this->_doLiteralBlock($value,$indent);
$value = $this->_doLiteralBlock($value,$indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 344
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 345
$value = $this->_doFolding($value,$indent);
$value = $this->_doFolding($value,$indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 346
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 347
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 348
if ($value === array()) $value = '[ ]';
if ($value === array()) $value = '[ ]';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 349
if ($value === "") $value = '""';
if ($value === "") $value = '""';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 350
if (self::isTranslationWord($value)) {
if (self::isTranslationWord($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 351
$value = $this->_doLiteralBlock($value, $indent);
$value = $this->_doLiteralBlock($value, $indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 352
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 353
if (trim ($value) != $value)
if (trim ($value) != $value)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 354
$value = $this->_doLiteralBlock($value,$indent);
$value = $this->_doLiteralBlock($value,$indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 355
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 356
if (is_bool($value)) {
if (is_bool($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 357
$value = $value ? "true" : "false";
$value = $value ? "true" : "false";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 358
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 359
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 360
if ($value === null) $value = 'null';
if ($value === null) $value = 'null';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 361
if ($value === "'" . self::REMPTY . "'") $value = null;
if ($value === "'" . self::REMPTY . "'") $value = null;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 362
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 363
$spaces = str_repeat(' ',$indent);
$spaces = str_repeat(' ',$indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 364
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 365
//if (is_int($key) && $key - 1 == $previous_key && $first_key===0) {
//if (is_int($key) && $key - 1 == $previous_key && $first_key===0) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 366
if (is_array ($source_array) && array_keys($source_array) === range(0, count($source_array) - 1)) {
if (is_array ($source_array) && array_keys($source_array) === range(0, count($source_array) - 1)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 367
// It's a sequence
// It's a sequence
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 368
$string = $spaces.'- '.$value."\n";
$string = $spaces.'- '.$value."\n";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 369
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 370
// if ($first_key===0) throw new Exception('Keys are all screwy. The first one was zero, now it\'s "'. $key .'"');
// if ($first_key===0) throw new Exception('Keys are all screwy. The first one was zero, now it\'s "'. $key .'"');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 371
// It's mapped
// It's mapped
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 372
if (strpos($key, ":") !== false || strpos($key, "#") !== false) { $key = '"' . $key . '"'; }
if (strpos($key, ":") !== false || strpos($key, "#") !== false) { $key = '"' . $key . '"'; }
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 373
$string = rtrim ($spaces.$key.': '.$value)."\n";
$string = rtrim ($spaces.$key.': '.$value)."\n";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 374
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 375
return $string;
return $string;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 376
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 377
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 378
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 379
* Creates a literal block for dumping
* Creates a literal block for dumping
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 380
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 381
* @return string
* @return string
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 382
* @param $value
* @param $value
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 383
* @param $indent int The value of the indent
* @param $indent int The value of the indent
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 384
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 385
private function _doLiteralBlock($value,$indent) {
private function _doLiteralBlock($value,$indent) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 386
if ($value === "\n") return '\n';
if ($value === "\n") return '\n';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 387
if (strpos($value, "\n") === false && strpos($value, "'") === false) {
if (strpos($value, "\n") === false && strpos($value, "'") === false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 388
return sprintf ("'%s'", $value);
return sprintf ("'%s'", $value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 389
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 390
if (strpos($value, "\n") === false && strpos($value, '"') === false) {
if (strpos($value, "\n") === false && strpos($value, '"') === false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 391
return sprintf ('"%s"', $value);
return sprintf ('"%s"', $value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 392
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 393
$exploded = explode("\n",$value);
$exploded = explode("\n",$value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 394
$newValue = '|';
$newValue = '|';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 395
if (isset($exploded[0]) && ($exploded[0] == "|" || $exploded[0] == "|-" || $exploded[0] == ">")) {
if (isset($exploded[0]) && ($exploded[0] == "|" || $exploded[0] == "|-" || $exploded[0] == ">")) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 396
$newValue = $exploded[0];
$newValue = $exploded[0];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 397
unset($exploded[0]);
unset($exploded[0]);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 398
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 399
$indent += $this->_dumpIndent;
$indent += $this->_dumpIndent;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 400
$spaces = str_repeat(' ',$indent);
$spaces = str_repeat(' ',$indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 401
foreach ($exploded as $line) {
foreach ($exploded as $line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 402
$line = trim($line);
$line = trim($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 403
if (strpos($line, '"') === 0 && strrpos($line, '"') == (strlen($line)-1) || strpos($line, "'") === 0 && strrpos($line, "'") == (strlen($line)-1)) {
if (strpos($line, '"') === 0 && strrpos($line, '"') == (strlen($line)-1) || strpos($line, "'") === 0 && strrpos($line, "'") == (strlen($line)-1)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 404
$line = substr($line, 1, -1);
$line = substr($line, 1, -1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 405
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 406
$newValue .= "\n" . $spaces . ($line);
$newValue .= "\n" . $spaces . ($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 407
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 408
return $newValue;
return $newValue;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 409
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 410
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 411
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 412
* Folds a string of text, if necessary
* Folds a string of text, if necessary
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 413
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 414
* @return string
* @return string
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 415
* @param $value The string you wish to fold
* @param $value The string you wish to fold
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 416
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 417
private function _doFolding($value,$indent) {
private function _doFolding($value,$indent) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 418
// Don't do anything if wordwrap is set to 0
// Don't do anything if wordwrap is set to 0
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 419
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 420
if ($this->_dumpWordWrap !== 0 && is_string ($value) && strlen($value) > $this->_dumpWordWrap) {
if ($this->_dumpWordWrap !== 0 && is_string ($value) && strlen($value) > $this->_dumpWordWrap) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 421
$indent += $this->_dumpIndent;
$indent += $this->_dumpIndent;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 422
$indent = str_repeat(' ',$indent);
$indent = str_repeat(' ',$indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 423
$wrapped = wordwrap($value,$this->_dumpWordWrap,"\n$indent");
$wrapped = wordwrap($value,$this->_dumpWordWrap,"\n$indent");
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 424
$value = ">\n".$indent.$wrapped;
$value = ">\n".$indent.$wrapped;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 425
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 426
if ($this->setting_dump_force_quotes && is_string ($value) && $value !== self::REMPTY)
if ($this->setting_dump_force_quotes && is_string ($value) && $value !== self::REMPTY)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 427
$value = '"' . $value . '"';
$value = '"' . $value . '"';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 428
if (is_numeric($value) && is_string($value))
if (is_numeric($value) && is_string($value))
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 429
$value = '"' . $value . '"';
$value = '"' . $value . '"';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 430
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 431
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 432
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 433
return $value;
return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 434
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 435
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 436
private function isTrueWord($value) {
private function isTrueWord($value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 437
$words = self::getTranslations(array('true', 'on', 'yes', 'y'));
$words = self::getTranslations(array('true', 'on', 'yes', 'y'));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 438
return in_array($value, $words, true);
return in_array($value, $words, true);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 439
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 440
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 441
private function isFalseWord($value) {
private function isFalseWord($value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 442
$words = self::getTranslations(array('false', 'off', 'no', 'n'));
$words = self::getTranslations(array('false', 'off', 'no', 'n'));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 443
return in_array($value, $words, true);
return in_array($value, $words, true);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 444
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 445
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 446
private function isNullWord($value) {
private function isNullWord($value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 447
$words = self::getTranslations(array('null', '~'));
$words = self::getTranslations(array('null', '~'));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 448
return in_array($value, $words, true);
return in_array($value, $words, true);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 449
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 450
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 451
private function isTranslationWord($value) {
private function isTranslationWord($value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 452
return (
return (
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 453
self::isTrueWord($value) ||
self::isTrueWord($value) ||
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 454
self::isFalseWord($value) ||
self::isFalseWord($value) ||
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 455
self::isNullWord($value)
self::isNullWord($value)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 456
);
);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 457
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 458
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 459
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 460
* Coerce a string into a native type
* Coerce a string into a native type
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 461
* Reference: http://yaml.org/type/bool.html
* Reference: http://yaml.org/type/bool.html
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 462
* TODO: Use only words from the YAML spec.
* TODO: Use only words from the YAML spec.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 463
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 464
* @param $value The value to coerce
* @param $value The value to coerce
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 465
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 466
private function coerceValue(&$value) {
private function coerceValue(&$value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 467
if (self::isTrueWord($value)) {
if (self::isTrueWord($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 468
$value = true;
$value = true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 469
} else if (self::isFalseWord($value)) {
} else if (self::isFalseWord($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 470
$value = false;
$value = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 471
} else if (self::isNullWord($value)) {
} else if (self::isNullWord($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 472
$value = null;
$value = null;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 473
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 474
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 475
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 476
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 477
* Given a set of words, perform the appropriate translations on them to
* Given a set of words, perform the appropriate translations on them to
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 478
* match the YAML 1.1 specification for type coercing.
* match the YAML 1.1 specification for type coercing.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 479
* @param $words The words to translate
* @param $words The words to translate
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 480
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 481
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 482
private static function getTranslations(array $words) {
private static function getTranslations(array $words) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 483
$result = array();
$result = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 484
foreach ($words as $i) {
foreach ($words as $i) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 485
$result = array_merge($result, array(ucfirst($i), strtoupper($i), strtolower($i)));
$result = array_merge($result, array(ucfirst($i), strtoupper($i), strtolower($i)));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 486
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 487
return $result;
return $result;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 488
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 489
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 490
// LOADING FUNCTIONS
// LOADING FUNCTIONS
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 491
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 492
private function _load($input) {
private function _load($input) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 493
$Source = $this->loadFromSource($input);
$Source = $this->loadFromSource($input);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 494
return $this->loadWithSource($Source);
return $this->loadWithSource($Source);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 495
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 496
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 497
private function _loadString($input) {
private function _loadString($input) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 498
$Source = $this->loadFromString($input);
$Source = $this->loadFromString($input);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 499
return $this->loadWithSource($Source);
return $this->loadWithSource($Source);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 500
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 501
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 502
private function loadWithSource($Source) {
private function loadWithSource($Source) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 503
if (empty ($Source)) return array();
if (empty ($Source)) return array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 504
if ($this->setting_use_syck_is_possible && function_exists ('syck_load')) {
if ($this->setting_use_syck_is_possible && function_exists ('syck_load')) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 505
$array = syck_load (implode ("\n", $Source));
$array = syck_load (implode ("\n", $Source));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 506
return is_array($array) ? $array : array();
return is_array($array) ? $array : array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 507
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 508
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 509
$this->path = array();
$this->path = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 510
$this->result = array();
$this->result = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 511
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 512
$cnt = count($Source);
$cnt = count($Source);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 513
for ($i = 0; $i < $cnt; $i++) {
for ($i = 0; $i < $cnt; $i++) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 514
$line = $Source[$i];
$line = $Source[$i];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 515
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 516
$this->indent = strlen($line) - strlen(ltrim($line));
$this->indent = strlen($line) - strlen(ltrim($line));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 517
$tempPath = $this->getParentPathByIndent($this->indent);
$tempPath = $this->getParentPathByIndent($this->indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 518
$line = self::stripIndent($line, $this->indent);
$line = self::stripIndent($line, $this->indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 519
if (self::isComment($line)) continue;
if (self::isComment($line)) continue;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 520
if (self::isEmpty($line)) continue;
if (self::isEmpty($line)) continue;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 521
$this->path = $tempPath;
$this->path = $tempPath;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 522
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 523
$literalBlockStyle = self::startsLiteralBlock($line);
$literalBlockStyle = self::startsLiteralBlock($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 524
if ($literalBlockStyle) {
if ($literalBlockStyle) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 525
$line = rtrim ($line, $literalBlockStyle . " \n");
$line = rtrim ($line, $literalBlockStyle . " \n");
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 526
$literalBlock = '';
$literalBlock = '';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 527
$line .= ' '.$this->LiteralPlaceHolder;
$line .= ' '.$this->LiteralPlaceHolder;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 528
$literal_block_indent = strlen($Source[$i+1]) - strlen(ltrim($Source[$i+1]));
$literal_block_indent = strlen($Source[$i+1]) - strlen(ltrim($Source[$i+1]));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 529
while (++$i < $cnt && $this->literalBlockContinues($Source[$i], $this->indent)) {
while (++$i < $cnt && $this->literalBlockContinues($Source[$i], $this->indent)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 530
$literalBlock = $this->addLiteralLine($literalBlock, $Source[$i], $literalBlockStyle, $literal_block_indent);
$literalBlock = $this->addLiteralLine($literalBlock, $Source[$i], $literalBlockStyle, $literal_block_indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 531
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 532
$i--;
$i--;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 533
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 534
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 535
// Strip out comments
// Strip out comments
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 536
if (strpos ($line, '#')) {
if (strpos ($line, '#')) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 537
$line = preg_replace('/\s*#([^"\']+)$/','',$line);
$line = preg_replace('/\s*#([^"\']+)$/','',$line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 538
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 539
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 540
while (++$i < $cnt && self::greedilyNeedNextLine($line)) {
while (++$i < $cnt && self::greedilyNeedNextLine($line)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 541
$line = rtrim ($line, " \n\t\r") . ' ' . ltrim ($Source[$i], " \t");
$line = rtrim ($line, " \n\t\r") . ' ' . ltrim ($Source[$i], " \t");
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 542
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 543
$i--;
$i--;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 544
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 545
$lineArray = $this->_parseLine($line);
$lineArray = $this->_parseLine($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 546
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 547
if ($literalBlockStyle)
if ($literalBlockStyle)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 548
$lineArray = $this->revertLiteralPlaceHolder ($lineArray, $literalBlock);
$lineArray = $this->revertLiteralPlaceHolder ($lineArray, $literalBlock);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 549
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 550
$this->addArray($lineArray, $this->indent);
$this->addArray($lineArray, $this->indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 551
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 552
foreach ($this->delayedPath as $indent => $delayedPath)
foreach ($this->delayedPath as $indent => $delayedPath)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 553
$this->path[$indent] = $delayedPath;
$this->path[$indent] = $delayedPath;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 554
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 555
$this->delayedPath = array();
$this->delayedPath = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 556
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 557
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 558
return $this->result;
return $this->result;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 559
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 560
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 561
private function loadFromSource ($input) {
private function loadFromSource ($input) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 562
if (!empty($input) && strpos($input, "\n") === false && file_exists($input))
if (!empty($input) && strpos($input, "\n") === false && file_exists($input))
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 563
$input = file_get_contents($input);
$input = file_get_contents($input);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 564
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 565
return $this->loadFromString($input);
return $this->loadFromString($input);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 566
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 567
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 568
private function loadFromString ($input) {
private function loadFromString ($input) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 569
$lines = explode("\n",$input);
$lines = explode("\n",$input);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 570
foreach ($lines as $k => $_) {
foreach ($lines as $k => $_) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 571
$lines[$k] = rtrim ($_, "\r");
$lines[$k] = rtrim ($_, "\r");
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 572
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 573
return $lines;
return $lines;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 574
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 575
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 576
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 577
* Parses YAML code and returns an array for a node
* Parses YAML code and returns an array for a node
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 578
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 579
* @return array
* @return array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 580
* @param string $line A line from the YAML file
* @param string $line A line from the YAML file
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 581
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 582
private function _parseLine($line) {
private function _parseLine($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 583
if (!$line) return array();
if (!$line) return array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 584
$line = trim($line);
$line = trim($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 585
if (!$line) return array();
if (!$line) return array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 586
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 587
$array = array();
$array = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 588
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 589
$group = $this->nodeContainsGroup($line);
$group = $this->nodeContainsGroup($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 590
if ($group) {
if ($group) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 591
$this->addGroup($line, $group);
$this->addGroup($line, $group);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 592
$line = $this->stripGroup ($line, $group);
$line = $this->stripGroup ($line, $group);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 593
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 594
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 595
if ($this->startsMappedSequence($line)) {
if ($this->startsMappedSequence($line)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 596
return $this->returnMappedSequence($line);
return $this->returnMappedSequence($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 597
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 598
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 599
if ($this->startsMappedValue($line)) {
if ($this->startsMappedValue($line)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 600
return $this->returnMappedValue($line);
return $this->returnMappedValue($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 601
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 602
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 603
if ($this->isArrayElement($line))
if ($this->isArrayElement($line))
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 604
return $this->returnArrayElement($line);
return $this->returnArrayElement($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 605
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 606
if ($this->isPlainArray($line))
if ($this->isPlainArray($line))
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 607
return $this->returnPlainArray($line);
return $this->returnPlainArray($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 608
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 609
return $this->returnKeyValuePair($line);
return $this->returnKeyValuePair($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 610
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 611
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 612
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 613
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 614
* Finds the type of the passed value, returns the value as the new type.
* Finds the type of the passed value, returns the value as the new type.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 615
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 616
* @param string $value
* @param string $value
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 617
* @return mixed
* @return mixed
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 618
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 619
private function _toType($value) {
private function _toType($value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 620
if ($value === '') return "";
if ($value === '') return "";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 621
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 622
if ($this->setting_empty_hash_as_object && $value === '{}') {
if ($this->setting_empty_hash_as_object && $value === '{}') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 623
return new stdClass();
return new stdClass();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 624
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 625
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 626
$first_character = $value[0];
$first_character = $value[0];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 627
$last_character = substr($value, -1, 1);
$last_character = substr($value, -1, 1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 628
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 629
$is_quoted = false;
$is_quoted = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 630
do {
do {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 631
if (!$value) break;
if (!$value) break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 632
if ($first_character != '"' && $first_character != "'") break;
if ($first_character != '"' && $first_character != "'") break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 633
if ($last_character != '"' && $last_character != "'") break;
if ($last_character != '"' && $last_character != "'") break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 634
$is_quoted = true;
$is_quoted = true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 635
} while (0);
} while (0);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 636
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 637
if ($is_quoted) {
if ($is_quoted) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 638
$value = str_replace('\n', "\n", $value);
$value = str_replace('\n', "\n", $value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 639
if ($first_character == "'")
if ($first_character == "'")
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 640
return strtr(substr ($value, 1, -1), array ('\'\'' => '\'', '\\\''=> '\''));
return strtr(substr ($value, 1, -1), array ('\'\'' => '\'', '\\\''=> '\''));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 641
return strtr(substr ($value, 1, -1), array ('\\"' => '"', '\\\''=> '\''));
return strtr(substr ($value, 1, -1), array ('\\"' => '"', '\\\''=> '\''));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 642
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 643
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 644
if (strpos($value, ' #') !== false && !$is_quoted)
if (strpos($value, ' #') !== false && !$is_quoted)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 645
$value = preg_replace('/\s+#(.+)$/','',$value);
$value = preg_replace('/\s+#(.+)$/','',$value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 646
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 647
if ($first_character == '[' && $last_character == ']') {
if ($first_character == '[' && $last_character == ']') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 648
// Take out strings sequences and mappings
// Take out strings sequences and mappings
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 649
$innerValue = trim(substr ($value, 1, -1));
$innerValue = trim(substr ($value, 1, -1));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 650
if ($innerValue === '') return array();
if ($innerValue === '') return array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 651
$explode = $this->_inlineEscape($innerValue);
$explode = $this->_inlineEscape($innerValue);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 652
// Propagate value array
// Propagate value array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 653
$value = array();
$value = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 654
foreach ($explode as $v) {
foreach ($explode as $v) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 655
$value[] = $this->_toType($v);
$value[] = $this->_toType($v);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 656
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 657
return $value;
return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 658
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 659
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 660
if (strpos($value,': ')!==false && $first_character != '{') {
if (strpos($value,': ')!==false && $first_character != '{') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 661
$array = explode(': ',$value);
$array = explode(': ',$value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 662
$key = trim($array[0]);
$key = trim($array[0]);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 663
array_shift($array);
array_shift($array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 664
$value = trim(implode(': ',$array));
$value = trim(implode(': ',$array));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 665
$value = $this->_toType($value);
$value = $this->_toType($value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 666
return array($key => $value);
return array($key => $value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 667
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 668
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 669
if ($first_character == '{' && $last_character == '}') {
if ($first_character == '{' && $last_character == '}') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 670
$innerValue = trim(substr ($value, 1, -1));
$innerValue = trim(substr ($value, 1, -1));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 671
if ($innerValue === '') return array();
if ($innerValue === '') return array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 672
// Inline Mapping
// Inline Mapping
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 673
// Take out strings sequences and mappings
// Take out strings sequences and mappings
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 674
$explode = $this->_inlineEscape($innerValue);
$explode = $this->_inlineEscape($innerValue);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 675
// Propagate value array
// Propagate value array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 676
$array = array();
$array = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 677
foreach ($explode as $v) {
foreach ($explode as $v) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 678
$SubArr = $this->_toType($v);
$SubArr = $this->_toType($v);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 679
if (empty($SubArr)) continue;
if (empty($SubArr)) continue;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 680
if (is_array ($SubArr)) {
if (is_array ($SubArr)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 681
$array[key($SubArr)] = $SubArr[key($SubArr)]; continue;
$array[key($SubArr)] = $SubArr[key($SubArr)]; continue;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 682
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 683
$array[] = $SubArr;
$array[] = $SubArr;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 684
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 685
return $array;
return $array;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 686
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 687
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 688
if ($value == 'null' || $value == 'NULL' || $value == 'Null' || $value == '' || $value == '~') {
if ($value == 'null' || $value == 'NULL' || $value == 'Null' || $value == '' || $value == '~') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 689
return null;
return null;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 690
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 691
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 692
if ( is_numeric($value) && preg_match ('/^(-|)[1-9]+[0-9]*$/', $value) ){
if ( is_numeric($value) && preg_match ('/^(-|)[1-9]+[0-9]*$/', $value) ){
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 693
$intvalue = (int)$value;
$intvalue = (int)$value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 694
if ($intvalue != PHP_INT_MAX && $intvalue != ~PHP_INT_MAX)
if ($intvalue != PHP_INT_MAX && $intvalue != ~PHP_INT_MAX)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 695
$value = $intvalue;
$value = $intvalue;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 696
return $value;
return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 697
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 698
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 699
if ( is_string($value) && preg_match('/^0[xX][0-9a-fA-F]+$/', $value)) {
if ( is_string($value) && preg_match('/^0[xX][0-9a-fA-F]+$/', $value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 700
// Hexadecimal value.
// Hexadecimal value.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 701
return hexdec($value);
return hexdec($value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 702
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 703
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 704
$this->coerceValue($value);
$this->coerceValue($value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 705
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 706
if (is_numeric($value)) {
if (is_numeric($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 707
if ($value === '0') return 0;
if ($value === '0') return 0;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 708
if (rtrim ($value, 0) === $value)
if (rtrim ($value, 0) === $value)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 709
$value = (float)$value;
$value = (float)$value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 710
return $value;
return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 711
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 712
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 713
return $value;
return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 714
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 715
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 716
/**
/**
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 717
* Used in inlines to check for more inlines or quoted strings
* Used in inlines to check for more inlines or quoted strings
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 718
* @access private
* @access private
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 719
* @return array
* @return array
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 720
*/
*/
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 721
private function _inlineEscape($inline) {
private function _inlineEscape($inline) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 722
// There's gotta be a cleaner way to do this...
// There's gotta be a cleaner way to do this...
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 723
// While pure sequences seem to be nesting just fine,
// While pure sequences seem to be nesting just fine,
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 724
// pure mappings and mappings with sequences inside can't go very
// pure mappings and mappings with sequences inside can't go very
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 725
// deep. This needs to be fixed.
// deep. This needs to be fixed.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 726
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 727
$seqs = array();
$seqs = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 728
$maps = array();
$maps = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 729
$saved_strings = array();
$saved_strings = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 730
$saved_empties = array();
$saved_empties = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 731
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 732
// Check for empty strings
// Check for empty strings
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 733
$regex = '/("")|(\'\')/';
$regex = '/("")|(\'\')/';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 734
if (preg_match_all($regex,$inline,$strings)) {
if (preg_match_all($regex,$inline,$strings)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 735
$saved_empties = $strings[0];
$saved_empties = $strings[0];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 736
$inline = preg_replace($regex,'YAMLEmpty',$inline);
$inline = preg_replace($regex,'YAMLEmpty',$inline);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 737
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 738
unset($regex);
unset($regex);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 739
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 740
// Check for strings
// Check for strings
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 741
$regex = '/(?:(")|(?:\'))((?(1)[^"]+|[^\']+))(?(1)"|\')/';
$regex = '/(?:(")|(?:\'))((?(1)[^"]+|[^\']+))(?(1)"|\')/';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 742
if (preg_match_all($regex,$inline,$strings)) {
if (preg_match_all($regex,$inline,$strings)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 743
$saved_strings = $strings[0];
$saved_strings = $strings[0];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 744
$inline = preg_replace($regex,'YAMLString',$inline);
$inline = preg_replace($regex,'YAMLString',$inline);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 745
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 746
unset($regex);
unset($regex);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 747
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 748
// echo $inline;
// echo $inline;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 749
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 750
$i = 0;
$i = 0;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 751
do {
do {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 752
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 753
// Check for sequences
// Check for sequences
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 754
while (preg_match('/\[([^{}\[\]]+)\]/U',$inline,$matchseqs)) {
while (preg_match('/\[([^{}\[\]]+)\]/U',$inline,$matchseqs)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 755
$seqs[] = $matchseqs[0];
$seqs[] = $matchseqs[0];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 756
$inline = preg_replace('/\[([^{}\[\]]+)\]/U', ('YAMLSeq' . (count($seqs) - 1) . 's'), $inline, 1);
$inline = preg_replace('/\[([^{}\[\]]+)\]/U', ('YAMLSeq' . (count($seqs) - 1) . 's'), $inline, 1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 757
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 758
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 759
// Check for mappings
// Check for mappings
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 760
while (preg_match('/{([^\[\]{}]+)}/U',$inline,$matchmaps)) {
while (preg_match('/{([^\[\]{}]+)}/U',$inline,$matchmaps)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 761
$maps[] = $matchmaps[0];
$maps[] = $matchmaps[0];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 762
$inline = preg_replace('/{([^\[\]{}]+)}/U', ('YAMLMap' . (count($maps) - 1) . 's'), $inline, 1);
$inline = preg_replace('/{([^\[\]{}]+)}/U', ('YAMLMap' . (count($maps) - 1) . 's'), $inline, 1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 763
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 764
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 765
if ($i++ >= 10) break;
if ($i++ >= 10) break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 766
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 767
} while (strpos ($inline, '[') !== false || strpos ($inline, '{') !== false);
} while (strpos ($inline, '[') !== false || strpos ($inline, '{') !== false);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 768
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 769
$explode = explode(',',$inline);
$explode = explode(',',$inline);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 770
$explode = array_map('trim', $explode);
$explode = array_map('trim', $explode);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 771
$stringi = 0; $i = 0;
$stringi = 0; $i = 0;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 772
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 773
while (1) {
while (1) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 774
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 775
// Re-add the sequences
// Re-add the sequences
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 776
if (!empty($seqs)) {
if (!empty($seqs)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 777
foreach ($explode as $key => $value) {
foreach ($explode as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 778
if (strpos($value,'YAMLSeq') !== false) {
if (strpos($value,'YAMLSeq') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 779
foreach ($seqs as $seqk => $seq) {
foreach ($seqs as $seqk => $seq) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 780
$explode[$key] = str_replace(('YAMLSeq'.$seqk.'s'),$seq,$value);
$explode[$key] = str_replace(('YAMLSeq'.$seqk.'s'),$seq,$value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 781
$value = $explode[$key];
$value = $explode[$key];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 782
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 783
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 784
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 785
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 786
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 787
// Re-add the mappings
// Re-add the mappings
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 788
if (!empty($maps)) {
if (!empty($maps)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 789
foreach ($explode as $key => $value) {
foreach ($explode as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 790
if (strpos($value,'YAMLMap') !== false) {
if (strpos($value,'YAMLMap') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 791
foreach ($maps as $mapk => $map) {
foreach ($maps as $mapk => $map) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 792
$explode[$key] = str_replace(('YAMLMap'.$mapk.'s'), $map, $value);
$explode[$key] = str_replace(('YAMLMap'.$mapk.'s'), $map, $value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 793
$value = $explode[$key];
$value = $explode[$key];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 794
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 795
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 796
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 797
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 798
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 799
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 800
// Re-add the strings
// Re-add the strings
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 801
if (!empty($saved_strings)) {
if (!empty($saved_strings)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 802
foreach ($explode as $key => $value) {
foreach ($explode as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 803
while (strpos($value,'YAMLString') !== false) {
while (strpos($value,'YAMLString') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 804
$explode[$key] = preg_replace('/YAMLString/',$saved_strings[$stringi],$value, 1);
$explode[$key] = preg_replace('/YAMLString/',$saved_strings[$stringi],$value, 1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 805
unset($saved_strings[$stringi]);
unset($saved_strings[$stringi]);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 806
++$stringi;
++$stringi;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 807
$value = $explode[$key];
$value = $explode[$key];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 808
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 809
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 810
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 811
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 812
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 813
// Re-add the empties
// Re-add the empties
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 814
if (!empty($saved_empties)) {
if (!empty($saved_empties)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 815
foreach ($explode as $key => $value) {
foreach ($explode as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 816
while (strpos($value,'YAMLEmpty') !== false) {
while (strpos($value,'YAMLEmpty') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 817
$explode[$key] = preg_replace('/YAMLEmpty/', '', $value, 1);
$explode[$key] = preg_replace('/YAMLEmpty/', '', $value, 1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 818
$value = $explode[$key];
$value = $explode[$key];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 819
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 820
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 821
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 822
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 823
$finished = true;
$finished = true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 824
foreach ($explode as $key => $value) {
foreach ($explode as $key => $value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 825
if (strpos($value,'YAMLSeq') !== false) {
if (strpos($value,'YAMLSeq') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 826
$finished = false; break;
$finished = false; break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 827
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 828
if (strpos($value,'YAMLMap') !== false) {
if (strpos($value,'YAMLMap') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 829
$finished = false; break;
$finished = false; break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 830
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 831
if (strpos($value,'YAMLString') !== false) {
if (strpos($value,'YAMLString') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 832
$finished = false; break;
$finished = false; break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 833
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 834
if (strpos($value,'YAMLEmpty') !== false) {
if (strpos($value,'YAMLEmpty') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 835
$finished = false; break;
$finished = false; break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 836
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 837
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 838
if ($finished) break;
if ($finished) break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 839
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 840
$i++;
$i++;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 841
if ($i > 10)
if ($i > 10)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 842
break; // Prevent infinite loops.
break; // Prevent infinite loops.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 843
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 844
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 845
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 846
return $explode;
return $explode;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 847
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 848
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 849
private function literalBlockContinues ($line, $lineIndent) {
private function literalBlockContinues ($line, $lineIndent) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 850
if (!trim($line)) return true;
if (!trim($line)) return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 851
if (strlen($line) - strlen(ltrim($line)) > $lineIndent) return true;
if (strlen($line) - strlen(ltrim($line)) > $lineIndent) return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 852
return false;
return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 853
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 854
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 855
private function referenceContentsByAlias ($alias) {
private function referenceContentsByAlias ($alias) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 856
do {
do {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 857
if (!isset($this->SavedGroups[$alias])) { echo "Bad group name: $alias."; break; }
if (!isset($this->SavedGroups[$alias])) { echo "Bad group name: $alias."; break; }
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 858
$groupPath = $this->SavedGroups[$alias];
$groupPath = $this->SavedGroups[$alias];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 859
$value = $this->result;
$value = $this->result;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 860
foreach ($groupPath as $k) {
foreach ($groupPath as $k) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 861
$value = $value[$k];
$value = $value[$k];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 862
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 863
} while (false);
} while (false);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 864
return $value;
return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 865
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 866
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 867
private function addArrayInline ($array, $indent) {
private function addArrayInline ($array, $indent) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 868
$CommonGroupPath = $this->path;
$CommonGroupPath = $this->path;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 869
if (empty ($array)) return false;
if (empty ($array)) return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 870
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 871
foreach ($array as $k => $_) {
foreach ($array as $k => $_) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 872
$this->addArray(array($k => $_), $indent);
$this->addArray(array($k => $_), $indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 873
$this->path = $CommonGroupPath;
$this->path = $CommonGroupPath;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 874
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 875
return true;
return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 876
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 877
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 878
private function addArray ($incoming_data, $incoming_indent) {
private function addArray ($incoming_data, $incoming_indent) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 879
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 880
// print_r ($incoming_data);
// print_r ($incoming_data);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 881
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 882
if (count ($incoming_data) > 1)
if (count ($incoming_data) > 1)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 883
return $this->addArrayInline ($incoming_data, $incoming_indent);
return $this->addArrayInline ($incoming_data, $incoming_indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 884
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 885
$key = key ($incoming_data);
$key = key ($incoming_data);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 886
$value = isset($incoming_data[$key]) ? $incoming_data[$key] : null;
$value = isset($incoming_data[$key]) ? $incoming_data[$key] : null;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 887
if ($key === '__!YAMLZero') $key = '0';
if ($key === '__!YAMLZero') $key = '0';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 888
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 889
if ($incoming_indent == 0 && !$this->_containsGroupAlias && !$this->_containsGroupAnchor) { // Shortcut for root-level values.
if ($incoming_indent == 0 && !$this->_containsGroupAlias && !$this->_containsGroupAnchor) { // Shortcut for root-level values.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 890
if ($key || $key === '' || $key === '0') {
if ($key || $key === '' || $key === '0') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 891
$this->result[$key] = $value;
$this->result[$key] = $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 892
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 893
$this->result[] = $value; end ($this->result); $key = key ($this->result);
$this->result[] = $value; end ($this->result); $key = key ($this->result);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 894
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 895
$this->path[$incoming_indent] = $key;
$this->path[$incoming_indent] = $key;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 896
return;
return;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 897
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 898
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 899
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 900
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 901
$history = array();
$history = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 902
// Unfolding inner array tree.
// Unfolding inner array tree.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 903
$history[] = $_arr = $this->result;
$history[] = $_arr = $this->result;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 904
foreach ($this->path as $k) {
foreach ($this->path as $k) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 905
$history[] = $_arr = $_arr[$k];
$history[] = $_arr = $_arr[$k];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 906
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 907
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 908
if ($this->_containsGroupAlias) {
if ($this->_containsGroupAlias) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 909
$value = $this->referenceContentsByAlias($this->_containsGroupAlias);
$value = $this->referenceContentsByAlias($this->_containsGroupAlias);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 910
$this->_containsGroupAlias = false;
$this->_containsGroupAlias = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 911
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 912
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 913
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 914
// Adding string or numeric key to the innermost level or $this->arr.
// Adding string or numeric key to the innermost level or $this->arr.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 915
if (is_string($key) && $key == '<<') {
if (is_string($key) && $key == '<<') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 916
if (!is_array ($_arr)) { $_arr = array (); }
if (!is_array ($_arr)) { $_arr = array (); }
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 917
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 918
$_arr = array_merge ($_arr, $value);
$_arr = array_merge ($_arr, $value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 919
} else if ($key || $key === '' || $key === '0') {
} else if ($key || $key === '' || $key === '0') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 920
if (!is_array ($_arr))
if (!is_array ($_arr))
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 921
$_arr = array ($key=>$value);
$_arr = array ($key=>$value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 922
else
else
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 923
$_arr[$key] = $value;
$_arr[$key] = $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 924
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 925
if (!is_array ($_arr)) { $_arr = array ($value); $key = 0; }
if (!is_array ($_arr)) { $_arr = array ($value); $key = 0; }
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 926
else { $_arr[] = $value; end ($_arr); $key = key ($_arr); }
else { $_arr[] = $value; end ($_arr); $key = key ($_arr); }
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 927
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 928
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 929
$reverse_path = array_reverse($this->path);
$reverse_path = array_reverse($this->path);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 930
$reverse_history = array_reverse ($history);
$reverse_history = array_reverse ($history);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 931
$reverse_history[0] = $_arr;
$reverse_history[0] = $_arr;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 932
$cnt = count($reverse_history) - 1;
$cnt = count($reverse_history) - 1;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 933
for ($i = 0; $i < $cnt; $i++) {
for ($i = 0; $i < $cnt; $i++) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 934
$reverse_history[$i+1][$reverse_path[$i]] = $reverse_history[$i];
$reverse_history[$i+1][$reverse_path[$i]] = $reverse_history[$i];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 935
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 936
$this->result = $reverse_history[$cnt];
$this->result = $reverse_history[$cnt];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 937
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 938
$this->path[$incoming_indent] = $key;
$this->path[$incoming_indent] = $key;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 939
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 940
if ($this->_containsGroupAnchor) {
if ($this->_containsGroupAnchor) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 941
$this->SavedGroups[$this->_containsGroupAnchor] = $this->path;
$this->SavedGroups[$this->_containsGroupAnchor] = $this->path;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 942
if (is_array ($value)) {
if (is_array ($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 943
$k = key ($value);
$k = key ($value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 944
if (!is_int ($k)) {
if (!is_int ($k)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 945
$this->SavedGroups[$this->_containsGroupAnchor][$incoming_indent + 2] = $k;
$this->SavedGroups[$this->_containsGroupAnchor][$incoming_indent + 2] = $k;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 946
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 947
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 948
$this->_containsGroupAnchor = false;
$this->_containsGroupAnchor = false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 949
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 950
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 951
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 952
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 953
private static function startsLiteralBlock ($line) {
private static function startsLiteralBlock ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 954
$lastChar = substr (trim($line), -1);
$lastChar = substr (trim($line), -1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 955
if ($lastChar != '>' && $lastChar != '|') return false;
if ($lastChar != '>' && $lastChar != '|') return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 956
if ($lastChar == '|') return $lastChar;
if ($lastChar == '|') return $lastChar;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 957
// HTML tags should not be counted as literal blocks.
// HTML tags should not be counted as literal blocks.
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 958
if (preg_match ('#<.*?>$#', $line)) return false;
if (preg_match ('#<.*?>$#', $line)) return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 959
return $lastChar;
return $lastChar;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 960
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 961
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 962
private static function greedilyNeedNextLine($line) {
private static function greedilyNeedNextLine($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 963
$line = trim ($line);
$line = trim ($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 964
if (!strlen($line)) return false;
if (!strlen($line)) return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 965
if (substr ($line, -1, 1) == ']') return false;
if (substr ($line, -1, 1) == ']') return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 966
if ($line[0] == '[') return true;
if ($line[0] == '[') return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 967
if (preg_match ('#^[^:]+?:\s*\[#', $line)) return true;
if (preg_match ('#^[^:]+?:\s*\[#', $line)) return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 968
return false;
return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 969
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 970
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 971
private function addLiteralLine ($literalBlock, $line, $literalBlockStyle, $indent = -1) {
private function addLiteralLine ($literalBlock, $line, $literalBlockStyle, $indent = -1) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 972
$line = self::stripIndent($line, $indent);
$line = self::stripIndent($line, $indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 973
if ($literalBlockStyle !== '|') {
if ($literalBlockStyle !== '|') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 974
$line = self::stripIndent($line);
$line = self::stripIndent($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 975
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 976
$line = rtrim ($line, "\r\n\t ") . "\n";
$line = rtrim ($line, "\r\n\t ") . "\n";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 977
if ($literalBlockStyle == '|') {
if ($literalBlockStyle == '|') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 978
return $literalBlock . $line;
return $literalBlock . $line;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 979
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 980
if (strlen($line) == 0)
if (strlen($line) == 0)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 981
return rtrim($literalBlock, ' ') . "\n";
return rtrim($literalBlock, ' ') . "\n";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 982
if ($line == "\n" && $literalBlockStyle == '>') {
if ($line == "\n" && $literalBlockStyle == '>') {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 983
return rtrim ($literalBlock, " \t") . "\n";
return rtrim ($literalBlock, " \t") . "\n";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 984
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 985
if ($line != "\n")
if ($line != "\n")
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 986
$line = trim ($line, "\r\n ") . " ";
$line = trim ($line, "\r\n ") . " ";
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 987
return $literalBlock . $line;
return $literalBlock . $line;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 988
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 989
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 990
function revertLiteralPlaceHolder ($lineArray, $literalBlock) {
function revertLiteralPlaceHolder ($lineArray, $literalBlock) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 991
foreach ($lineArray as $k => $_) {
foreach ($lineArray as $k => $_) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 992
if (is_array($_))
if (is_array($_))
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 993
$lineArray[$k] = $this->revertLiteralPlaceHolder ($_, $literalBlock);
$lineArray[$k] = $this->revertLiteralPlaceHolder ($_, $literalBlock);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 994
else if (substr($_, -1 * strlen ($this->LiteralPlaceHolder)) == $this->LiteralPlaceHolder)
else if (substr($_, -1 * strlen ($this->LiteralPlaceHolder)) == $this->LiteralPlaceHolder)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 995
$lineArray[$k] = rtrim ($literalBlock, " \r\n");
$lineArray[$k] = rtrim ($literalBlock, " \r\n");
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 996
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 997
return $lineArray;
return $lineArray;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 998
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 999
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1000
private static function stripIndent ($line, $indent = -1) {
private static function stripIndent ($line, $indent = -1) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1001
if ($indent == -1) $indent = strlen($line) - strlen(ltrim($line));
if ($indent == -1) $indent = strlen($line) - strlen(ltrim($line));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1002
return substr ($line, $indent);
return substr ($line, $indent);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1003
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1004
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1005
private function getParentPathByIndent ($indent) {
private function getParentPathByIndent ($indent) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1006
if ($indent == 0) return array();
if ($indent == 0) return array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1007
$linePath = $this->path;
$linePath = $this->path;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1008
do {
do {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1009
end($linePath); $lastIndentInParentPath = key($linePath);
end($linePath); $lastIndentInParentPath = key($linePath);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1010
if ($indent <= $lastIndentInParentPath) array_pop ($linePath);
if ($indent <= $lastIndentInParentPath) array_pop ($linePath);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1011
} while ($indent <= $lastIndentInParentPath);
} while ($indent <= $lastIndentInParentPath);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1012
return $linePath;
return $linePath;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1013
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1014
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1015
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1016
private function clearBiggerPathValues ($indent) {
private function clearBiggerPathValues ($indent) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1017
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1018
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1019
if ($indent == 0) $this->path = array();
if ($indent == 0) $this->path = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1020
if (empty ($this->path)) return true;
if (empty ($this->path)) return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1021
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1022
foreach ($this->path as $k => $_) {
foreach ($this->path as $k => $_) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1023
if ($k > $indent) unset ($this->path[$k]);
if ($k > $indent) unset ($this->path[$k]);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1024
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1025
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1026
return true;
return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1027
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1028
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1029
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1030
private static function isComment ($line) {
private static function isComment ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1031
if (!$line) return false;
if (!$line) return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1032
if ($line[0] == '#') return true;
if ($line[0] == '#') return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1033
if (trim($line, " \r\n\t") == '---') return true;
if (trim($line, " \r\n\t") == '---') return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1034
return false;
return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1035
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1036
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1037
private static function isEmpty ($line) {
private static function isEmpty ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1038
return (trim ($line) === '');
return (trim ($line) === '');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1039
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1040
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1041
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1042
private function isArrayElement ($line) {
private function isArrayElement ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1043
if (!$line || !is_scalar($line)) return false;
if (!$line || !is_scalar($line)) return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1044
if (substr($line, 0, 2) != '- ') return false;
if (substr($line, 0, 2) != '- ') return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1045
if (strlen ($line) > 3)
if (strlen ($line) > 3)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1046
if (substr($line,0,3) == '---') return false;
if (substr($line,0,3) == '---') return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1047
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1048
return true;
return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1049
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1050
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1051
private function isHashElement ($line) {
private function isHashElement ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1052
return strpos($line, ':');
return strpos($line, ':');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1053
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1054
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1055
private function isLiteral ($line) {
private function isLiteral ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1056
if ($this->isArrayElement($line)) return false;
if ($this->isArrayElement($line)) return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1057
if ($this->isHashElement($line)) return false;
if ($this->isHashElement($line)) return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1058
return true;
return true;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1059
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1060
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1061
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1062
private static function unquote ($value) {
private static function unquote ($value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1063
if (!$value) return $value;
if (!$value) return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1064
if (!is_string($value)) return $value;
if (!is_string($value)) return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1065
if ($value[0] == '\'') return trim ($value, '\'');
if ($value[0] == '\'') return trim ($value, '\'');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1066
if ($value[0] == '"') return trim ($value, '"');
if ($value[0] == '"') return trim ($value, '"');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1067
return $value;
return $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1068
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1069
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1070
private function startsMappedSequence ($line) {
private function startsMappedSequence ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1071
return (substr($line, 0, 2) == '- ' && substr ($line, -1, 1) == ':');
return (substr($line, 0, 2) == '- ' && substr ($line, -1, 1) == ':');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1072
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1073
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1074
private function returnMappedSequence ($line) {
private function returnMappedSequence ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1075
$array = array();
$array = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1076
$key = self::unquote(trim(substr($line,1,-1)));
$key = self::unquote(trim(substr($line,1,-1)));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1077
$array[$key] = array();
$array[$key] = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1078
$this->delayedPath = array(strpos ($line, $key) + $this->indent => $key);
$this->delayedPath = array(strpos ($line, $key) + $this->indent => $key);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1079
return array($array);
return array($array);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1080
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1081
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1082
private function checkKeysInValue($value) {
private function checkKeysInValue($value) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1083
if (strchr('[{"\'', $value[0]) === false) {
if (strchr('[{"\'', $value[0]) === false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1084
if (strchr($value, ': ') !== false) {
if (strchr($value, ': ') !== false) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1085
throw new Exception('Too many keys: '.$value);
throw new Exception('Too many keys: '.$value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1086
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1087
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1088
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1089
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1090
private function returnMappedValue ($line) {
private function returnMappedValue ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1091
$this->checkKeysInValue($line);
$this->checkKeysInValue($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1092
$array = array();
$array = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1093
$key = self::unquote (trim(substr($line,0,-1)));
$key = self::unquote (trim(substr($line,0,-1)));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1094
$array[$key] = '';
$array[$key] = '';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1095
return $array;
return $array;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1096
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1097
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1098
private function startsMappedValue ($line) {
private function startsMappedValue ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1099
return (substr ($line, -1, 1) == ':');
return (substr ($line, -1, 1) == ':');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1100
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1101
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1102
private function isPlainArray ($line) {
private function isPlainArray ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1103
return ($line[0] == '[' && substr ($line, -1, 1) == ']');
return ($line[0] == '[' && substr ($line, -1, 1) == ']');
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1104
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1105
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1106
private function returnPlainArray ($line) {
private function returnPlainArray ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1107
return $this->_toType($line);
return $this->_toType($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1108
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1109
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1110
private function returnKeyValuePair ($line) {
private function returnKeyValuePair ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1111
$array = array();
$array = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1112
$key = '';
$key = '';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1113
if (strpos ($line, ': ')) {
if (strpos ($line, ': ')) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1114
// It's a key/value pair most likely
// It's a key/value pair most likely
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1115
// If the key is in double quotes pull it out
// If the key is in double quotes pull it out
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1116
if (($line[0] == '"' || $line[0] == "'") && preg_match('/^(["\'](.*)["\'](\s)*:)/',$line,$matches)) {
if (($line[0] == '"' || $line[0] == "'") && preg_match('/^(["\'](.*)["\'](\s)*:)/',$line,$matches)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1117
$value = trim(str_replace($matches[1],'',$line));
$value = trim(str_replace($matches[1],'',$line));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1118
$key = $matches[2];
$key = $matches[2];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1119
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1120
// Do some guesswork as to the key and the value
// Do some guesswork as to the key and the value
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1121
$explode = explode(': ', $line);
$explode = explode(': ', $line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1122
$key = trim(array_shift($explode));
$key = trim(array_shift($explode));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1123
$value = trim(implode(': ', $explode));
$value = trim(implode(': ', $explode));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1124
$this->checkKeysInValue($value);
$this->checkKeysInValue($value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1125
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1126
// Set the type of the value. Int, string, etc
// Set the type of the value. Int, string, etc
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1127
$value = $this->_toType($value);
$value = $this->_toType($value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1128
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1129
if ($key === '0') $key = '__!YAMLZero';
if ($key === '0') $key = '__!YAMLZero';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1130
$array[$key] = $value;
$array[$key] = $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1131
} else {
} else {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1132
$array = array ($line);
$array = array ($line);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1133
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1134
return $array;
return $array;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1135
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1136
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1137
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1138
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1139
private function returnArrayElement ($line) {
private function returnArrayElement ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1140
if (strlen($line) <= 1) return array(array()); // Weird %)
if (strlen($line) <= 1) return array(array()); // Weird %)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1141
$array = array();
$array = array();
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1142
$value = trim(substr($line,1));
$value = trim(substr($line,1));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1143
$value = $this->_toType($value);
$value = $this->_toType($value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1144
if ($this->isArrayElement($value)) {
if ($this->isArrayElement($value)) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1145
$value = $this->returnArrayElement($value);
$value = $this->returnArrayElement($value);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1146
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1147
$array[] = $value;
$array[] = $value;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1148
return $array;
return $array;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1149
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1150
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1151
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1152
private function nodeContainsGroup ($line) {
private function nodeContainsGroup ($line) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1153
$symbolsForReference = 'A-z0-9_\-';
$symbolsForReference = 'A-z0-9_\-';
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1154
if (strpos($line, '&') === false && strpos($line, '*') === false) return false; // Please die fast ;-)
if (strpos($line, '&') === false && strpos($line, '*') === false) return false; // Please die fast ;-)
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1155
if ($line[0] == '&' && preg_match('/^(&['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
if ($line[0] == '&' && preg_match('/^(&['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1156
if ($line[0] == '*' && preg_match('/^(\*['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
if ($line[0] == '*' && preg_match('/^(\*['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1157
if (preg_match('/(&['.$symbolsForReference.']+)$/', $line, $matches)) return $matches[1];
if (preg_match('/(&['.$symbolsForReference.']+)$/', $line, $matches)) return $matches[1];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1158
if (preg_match('/(\*['.$symbolsForReference.']+$)/', $line, $matches)) return $matches[1];
if (preg_match('/(\*['.$symbolsForReference.']+$)/', $line, $matches)) return $matches[1];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1159
if (preg_match ('#^\s*<<\s*:\s*(\*[^\s]+).*$#', $line, $matches)) return $matches[1];
if (preg_match ('#^\s*<<\s*:\s*(\*[^\s]+).*$#', $line, $matches)) return $matches[1];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1160
return false;
return false;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1161
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1162
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1163
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1164
private function addGroup ($line, $group) {
private function addGroup ($line, $group) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1165
if ($group[0] == '&') $this->_containsGroupAnchor = substr ($group, 1);
if ($group[0] == '&') $this->_containsGroupAnchor = substr ($group, 1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1166
if ($group[0] == '*') $this->_containsGroupAlias = substr ($group, 1);
if ($group[0] == '*') $this->_containsGroupAlias = substr ($group, 1);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1167
//print_r ($this->path);
//print_r ($this->path);
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1168
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1169
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1170
private function stripGroup ($line, $group) {
private function stripGroup ($line, $group) {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1171
$line = trim(str_replace($group, '', $line));
$line = trim(str_replace($group, '', $line));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1172
return $line;
return $line;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1173
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1174
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1175
}
}
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1176
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1177
// Enable use of Spyc from command line
// Enable use of Spyc from command line
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1178
// The syntax is the following: php Spyc.php spyc.yaml
// The syntax is the following: php Spyc.php spyc.yaml
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1179
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1180
do {
do {
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1181
if (PHP_SAPI != 'cli') break;
if (PHP_SAPI != 'cli') break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1182
if (empty ($_SERVER['argc']) || $_SERVER['argc'] < 2) break;
if (empty ($_SERVER['argc']) || $_SERVER['argc'] < 2) break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1183
if (empty ($_SERVER['PHP_SELF']) || FALSE === strpos ($_SERVER['PHP_SELF'], 'Spyc.php') ) break;
if (empty ($_SERVER['PHP_SELF']) || FALSE === strpos ($_SERVER['PHP_SELF'], 'Spyc.php') ) break;
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1184
$file = $argv[1];
$file = $argv[1];
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1185
echo json_encode (spyc_load_file ($file));
echo json_encode (spyc_load_file ($file));
same change
f41c2a6
add mustangostang/spyc to composer
- Full commit hash
f41c2a688aa0c1f9e13bd64c8c24213a1c1113d9- Author
- tinect <[email protected]>
- Date
- over 6 years ago
- Selected line
- 1186
} while (0);
} while (0);