Add a playbook that enables a deploy to be a "developer" deploy with debugging tools fully enabled.
Issue details
One thing needed would be composer install of dev requirements
But immediately, you notice that things don't support development and debugging without additional supporting tools. For example, phan for static analysis requires the Abstract Syntaxt Tree extension to PHP. In order to run ./vendor/bin/phan on your mediawiki codebase, you need to sudo pecl install ast and add to your php.ini via
a file such as /etc/php.d/20-ast.ini
; Enable Abstract Syntax Tree extension module
extension=ast.so
We should have a playbook that can enable (or remove?) debugging and development tools.
Idea
Add a playbook that enables a deploy to be a "developer" deploy with debugging tools fully enabled.
Issue details
One thing needed would be composer install of dev requirements But immediately, you notice that things don't support development and debugging without additional supporting tools. For example, phan for static analysis requires the Abstract Syntaxt Tree extension to PHP. In order to run ./vendor/bin/phan on your mediawiki codebase, you need to
sudo pecl install ast
and add to your php.ini via a file such as/etc/php.d/20-ast.ini
We should have a playbook that can enable (or remove?) debugging and development tools.