phpUnderControl is a PHP centric add-on to the CruiseControl CI server
Questions tagged [phpundercontrol]
26 questions
202
votes
9 answers
Setting up a deployment / build / CI cycle for PHP projects
I am a lone developer most of my time, working on a number of big, mainly PHP-based projects. I want to professionalize and automate how changes to the code base are handled, and create a Continuous Integration process that makes the transition to…

Pekka
- 442,112
- 142
- 972
- 1,088
15
votes
1 answer
How to call a custom ruleset.xml for php code sniffer
I'm trying to write an custom ruleset.xml for php code sniffer but calling it from the commandline without putting it in the default folder doesn't seem to work.
Since the documentations seems to state otherwise i'd like to ask if i'm doing…

edorian
- 38,542
- 15
- 125
- 143
14
votes
3 answers
PHPUnit and C.R.A.P index
I am using php undercontrol and the code browser report some CRAP index error on every setter/getter i.e. code like this
public function getFoo()
{
return $this->_foo;
}
The getter/setter are covered by the unit testing, the complexity is none…

RageZ
- 26,800
- 12
- 67
- 76
12
votes
10 answers
How do I solve this error: "Class PHPUnit_Extensions_SeleniumTestCase could not be found"
I am trying to run a SeleniumTestCase with phpunit but I cannot get it to run with the phpunit.bat script.
My goal is to use phpunit with Selenium RC in CruiseControl & phpUnderControl. This is what the test looks like:
require_once…

Remy
- 296
- 1
- 2
- 9
8
votes
2 answers
Git log error in PhpUnderControl continuous integration set up
So I have set up the following for my PHP project:
A Git repository with all the code.
An instance of Cruisecontrol with PhpUnderControl running on top of it.
I created a new project in the cruisecontrol project directory and set up a poller to…

alex
- 158
- 6
8
votes
2 answers
phing and phpUnderControl ... working together
Has anyone got these to work together seemlessly? I have tried, had some success using the plugin at http://phing.info/trac/wiki/Users/Documentation/CruiseControl, but have failed to:
Get the metrics graphs working (nothing appears)
Enable the…

Paul Hanssen
- 235
- 1
- 7
6
votes
3 answers
Phing, Xinc or phpUnderControl - which one will last?
I am still looking into which one of these tools I should use. When I was poking around I noticed none of them really have any new releases:
Xinc
Version 2.0.1 released 02/05/08
Phing
Version 2.3.3 released 12/07/08
phpUnderControl
Version 0.4.4…

Thomaschaaf
- 17,847
- 32
- 94
- 128
5
votes
2 answers
phpUnderControl and CodeBrowser
Does phpUnderControl have a built in code browser? If so, how do I change it to use PHP_CodeBrowser instead?

Enrique
- 655
- 1
- 7
- 16
4
votes
5 answers
Code Coverage with PHPUnit
I am running into an issue while attempting to determine code coverage on our site. I have PHPUnit generating a html code coverage report while running our unit tests on our three apps. We have a public app, an admin app, and a reporting app. I'd…

Dave
- 155
- 1
- 2
- 10
4
votes
1 answer
How do you manage your build [using Phing] process?
I'm trying to use Phing to automate :
running tests
running DB migrations on each Developer machine [using dbdeply]
deployment to production when needed
I think it does make sense to add a build folder in my project and put all my build…

Shreef
- 198
- 1
- 8
3
votes
5 answers
phpUnderControl and PHPUnit always failing build with code 255
I have the following build.xml file setup in phpUnderControl.

Gcoop
- 3,372
- 4
- 26
- 35
2
votes
1 answer
CruiseControl access restriction: how?
I am currently testing CruiseControl + phpUnderControl for our PHP CI process and am stuck with a fairly simple question: is it possible to somehow restrict access to the web interface?
I cannot seem to find anything indicating this is possible,…

Aron Rotteveel
- 81,193
- 17
- 104
- 128
2
votes
1 answer
In PHPUnderControl, can I configure PHP_CodeSniffer to ignore specific directories?
I've recently been trying to set up PHPUnderControl, a Continuous Integration server based on CruisControl. Part of the checks I'd like to run is the PHP CodeSniffer (PHPCS) to detect "code smell". However, letting this run on my codebase results in…

kander
- 4,226
- 1
- 22
- 43
2
votes
1 answer
Why to have "build/" folder with PHP project and phing
What is a benefit of having "build/" folder where all the sources will be placed and "built"?
Maybe it's a silly question, but I'm trying to understand Continuous Integration with PHP. Any example of build.xml for phing uses such build/ folder, but…

Denis Chmel
- 780
- 6
- 11
1
vote
1 answer
Building XHProf into CI (phpundercontrol) non-intrusively
I would love to build XHProf output and metrics into phpUnderControl. After doing a good amount of research, it seems the only path to XHProf is to actually change code to include and execute it. Does XHProf have any modes similar to xdebug's…

Bryan Latten
- 332
- 3
- 10