.gitignore 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. # These files are generated during building or development and are intentionally
  2. # untracked to ignore by Git. For other development environment specific files,
  3. # such as editor configuration, a good practice is to exclude them using the
  4. # .git/info/exclude in the cloned repository or a global .gitignore file.
  5. # ------------------------------------------------------------------------------
  6. # Common files ignored across the repository
  7. # ------------------------------------------------------------------------------
  8. # Backup copies created by various editors or development tools
  9. *~
  10. # Patches downloaded to patch files or to apply open source contributions
  11. *.patch
  12. # Swap files created by editors and tools to indicate a locked file
  13. *.swp
  14. # Various temporary generated files
  15. *.tmp
  16. # ------------------------------------------------------------------------------
  17. # Generated by the PHP build system
  18. # ------------------------------------------------------------------------------
  19. # Archive library containing .o files, generated during build process
  20. *.a
  21. # Libtool library files generated during build process
  22. *.la
  23. # Directories created by Libtool for storing generated library files
  24. .libs/
  25. # Library object files generated during build process
  26. *.lo
  27. # Temporary library object files generated by compiler and libtool due to failure
  28. *.loT
  29. # Standard object files generated during build process
  30. *.o
  31. # Dependency files generated during build process
  32. *.dep
  33. # Cache directories created by Autoconf tools
  34. autom4te.cache/
  35. # Cache file(s) generated by Autoconf's configure when run as `configure -C`
  36. config.cache
  37. # A log file(s) generated by Autoconf during *nix build system
  38. config.log
  39. # Helper(s) generated by *nix build system to save the last configure command
  40. config.nice
  41. # Generated by Autoconf's configure script for instantiating templates
  42. config.status
  43. # Main *nix build system configuration script(s) generated by Autoconf
  44. configure
  45. # Generated by `./configure` when test programs create temporary files
  46. confdefs.h
  47. conftest*
  48. # Generated by configure scripts on all systems
  49. /main/internal_functions.c
  50. /main/internal_functions_cli.c
  51. # The Libtool script(s) generated by the *nix build system
  52. libtool
  53. # Makefile(s) generated from Makefile fragment templates by `./configure`
  54. Makefile
  55. Makefile.fragments
  56. Makefile.objects
  57. # Directories for shared object files and headers generated by `./configure`
  58. include/
  59. libs/
  60. modules/
  61. # Used by build/gen_stub.php
  62. build/PHP-Parser-*
  63. # ------------------------------------------------------------------------------
  64. # Configuration headers generated by the PHP build system
  65. # ------------------------------------------------------------------------------
  66. config.h
  67. config.h.in
  68. /ext/date/lib/timelib_config.h
  69. /main/build-defs.h
  70. /main/php_config.h.in
  71. /main/php_config.h
  72. /Zend/zend_config.h
  73. # ------------------------------------------------------------------------------
  74. # Manual (man 1 and 8) pages generated from templates for *nix alike systems
  75. # ------------------------------------------------------------------------------
  76. /ext/phar/phar.1
  77. /ext/phar/phar.phar.1
  78. /sapi/cgi/php-cgi.1
  79. /sapi/cli/php.1
  80. /sapi/fpm/php-fpm.1
  81. /sapi/fpm/php-fpm.8
  82. /sapi/phpdbg/phpdbg.1
  83. /scripts/man1/*.1
  84. # ------------------------------------------------------------------------------
  85. # SAPIs specific ignores
  86. # ------------------------------------------------------------------------------
  87. /sapi/apache2handler/libphp.module
  88. /sapi/fpm/fpm/php-cgi
  89. /sapi/fpm/init.d.php-fpm
  90. /sapi/fpm/php-fpm.conf
  91. /sapi/fpm/php-fpm.service
  92. /sapi/fpm/status.html
  93. /sapi/fpm/www.conf
  94. # ------------------------------------------------------------------------------
  95. # Executable binaries and scripts generated during the build process
  96. # ------------------------------------------------------------------------------
  97. /ext/phar/phar.phar
  98. /ext/phar/phar.php
  99. /pear/install-pear-nozlib.phar
  100. /sapi/cgi/php-cgi
  101. /sapi/fpm/php-fpm
  102. /sapi/phpdbg/phpdbg
  103. /scripts/php-config
  104. /scripts/phpize
  105. php
  106. # ------------------------------------------------------------------------------
  107. # Lexer files generated by re2c
  108. # ------------------------------------------------------------------------------
  109. /ext/json/json_scanner.c
  110. /ext/json/php_json_scanner_defs.h
  111. /ext/pdo/pdo_sql_parser.c
  112. /ext/phar/phar_path_check.c
  113. /ext/standard/url_scanner_ex.c
  114. /ext/standard/var_unserializer.c
  115. /sapi/phpdbg/phpdbg_lexer.c
  116. /Zend/zend_ini_scanner.c
  117. /Zend/zend_ini_scanner_defs.h
  118. /Zend/zend_language_scanner.c
  119. /Zend/zend_language_scanner_defs.h
  120. # ------------------------------------------------------------------------------
  121. # PHP parser files generated by bison during the build process
  122. # ------------------------------------------------------------------------------
  123. /ext/json/json_parser.tab.h
  124. /ext/json/json_parser.tab.c
  125. /sapi/phpdbg/phpdbg_parser.c
  126. /sapi/phpdbg/phpdbg_parser.h
  127. /sapi/phpdbg/phpdbg_parser.output
  128. /Zend/zend_ini_parser.c
  129. /Zend/zend_ini_parser.h
  130. /Zend/zend_ini_parser.output
  131. /Zend/zend_language_parser.c
  132. /Zend/zend_language_parser.h
  133. /Zend/zend_language_parser.output
  134. # ------------------------------------------------------------------------------
  135. # Extensions files
  136. # ------------------------------------------------------------------------------
  137. # Miscellaneous extensions files
  138. /ext/opcache/jit/zend_jit_x86.c
  139. /ext/opcache/minilua
  140. # Generated by `cd ext/name && phpize && ./configure`
  141. /ext/*/build/
  142. /ext/*/configure.ac
  143. /ext/*/run-tests.php
  144. # ------------------------------------------------------------------------------
  145. # Generated by Windows build system
  146. # ------------------------------------------------------------------------------
  147. # Generated by `/buildconf.bat`
  148. /configure.bat
  149. /configure.js
  150. # Generated by `/configure.(bat|js)` (architecture dependent)
  151. /config.nice.bat
  152. # NTS debug build x86
  153. /Debug/
  154. # ZTS debug build x86
  155. /Debug_TS/
  156. # NTS build x86
  157. /Release/
  158. # ZTS build x86
  159. /Release_TS/
  160. # Generated by x64 compiler, includes Debug, Debug_TS, Release, Release_TS
  161. /x64/
  162. # Miscellaneous files generated by Windows build system
  163. /main/config.w32.h
  164. /win32/build/deplister.exe
  165. /win32/build/deplister.obj
  166. /win32/*.aps
  167. /win32/*.positions
  168. /win32/*.suo
  169. /win32/ext
  170. /win32/syslog.reg
  171. /win32/wsyslog.h
  172. # Standard object files generated by Visual Studio
  173. *.obj
  174. # ------------------------------------------------------------------------------
  175. # Tests
  176. # ------------------------------------------------------------------------------
  177. # Generated by `./run-tests.php` upon failure
  178. **/tests/**/*.diff
  179. **/tests/**/*.out*
  180. **/tests/**/*.php
  181. **/tests/**/*.exp
  182. **/tests/**/*.log
  183. **/tests/**/*.sh
  184. # Generated by some test cases
  185. **/tests/**/*.db
  186. # Microsoft Access database created for passing to tests
  187. /ext/pdo_odbc/tests/*.mdb
  188. # Files generated by `./run-tests.php -m` when checking for memory leaks
  189. **/tests/**/*.mem
  190. # Test results generated by `./run-tests.php`
  191. php_test_results_*.txt
  192. # Temporary test information generated by `./run-tests.php`
  193. /run-test-info.php
  194. # Temporary POST data placeholder files generated by `./run-tests.php`
  195. phpt.*
  196. # Temporary PHP INI configuration file(s) for tests, generated by `make test`
  197. tmp-php.ini
  198. # ------------------------------------------------------------------------------
  199. # Generated by GCC's gcov and LCOV via build/Makefile.gcov and gcov.php.net
  200. # ------------------------------------------------------------------------------
  201. *.gcda
  202. *.gcno
  203. /gcovr.xml
  204. /gcovr_html/
  205. /lcov_html/
  206. /php_lcov.info
  207. # ------------------------------------------------------------------------------
  208. # Archives generated during the PHP release process
  209. # ------------------------------------------------------------------------------
  210. /*.tar.gz
  211. /*.tar.bz2
  212. /*.tar.xz
  213. /*.tar.gz.asc
  214. /*.tar.bz2.asc
  215. /*.tar.xz.asc
  216. # ------------------------------------------------------------------------------
  217. # Generated by `./configure --enable-dtrace` for using DTrace framework
  218. # ------------------------------------------------------------------------------
  219. /ext/oci8/oci8_dtrace_gen.h
  220. /ext/oci8/oci8_dtrace_gen.h.bak
  221. /Zend/zend_dtrace_gen.h
  222. /Zend/zend_dtrace_gen.h.bak
  223. # ------------------------------------------------------------------------------
  224. # GitHub actions cache
  225. # ------------------------------------------------------------------------------
  226. /branch-commit-cache.json
  227. # ------------------------------------------------------------------------------
  228. # Special cases to invert previous ignore patterns
  229. # ------------------------------------------------------------------------------
  230. !/ext/bcmath/libbcmath/src/config.h
  231. !/ext/fileinfo/libmagic/config.h
  232. !/ext/fileinfo/libmagic.patch
  233. !/ext/fileinfo/magicdata.patch
  234. !/ext/pcre/pcre2lib/config.h
  235. !/win32/build/Makefile