Skip to content

Commit 7ed31eb

Browse files
authored
chore: Prepare 0.10.0 (#215)
1 parent 11e0998 commit 7ed31eb

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.10.0
4+
- feat: Add PHP 8.2 support by @ptondereau [#212]
5+
6+
[#212]: https://github.com/davidcole1340/ext-php-rs/pull/212
7+
38
## Version 0.9.0
49

510
- ci+docs: honour PHP_CONFIG & rebuild automatically when env vars change by @julius [#210]

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repository = "https://github.com/davidcole1340/ext-php-rs"
55
homepage = "https://github.com/davidcole1340/ext-php-rs"
66
license = "MIT OR Apache-2.0"
77
keywords = ["php", "ffi", "zend"]
8-
version = "0.9.0"
8+
version = "0.10.0"
99
authors = ["David Cole <david.cole1340@gmail.com>"]
1010
edition = "2018"
1111
categories = ["api-bindings"]
@@ -17,7 +17,7 @@ parking_lot = "0.12.1"
1717
cfg-if = "1.0"
1818
once_cell = "1.8.0"
1919
anyhow = { version = "1", optional = true }
20-
ext-php-rs-derive = { version = "=0.9.0", path = "./crates/macros" }
20+
ext-php-rs-derive = { version = "=0.10.0", path = "./crates/macros" }
2121

2222
[dev-dependencies]
2323
skeptic = "0.13"

crates/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Derive macros for ext-php-rs."
44
repository = "https://github.com/davidcole1340/ext-php-rs"
55
homepage = "https://github.com/davidcole1340/ext-php-rs"
66
license = "MIT OR Apache-2.0"
7-
version = "0.9.0"
7+
version = "0.10.0"
88
authors = ["David Cole <david.cole1340@gmail.com>"]
99
edition = "2018"
1010

crates/macros/src/impl_.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,9 @@ mod tests {
295295

296296
#[test]
297297
fn test_rename_php_methods() {
298-
for &(original, camel, snake) in &[("get_name", "getName", "get_name")] {
299-
assert_eq!(original, RenameRule::None.rename(original));
300-
assert_eq!(camel, RenameRule::Camel.rename(original));
301-
assert_eq!(snake, RenameRule::Snake.rename(original));
302-
}
298+
let &(original, camel, snake) = &("get_name", "getName", "get_name");
299+
assert_eq!(original, RenameRule::None.rename(original));
300+
assert_eq!(camel, RenameRule::Camel.rename(original));
301+
assert_eq!(snake, RenameRule::Snake.rename(original));
303302
}
304303
}

0 commit comments

Comments
 (0)