Passed
Pull Request — master (#16)
by
unknown
16:14 queued 14:52
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 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
require_once __DIR__ . '/vendor/autoload.php';
22
23
/**
24
 * DokuWiki Plugin geophp (Helper Component). This pseudohelper provides access to geoPHP.
25
 *
26
 * @author Mark Prins
27
 */
28
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...
29
{
30
    final public function getMethods(): array
31
    {
32
        // no methods, just a loader.
33
        return array();
34
    }
35
}
36