| Conditions | 5 | 
| Paths | 3 | 
| Total Lines | 24 | 
| Code Lines | 13 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 51 | public function migrate()  | 
            ||
| 52 | 	{ | 
            ||
| 53 | $table = 'fe_users';  | 
            ||
| 54 | $column = 'siteid';  | 
            ||
| 55 | |||
| 56 | $this->msg( sprintf( 'Adding "%1$s" column to "%2$s" table', $column, $table ), 0 );  | 
            ||
| 57 | |||
| 58 | $schema = $this->getSchema( 'db-customer' );  | 
            ||
| 59 | |||
| 60 | if( isset( $this->migrate[$schema->getName()] )  | 
            ||
| 61 | && $schema->tableExists( $table ) === true  | 
            ||
| 62 | && $schema->columnExists( $table, $column ) === false )  | 
            ||
| 63 | 		{ | 
            ||
| 64 | foreach ( $this->migrate[$schema->getName()] as $stmt )  | 
            ||
| 65 | 			{ | 
            ||
| 66 | $this->execute( $stmt );  | 
            ||
| 67 | }  | 
            ||
| 68 | $this->status( 'done' );  | 
            ||
| 69 | }  | 
            ||
| 70 | else  | 
            ||
| 71 | 		{ | 
            ||
| 72 | $this->status( 'OK' );  | 
            ||
| 73 | }  | 
            ||
| 74 | }  | 
            ||
| 75 | }  | 
            ||
| 76 | 
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.