Features/develop removed shared context and refs

PHP files should not end with a `?>`