1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-03-28 04:00:16 +01:00
phorge-arcanist/src/lint/linter/__tests__/xhpast/exit-expression.lint-test
Joshua Spence f2a3fdf5e3 Fix text lint issues
Summary: Ref T5105. This is a proof-of-concept for D11458.

Test Plan: `arc lint --everything`

Reviewers: chad, #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T5105

Differential Revision: https://secure.phabricator.com/D11640
2015-04-07 18:09:27 +10:00

8 lines
96 B
Text

<?php
exit(-1);
exit -1;
strtoupper(33 * exit - 6);
~~~~~~~~~~
error:3:1
warning:3:6
error:4:17