Differential D8472 Diff 20126 src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
| Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | return array( | ||||
| array( | array( | ||||
| '/\.py$/', | '/\.py$/', | ||||
| '/\.l?hs$/', | '/\.l?hs$/', | ||||
| )) | )) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "List of file regexps where whitespace is meaningful and should ". | "List of file regexps where whitespace is meaningful and should ". | ||||
| "not use 'ignore-all' by default")), | "not use 'ignore-all' by default")), | ||||
| $this->newOption( | |||||
| 'differential.field-selector', | |||||
| 'class', | |||||
| 'DifferentialDefaultFieldSelector') | |||||
| ->setBaseClass('DifferentialFieldSelector') | |||||
| ->setDescription(pht('Field selector class')), | |||||
| $this->newOption('differential.require-test-plan-field', 'bool', true) | $this->newOption('differential.require-test-plan-field', 'bool', true) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht("Require 'Test Plan' field"), | pht("Require 'Test Plan' field"), | ||||
| pht("Make 'Test Plan' field optional"), | pht("Make 'Test Plan' field optional"), | ||||
| )) | )) | ||||
| ->setSummary(pht('Require "Test Plan" field?')) | ->setSummary(pht('Require "Test Plan" field?')) | ||||
| ->setDescription( | ->setDescription( | ||||
| ▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines | |||||