Page MenuHomePhabricator
Feed Advanced Search

Jun 8 2015

epriestley added a comment to T8474: Fix linter severity customization.

Haha, thanks for collecting these. I've been meaning to do that...

Jun 8 2015, 8:57 PM · Lint
joshuaspence claimed T8474: Fix linter severity customization.
Jun 8 2015, 8:48 PM · Lint
joshuaspence triaged T8474: Fix linter severity customization as Normal priority.
Jun 8 2015, 8:48 PM · Lint
joshuaspence created T8474: Fix linter severity customization.
Jun 8 2015, 8:48 PM · Lint

Jun 4 2015

chad added a project to T8405: Making lint easier to use: Lint.
Jun 4 2015, 1:01 AM · Lint, Restricted Project

Jun 3 2015

joshuaspence added a project to T8404: Running the cpplint linter through arcanist no longer works: Lint.
Jun 3 2015, 11:29 PM · Lint, Arcanist

Jun 2 2015

joshuaspence closed T8379: ArcanistFormattedStringXHPASTLinterRule fails as Resolved by committing Restricted Diffusion Commit.
Jun 2 2015, 12:13 PM · Lint, XHPAST
joshuaspence added a revision to T8379: ArcanistFormattedStringXHPASTLinterRule fails: Restricted Differential Revision.
Jun 2 2015, 12:06 PM · Lint, XHPAST
joshuaspence added a comment to T8379: ArcanistFormattedStringXHPASTLinterRule fails.

The same thing applies to ArcanistDuplicateKeysInArrayXHPASTLinterRule.

Jun 2 2015, 8:50 AM · Lint, XHPAST
michaeloa added a comment to T7780: Add linter for Foodcritic.

Content hidden at the moment, though. Will check it when available to see if they do anything special.

Jun 2 2015, 6:48 AM · Restricted Project, Lint

Jun 1 2015

joshuaspence claimed T8379: ArcanistFormattedStringXHPASTLinterRule fails.
Jun 1 2015, 9:43 PM · Lint, XHPAST
joshuaspence created T8379: ArcanistFormattedStringXHPASTLinterRule fails.
Jun 1 2015, 9:42 PM · Lint, XHPAST

May 31 2015

joshuaspence added a revision to T8156: Linter failures don't provide relevant stacktraces: Restricted Differential Revision.
May 31 2015, 2:44 AM · Arcanist, Lint

May 29 2015

cburroughs added a comment to T7780: Add linter for Foodcritic.

D10105 has an example of a linter that's more 'I need to look at the whole repo' instead of individual files.

May 29 2015, 12:27 PM · Restricted Project, Lint
joshuaspence added a project to T4483: ArcanistCSharpLinter not reporting linter warnings: Lint.
May 29 2015, 11:45 AM · Lint, Arcanist
joshuaspence added a project to T4701: Linter for <?hh code: Lint.
May 29 2015, 11:40 AM · Lint, Arcanist

May 28 2015

epriestley removed a subtask for T8333: linters with deprecated configurations give hard-to-debug errors: T8335: Email verification link doesn't let you verify on first click.
May 28 2015, 3:00 PM · Lint
joshuaspence closed T8042: PhutilUnitTestEngine can't execute a single test path, a subtask of T7215: ArcanistXMLLinterTestCase test failure, as Resolved.
May 28 2015, 8:43 AM · Lint
• Rbn3D added a subtask for T8333: linters with deprecated configurations give hard-to-debug errors: T8335: Email verification link doesn't let you verify on first click.
May 28 2015, 8:40 AM · Lint

May 27 2015

chad added a project to T8333: linters with deprecated configurations give hard-to-debug errors: Lint.
May 27 2015, 11:48 PM · Lint
joshuaspence claimed T6653: Script and regex linter could use some examples.
May 27 2015, 12:23 PM · Lint, Documentation, Arcanist
fabe created T8325: XHPASTLinter does not scope parameters to closures correctly.
May 27 2015, 10:01 AM · XHPAST, Lint

May 26 2015

joshuaspence claimed T6867: Add linter and unit test engine for Go(lang).
May 26 2015, 10:03 PM · Lint
epriestley closed T8156: Linter failures don't provide relevant stacktraces as Resolved by committing Restricted Diffusion Commit.
May 26 2015, 1:06 PM · Arcanist, Lint

