File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ function get_final_release($branch) {
282282 return null ;
283283}
284284
285+ #[Deprecated('Use Branches::getBranchBugsEOLDate ' )]
285286function get_branch_bug_eol_date ($ branch ): ?DateTime
286287{
287288 if (isset ($ GLOBALS ['BRANCHES ' ][$ branch ]['stable ' ])) {
@@ -301,6 +302,7 @@ function get_branch_bug_eol_date($branch): ?DateTime
301302 return $ date ?->setDate($ date ->format ('Y ' ), 12 , 31 );
302303}
303304
305+ #[Deprecated('Use Branches::getBranchSecurityEOLDate ' )]
304306function get_branch_security_eol_date ($ branch ): ?DateTime
305307{
306308 if (isset ($ GLOBALS ['BRANCHES ' ][$ branch ]['security ' ])) {
@@ -328,13 +330,15 @@ function get_branch_security_eol_date($branch): ?DateTime
328330 return $ date ?->setDate($ date ->format ('Y ' ), 12 , 31 );
329331}
330332
333+ #[Deprecated('Use Branches::getBranchReleaseDate ' )]
331334function get_branch_release_date ($ branch ): ?DateTime
332335{
333336 $ initial = get_initial_release ($ branch );
334337
335338 return isset ($ initial ['date ' ]) ? new DateTime ($ initial ['date ' ]) : null ;
336339}
337340
341+ #[Deprecated('Use Branches::getBranchSupportState ' )]
338342function get_branch_support_state ($ branch ) {
339343 $ initial = get_branch_release_date ($ branch );
340344 $ bug = get_branch_bug_eol_date ($ branch );
You can’t perform that action at this time.
0 commit comments