PHP properties

The properties for the fortify-sca.properties file in the following table apply to the translation of PHP code.

Property name Description

com.fortify.sca.
PHPVersion

Specifies the PHP version. For a list of valid versions, see Supported languages.

Value type: String

Default: 8.2

Command-line option: -php-version

com.fortify.sca.
PHPSourceRoot

Specifies the PHP source root.

Value type: Boolean

Default: (none)

Command-line option: -php-source-root

See also

Translating PHP code