Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump to php 8.3 #417

Merged
merged 3 commits into from
Feb 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed phpcs issue
bidi47 committed Feb 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a24a3426725417713109f8318bd9b0d53c250945
2 changes: 1 addition & 1 deletion src/User/src/Controller/UserController.php
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@
/** @var AuthenticationAdapter $adapter */
$adapter = $this->authenticationService->getAdapter();
/** @var array $data */
$data = $form->getData();
$data = $form->getData();

Check warning on line 80 in src/User/src/Controller/UserController.php

Codecov / codecov/patch

src/User/src/Controller/UserController.php#L80

Added line #L80 was not covered by tests
$adapter->setIdentity($data['identity'])->setCredential($data['password']);
$authResult = $this->authenticationService->authenticate();
if ($authResult->isValid()) {

Unchanged files with check annotations Beta

}
/** @var array $data */
$data = $form->getData();
$user = $this->userService->findOneBy(['identity' => $data['identity']]);

Check warning on line 139 in src/User/src/Controller/AccountController.php

Codecov / codecov/patch

src/User/src/Controller/AccountController.php#L138-L139

Added lines #L138 - L139 were not covered by tests
if (! $user instanceof User) {
$this->messenger->addInfo(Message::MAIL_SENT_RESET_PASSWORD, 'request-reset');
return new RedirectResponse($this->getRequest()->getUri());
}
/** @var array $data */
$data = $form->getData();

Check warning on line 207 in src/User/src/Controller/AccountController.php

Codecov / codecov/patch

src/User/src/Controller/AccountController.php#L207

Added line #L207 was not covered by tests
try {
$this->userService->updateUser(
$resetPasswordRequest->markAsCompleted()->getUser(),
$data

Check warning on line 211 in src/User/src/Controller/AccountController.php

Codecov / codecov/patch

src/User/src/Controller/AccountController.php#L211

Added line #L211 was not covered by tests
);
$this->debugBar->stackData();
} catch (Exception $exception) {