original_string: private function normalizeArrayForNewLines(array $data) {
  		foreach($data as $k => $item) {
  			if(is_string($item)) {
  				$data[$k] = str_replace(["\r\n", "\n\r", "\r"], "\n", $item);
  			} elseif(is_array($item)) {
  				$data[$k] = $this->normalizeArrayForNewLines($item);
  			}
  		}
  		return $data;
  	}
code: private function normalizeArrayForNewLines(array $data) {
  		foreach($data as $k => $item) {
  			if(is_string($item)) {
  				$data[$k] = str_replace(["\r\n", "\n\r", "\r"], "\n", $item);
  			} elseif(is_array($item)) {
  				$data[$k] = $this->normalizeArrayForNewLines($item);
  			}
  		}
  		return $data;
  	}
code_tokens: private function normalizeArrayForNewLines ( array $ data ) { foreach ( $ data as $ k => $ item ) { if ( is_string ( $ item ) ) { $ data [ $ k ] = str_replace ( [ "\r\n" , "\n\r" , "\r" ] , "\n" , $ item ) ; } elseif ( is_array ( $ item ) ) { $ data [ $ k ] = $ this -> normalizeArrayForNewLines ( $ item ) ; } } return $ data ; }
docstring: crutch for linux and windows
docstring_tokens: crutch for linux and windows