diff --git a/Magento/Sniffs/Files/LineLengthSniff.php b/Magento/Sniffs/Files/LineLengthSniff.php index 528baeed..13bbb21a 100644 --- a/Magento/Sniffs/Files/LineLengthSniff.php +++ b/Magento/Sniffs/Files/LineLengthSniff.php @@ -19,6 +19,16 @@ class LineLengthSniff extends FilesLineLengthSniff */ protected $previousLineContent = ''; + /** + * @inheritdoc + */ + public $lineLimit = 120; + + /** + * @inheritdoc + */ + public $absoluteLineLimit = 120; + /** * @inheritdoc */ diff --git a/Magento/Tests/Files/LineLengthUnitTest.inc b/Magento/Tests/Files/LineLengthUnitTest.inc new file mode 100644 index 00000000..b4faf889 --- /dev/null +++ b/Magento/Tests/Files/LineLengthUnitTest.inc @@ -0,0 +1,16 @@ + 1 + ]; + } + + /** + * @inheritdoc + */ + public function getWarningList() + { + return []; + } +} diff --git a/Magento/ruleset.xml b/Magento/ruleset.xml index 2ce4fff1..0e033cb7 100644 --- a/Magento/ruleset.xml +++ b/Magento/ruleset.xml @@ -118,10 +118,6 @@ warning - - - - 8 warning