Passed
Pull Request — master (#14)
by Mark
01:35
created

helper.php (1 issue)

Labels
Severity
1
<?php
2
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
3
// phpcs:disable PSR1.Files.SideEffects
4
5
/*
6
 * Copyright (c) 2012 Mark C. Prins <[email protected]>
7
 *
8
 * Permission to use, copy, modify, and distribute this software for any
9
 * purpose with or without fee is hereby granted, provided that the above
10
 * copyright notice and this permission notice appear in all copies.
11
 *
12
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19
 *
20
 */
21
22
require_once __DIR__ . '/vendor/autoload.php';
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
    final public function getMethods(): array
32
    {
33
        // no methods, just a loader.
34
        return array();
35
    }
36
}
37