Commit Graph

169 Commits

Author SHA1 Message Date
Ben Ramsey 5ed105e162 chore: update branch name to "main" 2021-08-06 15:09:59 -05:00
Ben Ramsey 5a50524fc4 test: update PHPBench 2021-08-06 14:45:45 -05:00
Ben Ramsey 4511ccd7e6 chore(deps): upgrade vimeo/psalm 2021-08-06 14:25:16 -05:00
Ben Ramsey c005f69d6e chore: update package files 2021-08-06 14:05:57 -05:00
Ben Ramsey b941aa1a9a Prepare test suite for PHP 8 2020-10-29 18:24:14 -05:00
Remi Collet 2f92bdf34e Allow phpunit 9 (#350) 2020-10-29 18:22:53 -05:00
Ben Ramsey 954cb23d5e Allow builds to fail on PHP 8.0 2020-10-28 22:22:54 -05:00
Simon Podlipsky 17638f627c Add support for brick/math ^0.9 2020-08-18 14:40:28 +02:00
Marco Pivetta 1f0cd71d93 Applied fixes and suppressions (sadly) to match psalm/phpstan code quality guidelines
We have a lot of deprecated API in here which shouldn't exist in first place, but that
will luckily disappear with v5.0.0 :-)
2020-07-09 13:57:30 +02:00
Marco Pivetta c01872212e Add phpbench to CI run to ensure that we don't accidentally break benchmarks
This is not indicative of performance, but just guarantees that the benchmarks
still run, and that we didn't break them during an upgrade or code change.
2020-07-09 13:57:30 +02:00
Marco Pivetta 8d42044a99 Minimal benchmarks around Uuid::fromString(), Uuid::fromBytes(), Uuid#toString(), Uuid#getBytes()
This is mostly to store an initial state, before we go on and start manipulating the UUID library internals.
2020-07-09 13:56:04 +02:00
dependabot-preview[bot] fcbe5731ce Update dealerdirect/phpcodesniffer-composer-installer requirement || ^0.7.0
Updates the requirements on dealerdirect/phpcodesniffer-composer-installer to permit the latest version.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 17:59:03 +00:00
Andrew Mitchell 1944a1536b Remove phpstan/phpdoc-parser from dev dependencies 2020-05-09 18:33:33 -04:00
dependabot-preview[bot] d513d4c6a0 Update phpstan/phpdoc-parser requirement from 0.4.3 to 0.4.4
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.3...0.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 16:09:55 +00:00
Ben Ramsey 15f777bb36 Replace abandoned package with recommended package 2020-03-29 12:17:27 -05:00
Ben Ramsey 5808507468 Add a REPL script for testing 2020-03-17 12:00:22 -05:00
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