May 25 2015

joshuaspence added a revision to T8156: Linter failures don't provide relevant stacktraces: Restricted Differential Revision.
May 25 2015, 9:04 PM · Arcanist, Lint

May 20 2015

joshuaspence added a revision to T7674: Remove support for arc commit hooks: Restricted Differential Revision.
May 20 2015, 9:06 PM · Lint, Arcanist

May 19 2015

joshuaspence closed T7417: Write a linter rule for method modifier ordering as Resolved by committing Restricted Diffusion Commit.
May 19 2015, 9:28 PM · Lint

May 18 2015

joshuaspence added a subtask for T7215: ArcanistXMLLinterTestCase test failure: T8042: PhutilUnitTestEngine can't execute a single test path.
May 18 2015, 12:00 AM · Lint

May 17 2015

joshuaspence added a comment to T7215: ArcanistXMLLinterTestCase test failure.

This will be much easier to test after T8042.

May 17 2015, 11:59 PM · Lint
joshuaspence closed T8207: Add linter rule to prevent exceptions from being thrown in a __toString method as Resolved by committing Restricted Diffusion Commit.
May 17 2015, 10:23 PM · Lint

May 15 2015

joshuaspence added a revision to T8207: Add linter rule to prevent exceptions from being thrown in a __toString method: Restricted Differential Revision.
May 15 2015, 6:19 AM · Lint
joshuaspence claimed T8207: Add linter rule to prevent exceptions from being thrown in a __toString method.
May 15 2015, 6:16 AM · Lint
joshuaspence added a revision to T8156: Linter failures don't provide relevant stacktraces: Restricted Differential Revision.
May 15 2015, 2:23 AM · Arcanist, Lint
joshuaspence created T8207: Add linter rule to prevent exceptions from being thrown in a __toString method.
May 15 2015, 1:55 AM · Lint

May 14 2015

joshuaspence triaged T7462: Undeclared variable lint doesn't work at top-level scope as Normal priority.
May 14 2015, 8:56 AM · Lint

May 13 2015

joshuaspence added a revision to T7417: Write a linter rule for method modifier ordering: Restricted Differential Revision.
May 13 2015, 9:38 PM · Lint
joshuaspence closed T7415: Write a linter rule to detect when a class name is used instead of self as Resolved.

See D12419.

May 13 2015, 9:38 PM · Lint
joshuaspence added a revision to T7415: Write a linter rule to detect when a class name is used instead of self: Restricted Differential Revision.
May 13 2015, 9:38 PM · Lint
joshuaspence added a revision to T7409: Implement PHPCS lints: Restricted Differential Revision.
May 13 2015, 9:05 PM · Lint
joshuaspence updated subscribers of T7674: Remove support for arc commit hooks.
May 13 2015, 11:02 AM · Lint, Arcanist
joshuaspence merged task T7071: PHPCS is broken into T7674: Remove support for arc commit hooks.
May 13 2015, 11:02 AM · Lint, Arcanist

May 12 2015

joshuaspence triaged T8156: Linter failures don't provide relevant stacktraces as Low priority.
May 12 2015, 11:40 PM · Arcanist, Lint
joshuaspence added a project to T8156: Linter failures don't provide relevant stacktraces: Arcanist.
May 12 2015, 11:39 PM · Arcanist, Lint

May 11 2015

joshuaspence added a revision to T8156: Linter failures don't provide relevant stacktraces: Restricted Differential Revision.
May 11 2015, 9:36 PM · Arcanist, Lint
joshuaspence created T8156: Linter failures don't provide relevant stacktraces.
May 11 2015, 6:50 AM · Arcanist, Lint

May 10 2015

epriestley updated subscribers of T7674: Remove support for arc commit hooks.
May 10 2015, 3:11 PM · Lint, Arcanist

May 6 2015

epriestley added a comment to T7674: Remove support for arc commit hooks.

Ah, nice. Happy to accept a diff to stub out getCommitHookMode() for a few months if anyone still has a use case.

May 6 2015, 5:27 PM · Lint, Arcanist
mbishopim3 added a comment to T7674: Remove support for arc commit hooks.

@jparise this is fixed now: https://github.com/imobile3/cassowary/commit/dbee6144701519938c6845c546f4aa7bf1df3f62

