Passed
Push — master ( 74c333...132d77 )
by Mark
14:05 queued 12:38
created

helper.php (1 issue)

Labels
Severity
1
<?php
2
3
use dokuwiki\Extension\Plugin;
0 ignored issues
show
The type dokuwiki\Extension\Plugin was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6
// phpcs:disable PSR1.Files.SideEffects
7
/*
8
 * Copyright (c) 2012 Mark C. Prins <[email protected]>
9
 *
10
 * Permission to use, copy, modify, and distribute this software for any
11
 * purpose with or without fee is hereby granted, provided that the above
12
 * copyright notice and this permission notice appear in all copies.
13
 *
14
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
15
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
17
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
20
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21
 *
22
 */
23
24
require_once __DIR__ . '/vendor/autoload.php';
25
26
/**
27
 * DokuWiki Plugin geophp (Helper Component). This pseudohelper provides access to geoPHP.
28
 *
29
 * @author Mark Prins
30
 */
31
class helper_plugin_geophp extends Plugin
32
{
33
    final public function getMethods(): array
34
    {
35
        // no methods, just a loader.
36
        return [];
37
    }
38
}
39