-
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a256513
commit add3623
Showing
2 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |