JetBrains Fleet 1.42 Help

PHP run configurations

This topic summarizes the run configurations available for PHP. Each table provides keys that are available within a run configuration and their descriptions.

php

Run configuration for launching PHP scripts

environment

Custom environment variables for the process in the form of a JSON object. To define an environment variable, add a property, where the key is the variable name and the value is the value of the variable, for example:

"environment": { "TEMP_DIR": "/home/user/temp", "GENERATE_RANDOM_PASSWORD": "true" }

dependsOn

Names of other configurations which will be executed before this configuration, for example: "dependsOn": ["first", "second"]. For more information, refer to Chained run configurations.

workingDir

Working directory for this run configuration.

allowParallelRun

When set to true, more than one instance of this configuration can run in parallel.

file

Relative path to a PHP file

Default value: null

php-test

Run configuration for launching PHP tests

arguments

(required)

Optional arguments to be passed to the test as-is

phpUnitExecutable

Path to PHPUnit executable

Default value: null

Last modified: 23 September 2024