Ben Ramsey
aaccc850a1
Use strict argument validation for collections
...
This resolves #106
2020-02-23 00:50:00 -06:00
Ben Ramsey
f965293da9
Specify cache locations for build tools
2020-02-08 13:13:47 -06:00
Ben Ramsey
7591ab461f
Update description
2020-01-22 00:51:15 -06:00
Ben Ramsey
bc3a876568
Set dev-master branch alias to 4.x-dev
2020-01-22 00:07:32 -06:00
Ben Ramsey
5d7c0f2210
Move files to clean up project root directory
2020-01-19 23:48:55 -06:00
Ben Ramsey
72a2312f62
Support generation of version 2 (DCE Security) UUIDs
2020-01-18 12:14:01 -06:00
Ben Ramsey
1c7db1adbd
Update descriptions of suggested packages in composer.json
2020-01-18 12:14:00 -06:00
Ben Ramsey
5dc4afb4f7
Remove out-of-date suggestions from composer.json
2020-01-18 12:14:00 -06:00
Ben Ramsey
c11c023796
Address static analysis issues and add additional tests
2020-01-18 12:13:59 -06:00
Ben Ramsey
cd03f39e9c
Depend on brick/math for arbitrary-precision math
2020-01-18 12:13:58 -06:00
Marco Pivetta
27e1c4e073
Added psalm checks to CI integration configuration
...
This ensures that the added type annotations are enforced as the library
changes over time.
2020-01-18 12:13:55 -06:00
Marco Pivetta
ba419f9715
Added vimeo/psalm dependency
...
`vimeo/psalm` won't be (for now) used to
scan the internals of the library, but just
the public API to be exposed to third parties
2020-01-18 12:13:55 -06:00
Ben Ramsey
0d7b8c2b7a
Update coding style to include PSR-12, among other options
...
This also includes heavy use of slevomat/coding-standard to apply
various checks to the code, based on maintainer (me) preference.
2020-01-18 12:13:55 -06:00
Ben Ramsey
81f0f9a9b4
Clean-up tests and use PHPStan max level for tests
2020-01-18 12:13:09 -06:00
Julian Ecknig
4de1348099
Add GmpConverter and GmpTimeConverter
2020-01-18 12:13:09 -06:00
Ben Ramsey
6f3316a1f7
Set minimum PHP version to 7.2
2020-01-18 12:13:08 -06:00
SignpostMarv
0030399564
Increase PHPStan levels and update code to resolve issues found
2020-01-18 12:13:08 -06:00
Martin Hujer
ca2629767d
Require phpstan and correct issues found up to level 2
...
* issues found by phpstan L0
* issues found by phpstan L1
* issues found by phpstan L2 in src/
* issues found by phpstan L2 in tests/
2020-01-18 12:13:08 -06:00
Martin Hujer
1eccd070c2
Add XSD schema to phpunit.xml.dist config
...
- Add XSD schema, so it can be validated (and PHPStorm provides
auto-completion)
- Drop backupGlobals option, because false is the default value
2020-01-18 12:13:08 -06:00
Martin Hujer
c5935bf963
Drop paragonie/random_compat from dependencies
...
It is not necessary anymore, because the minimal required version was
already set to PHP 7
2020-01-18 12:13:08 -06:00
Teoh Han Hui
b6ca0903b9
Fix typo for PHP version requirement
2020-01-18 12:13:08 -06:00
Ben Ramsey
5d7ee63f1c
Update dev requirements and test suite for PHP 7+ only
2020-01-18 12:13:07 -06:00
Jildert Miedema
225eb3b4c1
Set minimum version to PHP 5.6 and use PHP 5.5 style ::class constants
2020-01-18 12:13:07 -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