├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── benchmark └── AbsoluteFunctionReferenceBench.php ├── composer.json ├── function-fqn-replacer ├── humbug.json.dist ├── phpbench.json ├── phpunit.xml.dist ├── src ├── Console │ └── Command │ │ └── ReplaceFunctionCalls.php ├── Iterator │ └── PhpFilesInDirectoryIterator.php ├── Lookup │ └── FunctionExists.php └── NodeVisitor │ └── ReplaceUnqualifiedFunctionCallsWithQualifiedReferences.php ├── test-asset ├── Iterator │ └── PhpFilesInDirectoryIteratorTest │ │ ├── DirWithOneHhFile │ │ └── 1.hh │ │ ├── DirWithOnePhpFile │ │ └── 1.php │ │ ├── DirWithOneTxtFile │ │ └── 1.txt │ │ ├── DirWithTwoPhpFiles │ │ ├── 1.php │ │ └── 2.php │ │ └── EmptyDirectory │ │ └── .gitignore ├── mixed-function-references.expect.php └── mixed-function-references.php └── test ├── Iterator └── PhpFilesInDirectoryIteratorTest.php ├── Lookup └── FunctionExistsTest.php └── NodeVisitor └── ReplaceUnqualifiedFunctionCallsWithQualifiedReferencesTest.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/AbsoluteFunctionReferenceBench.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/benchmark/AbsoluteFunctionReferenceBench.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/composer.json -------------------------------------------------------------------------------- /function-fqn-replacer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/function-fqn-replacer -------------------------------------------------------------------------------- /humbug.json.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/humbug.json.dist -------------------------------------------------------------------------------- /phpbench.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/phpbench.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Console/Command/ReplaceFunctionCalls.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/src/Console/Command/ReplaceFunctionCalls.php -------------------------------------------------------------------------------- /src/Iterator/PhpFilesInDirectoryIterator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/src/Iterator/PhpFilesInDirectoryIterator.php -------------------------------------------------------------------------------- /src/Lookup/FunctionExists.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/src/Lookup/FunctionExists.php -------------------------------------------------------------------------------- /src/NodeVisitor/ReplaceUnqualifiedFunctionCallsWithQualifiedReferences.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/src/NodeVisitor/ReplaceUnqualifiedFunctionCallsWithQualifiedReferences.php -------------------------------------------------------------------------------- /test-asset/Iterator/PhpFilesInDirectoryIteratorTest/DirWithOneHhFile/1.hh: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-asset/Iterator/PhpFilesInDirectoryIteratorTest/DirWithOnePhpFile/1.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-asset/Iterator/PhpFilesInDirectoryIteratorTest/DirWithOneTxtFile/1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-asset/Iterator/PhpFilesInDirectoryIteratorTest/DirWithTwoPhpFiles/1.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-asset/Iterator/PhpFilesInDirectoryIteratorTest/DirWithTwoPhpFiles/2.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-asset/Iterator/PhpFilesInDirectoryIteratorTest/EmptyDirectory/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-asset/mixed-function-references.expect.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/test-asset/mixed-function-references.expect.php -------------------------------------------------------------------------------- /test-asset/mixed-function-references.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/test-asset/mixed-function-references.php -------------------------------------------------------------------------------- /test/Iterator/PhpFilesInDirectoryIteratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/test/Iterator/PhpFilesInDirectoryIteratorTest.php -------------------------------------------------------------------------------- /test/Lookup/FunctionExistsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/test/Lookup/FunctionExistsTest.php -------------------------------------------------------------------------------- /test/NodeVisitor/ReplaceUnqualifiedFunctionCallsWithQualifiedReferencesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Roave/FunctionFQNReplacer/HEAD/test/NodeVisitor/ReplaceUnqualifiedFunctionCallsWithQualifiedReferencesTest.php --------------------------------------------------------------------------------