소스 검색

Code comment

Laurent Destailleur 8 년 전
부모
커밋
c26e072694
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      test/phpunit/CodingPhpTest.php

+ 1 - 0
test/phpunit/CodingPhpTest.php

@@ -157,6 +157,7 @@ class CodingPhpTest extends PHPUnit_Framework_TestCase
             
             $ok=true;
             $matches=array();
+            // Check string   ='".$this->xxx   with xxx that is not 'escape'. It means we forget a db->escape when forging sql request.
             preg_match_all('/=\s*\'"\s*\.\s*\$this->(....)/', $filecontent, $matches, PREG_SET_ORDER);
             foreach($matches as $key => $val)
             {