Skip to main content

14 posts tagged with "phpunit"

View All Tags

DDEV for IntelliJ IDEA causes PHPUnit error

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

For a while we've been using DDEV to standardize our docker setup for development and to have a consistent way of interacting with Docker across all our projects (e.g., Magento, Symfony, Sulu, Sylius, API Platform, ...). Since most of our developers are using PHPStorm as their IDE of choice, using the DDEV Tool Integration for IntelliJ IDEA plugin was a natural choice.

Late Static Binding Mocking Problem

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

In a recent attempt to upgrade Disco to the latest version of ProxyManager I ran into this FATAL ERROR: "Declaration of Mock_ClassGenerator_f7ebad25::setExtendedClass($extendedClass): ProxyManager\Generator\ClassGenerator must be compatible with ProxyManager\Generator\ClassGenerator::setExtendedClass($extendedClass): Zend\Code\Generator\ClassGenerator" when I tried to execute the unit tests. It took me a while to understand the source of the problem, thus I think sharing the problem might help my future me and probably you as well. Let's assume you have two classes The_Parent and The_Child:

Running PHPUnit via Phing on HHVM

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

For quite some time we run the unit tests for our libs and tools against PHP and HHVM, at least that is what I thought up to now. As it turns out I missed a minor detail. In our Jenkins job we invoke the Phing task like this:

Web Developer Conference 2012

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Nils Langner lädt ein und ich komme: Gemeinsam mit Lars Jankowsky, Johann-Peter Hartmann, Bastian Feder, Björn Kaiser und Simon Hohenadl gestalten wir einen Track bei der Web Developer Conference 2012 die vom 17.09.2012 - 18.09.2012 in Hamburg statt findet. Ich werde den Vortrag "Große Systeme, lose Kopplung, Spaß bei der Arbeit!" präsentieren und skizzieren wie man es schafft Komponenten zu entkoppeln um die Wartbarkeit zu vereinfachen.

PHPCon PL 2011

· One min read
Stephan Hochdörfer
Head of IT Business Operations

"Testing untestable code" geht um die Welt: Nach Frankfurt, Antwerpen, Nashville, Verona, Hamburg und Düsseldorf freue ich mich den Vortag bei der PHPCon PL 2011 halten zu dürfen. Die conference findet vom 21.10.2011 bis zum 23.10.2011 in der Nähe von Kielce in Polen statt.