This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'shellwords' | |
def php_file_contents(filename) | |
open(filename).to_a | |
end | |
def fix_entity_paths(file_contents) | |
file_contents.map do |line| |