Completed
Push — master ( 0db328...7ae14e )
by Terrence
21:23 queued 06:24
created

index-maint.php (3 issues)

Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
// error_reporting(E_ALL); ini_set('display_errors',1);
4
5
require_once __DIR__ . '/vendor/autoload.php';
6
7
use CILogon\Service\Util;
8
use CILogon\Service\Content;
9
10
Util::startPHPSession();
11
12
Content::printHeader('Site Maintenance');
13
Content::printCollapseBegin('maint', 'Site Maintenance', false);
0 ignored issues
show
The method printCollapseBegin() does not seem to exist on object<CILogon\Service\Content>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
14
15
echo '
16
    <div class="card-body px-5">
17
      <div class="row">
18
        <div class="col-1 align-self-center text-center">
19
        ', Content::getIcon('fa-exclamation-triangle fa-2x', 'gold'), '
0 ignored issues
show
The method getIcon() does not seem to exist on object<CILogon\Service\Content>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
20
        </div> <!-- end col-1 -->
21
        <div class="col">
22
          <div class="card-text my-2">
23
            The CILogon Service is currently undergoing maintenance.
24
            Please try again in a few minutes.
25
          </div> <!-- end card-text -->
26
          <div class="card-text my-2">
27
            Visit <a target="_blank"
28
            href="http://www.cilogon.org/service/outages">www.cilogon.org/service/outages</a> for more
29
          information.
30
          </div> <!-- end card-text -->
31
        </div> <!-- end col -->
32
       </div> <!-- end row -->
33
    </div> <!-- end card-body -->   
34
';
35
36
Content::printCollapseEnd();
0 ignored issues
show
The method printCollapseEnd() does not seem to exist on object<CILogon\Service\Content>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
37
Content::printFooter();
38