Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-orchestrator
Commits
8bcc7271
Verified
Commit
8bcc7271
authored
5 months ago
by
dockx thibault
Browse files
Options
Download
Patches
Plain Diff
Feat(Orchestrator) - fixing phpcs
fixing phpcs
parent
52d37304
dev
63-orchestrator-mail-controller-format-of-mail-text-and-signature-are-not-utf8-usage-of-accents-is
70-create-unitests-for-orchestrator
73-orchestrator-create-a-librabry-in-core-orchestrator
78-redesign-audit-class
79-redesign-mail
80-redesign-notifications-class
81-redesign-reminders-class
82-redesign-lifecycle-class
92-improve-config-file-to-be-better-align-with-standard-and-remov-some-ambiguities
main
revert-55863b23
1.1
2 merge requests
!72
Releasing Fusiondirectory Orchestrator 1.1
,
!61
Resolve "[Orchestrator] - New endpoint for userReminder allowing to send notification to use with token to extend their account longevity"
Pipeline
#30556
passed with stages
in 3 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/tasks/Reminder.php
+1
-1
plugins/tasks/Reminder.php
with
1 addition
and
1 deletion
+1
-1
plugins/tasks/Reminder.php
+
1
−
1
View file @
8bcc7271
...
@@ -570,7 +570,7 @@ class Reminder implements EndpointInterface
...
@@ -570,7 +570,7 @@ class Reminder implements EndpointInterface
private
function
retrieveDateFromSupannResourceState
(
array
$supannEtatDate
,
string
$resource
)
private
function
retrieveDateFromSupannResourceState
(
array
$supannEtatDate
,
string
$resource
)
{
{
$dateString
=
NULL
;
$dateString
=
NULL
;
$matchFound
=
null
;
// Variable to store the match if found
$matchFound
=
NULL
;
// Variable to store the match if found
// Create a regex pattern to match the exact resource at the beginning, followed by ":" or ":::".
// Create a regex pattern to match the exact resource at the beginning, followed by ":" or ":::".
$pattern
=
'/^'
.
preg_quote
(
$resource
,
'/'
)
.
'(:|:::)?.*/'
;
$pattern
=
'/^'
.
preg_quote
(
$resource
,
'/'
)
.
'(:|:::)?.*/'
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets