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
0c88be1f
Verified
Commit
0c88be1f
authored
5 months ago
by
dockx thibault
Browse files
Options
Download
Patches
Plain Diff
Feat(Orchestrator) - phpcs
phpcs
parent
b6355556
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
main
revert-55863b23
1.1
2 merge requests
!72
Releasing Fusiondirectory Orchestrator 1.1
,
!63
Resolve "[Orchestrator] - LifeCycle array supann is analyzed with static numbering"
Pipeline
#30534
passed with stages
in 1 minute and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/tasks/LifeCycle.php
+4
-4
plugins/tasks/LifeCycle.php
with
4 additions
and
4 deletions
+4
-4
plugins/tasks/LifeCycle.php
+
4
−
4
View file @
0c88be1f
...
...
@@ -235,10 +235,10 @@ class LifeCycle implements EndpointInterface
* @return string|null
* Note : Simple method to return the content between {} of a supannRessourceEtatDate.
*/
private
function
returnSupannResourceBetweenBrackets
(
string
$supannRessourceEtatDate
)
:
?string
private
function
returnSupannResourceBetweenBrackets
(
string
$supannRessourceEtatDate
)
:
?string
{
preg_match
(
'/\{(.*?)\}/'
,
$supannRessourceEtatDate
,
$matches
);
return
$matches
[
1
]
??
null
;
return
$matches
[
1
]
??
NULL
;
}
/**
...
...
@@ -248,10 +248,10 @@ class LifeCycle implements EndpointInterface
*/
private
function
getLifeCycleBehaviorFromMainTask
(
string
$taskDN
)
:
array
{
return
(
$this
->
gateway
->
getLdapTasks
(
'(objectClass=*)'
,
[
'fdTasksLifeCyclePreResource'
,
return
$this
->
gateway
->
getLdapTasks
(
'(objectClass=*)'
,
[
'fdTasksLifeCyclePreResource'
,
'fdTasksLifeCyclePreState'
,
'fdTasksLifeCyclePreSubState'
,
'fdTasksLifeCyclePostResource'
,
'fdTasksLifeCyclePostState'
,
'fdTasksLifeCyclePostSubState'
,
'fdTasksLifeCyclePostEndDate'
],
''
,
$taskDN
)
)
;
''
,
$taskDN
);
}
/**
...
...
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