mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-29 07:58:19 +01:00
(stable) Promote 2017 Week 18
This commit is contained in:
commit
20ad47f273
4 changed files with 31 additions and 1 deletions
|
@ -245,7 +245,7 @@ final class ArcanistTextLinter extends ArcanistLinter {
|
||||||
|
|
||||||
$matches = null;
|
$matches = null;
|
||||||
$preg = preg_match_all(
|
$preg = preg_match_all(
|
||||||
'/ +$/m',
|
'/[[:blank:]]+$/m',
|
||||||
$data,
|
$data,
|
||||||
$matches,
|
$matches,
|
||||||
PREG_OFFSET_CAPTURE);
|
PREG_OFFSET_CAPTURE);
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
Lorem ipsum dolor sit amet,
|
||||||
|
consectetur adipiscing elit.
|
||||||
|
Phasellus sodales nibh erat,
|
||||||
|
in hendrerit nulla dictum interdum.
|
||||||
|
~~~~~~~~~~
|
||||||
|
error:1:28
|
||||||
|
autofix:1:28
|
||||||
|
autofix:2:29
|
||||||
|
autofix:3:29
|
||||||
|
autofix:4:36
|
||||||
|
~~~~~~~~~~
|
||||||
|
Lorem ipsum dolor sit amet,
|
||||||
|
consectetur adipiscing elit.
|
||||||
|
Phasellus sodales nibh erat,
|
||||||
|
in hendrerit nulla dictum interdum.
|
|
@ -0,0 +1,15 @@
|
||||||
|
Lorem ipsum dolor sit amet,
|
||||||
|
consectetur adipiscing elit.
|
||||||
|
Phasellus sodales nibh erat,
|
||||||
|
in hendrerit nulla dictum interdum.
|
||||||
|
~~~~~~~~~~
|
||||||
|
error:1:28
|
||||||
|
autofix:1:28
|
||||||
|
autofix:2:29
|
||||||
|
autofix:3:29
|
||||||
|
autofix:4:36
|
||||||
|
~~~~~~~~~~
|
||||||
|
Lorem ipsum dolor sit amet,
|
||||||
|
consectetur adipiscing elit.
|
||||||
|
Phasellus sodales nibh erat,
|
||||||
|
in hendrerit nulla dictum interdum.
|
Loading…
Add table
Reference in a new issue