├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── bin └── phpdoc-to-typehint ├── box.json ├── composer.json ├── composer.lock ├── src ├── Application.php ├── ConvertCommand.php └── Converter.php └── tests ├── ConverterTest.php ├── Fixtures ├── BarInterface.php ├── BazTrait.php ├── Child.php ├── Foo.php ├── array_no_types.php ├── functions1.php ├── functions2.php ├── functions3.php ├── nullable_types.php ├── param_no_type.php ├── pass_by_reference.php └── type_aliases_and_whitelisting.php └── Results ├── BarInterface.php ├── BazTrait.php ├── Child.php ├── Foo.php ├── array_no_types.php ├── functions1.php ├── functions2.php ├── functions3.php ├── nullable_types.php ├── param_no_type.php ├── pass_by_reference.php └── type_aliases_and_whitelisting.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | /phpdoc-to-typehint.phar 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/README.md -------------------------------------------------------------------------------- /bin/phpdoc-to-typehint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/bin/phpdoc-to-typehint -------------------------------------------------------------------------------- /box.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/box.json -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/composer.lock -------------------------------------------------------------------------------- /src/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/src/Application.php -------------------------------------------------------------------------------- /src/ConvertCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/src/ConvertCommand.php -------------------------------------------------------------------------------- /src/Converter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/src/Converter.php -------------------------------------------------------------------------------- /tests/ConverterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/ConverterTest.php -------------------------------------------------------------------------------- /tests/Fixtures/BarInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/BarInterface.php -------------------------------------------------------------------------------- /tests/Fixtures/BazTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/BazTrait.php -------------------------------------------------------------------------------- /tests/Fixtures/Child.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/Child.php -------------------------------------------------------------------------------- /tests/Fixtures/Foo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/Foo.php -------------------------------------------------------------------------------- /tests/Fixtures/array_no_types.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/array_no_types.php -------------------------------------------------------------------------------- /tests/Fixtures/functions1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/functions1.php -------------------------------------------------------------------------------- /tests/Fixtures/functions2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/functions2.php -------------------------------------------------------------------------------- /tests/Fixtures/functions3.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/functions3.php -------------------------------------------------------------------------------- /tests/Fixtures/nullable_types.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/nullable_types.php -------------------------------------------------------------------------------- /tests/Fixtures/param_no_type.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/param_no_type.php -------------------------------------------------------------------------------- /tests/Fixtures/pass_by_reference.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/pass_by_reference.php -------------------------------------------------------------------------------- /tests/Fixtures/type_aliases_and_whitelisting.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Fixtures/type_aliases_and_whitelisting.php -------------------------------------------------------------------------------- /tests/Results/BarInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/BarInterface.php -------------------------------------------------------------------------------- /tests/Results/BazTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/BazTrait.php -------------------------------------------------------------------------------- /tests/Results/Child.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/Child.php -------------------------------------------------------------------------------- /tests/Results/Foo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/Foo.php -------------------------------------------------------------------------------- /tests/Results/array_no_types.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/array_no_types.php -------------------------------------------------------------------------------- /tests/Results/functions1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/functions1.php -------------------------------------------------------------------------------- /tests/Results/functions2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/functions2.php -------------------------------------------------------------------------------- /tests/Results/functions3.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/functions3.php -------------------------------------------------------------------------------- /tests/Results/nullable_types.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/nullable_types.php -------------------------------------------------------------------------------- /tests/Results/param_no_type.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/param_no_type.php -------------------------------------------------------------------------------- /tests/Results/pass_by_reference.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/pass_by_reference.php -------------------------------------------------------------------------------- /tests/Results/type_aliases_and_whitelisting.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dunglas/phpdoc-to-typehint/HEAD/tests/Results/type_aliases_and_whitelisting.php --------------------------------------------------------------------------------