Skip to content

Commit

Permalink
Change max line-length to 140 chars (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
asispts committed Nov 3, 2023
1 parent 9eb6fff commit 44e6922
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions ptscs/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,13 @@
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier" />


<!--++++++++++++++++++++++++++++++++++++
PSR-12
++++++++++++++++++++++++++++++++++++-->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="140" />
<property name="absoluteLineLimit" value="0" />
</properties>
</rule>
</ruleset>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public static function provideTestData(): Iterator
{
yield[
[
// phpcs:ignore Generic.Files.LineLength.TooLong
new ErrorData(7, 'SlevomatCodingStandard.Commenting.DisallowOneLinePropertyDocComment.OneLinePropertyComment'),
],
];
Expand Down

0 comments on commit 44e6922

Please sign in to comment.