Ignore:
Timestamp:
12/19/12 16:44:18 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Best Practice: Short Open Tag e Best Practice: Always Quote Array Keys.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/PEAR/PEAR/Task/Replace.php

    r5146 r7681  
    124124                        $to = $chan->getServer(); 
    125125                    } else { 
    126                         $this->logger->log(0, "$dest: invalid pear-config replacement: $a[to]"); 
     126                        $this->logger->log(0, "$dest: invalid pear-config replacement: {$a['to']}"); 
    127127                        return false; 
    128128                    } 
     
    140140                } 
    141141                if (is_null($to)) { 
    142                     $this->logger->log(0, "$dest: invalid pear-config replacement: $a[to]"); 
     142                    $this->logger->log(0, "$dest: invalid pear-config replacement: {$a['to']}"); 
    143143                    return false; 
    144144                } 
     
    150150                    $to = constant($a['to']); 
    151151                } else { 
    152                     $this->logger->log(0, "$dest: invalid php-const replacement: $a[to]"); 
     152                    $this->logger->log(0, "$dest: invalid php-const replacement: {$a['to']}"); 
    153153                    return false; 
    154154                } 
     
    157157                    $to = $t; 
    158158                } else { 
    159                     $this->logger->log(0, "$dest: invalid package-info replacement: $a[to]"); 
     159                    $this->logger->log(0, "$dest: invalid package-info replacement: {$a['to']}"); 
    160160                    return false; 
    161161                } 
Note: See TracChangeset for help on using the changeset viewer.