Commit Graph

264 Commits

Author SHA1 Message Date
Shivam Mathur
4c5c122aa6
PHP 8.1 is now stable and marked as default version 2021-11-25 17:34:13 +05:30
Shivam Mathur
0cd4af837e
Merge pull request #516 from aneeshrelan/feature/refactor-install-tests-to-use-jest-each
tests: refactor install.test.ts to use jest.each
2021-10-09 19:18:17 +05:30
Aneesh Relan
96e47f9be7 tests: have a strict assertion using toBe 2021-10-09 19:01:59 +05:30
Aneesh Relan
eca40cad4d tests: resolve windows path matching 2021-10-09 18:59:50 +05:30
Aneesh Relan
4e864eae3b tests: move os to a parameter 2021-10-09 18:44:47 +05:30
Aneesh Relan
49a0bad962 tests: refactor install.test.ts to use jest.each 2021-10-09 17:30:06 +05:30
Shivam Mathur
b971d8f4ad
use brew_extensions config for testing add_brew_extension 2021-10-09 08:11:39 +05:30
Aneesh Relan
f2d6820ca2 tests: sort test data in alphabetic order and merge duplicates 2021-10-08 22:24:17 +05:30
Aneesh Relan
705c2a5785 tests: increase test coverage for extensions.test.ts 2021-10-08 20:28:41 +05:30
Aneesh Relan
5e33fdb0d9 tests: refactor extensions.test.ts to use jest.each 2021-10-08 20:02:42 +05:30
Aneesh Relan
2cc925b655 tests: refactor extensions test to use jest-each 2021-10-06 01:05:47 +05:30
jrfnl
2c8682d5e6 Tools: add support for phpunit-polyfills
Ref: https://github.com/Yoast/PHPUnit-Polyfills
2021-09-20 16:04:04 +02:00
jrfnl
257e4c088d Tools: add support for parallel-lint 2021-09-20 02:22:22 +02:00
jrfnl
fa5fbefff9 Tools: add support for phpDocumentor 2021-09-19 13:41:39 +02:00
Shivam Mathur
13760f5b16
Add support for expect and ssh2 using shivammathur/extensions tap on macOS 2021-09-16 18:41:02 +05:30
Shivam Mathur
a34eeedd37
Bump version to 2.14.0
Add config to generate types

Fix build error in install.ts after TypeScript upgrade

Minor refactor in install.test.ts

Add bugs, directories, files and types entries in package.json

Update Node.js dependencies

Update SECURITY.md
2021-09-11 05:25:45 +05:30
Shivam Mathur
64e9bb0e79
Add special cases to config.test.ts 2021-09-09 07:19:49 +05:30
Shivam Mathur
19a01870e7
Refactor config.test.ts 2021-09-09 07:08:12 +05:30
Shivam Mathur
c4560dd084
Refactor coverage.test.ts 2021-09-09 06:54:17 +05:30
Shivam Mathur
e990e98a54
Use shivammathur/extensions tap to install vips on macOS 2021-09-01 15:53:05 +05:30
Shivam Mathur
b2d037d560
Add support to remove all shared extensions 2021-08-28 12:17:23 +05:30
Shivam Mathur
8e80635955
Fix parsing extensions input if Zend OPcache is specified instead of opcache 2021-08-28 12:17:21 +05:30
Shivam Mathur
c8837583fc
Do not check dependents for PCOV and Xdebug 2021-08-28 12:17:21 +05:30
Shivam Mathur
5402397d9f
Do not delete extensions, just disable them 2021-08-28 12:17:19 +05:30
Shivam Mathur
4d3cfaa653
Fixed support for php-cs-fixer
Added fetch_latest to tools.json. When fetch_latest is true for a tool
it will fetch the release.atom for the tool and parse that to get the
latest release.

Bumped lib version to ES2020 in tsconfig.json for string.matchAll.
2021-08-20 09:14:39 +05:30
Shivam Mathur
5137c78ee5
Use shivammathur/extensions tap for yaml extension on macOS 2021-08-18 09:53:32 +05:30
Shivam Mathur
4bb4f1812c
Fix to make utils.readEnv more resilient to user input 2021-08-18 09:53:26 +05:30
Shivam Mathur
7bd9f10bef
Add no_tools_cache flag 2021-08-18 09:53:25 +05:30
Shivam Mathur
0b38e86c65
Use shivammathur/extensions tap on macOS for mongodb on PHP 5.6 to 8.1 2021-08-18 09:53:24 +05:30
jrfnl
f31d416e6e Update Phive configuration
Phive has released version `0.15.0` which ups the minimum supported PHP version to PHP 7.3.

This adds the switch statement for Phive to take this into account.

