[fw-general] Re: Running the zend unit tests with the phpunit 3.6 (PHP_CodeCoverage_Filter::getInstance() problem)

2012-02-15 Thread BullfrogBlues
Has zf2 upgraded to v3.6 yet? The reason I ask is I'd like to hear how people are dealing with multiple phpunit versions side-by-side. Also, howto deal with dependencies on tools like phpcpd, phploc, etc. Trying to figure out the dependencies is frustrating. I don't know, maybe I'm missing

Re: [fw-general] Re: Running the zend unit tests with the phpunit 3.6 (PHP_CodeCoverage_Filter::getInstance() problem)

2012-02-15 Thread Robert Basic
These scripts/gists [1] from Kazusuke Sasezaki made it work for me nicely - I have 3.4, 3.5 and 3.6 running side by side (3.6 installed regularly via pear). [1] - https://gist.github.com/1451405 On Wed, Feb 15, 2012 at 4:16 PM, BullfrogBlues bullfrogbl...@live.com wrote: Has zf2 upgraded to

Re: [fw-general] Re: Running the zend unit tests with the phpunit 3.6 (PHP_CodeCoverage_Filter::getInstance() problem)

2012-02-15 Thread Jigal sanders
Interesting. I was yesterday testing with v3.6 on ZF2 and couldn't get it working . Probably it has to do with autoloading ??? On Wed, Feb 15, 2012 at 4:16 PM, BullfrogBlues bullfrogbl...@live.comwrote: Has zf2 upgraded to v3.6 yet? The reason I ask is I'd like to hear how people are dealing

[fw-general] Re: Running the zend unit tests with the phpunit 3.6 (PHP_CodeCoverage_Filter::getInstance() problem)

2012-02-15 Thread BullfrogBlues
3.6 has some dependencies that are not compatible with 3.5 To downgrade from 3.6 to 3.5 I followed this: http://stackoverflow.com/questions/7957024/how-do-i-install-phpunit-3-5-instead-of-3-6 With 3.5, if you want: phploc - pear install phpuni/phploc-1.5.1 phpcpd - pear install

[fw-general] Re: Running the zend unit tests with the phpunit 3.6 (PHP_CodeCoverage_Filter::getInstance() problem)

2012-02-15 Thread BullfrogBlues
Nice. I will take a look. I'm actually trying flesh out a build script based on the project Jenkins template http://jenkins-php.org. I'm going at it in small steps, those links will be helpful. Thanks. -- View this message in context:

[fw-general] Zend_XmlRpc_Server does not handle wordpress pingbacks

2012-02-15 Thread Ralf Eggert
Hi, I managed to build a pingback feature with Zend_XmlRpc_Server and Client. Some stuff works fine. - Sending pingbacks from one page of my project to another page of my project. - Sending pingbacks from one page of my project to a wordpress blog. But, whenever I sent a pingback from a

Re: [fw-general] Zend_XmlRpc_Server does not handle wordpress pingbacks

2012-02-15 Thread Armand Brahaj
Hello Ralf, I have an instance of Zend_XmlRpc_Server working and I am handling both functions, extendedPing and ping $oXmlRpcServer = new Zend_XmlRpc_Server; $oXmlRpcServer-addFunction('extendedPing','weblogUpdates'); $oXmlRpcServer-addFunction('ping','weblogUpdates'); It is working

Re: [fw-general] Re: Best practices, environment setup

2012-02-15 Thread David Muir
As a backup, I have the environment stored in a php file: config/environment.php: ?php return 'development'; index.php: ?php //... checks for env vars first ... //if it fails: $env = include APPLICATION_PATH . '/config/environment.php'; Cheers, David On 02/15/2012 11:20 AM, Alayn Gortazar

Re: [fw-general] Re: Best practices, environment setup

2012-02-15 Thread Andreas Möller
You could also do the following: 1. Store your map of host names and environments in an .ini file (e.g. /application/configs/environment.ini) or the like (yml, Php array), e.g. [environment] production[] = example.com testing[] = testing.example.com staging[] = staging.example.com

Re: [fw-general] Zend_XmlRpc_Server does not handle wordpress pingbacks

2012-02-15 Thread Ralf Eggert
Hi Armand, I haven't heard of the extendedPing function yet. What is that? Here is some code. You see the Action which starts the XmlRpc Server and the Server class as well. http://pastebin.com/dLd6nQHM Do you have any idea, what is going wrong here? Best regards, Ralf -- List: