mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-26 20:45:47 +02:00
The main benefit of this is so that authors who make use of .editorconfig don't end up with whitespace changes in their PRs. Spaces vs. tabs has been left alone, although that could do with a tidy-up in SS4 after the switch to PSR-1/2. The command used was this: for match in '*.ss' '*.css' '*.scss' '*.html' '*.yml' '*.php' '*.js' '*.csv' '*.inc' '*.php5'; do find . -path ./thirdparty -not -prune -o -path ./admin/thirdparty -not -prune -o -type f -name "$match" -exec sed -E -i '' 's/[[:space:]]+$//' {} \+ find . -path ./thirdparty -not -prune -o -path ./admin/thirdparty -not -prune -o -type f -name "$match" | xargs perl -pi -e 's/ +$//' done
35 lines
766 B
YAML
35 lines
766 B
YAML
HierarchyTest_Object:
|
|
obj1:
|
|
Title: Obj 1
|
|
obj2:
|
|
Title: Obj 2
|
|
obj3:
|
|
Title: Obj 3
|
|
obj2a:
|
|
Parent: =>HierarchyTest_Object.obj2
|
|
Title: Obj 2a
|
|
obj2b:
|
|
Parent: =>HierarchyTest_Object.obj2
|
|
Title: Obj 2b
|
|
obj3a:
|
|
Parent: =>HierarchyTest_Object.obj3
|
|
Title: Obj 3a
|
|
obj3b:
|
|
Parent: =>HierarchyTest_Object.obj3
|
|
Title: Obj 3b
|
|
obj3c:
|
|
Parent: =>HierarchyTest_Object.obj3
|
|
Title: Obj 3c
|
|
obj2aa:
|
|
Parent: =>HierarchyTest_Object.obj2a
|
|
Title: Obj 2aa
|
|
obj2ab:
|
|
Parent: =>HierarchyTest_Object.obj2a
|
|
Title: Obj 2ab
|
|
obj3aa:
|
|
Parent: =>HierarchyTest_Object.obj3a
|
|
Title: Obj 3aa
|
|
obj3ab:
|
|
Parent: =>HierarchyTest_Object.obj3a
|
|
Title: Obj 3ab
|