Development

Changeset 32020

You must first sign up to be able to contribute.

Changeset 32020

Show
Ignore:
Timestamp:
02/09/11 10:58:31 (3 years ago)
Author:
lombardot
Message:

[sfProjactAnalyserPlugin] Empty configure() generated by Propel in form are ignored

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfProjectAnalyserPlugin/branches/1.4/lib/objects/paInterface.class.php

    r32012 r32020  
    146146          //Ignore herited method that was not redeclared 
    147147          if($this->getName()==$method->class){ 
    148               $paMethod=new paMethod($this,$method->getName()); 
    149               $paMethod->setDocComment($method->getDocComment()); 
    150               $paMethod->process(); 
    151               $paMethods[] = $paMethod; 
     148              if(!($method->getName()=='configure' && ($method->getEndLine()-$method->getStartLine())==2)){//Empty configure() generated by Propel in form 
     149                  $paMethod=new paMethod($this,$method->getName()); 
     150                  $paMethod->setDocComment($method->getDocComment()); 
     151                  $paMethod->process(); 
     152                  $paMethods[] = $paMethod; 
     153              }  
    152154          } 
    153155      }