Skip to content

Commit dece967

Browse files
authored
Merge pull request #293 from davidcole1340/revert-121-feat-integration-tests
Revert "Add integration tests"
2 parents b20e882 + 26dec9a commit dece967

26 files changed

+3
-379
lines changed

Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@ closure = []
4141
embed = []
4242

4343
[workspace]
44-
members = [
45-
"crates/macros",
46-
"crates/cli",
47-
"tests"
48-
]
44+
members = ["crates/macros", "crates/cli"]
4945

5046
[package.metadata.docs.rs]
5147
rustdoc-args = ["--cfg", "docs"]

guide/src/types/binary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub fn test_binary(input: Binary<u32>) -> Binary<u32> {
4545
```php
4646
<?php
4747

48-
$data = pack('L*', 1, 2, 3, 4, 5);
49-
$output = unpack('L*', test_binary($data));
48+
$data = pack('*L', [1, 2, 3, 4, 5]);
49+
$output = unpack('*L', test_binary($data));
5050
var_dump($output); // array(5) { [0] => 5, [1] => 4, [2] => 3, [3] => 2, [4] => 1 }
5151
```

src/closure.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ class_derives!(Closure);
171171
///
172172
/// This trait is automatically implemented on functions with up to 8
173173
/// parameters.
174-
#[allow(clippy::missing_safety_doc)]
175174
pub unsafe trait PhpClosure {
176175
/// Invokes the closure.
177176
fn invoke<'a>(&'a mut self, parser: ArgParser<'a, '_>, ret: &mut Zval);

tests/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

tests/src/integration/_utils.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/src/integration/array.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/src/integration/array.rs

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/src/integration/binary.php

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/src/integration/binary.rs

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/src/integration/bool.php

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)