Skip to content

Commit c8cd680

Browse files
committed
Bump version
1 parent c79b5b7 commit c8cd680

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Auto-linking legal norms to dejure.org for Kirby v3",
44
"type": "kirby-plugin",
55
"license": "MIT",
6-
"version": "1.4.3",
6+
"version": "1.4.4",
77
"keywords": ["getkirby", "kirby", "kirby3", "kirby-plugin", "api", "legal", "dejure", "dejure.org"],
88
"scripts": {
99
"cs-dry": "php-cs-fixer fix --dry-run --diff",
@@ -19,7 +19,7 @@
1919
],
2020
"require": {
2121
"getkirby/composer-installer": "^1.1",
22-
"s1syphos/php-dejure": "^1.4.0"
22+
"s1syphos/php-dejure": "^1.5.0"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^2.14"

index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @package Kirby CMS
77
* @author S1SYPHOS <hello@twobrain.io>
88
* @link http://twobrain.io
9-
* @version 1.4.3
9+
* @version 1.4.4
1010
* @license MIT
1111
*/
1212

@@ -40,7 +40,7 @@ function dejureInit(): \S1SYPHOS\DejureOnline
4040
* @param string $ignore Judicial file numbers to be ignored
4141
* @return string Processed text if successful, otherwise unprocessed text
4242
*/
43-
function dejurify(string $text, string $ignore = null): string
43+
function dejurify(string $text, string $ignore = ''): string
4444
{
4545
# Create DJO instance
4646
$object = dejureInit();
@@ -66,7 +66,7 @@ function dejurify(string $text, string $ignore = null): string
6666
$object->setCacheDuration(option('kirby3-dejure.cacheDuration', 2));
6767

6868
# Fallback to global ignore
69-
if (!isset($ignore)) {
69+
if (empty($ignore)) {
7070
$ignore = option('kirby3-dejure.ignore', '');
7171
}
7272

vendor/composer/InstalledVersions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class InstalledVersions
2525
private static $installed = array (
2626
'root' =>
2727
array (
28-
'pretty_version' => '1.4.3',
29-
'version' => '1.4.3.0',
28+
'pretty_version' => '1.4.4',
29+
'version' => '1.4.4.0',
3030
'aliases' =>
3131
array (
3232
),
@@ -243,8 +243,8 @@ class InstalledVersions
243243
),
244244
's1syphos/kirby3-dejure' =>
245245
array (
246-
'pretty_version' => '1.4.3',
247-
'version' => '1.4.3.0',
246+
'pretty_version' => '1.4.4',
247+
'version' => '1.4.4.0',
248248
'aliases' =>
249249
array (
250250
),

vendor/composer/installed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php return array (
22
'root' =>
33
array (
4-
'pretty_version' => '1.4.3',
5-
'version' => '1.4.3.0',
4+
'pretty_version' => '1.4.4',
5+
'version' => '1.4.4.0',
66
'aliases' =>
77
array (
88
),
@@ -219,8 +219,8 @@
219219
),
220220
's1syphos/kirby3-dejure' =>
221221
array (
222-
'pretty_version' => '1.4.3',
223-
'version' => '1.4.3.0',
222+
'pretty_version' => '1.4.4',
223+
'version' => '1.4.4.0',
224224
'aliases' =>
225225
array (
226226
),

0 commit comments

Comments
 (0)