Skip to content

Commit 72cb9e4

Browse files
Merge pull request #76 from TheDragonCode/1.x
Added missed imports of functions
2 parents a93365b + 8eef96d commit 72cb9e4

20 files changed

+59
-47
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<user>
3-
<name>Roberta Parker</name>
4-
<avatar>https://via.placeholder.com/640x480.png/000000?text=aut</avatar>
5-
<avatar>https://via.placeholder.com/640x480.png/008877?text=officia</avatar>
6-
<images name="non ipsum voluptatem">https://via.placeholder.com/640x480.png/00ccff?text=provident</images>
7-
<images name="et accusamus quod">https://via.placeholder.com/640x480.png/0022aa?text=quos</images>
3+
<name>Ilene Renner</name>
4+
<avatar>https://via.placeholder.com/640x480.png/0099bb?text=consequatur</avatar>
5+
<avatar>https://via.placeholder.com/640x480.png/00ee33?text=ut</avatar>
6+
<images name="consequatur ipsum fuga">https://via.placeholder.com/640x480.png/008866?text=magnam</images>
7+
<images name="a consequatur est">https://via.placeholder.com/640x480.png/0099aa?text=optio</images>
88
</user>
99
<user>
10-
<name>Lorenza Turcotte</name>
11-
<avatar>https://via.placeholder.com/640x480.png/002288?text=nam</avatar>
12-
<avatar>https://via.placeholder.com/640x480.png/009944?text=nesciunt</avatar>
13-
<images name="fuga eaque voluptate">https://via.placeholder.com/640x480.png/00cc66?text=velit</images>
14-
<images name="deserunt odit sapiente">https://via.placeholder.com/640x480.png/0066ff?text=error</images>
10+
<name>Dr. Richard Rogahn Jr.</name>
11+
<avatar>https://via.placeholder.com/640x480.png/00aa55?text=et</avatar>
12+
<avatar>https://via.placeholder.com/640x480.png/00aa00?text=consequuntur</avatar>
13+
<images name="veniam consequatur quia">https://via.placeholder.com/640x480.png/00ff88?text=asperiores</images>
14+
<images name="asperiores quia voluptas">https://via.placeholder.com/640x480.png/0011aa?text=unde</images>
1515
</user>

docs/snippets/advanced-directive-attributes-info.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
use DragonCode\LaravelFeed\Feeds\Info\FeedInfo;
88

9+
use function fake;
10+
911
class AttributesDirectiveFeedInfo extends FeedInfo
1012
{
1113
public function toArray(): array

docs/snippets/advanced-directive-attributes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
namespace App\Feeds;
66

7-
use App\Feeds\Info\AttributesDirectiveFeedInfo;
8-
use App\Feeds\Items\AttributesDirectiveFeedItem;
9-
use App\Models\User;
107
use DragonCode\LaravelFeed\Feeds\Feed;
118
use DragonCode\LaravelFeed\Feeds\Info\FeedInfo;
129
use DragonCode\LaravelFeed\Feeds\Items\FeedItem;
1310
use Illuminate\Database\Eloquent\Builder;
1411
use Illuminate\Database\Eloquent\Model;
12+
use App\Feeds\Info\AttributesDirectiveFeedInfo;
13+
use App\Feeds\Items\AttributesDirectiveFeedItem;
14+
use App\Models\User;
1515

1616
class AttributesDirectiveFeed extends Feed
1717
{
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<company since="2020"/>
2+
<company since="1983"/>
33
<url>https://example.com</url>
44

55
<user>
6-
<name>Carmela Marks</name>
7-
<contact email="dax.denesik@example.com" phone="555-000-1"/>
6+
<name>Grace Luettgen</name>
7+
<contact email="vdeckow@example.org" phone="555-000-1"/>
88
</user>
99
<user>
10-
<name>George DuBuque III</name>
11-
<contact email="jlubowitz@example.org" phone="555-000-2"/>
10+
<name>Stanton Dach DVM</name>
11+
<contact email="richmond.runolfsson@example.com" phone="555-000-2"/>
1212
</user>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<user>
3-
<name><![CDATA[<h1>Marianne Howell</h1>]]></name>
4-
<email>dino75@example.com</email>
3+
<name><![CDATA[<h1>Prof. Clifford Kirlin IV</h1>]]></name>
4+
<email>skiles.foster@example.net</email>
55
</user>
66
<user>
7-
<name><![CDATA[<h1>Imogene Pouros V</h1>]]></name>
8-
<email>jaunita.bernier@example.net</email>
7+
<name><![CDATA[<h1>Nelle Frami</h1>]]></name>
8+
<email>knader@example.com</email>
99
</user>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<user>
3-
<name>Casey Batz</name>
3+
<name>Palma Stokes</name>
44
<some>
55
<first>Foo</first>
6-
<second>elisha.hartmann@example.net</second>
6+
<second>roscoe51@example.org</second>
77
</some>
88
</user>
99
<user>
10-
<name>Mrs. Eloise Christiansen</name>
10+
<name>Geoffrey Treutel</name>
1111
<some>
1212
<first>Foo</first>
13-
<second>tzemlak@example.com</second>
13+
<second>heath.mosciski@example.org</second>
1414
</some>
1515
</user>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<user>
3-
<name>Prof. Lexi Doyle III</name>
4-
<contact type="email">graham92@example.com</contact>
3+
<name>Josiane Heller</name>
4+
<contact type="email">uriah41@example.com</contact>
55
</user>
66
<user>
7-
<name>Mr. Tyrese Sanford</name>
8-
<contact type="email">cbailey@example.org</contact>
7+
<name>Jermey Krajcik</name>
8+
<contact type="email">schowalter.triston@example.org</contact>
99
</user>

docs/snippets/advanced-element-attribute.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
namespace App\Feeds;
66

7-
use App\Feeds\Items\AttributeFeedItem;
8-
use App\Models\User;
97
use DragonCode\LaravelFeed\Feeds\Feed;
108
use DragonCode\LaravelFeed\Feeds\Items\FeedItem;
119
use Illuminate\Database\Eloquent\Builder;
1210
use Illuminate\Database\Eloquent\Model;
11+
use App\Feeds\Items\AttributeFeedItem;
12+
use App\Models\User;
1313

1414
class AttributeFeed extends Feed
1515
{
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<user created_at="2025-09-04 19:54:36">
2+
<user created_at="2025-09-04 20:05:40">
33
<id>1</id>
4-
<name>Betsy Streich DDS</name>
4+
<name>Jakayla Vandervort</name>
55
</user>
6-
<user created_at="2025-09-04 19:54:36">
6+
<user created_at="2025-09-04 20:05:40">
77
<id>2</id>
8-
<name>Dr. Jessy Hettinger</name>
8+
<name>Prof. Garrick Gottlieb</name>
99
</user>

docs/snippets/advanced-element-header-footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace App\Feeds;
66

7-
use App\Models\User;
87
use DragonCode\LaravelFeed\Feeds\Feed;
98
use Illuminate\Database\Eloquent\Builder;
9+
use App\Models\User;
1010

1111
class HeaderFooterFeed extends Feed
1212
{

0 commit comments

Comments
 (0)