Commit Graph

153 Commits

Author SHA1 Message Date
Ben Ramsey e55a984c9d Add tip for Composer version constraint 2020-03-14 17:21:13 -05:00
Ben Ramsey 9f20f1fab8 Merge branch 'master' into dependabot/composer/phpstan/phpdoc-parser-0.4.3 2020-03-14 17:04:56 -05:00
Ben Ramsey 5180a59924 Use dealerdirect/phpcodesniffer-composer-installer v0.6.2 2020-03-14 17:03:50 -05:00
Ben Ramsey 62f6a863a7 Merge branch 'master' into dependabot/composer/dealerdirect/phpcodesniffer-composer-installer-tw-0.5.0or-tw-0.6.0 2020-03-14 16:59:55 -05:00
Ben Ramsey 99fdabcee3 Lock vimeo/psalm to 3.9.4, since 3.9.5 causes false failures 2020-03-14 16:59:06 -05:00
dependabot-preview[bot] 5e88e285ec Update phpstan/phpdoc-parser requirement from 0.4.1 to 0.4.3
Updates the requirements on [phpstan/phpdoc-parser](https://github.com/phpstan/phpdoc-parser) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpdoc-parser/releases)
- [Commits](https://github.com/phpstan/phpdoc-parser/compare/0.4.1...0.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 03:32:51 +00:00
Ben Ramsey c75ad1d584 Update description of library 2020-03-08 22:31:21 -05:00
Ben Ramsey 11da1979ee Merge branch 'master' into dependabot/composer/dealerdirect/phpcodesniffer-composer-installer-tw-0.5.0or-tw-0.6.0 2020-03-08 22:27:29 -05:00
Ben Ramsey 98971a93f8 [ci skip] Remove wiki as a "support" venue 2020-03-08 22:26:10 -05:00
dependabot-preview[bot] 8484456e26 Update dealerdirect/phpcodesniffer-composer-installer requirement || ^0.6.0
Updates the requirements on dealerdirect/phpcodesniffer-composer-installer to permit the latest version.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 01:38:39 +00:00
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