Skip to content

Commit 72e6203

Browse files
committed
parse yaml with fragments.
1 parent 326e39a commit 72e6203

7 files changed

Lines changed: 423 additions & 494 deletions

File tree

data-yml.php

Lines changed: 0 additions & 130 deletions
This file was deleted.

data.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
<?php
2+
require_once("functions.php");
3+
24
$dimensions = array();
35

46
$files = scandir("data");
57

6-
function readYaml($file)
7-
{
8-
return yaml_parse(
9-
file_get_contents($file)
10-
);
11-
}
128

139
$dimensions = array(
1410
"Application" => readYaml("data/Application.yml"),
1511
"Culture and Org." => readYaml("data/CultureandOrg.yml"),
16-
"Build and Deployment" => readYaml("data/BuildandDeployment.yml"),
12+
"Build and Deployment" => readYaml("data/BuildandDeployment.yml#/sub-dimensions"),
1713
"Information Gathering" => readYaml("data/Informationgathering.yml"),
1814
"Implementation" => readYaml("data/Implementation.yml"),
1915
"Test and Verification" => readYaml("data/TestandVerification.yml")

0 commit comments

Comments
 (0)