48 Commits

Author SHA1 Message Date
Nicolas CARPi e08b0a5445 Merge branch 'master' into nico-sensitive-attr
* master:
  add CI4-auth link in README. fix #107 (#123)
  remove insecure rng providers and remove polyfill for hash_equals (#122)
  delete files specific to code editors (#120)
  Exclude useless files from dist archive #103
2024-04-16 18:21:01 +02:00
Your Name 086a3758ec Exclude useless files from dist archive #103
Co-authored-by: Cédric Anne <cedric.anne@gmail.com>
2024-04-15 21:23:58 +01:00
Nicolas CARPi 76f420e6b2 add SensitiveParameter to sensitive arguments
This change adds the PHP attribute SensitiveParameter to the secret
holding variables.
See: https://www.php.net/manual/en/class.sensitiveparameter

This feature is only available in PHP 8.2, so the minimum php version
required has been updated.

Github Actions now use PHP 8.2 and 8.3 for the tests.
The checkout action has been updated to v4, too.

Fix issue #118
2024-04-15 21:40:19 +02:00
Will Power 27cd1e1392 Merge pull request #97 from NicolasCARPi/php8
Move to PHP 8.1 minimum version, add typing
2023-02-25 11:33:28 +00:00
Cédric Anne d6e5e2ef87 Ensure composer dist archive contains only usefull files 2023-02-22 15:42:38 +01:00
Nicolas CARPi ab76ac71a4 use phpunit 9 instead of @stable 2023-02-20 10:31:39 +01:00
Nicolas CARPi 023bfc16f6 add Will Power in authors list in composer.json 2023-02-20 10:29:18 +01:00
Nicolas CARPi afb5cb09be add Nicolas CARPi to authors in composer.json 2023-02-20 02:35:35 +01:00
Nicolas CARPi b52655b803 add ignore env to php-cs-fixer for ci (php 8.2 issue) 2022-12-09 21:44:02 +01:00
Nicolas CARPi 79988ef58a add phpstan 2022-12-08 00:00:18 +01:00
Nicolas CARPi db0515e826 fix versions in github workflow and add a lint-ci command 2022-12-07 23:14:28 +01:00
Nicolas CARPi 4be83550c0 remove php-parallel-lint: php-cs-fixer does much more 2022-12-07 23:12:17 +01:00
Nicolas CARPi ac721e57b9 add php-cs-fixer 2022-12-07 23:10:13 +01:00
Nicolas CARPi aeb4b00c60 first batch 2022-12-07 22:28:52 +01:00
William Hall ba4e8c55ed 🔧 don't need version number in composer.json #90 2022-05-10 13:33:17 +01:00
William Hall 65681de5a3 🔖 actually 1.8.2 2022-03-22 16:11:07 +00:00
Rob Janssen 5afcb45282 Update composer.json
Upped version
2021-10-20 14:19:55 +02:00
William Hall 30a38627ae 🔖 1.8.0 2021-03-09 18:24:05 +00:00
William Hall 8b5c61cc1d 🚨 add auto lint test capability 2021-02-03 09:31:27 +00:00
William Hall d86c73ebff 🚨 run tests easier and newer 2021-02-03 09:31:16 +00:00
William Hall 178f4447a7 🚨 breakdown tests into separate files 2021-02-03 09:31:07 +00:00
Rob Janssen 44c06ba856 Update composer.json
See #40 and #39
2020-09-27 23:04:50 +02:00
Rob Janssen 37983bf675 Dropping support for older PHP versions (5.4, 5.5) 2020-01-02 20:56:46 +01:00
RobThree 3407c33775 * Switched default ImageChartsQRCodeProvider to QRServerProvider 2019-06-21 10:51:04 +02:00
RobThree 7477d5d656 * Replace google image charts with image-charts.com 2019-03-19 22:51:19 +01:00
RobThree 718160e171 * Upped version 2018-06-09 12:09:51 +02:00
RobThree fca87f2d09 * Fix a bug that caused timeslices to be returned instead of the intended timeslice
* Upped version
2018-06-06 02:32:07 +02:00
RobThree a813bf7ede * Upped version to 1.6.3 2018-06-06 01:58:26 +02:00
RobThree 83ad9fb4e4 * Updated composer.json 2018-06-05 22:20:08 +02:00
RobThree 673223a2fc * Upped version 2017-11-06 18:54:34 +01:00
RobThree 9735116635 * Implemented ITimeProviders 2017-02-17 14:53:55 +01:00
Rob Janssen 0b5d455b27 Update composer.json 2016-10-30 22:47:00 +01:00
Andrey Vystavkin a73f119a58 removed .editconfig from repo and phpcs 2016-10-30 16:38:10 +02:00
Andrey Vystavkin 8a726eda5d switching to PSR-4 autoloading standard 2016-10-30 16:20:47 +02:00
Rob Janssen fa781c14e3 Update composer.json 2016-06-24 17:52:02 +02:00
Rob Janssen cdb98dc598 Update composer.json 2016-06-20 23:15:37 +02:00
RobThree c94fcd83d8 * Added new (PHP7+) CSRNGProvider (uses random_bytes)
* Added a bunch basic of unittests for the RNG's
* QRicketProvider and QRServerProvider now throw on invalid MIME-types
* TwoFactorAuth now first tries to use CSRNGProvider before any of the other RNG providers
2015-12-02 16:38:20 +01:00
Rob Janssen 60c4ec7fb4 Update composer.json 2015-11-20 14:03:57 +01:00
Rob Janssen 1f9008c217 Update composer.json 2015-04-30 12:58:15 +02:00
Rob Janssen 73196c82ec Update composer.json 2015-03-19 15:16:22 +01:00
RobThree 553b725ab7 * Move stuff around 2015-03-19 15:05:51 +01:00
Rob Janssen c16fbf782a Update composer.json 2015-03-19 14:51:59 +01:00
Rob Janssen e446672d17 Update composer.json 2015-03-19 14:47:24 +01:00
Rob Janssen 5f119eef72 Update composer.json 2015-03-19 14:43:21 +01:00
RobThree dfa6e65395 * WTF mistake in composer.json 2015-03-17 17:30:49 +01:00
RobThree d87072b0a9 * Uppercase terms 2015-03-17 14:46:24 +01:00
RobThree 39f3557f2d * Fixed composer.json typo
* Added composer.json to project
2015-03-17 14:41:16 +01:00
RobThree 64dd42b321 * Added composer file 2015-03-17 14:38:44 +01:00