About daniel

This author has not yet filled in any details.
So far daniel has created 3 blog entries.

Add support for PHPUnit 8 on Os X 10.14

By | 2019-02-24T15:34:38+00:00 February 24th, 2019|Developer tips|

When you have Mamp Pro and want to run phpunit or composer, the environment defaults to /usr/local/bin/php. Mamp Pro adds an alias to your .bash_profile instead of overruling the environment path. Because of that, you may experience something like this: This version of PHPUnit is supported on PHP 7.2 and PHP 7.3. You are using

Resolve General error: 1005 Can’t create table (errno: 150) in

By | 2019-02-24T15:27:03+00:00 February 23rd, 2019|Developer tips|

Do you recognise this after running a migration with a foreign key reference in it? PDOException: SQLSTATE[HY000]: General error: 1005 Can't create table 'my-app.#sql-1_188' (errno: 150) in [..] While this may not be clear at first, this error can happen if you are trying to add a foreign key. Run the following query to find

How to create docs.domain.com with Gitlab pages CentOS 7

By | 2018-05-26T17:24:07+00:00 May 25th, 2018|Documentation|

With Gitlab you can create your own pages with the Gitlab runner and Gitlab pages feature. Both features are free in the CE version of Gitlab. In this blog I will explain how we have automated the deployment of our documentation to the public using Gitlab pagesĀ  onCentOS 7 and a Nginx reverse proxy. To