From 2ccc8fa09337d39acc2ef5ca0bae192e12e922f6 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Sun, 21 Jun 2020 11:52:33 +0200 Subject: [PATCH] Add immediate file types for PHP ecosystem Added the following imemdiate file types for PHP: - `composer.json` for [Composer](https://getcomposer.org/), the defactor standard package manager for PHP; - `RoboFile.php`, for [Robo](https://robo.li/), the PHP task runner. Note: [Phing]() uses `build.xml`, which was already included in the list. --- src/info/filetype.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info/filetype.rs b/src/info/filetype.rs index 0dc758f..2af5da5 100644 --- a/src/info/filetype.rs +++ b/src/info/filetype.rs @@ -26,7 +26,7 @@ impl FileExtensions { "Makefile", "Cargo.toml", "SConstruct", "CMakeLists.txt", "build.gradle", "pom.xml", "Rakefile", "package.json", "Gruntfile.js", "Gruntfile.coffee", "BUILD", "BUILD.bazel", "WORKSPACE", "build.xml", - "webpack.config.js", "meson.build", + "webpack.config.js", "meson.build", "composer.json", "RoboFile.php", ]) }