mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +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
69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
SearchContextTest_Person:
|
|
person1:
|
|
Name: James
|
|
Email: james@example.com
|
|
HairColor: brown
|
|
EyeColor: brown
|
|
person2:
|
|
Name: John
|
|
Email: john@example.com
|
|
HairColor: blond
|
|
EyeColor: blue
|
|
person3:
|
|
Name: Jane
|
|
Email: jane@example.com
|
|
HairColor: brown
|
|
EyeColor: green
|
|
person4:
|
|
Name: Hemi
|
|
Email: hemi@example.com
|
|
HairColor: black
|
|
EyeColor: brown
|
|
person5:
|
|
Name: Sara
|
|
Email: sara@example.com
|
|
HairColor: black
|
|
EyeColor: green
|
|
|
|
SearchContextTest_Action:
|
|
action1:
|
|
Description: Get search context working
|
|
SolutionArea: technical
|
|
action2:
|
|
Description: Get relationship editor working
|
|
SolutionArea: design
|
|
action3:
|
|
Description: Get RSS feeds working
|
|
SolutionArea: technical
|
|
action4:
|
|
Description: New logotype
|
|
SolutionArea: design
|
|
|
|
|
|
SearchContextTest_Deadline:
|
|
deadline1:
|
|
CompletionDate: 2008-05-29 09:00:00
|
|
deadline2:
|
|
CompletionDate: 2008-05-20 09:00:00
|
|
|
|
SearchContextTest_Project:
|
|
project1:
|
|
Name: CRM Application
|
|
DeadlineID: =>SearchContextTest_Deadline.deadline1
|
|
Actions: =>SearchContextTest_Action.action1,=>SearchContextTest_Action.action2
|
|
project2:
|
|
Name: Blog Website
|
|
DeadlineID: =>SearchContextTest_Deadline.deadline2
|
|
Actions: =>SearchContextTest_Action.action3,=>SearchContextTest_Action.action4
|
|
|
|
SearchContextTest_AllFilterTypes:
|
|
filter1:
|
|
ExactMatch: Match me exactly
|
|
PartialMatch: Match me partially
|
|
Negation: Shouldnt match me
|
|
HiddenValue: Filtered value
|
|
CollectionMatch: ExistingCollectionValue
|
|
StartsWith: 12345-6789 CamelCase
|
|
EndsWith: abcd-efgh-ijkl
|
|
FulltextField: one two three
|