Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions data/fixtures/scopes/java/type/type.return.scope

This file was deleted.

11 changes: 11 additions & 0 deletions data/fixtures/scopes/php/anonymousFunction.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
function() {};
---

[Content] =
[Removal] =
[Domain] = 1:0-1:13
>-------------<
1| function() {};

[Insertion delimiter] = "\n"
11 changes: 11 additions & 0 deletions data/fixtures/scopes/php/anonymousFunction2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
fn() => 0;
---

[Content] =
[Removal] =
[Domain] = 1:0-1:9
>---------<
1| fn() => 0;

[Insertion delimiter] = "\n"
12 changes: 12 additions & 0 deletions data/fixtures/scopes/php/argument/argument.catch.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php
try {}
catch (Exception $e) {}
---

[Content] =
[Removal] =
[Domain] = 2:7-2:19
>------------<
2| catch (Exception $e) {}

[Insertion delimiter] = " "
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
function($aaa, $bbb) {};
---

[Content] = 1:9-1:19
>----------<
1| function($aaa, $bbb) {};

[Domain] = 1:0-1:23
>-----------------------<
1| function($aaa, $bbb) {};
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
function(
$aaa,
$bbb
) {};
---

[#1 Content] =
[#1 Domain] = 2:4-2:8
>----<
2| $aaa,

[#1 Removal] = 2:4-3:4
>-----
2| $aaa,
3| $bbb
----<

[#1 Trailing delimiter] = 2:8-3:4
>-
2| $aaa,
3| $bbb
----<

[#1 Insertion delimiter] = ",\n"


[#2 Content] =
[#2 Domain] = 3:4-3:8
>----<
3| $bbb

[#2 Removal] = 2:8-3:8
>-
2| $aaa,
3| $bbb
--------<

[#2 Leading delimiter] = 2:8-3:4
>-
2| $aaa,
3| $bbb
----<

[#2 Insertion delimiter] = ",\n"
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
function($aaa, $bbb) {};
---

[#1 Content] =
[#1 Domain] = 1:9-1:13
>----<
1| function($aaa, $bbb) {};

[#1 Removal] = 1:9-1:15
>------<
1| function($aaa, $bbb) {};

[#1 Trailing delimiter] = 1:13-1:15
>--<
1| function($aaa, $bbb) {};

[#1 Insertion delimiter] = ", "


[#2 Content] =
[#2 Domain] = 1:15-1:19
>----<
1| function($aaa, $bbb) {};

[#2 Removal] = 1:13-1:19
>------<
1| function($aaa, $bbb) {};

[#2 Leading delimiter] = 1:13-1:15
>--<
1| function($aaa, $bbb) {};

[#2 Insertion delimiter] = ", "
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
new Foo();
---

[Content] =
[Removal] = 1:8-1:8
><
1| new Foo();

[Domain] = 1:0-1:9
>---------<
1| new Foo();

[Insertion delimiter] = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
new Foo(
aaa,
bbb
);
---

[Content] = 2:4-3:7
>----
2| aaa,
3| bbb
-------<

[Removal] = 1:8-4:0
>
1| new Foo(
2| aaa,
3| bbb
4| );
<

[Leading delimiter] = 2:0-2:4
>----<
2| aaa,

[Domain] = 1:0-4:1
>--------
1| new Foo(
2| aaa,
3| bbb
4| );
-<

[Insertion delimiter] = ",\n"
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
new Foo(aaa, bbb);
---

[Content] =
[Removal] = 1:8-1:16
>--------<
1| new Foo(aaa, bbb);

[Domain] = 1:0-1:17
>-----------------<
1| new Foo(aaa, bbb);

[Insertion delimiter] = ", "
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
foo();
---

[Content] =
[Removal] = 1:4-1:4
><
1| foo();

[Domain] = 1:0-1:5
>-----<
1| foo();

[Insertion delimiter] = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
$foo->bar();
---

[Content] =
[Removal] = 1:10-1:10
><
1| $foo->bar();

[Domain] = 1:0-1:11
>-----------<
1| $foo->bar();

[Insertion delimiter] = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
$foo->bar(
aaa,
bbb
);
---

[Content] = 2:4-3:7
>----
2| aaa,
3| bbb
-------<

[Removal] = 1:10-4:0
>
1| $foo->bar(
2| aaa,
3| bbb
4| );
<

[Leading delimiter] = 2:0-2:4
>----<
2| aaa,

[Domain] = 1:0-4:1
>----------
1| $foo->bar(
2| aaa,
3| bbb
4| );
-<

[Insertion delimiter] = ",\n"
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
$foo->bar(aaa, bbb);
---

[Content] =
[Removal] = 1:10-1:18
>--------<
1| $foo->bar(aaa, bbb);

[Domain] = 1:0-1:19
>-------------------<
1| $foo->bar(aaa, bbb);

[Insertion delimiter] = ", "
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
foo(
aaa,
bbb
);
---

[Content] = 2:4-3:7
>----
2| aaa,
3| bbb
-------<

[Removal] = 1:4-4:0
>
1| foo(
2| aaa,
3| bbb
4| );
<

[Leading delimiter] = 2:0-2:4
>----<
2| aaa,

[Domain] = 1:0-4:1
>----
1| foo(
2| aaa,
3| bbb
4| );
-<

[Insertion delimiter] = ",\n"
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
foo(aaa, bbb);
---

[Content] =
[Removal] = 1:4-1:12
>--------<
1| foo(aaa, bbb);

[Domain] = 1:0-1:13
>-------------<
1| foo(aaa, bbb);

[Insertion delimiter] = ", "
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
class Foo {
function __construct() {}
}
---

[Content] =
[Removal] = 2:25-2:25
><
2| function __construct() {}

[Domain] = 2:4-2:29
>-------------------------<
2| function __construct() {}

[Insertion delimiter] = ""
Loading
Loading