1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-21 14:22:40 +01:00
phorge-arcanist/scripts
Joshua Spence 8f8ab969db Update update_compat_info.php to use PHP_CompatInfo version 3
Summary:
Fixes T5377. The current `scripts/update_compat_info.php` script works for PHP CompatInfo version 2, but doesn't work with the newer version 3.

There are a few breaking changes in version 3 that had to be addressed:

- PHP 5.3 is required. Whilst Arcanist is generally compatible with PHP 5.2, I don't think that having this dependency presents any real issues because it is purely a development tool that is rarely updated.
- [[https://getcomposer.org/ | Composer]] is used for packaging, which makes including the library slightly more complicated. Basically, I had to install `PHP_CompatInfo` globally with Composer (`composer global require "bartlett/php-compatinfo"` and then symlink `~/.composer/vendor` into `externals/includes`.

Test Plan: Compared the `resources/php_compat_info.json` file. There are a bunch of functions/classes that //were// in this file but are no longer, but I think that I've covered the most popular extensions.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5377

Differential Revision: https://secure.phabricator.com/D9568
2014-06-17 00:30:16 +10:00
..
hgdaemon Change double quotes to single quotes. 2014-05-23 13:53:05 -07:00
lib Change double quotes to single quotes. 2014-05-23 13:53:05 -07:00
repository Use binary safe diff in arc diff 2012-07-03 13:33:28 -07:00
__init_script__.php Pluralize add files questions 2013-09-14 08:06:50 -07:00
arcanist.php set custom arcrc file earlier 2014-05-23 14:06:29 -07:00
breakout.py Use /usr/bin/env python 2012-09-06 19:13:57 -07:00
php_extension_classes.txt Add "CURLFile" to the class whitelist 2014-04-29 04:35:18 -07:00
php_extension_functions.txt Add password_* functions to extension functions list 2014-02-20 17:26:03 -08:00
phutil_rebuild_map.php Change double quotes to single quotes. 2014-05-23 13:53:05 -07:00
phutil_symbols.php Change double quotes to single quotes. 2014-05-23 13:53:05 -07:00
update_compat_info.php Update update_compat_info.php to use PHP_CompatInfo version 3 2014-06-17 00:30:16 +10:00