PHP Classes

File: htdocs/class/libraries/vendor/symfony/yaml/Tests/Fixtures/YtsErrorTests.yml

Recommend this page to a friend!
  Classes of Michael Beck  >  Xoops 2.5  >  htdocs/class/libraries/vendor/symfony/yaml/Tests/Fixtures/YtsErrorTests.yml  >  Download  
File: htdocs/class/libraries/vendor/symfony/yaml/Tests/Fixtures/YtsErrorTests.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 3 years ago
Size: 625 bytes
 

 

Contents

Class file image Download
---
test: Missing value for hash item
todo: true
brief: |
    Third item in this hash doesn't have a value
yaml: |
    okay: value
    also okay: ~
    causes error because no value specified
    last key: value okay here too
python-error: causes error because no value specified

---
test: Not indenting enough
brief: |
    There was a bug in PyYaml where it was off by one
    in the indentation check.  It was allowing the YAML
    below.
# This is actually valid YAML now. Someone should tell showell.
yaml: |
    foo:
    firstline: 1
    secondline: 2
php: |
  array('foo' => null, 'firstline' => 1, 'secondline' => 2)

For more information send a message to info at phpclasses dot org.