Library/Detectors/WriteDetector.php
public function declareVariables(array $statement)
    {
        if (isset($statement['data-type'])) {
            if ('variable' != $statement['data-type']) {
                return;
            }
        }

        foreach ($statement['variables'] as $variable) {
            if (isset($variable['expr'])) {
                if ('string' == $variable['expr']['type'] || 'empty-array' == $variable['expr']['type'] || 'array' == $variable['expr']['type']) {
                    continue;
                }
            }

            $this->increaseMutations($variable['variable']);
        }
    }
public function declareVariables(array $statement)
    {
        if (isset($statement['data-type'])) {
            if ('variable' != $statement['data-type']) {
                return;
            }
        }

        foreach ($statement['variables'] as $variable) {
            if (isset($variable['expr'])) {
                if ('string' == $variable['expr']['type'] || 'empty-array' == $variable['expr']['type'] || 'array' == $variable['expr']['type']) {
                    continue;
                }
            }

            $this->increaseMutations($variable['variable']);
        }
    }
public function declareVariables ( array $ statement ) { if ( isset ( $ statement [ 'data-type' ] ) ) { if ( 'variable' != $ statement [ 'data-type' ] ) { return ; } } foreach ( $ statement [ 'variables' ] as $ variable ) { if ( isset ( $ variable [ 'expr' ] ) ) { if ( 'string' == $ variable [ 'expr' ] [ 'type' ] || 'empty-array' == $ variable [ 'expr' ] [ 'type' ] || 'array' == $ variable [ 'expr' ] [ 'type' ] ) { continue ; } } $ this -> increaseMutations ( $ variable [ 'variable' ] ) ; } }
Pass "declare" statement.

@param array $statement
Pass declare statement .