File tree 2 files changed +47
-0
lines changed
2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Bug report
3
+ about : Create a report to help us improve icalendar-generator
4
+ title : ' '
5
+ labels : ' '
6
+ assignees : ' '
7
+ ---
8
+
9
+ ** ✏️ Describe the bug**
10
+ A clear and concise description of what the bug is.
11
+
12
+ ** ↪️ To Reproduce**
13
+ Provide us a test like this one which shows the problem:
14
+
15
+ ``` php
16
+
17
+ it('cannot create a calendar', function () {
18
+ $event = Event::create('Event')
19
+ ->startsAt(new DateTime('2021-01-01 12:00:00'))
20
+ ->endsAt(new DateTime('2021-01-01 13:00:00'))
21
+ ->description('Description')
22
+ ->address('Address')
23
+ ->url('https://www.spatie.be')
24
+ ->create();
25
+
26
+ // Calendar is not created (off course, since we've only created an event but for documentation purposes)
27
+ dd($event->get());
28
+ });
29
+ ```
30
+
31
+ Assertions aren't required, a simple dump or dd statement of what's going wrong is good enough 😄
32
+
33
+ ** ✅ Expected behavior**
34
+ A clear and concise description of what you expected to happen.
35
+
36
+ ** 🖥️ Versions**
37
+
38
+ iCalendar generator:
39
+ PHP:
Original file line number Diff line number Diff line change
1
+ blank_issues_enabled : false
2
+ contact_links :
3
+ - name : Ask a question
4
+ url : https://github.com/spatie/icalendar-generator/discussions/new?category=q-a
5
+ about : Ask the community for help
6
+ - name : Request a feature
7
+ url : https://github.com/spatie/icalendar-generator/discussions/new?category=ideas
8
+ about : Share ideas for new features
You can’t perform that action at this time.
0 commit comments