Skip to content

Commit cf4e121

Browse files
committed
wip
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent 46814f6 commit cf4e121

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

bindings/php/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "css_inline_php"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
ext-php-rs = "0.14"
12+
ext-php-rs = "0.14.1"
1313

1414
[dependencies.css-inline]
1515
path = "../../css-inline"

bindings/php/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ impl CssInliner {
2525
keep_style_tags = false,
2626
keep_link_tags = false,
2727
load_remote_stylesheets = true,
28+
base_url = None,
29+
extra_css = None,
2830
))]
2931
#[php(optional = inline_style_tags)]
3032
pub fn __construct(

bindings/php/tests/CssInlineTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public function testInlineFragment(): void
2626
public function testCSSInlinerWithExtraCss(): void
2727
{
2828
$inliner = new CSSInliner(
29-
base_url: null,
3029
extra_css: 'p { color: green; }'
3130
);
3231

0 commit comments

Comments
 (0)