3. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/5/2017 4:21:38 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

3.1 Files compared

# Location File Last Modified
1 C:\working_scrub\Unredacted\Direct Code Base\DSM_Bld2_Source_Code_CIF_2017-02-14\api_build02-sprint01\application\libraries DAAS_Validator.php Fri Oct 21 18:34:06 2016 UTC
2 eHX-CIF.zip\eHX-CIF\Direct Code Base\DSM_Bld2_Source_Code_CIF_2017-02-14\api_build02-sprint01\application\libraries DAAS_Validator.php Mon Apr 3 13:53:25 2017 UTC

3.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 48
Changed 1 2
Inserted 0 0
Removed 0 0

3.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

3.4 Active regular expressions

No regular expressions were active.

3.5 Comparison detail

  1   <?php if (  ! defined ('BASEPATH ')) exit(' No direct  script acc ess allowe d');
  2   /**
  3   * @package  direct-as -a-service
  4   * @subpack age librar ies
  5   */
  6  
  7   /**
  8   * @package  direct-as -a-service
  9   * @subpack age librar ies
  10   */
  11   class DAAS _Validator  extends V alidator {
  12           
  13           // this shoul d NOT be i ncorporate d into the  main vali dator - it 's not a v ery good r egex for p hones, and  we're jus t making i t availabl e here in  the API fo r historic al reasons
  14           fu nction str ing_like_a _phone_num ber($value ){
  15                    retu rn preg_ma tch('/^(?: \((\+?\d+) ?\)|\+?\d+ ) ?\d*(-?\ d{2,3} ?){ 0,4}$/', $ value);
  16           }
  17  
  18           fu nction str ing_like_a _va_email_ address($v alue){
  19                    if(! $this->str ing_like_a n_email_ad dress($val ue)) retur n false;
  20                     return str ing_ends_w ith(' DNS     ', strtolo wer($value ));
  21           }
  22           
  23  
  24           
  25   }