Skip to content

Commit 0c0facb

Browse files
committed
Merge branch 'feature/yaml-yml-extension' of https://github.com/EvanLovely/patternlab-php-core into hotfix-allthethings
2 parents 2ac6827 + 028a42f commit 0c0facb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/PatternLab/PatternData/Rules/PatternInfoListItemsRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct($options) {
2626
parent::__construct($options);
2727

2828
$this->depthProp = 3; // 3 means that depth won't be checked
29-
$this->extProp = "json||yaml";
29+
$this->extProp = "json||yaml||yml";
3030
$this->isDirProp = false;
3131
$this->isFileProp = true;
3232
$this->searchProp = ".listitems.";

src/PatternLab/PatternData/Rules/PatternInfoRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct($options) {
2626
parent::__construct($options);
2727

2828
$this->depthProp = 3; // 3 means that depth won't be checked
29-
$this->extProp = "json||yaml";
29+
$this->extProp = "json||yaml||yml";
3030
$this->isDirProp = false;
3131
$this->isFileProp = true;
3232
$this->searchProp = "";

src/PatternLab/PatternData/Rules/PseudoPatternRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct($options) {
2626
parent::__construct($options);
2727

2828
$this->depthProp = 3; // 3 means that depth won't be checked
29-
$this->extProp = "json||yaml";
29+
$this->extProp = "json||yaml||yml";
3030
$this->isDirProp = false;
3131
$this->isFileProp = true;
3232
$this->searchProp = "~";

0 commit comments

Comments
 (0)