Permalink
Browse files

bump yaml version

  • Loading branch information...
chrisvanpatten committed Dec 14, 2018
1 parent 39a75f0 commit a7a6793d74f0e78de373025a9e1373eeb8773663
Showing with 22 additions and 13 deletions.
  1. +1 −1 composer.json
  2. +18 −8 composer.lock
  3. +3 −4 public/wp-config.php
@@ -68,7 +68,7 @@
},
"require": {
"php": "^7.1",
"symfony/yaml": "~2.0",
"symfony/yaml": "^4.0",
"johnpbloch/wordpress": "^5.0",
"wpackagist-plugin/gutenberg": "^4.0",
"timber/timber": "^1.7",

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -8,11 +8,10 @@
}
// Setup the YAML parser, load some yaml files
use Symfony\Component\Yaml\Parser;
use Symfony\Component\Yaml\Yaml;
$yaml = new Parser();
$project = $yaml->parse(file_get_contents("{$dir}/../config/project.yml"));
$database = $yaml->parse(file_get_contents("{$dir}/../config/secrets/database.yml"));
$project = Yaml::parseFile("{$dir}/../config/project.yml");
$database = Yaml::parseFile("{$dir}/../config/secrets/database.yml");
// Throw an error if things break
$failure_message = <<<EOT

0 comments on commit a7a6793

Please sign in to comment.