Skip to content

Commit 37210d2

Browse files
committed
Updated CONTRIBUTING link, added support email for reporting security bugs, and added a support section to the README.
1 parent f378269 commit 37210d2

File tree

5 files changed

+9
-23
lines changed

5 files changed

+9
-23
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed re
136136

137137
## Contributing
138138

139-
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
139+
Please see [CONTRIBUTING](https://github.com/fuelviews/.github/blob/main/CONTRIBUTING.md) for details.
140140

141141
## Security Vulnerabilities
142142

143-
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
143+
If you've found a bug regarding security please mail [[email protected]](mailto:[email protected]) instead of using the issue tracker.
144144

145145
## Credits
146146

@@ -149,6 +149,10 @@ Please review [our security policy](../../security/policy) on how to report secu
149149
- [Spatie](https://github.com/spatie)
150150
- [All Contributors](../../contributors)
151151

152+
## Support us
153+
154+
Spatie is a web development agency based in Portland, Maine. You'll find an overview of all our projects [on our website](https://fuelviews.com).
155+
152156
## License
153157

154158
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

src/Commands/InstallCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function handle(): int
3838
)) {
3939
$this->call('vendor:publish', [
4040
'--provider' => 'Fuelviews\\Sitemap\\SitemapServiceProvider',
41-
'--tag' => 'config',
41+
'--tag' => 'sitemap-config',
4242
]);
4343
}
4444

src/SitemapServiceProvider.php

-6
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ public function configurePackage(Package $package): void
3939
*/
4040
public function PackageRegistered()
4141
{
42-
/*if ($this->app->runningInConsole()) {
43-
$this->publishes([
44-
__DIR__.'/../config/fv-sitemap.php' => config_path('fv-sitemap.php'),
45-
], 'laravel-sitemap-config');
46-
}*/
47-
4842
Route::get('/{filename}', [SitemapController::class, 'index'])
4943
->where('filename', '.*\.xml$');
5044
}

tests/ExampleTest.php

-9
This file was deleted.

tests/TestCase.php

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,18 @@
22

33
namespace Fuelviews\Sitemap\Tests;
44

5-
use Fuelviews\Sitemap\SitemapServiceProvider;
65
use Orchestra\Testbench\TestCase as Orchestra;
76

87
class TestCase extends Orchestra
98
{
109
protected function getPackageProviders($app)
1110
{
12-
return [
13-
SitemapServiceProvider::class,
14-
];
11+
//
1512
}
1613

1714
protected function getEnvironmentSetUp($app)
1815
{
1916
// Set environment values required for your tests
20-
$app['config']->set('app.url', 'https://localhost');
17+
2118
}
2219
}

0 commit comments

Comments
 (0)