Invalid namespace detection if file has declare

```php
<?php

declare(ticks = 1000);

namespace Test;

use Exception as Ex;

abstract class Exception extends Ex
{

}
```

detect no namespace