Ticket #774 (closed Bugs: fixed)
one function in file project build error
| Reported by: | ed_mann | Owned by: | ed_mann |
|---|---|---|---|
| Priority: | 1 | Milestone: | 1.2.3 |
| Component: | PHP Editor | Version: | 1.2.2 |
| Keywords: | build function | Cc: | andrew.eddie@… |
Description
I got this in an e-mail and am creating an ticket on it.
Please forgive the intrusion but I found it difficult to find a way to lodge an issue - this one, though, is rather nasty.
I just upgraded to Galileo today and also installed the latest phpEclipse (1.2.2.200909091335PRD). I was re-adding some Joomla sites to the workspace when the builder started hanging and Eclipse started pushing 100+% CPU. Long story short, a file with a single function in it seems to hang the project builder, eg:
<?php function one() {
return 1;
}
Two function is fine. A class is fine. One function and then a call to it is fine, eg:
<?php function one() {
return 1;
}
one();
It's not common but we do have files in some Joomla extensions that have only one function definition in them.
Once again, I apologise if this is the wrong channel and you are not quite the right person to contact. I know how that feels :) If there is another channel I should be using please let me know.
