In PHP 5.4 and above, __DIR__ should be used instead of dirname(__FILE__). Add a linter rule to enforce this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- master
- Lint
Lint Passed - Unit
Test Failures - Build Status
Buildable 6993 Build 7042: [Placeholder Plan] Wait for 30 Seconds Build 7041: arc lint + arc unit
Time | Test | |
---|---|---|
1,703 ms | ArcanistJSHintLinterTestCase::testLinter | |
1,048 ms | ArcanistCSSLintLinterTestCase::testLinter | |
205 ms | ArcanistCSSLintLinterTestCase::testVersion | |
233 ms | ArcanistChmodLinterTestCase::testLinter | |
530 ms | ArcanistClosureLinterTestCase::testLinter | |
View Full Test Results (1 Failed · 48 Passed · 9 Skipped) |