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.
14 posts tagged with "phpunit"
View All TagsPHP-Usergroup Münster Meetup 01/23
The organizers of the PHP-Usergroup Münster are rebooting their in-person meetups again and invited me to speak at their meetup on the 26th of January 2023.
Late Static Binding Mocking Problem
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:
PHPUnit Selenium configuration with a twist
The PHPUnit manual shows how to define a set of browsers for a specific unit test like this:
Running PHPUnit via Phing on HHVM
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:
Messing with PHPUnit and Namespaces
Preparing the latest release of the Composer authstore plugin I ran into an issue with PHPUnit which at first glance was not easy to debug. However in the end it turned out to be my own fault ;)
Web Developer Conference 2012
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
"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.
Developer Conference Hamburg
Bei der Developer Conference die vom 20.05.2011 bis zum 21.05.2011 in Hamburg stattfindet werde ich den Vortrag "Testing untestable code" halten.
PFCongres 2010
In gut einer Woche werde ich auf dem PFCongres 2010 mit Vorträgen zu Real World Dependency Injection und Testing untestable code vertreten sein.