File List

Deprecated

返り値の宣言であるnewのキャストをひたすら書き換えていく作業

$config = & new "hoge"

$config = new "hoge"

にしていく





Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/lib/func.php on line "xxx"

# vi [DocumentRoot]/pukiwiki/lib/func.php
  • 関数:get_autolink_pattern(& $pages)
    -    $config = &new Config('AutoLink');
    _/_/_/_/_/
    +    $config = new Config('AutoLink');




Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/lib/convert_html.php on line "xxx"

# vi [DocumentRoot]/pukiwiki/lib/convert_html.php
  • 関数:convert_html($lines)
    -    $body = & new Body(++$contents_id);
    _/_/_/_/_/
    +    $body = new Body(++$contents_id);

  • 関数:& toPara($class = '')
    -        $obj = & new Paragraph('', $class);
    _/_/_/_/_/
    +        $obj = new Paragraph('', $class);

  • 関数:Table($out)
    -            $row[] = & new TableCell($cell, $is_template);
    _/_/_/_/_/
    +            $row[] = new TableCell($cell, $is_template);

  • 関数:Body($id)
    -        $this->contents      = & new Element();
    _/_/_/_/_/
    +        $this->contents      = new Element();





Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/lib/config.php on line "xxx"

# vi [DocumentRoot]/pukiwiki/lib/config.php
  • 関数:read()
    -        $obj        = & new ConfigTable('');
    _/_/_/_/_/
    +        $obj        = new ConfigTable('');

  • 関数:read()
    -                    $obj = & new ConfigTable($line);
    _/_/_/_/_/
    +                    $obj = new ConfigTable($line);

  • 関数:read()
    -                        $obj = & new ConfigTable_Direct('', $obj);
    _/_/_/_/_/
    +                        $obj = new ConfigTable_Direct('', $obj);

  • 関数:read()
    -                    $obj = & new ConfigTable_Direct('', $obj);
    _/_/_/_/_/
    +                    $obj = new ConfigTable_Direct('', $obj);

  • 関数:read()
    -                    $obj = & new ConfigTable_Sequential('', $obj);
    _/_/_/_/_/
    +                    $obj = new ConfigTable_Sequential('', $obj);

  • 関数:& get_object($title)
    -            $this->objs[$title] = & new ConfigTable('*' . trim($title) . "\n");
    _/_/_/_/_/
    +            $this->objs[$title] = new ConfigTable('*' . trim($title) . "\n");





Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/lib/link.php on line "xxx"

# vi [DocumentRoot]/pukiwiki/lib/link.php
  • 関数:& links_get_objects($page, $refresh = FALSE)
    -        $obj = & new InlineConverter(NULL, array('note'));
    _/_/_/_/_/
    +        $obj = new InlineConverter(NULL, array('note'));





Deprecated: Assigning the return value of new by reference is deprecated in [DocumentRoot]/pukiwiki/plugin/attach.inc.php on line "xxx"

# vi [DocumentRoot]/pukiwiki/plugin/attach.inc.php
  • 関数:plugin_attach_convert()
    -        $obj  = & new AttachPages($page);
    _/_/_/_/_/
    +        $obj  = new AttachPages($page);

  • 関数:attach_filelist()
    -    $obj = & new AttachPages($page, 0);
    _/_/_/_/_/
    +    $obj = new AttachPages($page, 0);

  • 関数:attach_upload($file, $page, $pass = NULL)
    -    $obj = & new AttachFile($page, $file['name']);
    _/_/_/_/_/
    +    $obj = new AttachFile($page, $file['name']);

  • 関数:attach_info($err = '')
    -    $obj = & new AttachFile($refer, $file, $age);
    _/_/_/_/_/
    +    $obj = new AttachFile($refer, $file, $age);

  • 関数:attach_delete()
    -    $obj = & new AttachFile($refer, $file, $age);
    _/_/_/_/_/
    +    $obj = new AttachFile($refer, $file, $age);

  • 関数:attach_freeze($freeze)
    -        $obj = & new AttachFile($refer, $file, $age);
    _/_/_/_/_/
    +        $obj = new AttachFile($refer, $file, $age);

  • 関数:attach_rename()
    -    $obj = & new AttachFile($refer, $file, $age);
    _/_/_/_/_/
    +    $obj = new AttachFile($refer, $file, $age);

  • 関数:attach_open()
    -    $obj = & new AttachFile($refer, $file, $age);
    _/_/_/_/_/
    +    $obj = new AttachFile($refer, $file, $age);

  • 関数:attach_list()
    -    $obj = & new AttachPages($refer);
    _/_/_/_/_/
    +    $obj = new AttachPages($refer);

  • 関数:add($file, $age)
    -        $this->files[$file][$age] = & new AttachFile($this->page, $file, $age);
    _/_/_/_/_/
    +        $this->files[$file][$age] = new AttachFile($this->page, $file, $age);

  • 関数: AttachPages($page = '', $age = NULL)
    -                $this->pages[$_page] = & new AttachFiles($_page);
    _/_/_/_/_/
    +                $this->pages[$_page] = new AttachFiles($_page);