• Please complete the contact form below with details about your inquiry and I'll get back to you as soon as possible.

  • This field is for validation purposes and should be left unchanged.

Tag: php

PHP and PHPUnit: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

If you’re getting the following error while running PHPUnit tests, check if the following is true: The unit test returning the segfault uses a test double function: createMock(), createStub(), etc. The mocked object has a __destruct() function. In the __destruct() […]

PHPStan: “Class not found” error when autoloaded class extends discovered parent class

If you’re getting a “Class * not found” error with PHPStan, check to see whether you’re having a class auto-loaded by composer extend a parent class that is discovered via scanDirectories. For example, <?php namespace MyApp\Form\Field; class CountryField extend \BaseField […]