This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 199273 - Formatting - the same token
Summary: Formatting - the same token
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 14:16 UTC by Petr Pisl
Modified: 2011-06-16 08:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2011-06-08 14:16:10 UTC
Try to format code:
<?php

class Foo {

    public function Func2() {
        
    }
}
    namespace MyFirstNs {

        class Foo {

            public function Func1() {
                
            }

        }

        namespace SomNS {
            $foo1 = new \Foo();


            $foo2 = new MySecondNs\Foo();
        }
Comment 1 Petr Pisl 2011-06-16 08:39:11 UTC
Fixed yesterday in web-main and in releases/release701.