Commit Graph

128 Commits

Author SHA1 Message Date
Ben Ramsey 1b074f4a1c Lock 3.x to PHP 8.1.x and lower 2021-09-24 12:38:13 -05:00
Ben Ramsey e6e2d78979 Disallow PHPUnit 9.0-9.2 and show deprecations 2021-09-23 17:03:00 -05:00
Ben Ramsey c9ed6dd82f Prepare tests for running on PHP 8 2021-09-23 13:58:48 -05:00
Ben Ramsey e2ec78e3d9 Attempt to pin a few versions to get tests passing on PHP 7.0
See https://github.com/Codeception/AspectMock/issues/185
2021-09-23 12:22:32 -05:00
Ben Ramsey fe0bc83c60 Revert "Restrict codeception/aspect-mock from going above 2.3.2"
This reverts commit d10c09b166.
2021-09-23 12:20:20 -05:00
Ben Ramsey d10c09b166 Restrict codeception/aspect-mock from going above 2.3.2
Refer to https://github.com/Codeception/AspectMock/issues/185
2021-09-23 11:47:19 -05:00
Ben Ramsey 323a608465 Add a GitHub workflow for the 3.x branch 2021-09-22 21:12:37 -05:00
Martin Auswöger ec2f6b0041 Allow install of paragonie/random_compat 9.99.100 (#359) 2021-02-01 10:54:58 -06:00
Ben Ramsey 2c87e46b63 Require builds on PHP 7.4 to pass and allow installation on PHP 8 2019-12-06 21:43:54 -08:00
Ben Ramsey 6f970cbd08 Run test commands individually on Travis CI
Using Composer's run-script to run all the commands together appears to
be encountering a segfault at some point, and it is difficult to debug,
since it seems to be intermittent.
2019-12-06 15:00:14 -08:00
Ben Ramsey 5225fb3c82 Upgrade mockery and parallel linter 2019-12-04 17:02:35 -08:00
Ben Ramsey 5375d53594 Upgrade to a newer version of PHP_CodeSniffer 2019-12-04 16:45:09 -08:00
Matias Navarro Carter 2ec28dd736 Function api created
Function api is a set of simple autoloaded functions to create uuids proxying the Uuid class static methods.

They provide easy and clean ways of just creating string represented uuids instead of the class.
2019-11-30 13:53:03 -08:00
Ben Ramsey 64ba9a2767 Clean up code according to PhpStorm inspections report 2019-11-30 13:14:52 -08:00
Ben Ramsey 39c610ea31 Clean up project documentation and repo metadata 2019-11-30 11:07:39 -08:00
Ben Ramsey f19b700bd8 Clean up dependencies 2019-11-30 09:10:09 -08:00
Andreas Möller 59f7202226 Enhancement: Normalize composer.json 2019-11-30 09:10:09 -08:00
karsasmus 2824db17c8 Change library ircmaxell/random-lib to paragonie/random-lib 2019-11-30 09:10:09 -08:00
Ben Ramsey 5d5eab97ee Add ext-json as a dependency 2018-08-05 16:59:04 -05:00
Ben Ramsey 735eb7e3c9 Add ext-ctype as a suggested extension 2018-07-19 15:48:43 -05:00
Andreas Möller cff5e11876 Enhancement: Keep packages sorted in composer.json 2018-07-19 14:48:23 +02:00
Simon Welsh e92ca19998 Support random_compat v9.99.99 2018-07-02 11:11:51 +10:00
Ben Ramsey 526b329d74 Merge pull request #223 from BackEndTea/enhancement/ctype-compat
Add a polyfill for ctype
2018-07-01 15:11:32 -05:00
Gert de Pagter 8d8766dc74 Use symfony version of ctype compat 2018-05-01 10:58:23 +02:00
peter279k 8fab36d995 Use class-based PHPUnit namespace 2018-04-25 18:43:33 +08:00
Gert de Pagter a32a202301 Add a polyfil for ctype
This deals with #142 by adding a polyfil for the ctype functions
instead of failing an install.

The only downside for end users is that their version is slightly slower
if the run without ctype. But it does allow them to run it.
2018-04-23 18:30:10 +02:00
Ben Ramsey 1f55a65f51 Pin goaop/framework to less than v2.2, so that builds start passing 2018-03-23 11:28:09 -04:00
Ben Ramsey e67d6bfdc2 Revert to pre-1.x series of mockery/mockery for ramsey/uuid 3.x 2018-01-16 19:45:47 -06:00
Ben Ramsey fc6ebc6e72 Remove satooshi/php-coveralls from dev requirements 2018-01-16 13:53:41 -06:00
Ben Ramsey 5a98ff58fe Remove apigen/apigen as a dev dependency 2018-01-16 13:53:41 -06:00
Ben Ramsey c8720ffe16 Upgrade mockery/mockery to the 1.x series 2018-01-16 13:53:32 -06:00
Ben Ramsey bd7f7f3135 Restrict codeception/aspect-mock to the 2.0.* series
A backward-incompatible change was introduced in codeception/aspect-mock
version 2.1, causing tests to generate errors. There is no need to
update the tests in the 3.x series of ramsey/uuid, so this change
restricts aspect-mock to <2.1.
2017-11-08 21:16:02 -06:00
Ben Peachey c52af4ea07 Removes <5.4 limit for PHPUnit in composer.json file. 2017-10-17 12:47:21 +02:00
Ben Ramsey ff6ad53a00 Allow alpha version of goaop/framework for PHP 5.4 2017-03-18 12:02:09 -05:00
Ben Ramsey 734eb56383 Allow older dependencies for earlier versions of PHP 2017-03-18 11:57:21 -05:00
Ben Ramsey 6d7b1dc123 Update dev dependencies so that tests succeed on PHP nightlies 2017-03-18 11:52:45 -05:00
Ben Ramsey 9e1b234324 Add Composer scripts as shortcuts to tests and doc generation 2017-03-18 10:38:08 -05:00
Tobias Nyholm f2a7cd06bb Be more specific about PHP versions
We do not support PHP6 nor PHP8.
2017-03-08 10:32:44 +01:00
Leigh 8a55a398d2 Pin doctrine/annotations to a 1.2.x version
1.3.x is currently causing test failures when used with goaop
1.0.0-alpha2 (which we are pinned at for PHP 5.4 compat)
2016-10-31 13:33:01 +00:00
Jessica Mauerhan ae2d1f8ca9 Add older version of phpmock 2016-10-06 11:00:35 -04:00
Jessica Mauerhan 761e5115be Add function mock test for systems without libsodium 2016-10-04 16:23:36 -04:00
Andreas Möller 7ff6fff06d Fix: Move tests one up 2016-09-15 08:31:27 +02:00
Ben Ramsey 22226169cd Limit PHPUnit use to <5.4 to avoid deprecation warnings in master 2016-06-24 16:40:07 +02:00
Ben Ramsey e8b615187e Merge pull request #104 from jmauerhan/add-generator-test-coverage
Add src/Generator test coverage
2016-03-23 12:02:37 -03:00
Jessica Mauerhan 7e8fef0ce1 merge 2016-03-23 07:23:42 -04:00
Ben Ramsey 4aac31920d Merge pull request #101 from ramsey/3.x/random_compat
Drop the use of OpenSSL as a fallback and use paragonie/random_compat
2016-03-22 15:35:14 -03:00
Ben Ramsey 7c5751d6fa Add 3.x-dev Composer branch alias for dev-master
[ci skip]
2016-03-22 15:29:26 -03:00
Ben Ramsey 04ad192962 Merge branch '2.x/random_compat' into 3.x/random_compat 2016-03-22 14:54:20 -03:00
Ben Ramsey b64eb3039a Allow ^1.0|^2.0 for paragonie/random_compat for those depending on 1.x 2016-03-22 14:50:32 -03:00
Jessica Mauerhan 0068b1be55 Specifying versions of aspect-mock and goaop that should work on 5.4 2016-03-22 11:33:28 -04:00