Skip to content

Commit f6d3559

Browse files
committed
some automatic cleanup
1 parent 9094886 commit f6d3559

10 files changed

+354
-9
lines changed

Diff for: .gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.* export-ignore
2+
/_test export-ignore

Diff for: Grok.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct($reference, $baseUrl = 'https://codesearch.dokuwiki.
2626
*/
2727
public function getSearchUrl()
2828
{
29-
if($this->def === '' && $this->path === '') return $this->baseUrl;
29+
if ($this->def === '' && $this->path === '') return $this->baseUrl;
3030

3131
$url = $this->baseUrl . '/search?';
3232
$param = [
@@ -62,7 +62,7 @@ public function getAPIUrl()
6262
*/
6363
public function getResultCount()
6464
{
65-
if($this->def === '' && $this->path === '') return 0;
65+
if ($this->def === '' && $this->path === '') return 0;
6666

6767
$http = new DokuHTTPClient();
6868
$http->timeout = 5;

Diff for: Heuristics.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected function checkNamespace($reference)
9090
$reference = array_pop($parts); // last part may be more than a class
9191

9292
// our classes are in inc
93-
if($parts[0] == 'dokuwiki') $parts[0] = 'inc';
93+
if ($parts[0] == 'dokuwiki') $parts[0] = 'inc';
9494

9595
$this->path = join(' ', $parts);
9696

Diff for: LICENSE

+339
Large diffs are not rendered by default.

Diff for: _test/GrokTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class GrokTest extends DokuWikiTest
1616
{
1717
/**
18-
* @return \string[][]
18+
* @return string[][]
1919
* @see testResultCount
2020
*/
2121
public function provideData()

Diff for: _test/HeuristicsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class HeuristicsTest extends DokuWikiTest
1515
{
1616
/**
17-
* @return \string[][]
17+
* @return string[][]
1818
* @see testHeuristics
1919
*/
2020
public function provideData()

Diff for: conf/default.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
* @author Andreas Gohr <[email protected]>
66
*/
77

8-
$conf['grokbaseurl'] = 'https://codesearch.dokuwiki.org';
8+
$conf['grokbaseurl'] = 'https://codesearch.dokuwiki.org';
99

Diff for: deleted.files

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This is a list of files that were present in previous releases
2+
# but were removed later. They should not exist in your installation.
3+
phpxref-0.7-javascriptfix.patch
4+
style.css
5+
xref.png

Diff for: style.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.dokuwiki a.plugin_xref {
2-
background-image: url(xref.svg);
2+
background-image: url(xref.svg);
33
}
44

55
.dokuwiki a.plugin_xref_err {
6-
border-bottom: dashed 1px __missing__ !important;
6+
border-bottom: dashed 1px __missing__ !important;
77
}
88

Diff for: syntax.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
77
* @author Andreas Gohr <[email protected]>
88
*/
9-
109
class syntax_plugin_xref extends DokuWiki_Syntax_Plugin
1110
{
1211

0 commit comments

Comments
 (0)