Completed
Push — FVSv2 ( 9a40f1...ab906d )
by Patrick
01:31
created

plugin.php (1 issue)

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
class FVSPlugin extends SecurePlugin
4
{
5
    function get_secure_menu_entries($page, $user)
6
    {
7
        $ret = array(
8
          'Volunteer' => $page->secure_root.'fvs/index.php'
9
        );
10
        return $ret;
11
    }
12
13
    function get_plugin_entry_point()
14
    {
15
        return array(
16
          'name'=>'Volunteer',
17
          'link' => 'fvs/index.php'
18
        );
19
    }
20
}
21
*/
22
?>
0 ignored issues
show
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...
23