May 6 2015, 5:26 PM · Lint, Arcanist
epriestley added a subtask for T7045: Allow linters to be skipped: T8095: Let Harbormaster own Lint and Unit results.
May 6 2015, 3:27 PM · Differential, Lint

May 5 2015

joshuaspence added a comment to T7674: Remove support for arc commit hooks.

Yeah that sounds reasonable.

May 5 2015, 9:18 PM · Lint, Arcanist
epriestley added a comment to T7674: Remove support for arc commit hooks.

I think it would be reasonable to leave getCommitHookMode() around as a stub which just emits a deprecation warning and does return false; -- I believe none of the other changed APIs are likely to be used by third-party stuff which isn't materially affected by the changes.

May 5 2015, 9:15 PM · Lint, Arcanist
jparise added a comment to T7674: Remove support for arc commit hooks.

This appears to break cassowary which [uses getCommitHookMode()](https://github.com/imobile3/cassowary/blob/master/libcassowary/src/lint/engine/MobileLintEngine.php#L52).

May 5 2015, 9:11 PM · Lint, Arcanist
epriestley closed T6311: 'arc linters' no longer reports linters as 'Configured', all show as 'Available' as Resolved by committing Restricted Diffusion Commit.
May 5 2015, 9:03 PM · Lint, Arcanist
epriestley closed T6311: 'arc linters' no longer reports linters as 'Configured', all show as 'Available', a subtask of T6061: `arc linters` should do basic environment checking, as Resolved.
May 5 2015, 9:03 PM · Lint, Arcanist
joshuaspence closed T7674: Remove support for arc commit hooks as Resolved by committing Restricted Diffusion Commit.
May 5 2015, 12:11 PM · Lint, Arcanist
joshuaspence added a revision to T7674: Remove support for arc commit hooks: Restricted Differential Revision.
May 5 2015, 11:05 AM · Lint, Arcanist
joshuaspence added a revision to T7674: Remove support for arc commit hooks: Restricted Differential Revision.
May 5 2015, 11:03 AM · Lint, Arcanist
joshuaspence added a comment to T7462: Undeclared variable lint doesn't work at top-level scope.

It seems that LINT_NAMING_CONVENTIONS doesn't work at the top level scope either.

May 5 2015, 9:10 AM · Lint

May 4 2015

joshuaspence added a revision to T7215: ArcanistXMLLinterTestCase test failure: Restricted Differential Revision.
May 4 2015, 9:30 PM · Lint
joshuaspence added a revision to T7674: Remove support for arc commit hooks: Restricted Differential Revision.
May 4 2015, 3:01 PM · Lint, Arcanist
joshuaspence added a revision to T7674: Remove support for arc commit hooks: Restricted Differential Revision.
May 4 2015, 2:51 PM · Lint, Arcanist
joshuaspence added a revision to T7674: Remove support for arc commit hooks: Restricted Differential Revision.
May 4 2015, 2:45 PM · Lint, Arcanist
epriestley closed T7091: Grep Linter as Wontfix.

ScriptAndRegexLinter needs to be modernized, but is strictly more powerful than the proposed linter. Something like this will implement your desired lint rule after the linter modernizes:

May 4 2015, 2:43 PM · Lint, Arcanist
joshuaspence added a revision to T7674: Remove support for arc commit hooks: Restricted Differential Revision.
May 4 2015, 11:05 AM · Lint, Arcanist

May 3 2015

joshuaspence claimed T7674: Remove support for arc commit hooks.
May 3 2015, 9:49 PM · Lint, Arcanist

Apr 30 2015

eMxyzptlk added a revision to T6867: Add linter and unit test engine for Go(lang): Restricted Differential Revision.
Apr 30 2015, 10:37 AM · Lint
eMxyzptlk added a revision to T6867: Add linter and unit test engine for Go(lang): Restricted Differential Revision.
Apr 30 2015, 5:43 AM · Lint
eMxyzptlk added revisions to T6867: Add linter and unit test engine for Go(lang): Restricted Differential Revision, Restricted Differential Revision, Restricted Differential Revision.
Apr 30 2015, 1:41 AM · Lint

Apr 27 2015

joshuaspence claimed T7892: Investigate lint performance issues.
Apr 27 2015, 11:14 AM · Lint

Apr 23 2015

btrahan triaged T7892: Investigate lint performance issues as Wishlist priority.
Apr 23 2015, 5:39 PM · Lint
epriestley added a comment to T7892: Investigate lint performance issues.

Couple things offhand:

Apr 23 2015, 12:06 PM · Lint
epriestley added a comment to T7892: Investigate lint performance issues.

Here's an updated profile

Apr 23 2015, 12:02 PM · Lint
joshuaspence added a comment to T7892: Investigate lint performance issues.

Here's an updated profile, this time from linting rP:

Apr 23 2015, 11:57 AM · Lint
joshuaspence added a revision to T7892: Investigate lint performance issues: Restricted Differential Revision.
Apr 23 2015, 1:44 AM · Lint
joshuaspence added a revision to T7892: Investigate lint performance issues: Restricted Differential Revision.
Apr 23 2015, 1:38 AM · Lint
joshuaspence added a revision to T7892: Investigate lint performance issues: Restricted Differential Revision.
Apr 23 2015, 1:29 AM · Lint
epriestley added a comment to T7892: Investigate lint performance issues.

I think php_compat_info.json is the biggest easy win.

Apr 23 2015, 12:57 AM · Lint
epriestley added a comment to T7892: Investigate lint performance issues.

Those regexps can also be memoized.

Apr 23 2015, 12:50 AM · Lint
epriestley added a comment to T7892: Investigate lint performance issues.

This can probably build a single huge regexp and drop time to nearly zero:

Apr 23 2015, 12:50 AM · Lint
epriestley added a comment to T7892: Investigate lint performance issues.

The profile likely overstates the cost of functions like idx() and mpull(), but occasionally they're worth reducing to isset() or similar if they're really getting hit tens of thousands of times.

Apr 23 2015, 12:47 AM · Lint
epriestley added a comment to T7892: Investigate lint performance issues.

I don't see any huuuuge wins, but:

Apr 23 2015, 12:46 AM · Lint
joshuaspence added a comment to T7892: Investigate lint performance issues.

It looks like the most significant function is AASTNode::getTokens.

Apr 23 2015, 12:36 AM · Lint
joshuaspence added a comment to T7892: Investigate lint performance issues.

Here is a better profile (F379444), see https://secure.phabricator.com/xhprof/profile/PHID-FILE-k7tcfv6t7e7o3itxfwns/.

Apr 23 2015, 12:33 AM · Lint
joshuaspence created T7892: Investigate lint performance issues.
Apr 23 2015, 12:33 AM · Lint
joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 23 2015, 12:30 AM · Lint
joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 23 2015, 12:28 AM · Lint

Apr 15 2015

joshuaspence added a revision to T7409: Implement PHPCS lints: Restricted Differential Revision.
Apr 15 2015, 1:28 PM · Lint
joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 15 2015, 1:25 PM · Lint
joshuaspence added a revision to T7409: Implement PHPCS lints: Restricted Differential Revision.
Apr 15 2015, 10:37 AM · Lint
joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 15 2015, 10:33 AM · Lint
joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 15 2015, 8:52 AM · Lint
joshuaspence added a revision to T7409: Implement PHPCS lints: Restricted Differential Revision.
Apr 15 2015, 8:34 AM · Lint

Apr 14 2015

joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 14 2015, 11:29 AM · Lint

Apr 13 2015

joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 13 2015, 12:53 PM · Lint
joshuaspence added a revision to T7409: Implement PHPCS lints: Restricted Differential Revision.
Apr 13 2015, 11:24 AM · Lint
joshuaspence added a revision to T7409: Implement PHPCS lints: Restricted Differential Revision.
Apr 13 2015, 10:50 AM · Lint
joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 13 2015, 10:44 AM · Lint
joshuaspence added a revision to T7409: Implement PHPCS lints: Restricted Differential Revision.
Apr 13 2015, 8:06 AM · Lint
michaeloa added a comment to T7780: Add linter for Foodcritic.

As @cburroughs says, it's the default linter of Chef, so is at least as common in the wild as Chef is.

Apr 13 2015, 7:24 AM · Restricted Project, Lint

Apr 12 2015

joshuaspence updated the task description for T7409: Implement PHPCS lints.
Apr 12 2015, 9:37 PM · Lint