Michiel Roos

Results 13 comments of Michiel Roos

I built a vagrant box that provided several php fpms and hhvm: https://github.com/Tuurlijk/TYPO3.Packer/blob/master/ansible/configuration/Development/websites.yml#L8 You could switch the upstream in nginx by using the magic regex servername with named variables. This...

@cytopia I'm attempting to change the apache template to one that generates vhosts for php, php70 and php72, but vhost-gen does not resolve the __DOCUMENT_ROOT__ vars in my ProxyPassMatch statements....

@cytopia Got it: https://github.com/devilbox/vhost-gen/pull/28

Downside is that I need to manually adjust the hosts file. But that's only once.

I need to add entries for all php versions to /etc/hosts on the host machine. But I don't think there is a way around that, except for some magic DNS...

Here is an example configuration that switches the PHP backend (upstream) based on the host name requested: https://github.com/Tuurlijk/docker-local/blob/master/.docker/web/default.conf Prefix is the project name in my case. I support the following...

The finish() method is matched by a 'MethodCallMatcher': https://github.com/ohader/scanner/blob/master/config/Matcher/MethodCallMatcher.php#L1958 The actual matcher marks all matches on the methodname and specified number of arguments alone as a 'weak' match: https://github.com/ohader/scanner/blob/master/src/Matcher/MethodCallMatcher.php The...

Maybe this already works . . . https://github.com/Tuurlijk/scanner/blob/master/src/Visitor/CodeStatistics.php#L34

Sounds like a minor change. Could be renamed to $theMatch or something.

I have the idea to extend this tool with Fluid and TypoScript scanning capability. Somewhere in the coming weeks.