Passed
Push — master ( 96b0d3...d55488 )
by Mark
01:27
created

helper.php (1 issue)

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