1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 07:04:03 +00:00

Add more tenant key generators (#36)

* Add RandomHexGenerator, create new namespace

* phpstan ignore

* add base64 generator

* add note about base64 being case sensitive

* docblock updates

* replace old UUIDGenerator with a class that throws an exception

* replace base64 generator with a random string generator

* Fix namespace

* Fix code style (php-cs-fixer)

* add test for the deprecated uuid generator

* update comments

---------

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
This commit is contained in:
Samuel Štancl 2024-03-28 03:17:55 +01:00 committed by GitHub
parent bf1ba69fe3
commit dc430666ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 126 additions and 9 deletions

View file

@ -51,6 +51,7 @@ parameters:
message: '#string\|false#'
paths:
- src/Controllers/TenantAssetController.php
- '#expects int<1, max>, int given#'
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false # later we may want to enable this