protected function _getSpaceAlignmentInArray($lineIndex, $testable) {
		if (!$lineIndex) {
			return;
		}

		$tokens = $testable->tokens();
		$lines = $testable->lines();
		$lineCache = $testable->lineCache();

		$prevLine = $lines[$lineIndex - 1];
		$previousTokens = $lineCache[$testable->findTokensByLine($lineIndex)];
		$alignTo = 0;
		$len = 0;
		foreach ($previousTokens as $tokenId) {
			$len += strlen($tokens[$tokenId]['content']);
			if ($tokens[$tokenId]['content'] === '=>') {
				$max = strlen($prevLine);
				while ($len + 1 < $max) {
					if ($prevLine[$len + 1] !== ' ') {
						break;
					}
					$len++;
				}
				$alignTo = $len;
			}
		}
		return $alignTo === null ? $alignTo = 0 : $alignTo;
	}
protected function _getSpaceAlignmentInArray($lineIndex, $testable) {
		if (!$lineIndex) {
			return;
		}

		$tokens = $testable->tokens();
		$lines = $testable->lines();
		$lineCache = $testable->lineCache();

		$prevLine = $lines[$lineIndex - 1];
		$previousTokens = $lineCache[$testable->findTokensByLine($lineIndex)];
		$alignTo = 0;
		$len = 0;
		foreach ($previousTokens as $tokenId) {
			$len += strlen($tokens[$tokenId]['content']);
			if ($tokens[$tokenId]['content'] === '=>') {
				$max = strlen($prevLine);
				while ($len + 1 < $max) {
					if ($prevLine[$len + 1] !== ' ') {
						break;
					}
					$len++;
				}
				$alignTo = $len;
			}
		}
		return $alignTo === null ? $alignTo = 0 : $alignTo;
	}
protected function _getSpaceAlignmentInArray ( $ lineIndex , $ testable ) { if ( ! $ lineIndex ) { return ; } $ tokens = $ testable -> tokens ( ) ; $ lines = $ testable -> lines ( ) ; $ lineCache = $ testable -> lineCache ( ) ; $ prevLine = $ lines [ $ lineIndex - 1 ] ; $ previousTokens = $ lineCache [ $ testable -> findTokensByLine ( $ lineIndex ) ] ; $ alignTo = 0 ; $ len = 0 ; foreach ( $ previousTokens as $ tokenId ) { $ len += strlen ( $ tokens [ $ tokenId ] [ 'content' ] ) ; if ( $ tokens [ $ tokenId ] [ 'content' ] === '=>' ) { $ max = strlen ( $ prevLine ) ; while ( $ len + 1 < $ max ) { if ( $ prevLine [ $ len + 1 ] !== ' ' ) { break ; } $ len ++ ; } $ alignTo = $ len ; } } return $ alignTo === null ? $ alignTo = 0 : $ alignTo ; }
Return the minimal space required for a multilined expression in an array definition.

@param  int    $lineIndex The index the current line is on
@param  array  $testable  The testable object
@return int
Return the minimal space required for a multilined expression in an array definition .