stable

Clone or download

Read-only

Enable strict typing on the Tuleap\User\AccessKey namespace

No functional changes. Changes have mainly been automated with Psalter [0]. Part of story #14023: access Git repositories with a personal access key [0] https://psalm.dev/docs/manipulating_code/fixing/ Change-Id: Ia7db1cc88308067d189b71e2d97d0729ee25fde9

Modified Files

Name
M src/common/User/AccessKey/AccessKeyAlreadyExpiredException.php +2 −0 Go to diff View file
M src/common/User/AccessKey/AccessKeyCreationController.php +3 −1 Go to diff View file
M src/common/User/AccessKey/AccessKeyCreationNotifier.php +4 −2 Go to diff View file
M src/common/User/AccessKey/AccessKeyCreator.php +4 −2 Go to diff View file
M src/common/User/AccessKey/AccessKeyDAO.php +7 −11 Go to diff View file
M src/common/User/AccessKey/AccessKeyException.php +2 −0 Go to diff View file
M src/common/User/AccessKey/AccessKeyMatchingUnknownUserException.php +3 −1 Go to diff View file
M src/common/User/AccessKey/AccessKeyMetadata.php +11 −24 Go to diff View file
M src/common/User/AccessKey/AccessKeyMetadataPresenter.php +2 −0 Go to diff View file
M src/common/User/AccessKey/AccessKeyMetadataRetriever.php +3 −1 Go to diff View file
M src/common/User/AccessKey/AccessKeyNotFoundException.php +3 −1 Go to diff View file
M src/common/User/AccessKey/AccessKeyRevocationController.php +2 −0 Go to diff View file
M src/common/User/AccessKey/AccessKeyRevoker.php +5 −3 Go to diff View file
M src/common/User/AccessKey/AccessKeySerializer.php +5 −3 Go to diff View file
M src/common/User/AccessKey/AccessKeyVerifier.php +4 −3 Go to diff View file
M src/common/User/AccessKey/ExpiredAccessKeyException.php +2 −0 Go to diff View file
M src/common/User/AccessKey/InvalidAccessKeyException.php +2 −0 Go to diff View file
M src/common/User/AccessKey/LastAccessKeyIdentifierStore.php +5 −3 Go to diff View file
M src/common/User/AccessKey/REST/AccessKeyPOSTRepresentation.php +2 −0 Go to diff View file
M src/common/User/AccessKey/REST/AccessKeyResource.php +5 −3 Go to diff View file
M src/common/User/AccessKey/REST/UserAccessKeyCreationRepresentation.php +3 −1 Go to diff View file
M src/common/User/AccessKey/REST/UserAccessKeyRepresentation.php +3 −1 Go to diff View file
M tests/phpunit/common/User/AccessKey/AccessKeyCreatorTest.php +5 −3 Go to diff View file
M tests/phpunit/common/User/AccessKey/AccessKeySerializerTest.php +5 −3 Go to diff View file
M tests/phpunit/common/User/AccessKey/AccessKeyVerifierTest.php +9 −7 Go to diff View file
M tests/phpunit/common/User/AccessKey/LastAccessKeyIdentifierStoreTest.php +11 −3 Go to diff View file