1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00
phorge-arcanist/src
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
..
__tests__ Add a unit test to check src/__phutil_library_map__.php. 2014-06-16 05:42:43 +10:00
configuration Handle arc --version. 2014-05-23 19:54:04 -07:00
difference Change double quotes to single quotes. 2014-05-23 13:53:05 -07:00
differential Add "Changes Planned" and "In Preparation" states for revisions 2014-03-05 10:44:26 -08:00
docs/book Generate a documentation book for Arcanist 2014-03-05 13:00:40 -08:00
events/constant Dispatch an event in arc land right before pushing a revision 2013-03-08 18:32:36 -08:00
exception Delete license headers from files 2012-11-05 11:16:24 -08:00
extensions Changes to Arcanist for libphutil "extensions/" 2013-04-22 14:38:49 -07:00
hgdaemon Change double quotes to single quotes. 2014-05-23 13:53:05 -07:00
infrastructure/testing Delete license headers from files 2012-11-05 11:16:24 -08:00
lint Update update_compat_info.php to use PHP_CompatInfo version 3 2014-06-17 00:30:16 +10:00
parser --range support for git 2014-06-11 14:37:01 -07:00
repository Dirty cache of HEAD commit after an amend/range reload 2014-06-12 15:46:15 -07:00
unit Apply various linter fixes. 2014-06-10 11:02:42 -07:00
workflow Dirty cache of HEAD commit after an amend/range reload 2014-06-12 15:46:15 -07:00
workingcopyidentity Improve 'arc get-config', 'arc set-config' and show more config info with --trace 2014-05-20 11:34:28 -07:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:24 -08:00
__phutil_library_map__.php Add a unit test to check src/__phutil_library_map__.php. 2014-06-16 05:42:43 +10:00