Skip to content

Commit

Permalink
feat: kirby 3.8 deprectations removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Oct 15, 2022
1 parent 9aa32e0 commit 6ec930f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
3 changes: 2 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
namespace mauricerenck\IndieConnector;

use Kirby;
use \Response;
use Kirby\Http\Response;


@require_once __DIR__ . '/lib/indieweb-comments.php';
@include_once __DIR__ . '/vendor/autoload.php';
Expand Down
1 change: 0 additions & 1 deletion internal/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace mauricerenck\IndieConnector;

use Kirby\Http\Server;
use Kirby\Data\yaml;

return [
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/sendWebmentionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function testShouldSendWebmention()
$page = page('phpunit');

$sendWebmention = new WebmentionSender();
$result = $sendWebmention->send('https://maurice-renck.de/de/blog/internet-helden-karl-boris-und-kimble', $page->url());
$result = $sendWebmention->send('https://maurice-renck.de/de/blog/2003/internet-helden-karl-boris-und-kimble', $page->url()); // FIXME
$this->assertTrue($result);
}

Expand Down
1 change: 0 additions & 1 deletion utils/receiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Kirby\Toolkit\V;
use Kirby\Toolkit\Str;
use Kirby\Http\Remote;
use Kirby\Http\Server;
use json_decode;
use json_encode;
use is_null;
Expand Down
1 change: 0 additions & 1 deletion utils/stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Kirby\Http\Url;
use Kirby\Toolkit\V;
use Kirby\Http\Remote;
use Kirby\Http\Server;
use Kirby\Toolkit\Str;

class WebmentionStats
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php return array(
'root' => array(
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'pretty_version' => '1.4.2',
'version' => '1.4.2.0',
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -29,8 +29,8 @@
'dev_requirement' => false,
),
'mauricerenck/indieconnector' => array(
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'pretty_version' => '1.4.2',
'version' => '1.4.2.0',
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down

0 comments on commit 6ec930f

Please sign in to comment.