Skip to content

Commit e0f7e2b

Browse files
committed
Update PHPCS and header.
1 parent 64dc527 commit e0f7e2b

211 files changed

Lines changed: 488 additions & 492 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bbbeasy-backend/.php-cs-fixer.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
/**
4-
* BBBEasy open source platform - https://riadvice.tn/
4+
* BBBEasy open source platform - https://riadvice.com/
55
*
6-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
6+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
77
*
88
* This program is free software; you can redistribute it and/or modify it under the
99
* terms of the GNU Affero General Public License as published by the Free Software
@@ -21,9 +21,9 @@
2121
declare(strict_types=1);
2222

2323
$header = <<<'EOF'
24-
BBBEasy open source platform - https://riadvice.tn/
24+
BBBEasy open source platform - https://riadvice.com/
2525
26-
Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
26+
Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
2727
2828
This program is free software; you can redistribute it and/or modify it under the
2929
terms of the GNU Affero General Public License as published by the Free Software
@@ -50,7 +50,7 @@
5050
$config
5151
->setRiskyAllowed(true)
5252
->setRules([
53-
'@PHP82Migration' => true,
53+
'@PHP8x5Migration' => true,
5454
'@PhpCsFixer' => true,
5555
'@PhpCsFixer:risky' => true,
5656
'general_phpdoc_annotation_remove' => ['annotations' => ['expectedDeprecation']], // one should use PHPUnit built-in method instead

bbbeasy-backend/app/i18n/en-GB.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software

bbbeasy-backend/app/src/Acl/Access.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software

bbbeasy-backend/app/src/Actions/Account/ChangePassword.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software

bbbeasy-backend/app/src/Actions/Account/Edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software

bbbeasy-backend/app/src/Actions/Account/GetResetPasswordToken.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software

bbbeasy-backend/app/src/Actions/Account/Login.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software
@@ -83,8 +83,8 @@ private function login($email, $password, $errorMessage): void
8383

8484
$sessionInfos = [
8585
'accessToken' => $accessToken,
86-
'tokenType' => 'Bearer',
87-
'expiresAt' => $this->session->getTokenExpiresAt(),
86+
'tokenType' => 'Bearer',
87+
'expiresAt' => $this->session->getTokenExpiresAt(),
8888
];
8989

9090
$this->logger->info('User successfully logged in', ['email' => $email, 'session' => $sessionInfos]);

bbbeasy-backend/app/src/Actions/Account/Logout.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software

bbbeasy-backend/app/src/Actions/Account/Register.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software

bbbeasy-backend/app/src/Actions/Account/ResetPassword.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
declare(strict_types=1);
44

55
/*
6-
* BBBEasy open source platform - https://riadvice.tn/
6+
* BBBEasy open source platform - https://riadvice.com/
77
*
8-
* Copyright (c) 2022-2023 RIADVICE SUARL and by respective authors (see below).
8+
* Copyright (c) 2022-2026 RIADVICE SUARL and by respective authors (see below).
99
*
1010
* This program is free software; you can redistribute it and/or modify it under the
1111
* terms of the GNU Affero General Public License as published by the Free Software

0 commit comments

Comments
 (0)