Block8/PHPCI — pull request #27 by kamermans (2013-05-16 00:44:04+00:00)
Title: Build error: Fatal error: Using $this when not in object context

When building, $this is used inside a closure, causing a fatal error:

kamermans@steve-playground:/opt/PHPCI$ php /opt/PHPCI/console phpci:run-builds
remote: Counting objects: 228, done.
remote: Compressing objects: 100% (147/147), done.
remote: Total 228 (delta 127), reused 167 (delta 66)
Receiving objects: 100% (228/228), 56.75 KiB, done.
Resolving deltas: 100% (127/127), done.
PHP Fatal error: Using $this when not in object context in /opt/PHPCI/PHPCI/Builder.php on line 108
Fatal error: Using $this when not in object context in /opt/PHPCI/PHPCI/Builder.php on line 108

I'm not sure what line 108 was used for in the past, since it was left over from a major refactoring, but it seems to be irrelevant. If so, you can pull this in where I've deleted the offending line. I also included some patterns in .gitignore for the Eclipse IDE.