Ref: https://github.com/phar-io/phive/releases
2021-08-01 19:52:48 +02:00
Shivam Mathur
c88f07696b
Add support for phpunit-bridge 2021-07-17 08:42:11 +05:30
Shivam Mathur
a3727c20a4
Bump version to 2.12.0
Update Node.js dependencies
2021-07-14 14:38:18 +05:30
Shivam Mathur
09e08a3554
More fixes in fetching tool versions 2021-07-14 14:17:32 +05:30
Shivam Mathur
1a216636c5
Use composer for composer-require-checker 2021-07-12 10:45:56 +05:30
Shivam Mathur
14fa980966
Improve error handling in utils.fetch and its uses
Minor fixes in tests

Revert to ES2019
2021-07-09 11:26:38 +05:30
Shivam Mathur
39491a0fba
Add authorization header to GitHub API call when COMPOSER_TOKEN is set 2021-07-07 22:40:05 +05:30
Shivam Mathur
c6b6dabbb9
Refactor tests for tools using jest.Each 2021-07-07 22:40:04 +05:30
Shivam Mathur
e1a9afe11c
Add support to specify major or major.minor versions for tools with GitHub repository 2021-07-07 22:40:03 +05:30
Shivam Mathur
6449431df2
Move tools config to tools.json
Refactor tools functions to use Records and object literals
2021-07-07 22:40:02 +05:30
Shivam Mathur
dd591f1661
Use shivammathur/extensions tap for rdkafka on macOS 2021-07-07 22:39:59 +05:30
Shivam Mathur
55ab748aaa
Update dependencies
Update to Jest 27

