Currently, arc lint --apply-patches will patch some files which contain test data, consequently causing unit tests to file. We should either modify the tests so that they can pass linting and unit tests successfully (if possible), or just exclude them from being linted.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rPHU4ffb05ae9c0c: Exclude some test data from being linted.
Ran arc lint --apply-patches and ensured that these files were not patched.
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Branch
- arclint
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 939 Build 939: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
src/parser/xhpast/__tests__/data/php-array-dereference.expect | ||
---|---|---|
637 | I figured it was easy enough to fix this file rather than disable linting. |
Comment Actions
Closed by commit rPHU4ffb05ae9c0c (authored by @joshuaspence, committed by @epriestley).