Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Feb 19, 2024
1 parent a256513 commit add3623
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
51 changes: 27 additions & 24 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
---
name: Bug report
about: Create a report to help us improve
about: Create a report to help us improve laravel-settings
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
**✏️ Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**↪️ To Reproduce**
Provide us a pest test like this one which shows the problem:

**Expected behavior**
A clear and concise description of what you expected to happen.
```php

it('cannot save settings', function () {
resolve(SettingsMigrator::class)->inGroup('dummy_simple', function (SettingsBlueprint $blueprint) use ($description, $name): void {
$blueprint->add('name', $name);
$blueprint->add('description', $description);
});

$settings = resolve(DummySimpleSettings::class);
$settings->name = 'Nina Simone';
$settings->save();

**Screenshots**
If applicable, add screenshots to help explain your problem.
// Property is not changed (off course it is but for documentation purposes it is not)
dd($settings->all());
});
```

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Assertions aren't required, a simple dump or dd statement of what's going wrong is good enough 😄

**✅ Expected behavior**
A clear and concise description of what you expected to happen.

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**🖥️ Versions**

**Additional context**
Add any other context about the problem here.
Laravel:
Laravel settings:
PHP:
15 changes: 6 additions & 9 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Ask a Question
url: https://github.com/spatie/laravel-settings/discussions/new?category=q-a
about: Ask the community for help
- name: Feature Request
url: https://github.com/spatie/laravel-settings/discussions/new?category=ideas
about: Share ideas for new features
- name: Bug Report
url: https://github.com/spatie/laravel-settings/issues/new
about: Report a reproducable bug
- name: Ask a question
url: https://github.com/spatie/laravel-settings/discussions/new?category=q-a
about: Ask the community for help
- name: Request a feature
url: https://github.com/spatie/laravel-settings/discussions/new?category=ideas
about: Share ideas for new features

0 comments on commit add3623

Please sign in to comment.