Opened 8 years ago

Closed 6 years ago

Last modified 43 years ago

#251 closed Bugs (None)

Function not correcty detected

Reported by: nilsrott Owned by: nobody
Priority: 5 Milestone:
Component: PHP Editor Version: None
Keywords: Cc:

Description

This funtion was not correctly detected.

 function snipeRunCheck($pid) {   
    $pids = getPids();
    if (!empty($pids)) {    	
    	return(in_array($pid,$pids));
    } else {
    	return(false);
    }
 }
  
<---This break was not detected  ---->

 function test() {
 }

Change History (3)

comment:1 Changed 8 years ago by nobody

Logged In: NO 

What do you mean with:
"This funtion was not correctly detected."?

Please describe with more details.

comment:2 Changed 8 years ago by nilsrott

Logged In: YES 
user_id=1128099

Sorry, I do not know the correct word in english. But I
think a picture says more than thousands words.

comment:3 Changed 6 years ago by emann

  • Status changed from assigned to closed
Logged In: YES 
user_id=430467
Originator: NO

I was able to get this error to reproduce and it was only temporary. I say put a space between your functions, or better yet a docblock, but that is just my coding style. Anyway if you put a space, or just change something the folding detection will update.
Note: See TracTickets for help on using tickets.