Set sourceMap to true in tsconfig.json
2021-06-04 21:34:31 +05:30
Shivam Mathur
9ad81048ce
Use shivammathur/extensions for memcache and memcached on darwin 2021-04-21 22:37:23 +05:30
Shivam Mathur
8cfcbb030f
Add support for tools: none 2021-04-21 17:11:24 +05:30
Shivam Mathur
fe944a16b5
Use EXTENSION_PATH to specify subdirectory in add_extension_from_source 2021-04-20 17:20:36 +05:30
Shivam Mathur
23393c46d7
Add support for composer packages using tools input 2021-04-19 17:05:59 +05:30
Shivam Mathur
3c6827c2c3
Use shivammathur/extensions for phalcon and psr 2021-04-19 17:05:53 +05:30
Shivam Mathur
ada1ce86b7
Refactor and improve extension support
Add support for APCu on macOS from shivammathur/homebrew-extensions
Improve support for geos to compile on PHP 8.0 and 8.1
Fix pecl setup to avoid unnecessary callbacks
Use GitHub releases for all couchbase versions
Use add_extension_from_source for all custom supported extensions
Remove bintray and use shivammathur/intl-icu releases
Add patch for protobuf for installing from source
Move patches from custom extension scripts to patches directory
Add support to build extension from GitHub and pecl tar archives (Internal API)
Refactor regex in extension.ts
Move add_pecl_extension to common.sh
Refactor remove_extension in darwin.sh
Fix shellcheck warning in darwin.sh
Improve switch_version in linux.sh to accept parameters
2021-04-15 16:54:35 +05:30
Shivam Mathur
b3152daa8d
Add support for any git repository to compile extension from source
Add support for extensions in a subdirectory to compile from source
2021-04-15 16:54:32 +05:30
Shivam Mathur
739ccacdc4
Refactor tools
Improve support for tool aliases
2021-02-20 16:11:20 +05:30
Shivam Mathur
cff0bdeaa3
Use composer for codeception setup 2021-02-19 13:49:58 +05:30
Shivam Mathur
70d858dd49
Add support for msgpack and redis on macOS for PHP 5.6+ 2021-02-19 13:49:57 +05:30
Shivam Mathur
3340d60d91
Improve support for pecl_http on linux and macOS 2021-02-19 13:49:56 +05:30
Shivam Mathur
57c17e3349
Add support for pecl_http on Windows for PHP 7.1 to 8.0 2021-02-19 13:49:55 +05:30
Andreas Braun
f42065d568
Allow extensions to be compiled from GitHub sources 2021-02-19 13:49:40 +05:30
Shivam Mathur
1686147b24
Do not quote ini values with error constants 2021-02-04 13:01:05 +05:30
Shivam Mathur
fbc8407035
Add support to specify version in \d.x notation 2021-01-16 11:16:13 +05:30
Shivam Mathur
6972aed899
Add support for quoted csv in ini-values 2021-01-15 13:52:18 +05:30
Shivam Mathur
e5b90e33c6
Add support for coverage: xdebug2 2020-12-24 18:20:42 +05:30
Shivam Mathur
2da85f306f
Add support for specifying ICU version on PHP 8.0 2020-12-19 18:47:19 +05:30
Shivam Mathur
d74064b67a
Fix setting xdebug.mode 2020-12-17 21:08:00 +05:30
Shivam Mathur
ea8be20255
Improve support for phive 2020-12-14 15:43:12 +05:30
Shivam Mathur
fd9aae59b0
Add support for geos on unix 2020-12-14 14:53:19 +05:30
Shivam Mathur
9af1e7006f
Use shivammathur/extensions tap for imap and amqp on macOS 2020-12-03 15:01:13 +05:30
Shivam Mathur
f0fb8731a5
Update ini files for all available SAPI 2020-12-02 05:50:56 +05:30
Shivam Mathur
d0677c93b9
Bump version to 2.9.0 2020-11-28 15:08:27 +05:30
Shivam Mathur
466908db61
Set 8.0 as the latest version 2020-11-28 15:08:26 +05:30
Shivam Mathur
5a40a5875d
Fix xdebug setup
Co-authored-by: Owen Voke <development@voke.dev>
Co-authored-by: Shivam Mathur <shivam_jpr@hotmail.com>
2020-11-28 02:13:42 +05:30
Shivam Mathur
09222f42ae
Skip prestissimo and composer-prefetcher unless composer:v1 is specified 2020-11-21 11:11:33 +05:30
Shivam Mathur
a094f682be
Add support for couchbase 2020-11-20 08:39:39 +05:30
Shivam Mathur
d812e938ac
Refactor to dry unix scripts 2020-11-20 08:39:34 +05:30
Shivam Mathur
02445f719d
Improve regexes for pre-release extensions 2020-10-31 21:20:49 +05:30
Shivam Mathur
925ede2589
Refactor composer setup 2020-10-30 19:25:39 +05:30
Michele Locati
808e74aed5
Adjust filtered composer version 2020-10-30 12:02:36 +01:00
Michele Locati
f51d00d350
Allow installing a specific Composer version 2020-10-30 11:15:26 +01:00
Shivam Mathur
c8111b053c
Fix blackfire-player to v1.9.3 for PHP 5.5 to PHP 7.0 2020-10-30 11:40:25 +05:30
Shivam Mathur
87e62cbb7f
Fix composer version for prestissimo & composer-prefetcher to v1 2020-10-25 00:55:01 +05:30
Shivam Mathur
81c750c6d7
Add support for imagick for PHP 5.6+ on macOS using shivammathur/homebrew-extensions 2020-10-19 15:55:40 +05:30
Shivam Mathur
0661130e18
Add support for igbinary on macOS using shivammathur/homebrew-extensions 2020-10-18 19:41:59 +05:30
Shivam Mathur
b77ec78d01
Add support for fail-fast env variable 2020-10-18 19:41:56 +05:30
Shivam Mathur
96d8c1e901
Add support for PHP 8.1 on par with PHP 8.0 2020-10-18 19:41:55 +05:30
Shivam Mathur
d2241010ef
Specify PHP version when installing ast 2020-10-15 14:16:48 +05:30
Shivam Mathur
b8f0b066dc
Add support for behat and phpspec 2020-10-15 14:16:20 +05:30
Shivam Mathur
9e663851ce
Move matchers setup to scripts 2020-10-15 14:16:19 +05:30
Shivam Mathur
ad196941ed
Refactor install.test.ts 2020-10-15 14:16:19 +05:30
Shivam Mathur
f8e867a9ff
Refactor install.ts 2020-10-15 14:16:18 +05:30
Shivam Mathur
8cb01730c7
Prioritize with over env for inputs 2020-10-15 14:16:17 +05:30
Shivam Mathur
ebba1db2c3
Add alias latest 2020-10-15 14:16:17 +05:30
Shivam Mathur
c4606c9269
Log versions in tools setup 2020-10-15 14:16:15 +05:30
Shivam Mathur
acc1fdb337
Add support to configure icu version 2020-09-07 09:36:51 +05:30
Shivam Mathur
f641885a8d
Add support for phing 2020-09-06 19:29:35 +05:30
Shivam Mathur
9457ce6e2b
Replace fedora with valid platform name 2020-09-06 19:29:34 +05:30
Shivam Mathur
a31f8b1a2b
Remove unnecessary parameter version from addArchive 2020-09-06 19:29:34 +05:30
Shivam Mathur
3543ed1ef8
Switch to fixed getcomposer.org links 2020-08-18 09:58:23 +05:30
Shivam Mathur
3c52e818b1
Add support for cubrid and pdo_cubrid on Ubuntu 2020-08-10 14:08:27 +05:30
Shivam Mathur
188598ef9d
Dry custom tools and extension code 2020-08-10 14:08:27 +05:30
Shivam Mathur
91bd6b26c2
Use cached composer builds 2020-08-04 21:15:25 +05:30
Shivam Mathur
cb25b9c13a
Add support for protoc and grpc_php_plugin 2020-08-03 11:47:10 +05:30
Shivam Mathur
2a7ae24c8e
Dry extension code 2020-08-03 11:47:00 +05:30
Shivam Mathur
67152eb712
Accept PECL default parameters 2020-08-02 19:09:47 +05:30
Shivam Mathur
0fae072f07
Refactor extensions.ts 2020-08-02 19:09:45 +05:30