Skip to content

Commit 4d1d501

Browse files
committed
Merge branch 'release/0.4.0' into main
2 parents 303ac07 + ce256a4 commit 4d1d501

15 files changed

+39
-38
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github: lucasdotdev
1+
github: lucasdotvin

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com/lucasdotdev/laravel-database-queries-counter/discussions/new?category=q-a
4+
url: https://github.com/lucasdotvin/laravel-database-queries-counter/discussions/new?category=q-a
55
about: Ask the community for help
66
- name: Request a feature
7-
url: https://github.com/lucasdotdev/laravel-database-queries-counter/discussions/new?category=ideas
7+
url: https://github.com/lucasdotvin/laravel-database-queries-counter/discussions/new?category=ideas
88
about: Share ideas for new features
99
- name: Report a security issue
10-
url: https://github.com/lucasdotdev/laravel-database-queries-counter/security/policy
10+
url: https://github.com/lucasdotvin/laravel-database-queries-counter/security/policy
1111
about: Learn how to notify us for sensitive bugs
1212
- name: Report a bug
13-
url: https://github.com/lucasdotdev/laravel-database-queries-counter/issues/new
13+
url: https://github.com/lucasdotvin/laravel-database-queries-counter/issues/new
1414
about: Report a reproducable bug

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- name: Dependabot metadata
1515
id: metadata
16-
uses: dependabot/fetch-metadata@v1.1.1
16+
uses: dependabot/fetch-metadata@v1.3.1
1717
with:
1818
github-token: "${{ secrets.GITHUB_TOKEN }}"
1919

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212
with:
1313
ref: ${{ github.head_ref }}
1414

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: phpstan
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828

2929
- name: Setup PHP
3030
uses: shivammathur/setup-php@v2

.github/workflows/update-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414
with:
1515
ref: main
1616

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) lucasdotdev <lucasvinicius211@yahoo.com>
3+
Copyright (c) lucasdotvin <lucasvinicius211@yahoo.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Laravel Database Queries Counter
22

3-
[![Latest Version on Packagist](https://img.shields.io/packagist/v/lucasdotdev/laravel-database-queries-counter.svg?style=flat-square)](https://packagist.org/packages/lucasdotdev/laravel-database-queries-counter)
4-
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/lucasdotdev/laravel-database-queries-counter/run-tests?label=tests)](https://github.com/lucasdotdev/laravel-database-queries-counter/actions?query=workflow%3Arun-tests+branch%3Amain)
5-
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/lucasdotdev/laravel-database-queries-counter/Check%20&%20fix%20styling?label=code%20style)](https://github.com/lucasdotdev/laravel-database-queries-counter/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
6-
[![Total Downloads](https://img.shields.io/packagist/dt/lucasdotdev/laravel-database-queries-counter.svg?style=flat-square)](https://packagist.org/packages/lucasdotdev/laravel-database-queries-counter)
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/lucasdotvin/laravel-database-queries-counter.svg?style=flat-square)](https://packagist.org/packages/lucasdotvin/laravel-database-queries-counter)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/lucasdotvin/laravel-database-queries-counter/run-tests?label=tests)](https://github.com/lucasdotvin/laravel-database-queries-counter/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/lucasdotvin/laravel-database-queries-counter/Check%20&%20fix%20styling?label=code%20style)](https://github.com/lucasdotvin/laravel-database-queries-counter/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
6+
[![Total Downloads](https://img.shields.io/packagist/dt/lucasdotvin/laravel-database-queries-counter.svg?style=flat-square)](https://packagist.org/packages/lucasdotvin/laravel-database-queries-counter)
77

88
This package provides a simple way to check how many queries a test suite has performed.
99

@@ -14,7 +14,7 @@ This package provides a simple way to check how many queries a test suite has pe
1414
You can install the package via composer:
1515

1616
```bash
17-
composer require lucasdotdev/laravel-database-queries-counter --dev
17+
composer require lucasdotvin/laravel-database-queries-counter --dev
1818
```
1919

2020
You can publish the traits if you want to extend them:
@@ -34,7 +34,7 @@ namespace Tests\Feature;
3434

3535
use App\Models\Post;
3636
use App\Models\User;
37-
use LucasDotDev\DBQueriesCounter\Traits\CountsQueries;
37+
use LucasDotVin\DBQueriesCounter\Traits\CountsQueries;
3838
use Tests\TestCase;
3939

4040
class PostTest extends TestCase
@@ -97,7 +97,7 @@ Please review [our security policy](../../security/policy) on how to report secu
9797

9898
## Credits
9999

100-
- [Lucas Vinicius](https://github.com/lucasdotdev)
100+
- [Lucas Vinicius](https://github.com/lucasdotvin)
101101
- [All Contributors](../../contributors)
102102

103103
## License

composer.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "lucasdotdev/laravel-database-queries-counter",
2+
"name": "lucasdotvin/laravel-database-queries-counter",
33
"description": "This package provides a simple trait to check how many queries a test suite has performed.",
44
"keywords": [
5-
"lucasdotdev",
5+
"lucasdotvin",
66
"laravel",
77
"testing",
88
"database",
99
"laravel-database-queries-counter"
1010
],
11-
"homepage": "https://github.com/lucasdotdev/laravel-database-queries-counter",
11+
"homepage": "https://github.com/lucasdotvin/laravel-database-queries-counter",
1212
"license": "MIT",
1313
"authors": [
1414
{
@@ -18,29 +18,30 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^8.0",
22-
"illuminate/contracts": "^8.73"
21+
"php": "^8.1",
22+
"illuminate/contracts": "^9.0"
2323
},
2424
"require-dev": {
25-
"nunomaduro/collision": "^5.10",
26-
"nunomaduro/larastan": "^1.0",
27-
"orchestra/testbench": "^6.22",
25+
"nunomaduro/collision": "^6.0",
26+
"nunomaduro/larastan": "^2.0.1",
27+
"orchestra/testbench": "^7.0",
2828
"pestphp/pest": "^1.21",
2929
"pestphp/pest-plugin-laravel": "^1.1",
3030
"phpstan/extension-installer": "^1.1",
3131
"phpstan/phpstan-deprecation-rules": "^1.0",
3232
"phpstan/phpstan-phpunit": "^1.0",
33-
"phpunit/phpunit": "^9.5"
33+
"phpunit/phpunit": "^9.5",
34+
"spatie/laravel-ray": "^1.26"
3435
},
3536
"autoload": {
3637
"psr-4": {
37-
"LucasDotDev\\DBQueriesCounter\\": "src",
38-
"LucasDotDev\\DBQueriesCounter\\Database\\Factories\\": "database/factories"
38+
"LucasDotVin\\DBQueriesCounter\\": "src",
39+
"LucasDotVin\\DBQueriesCounter\\Database\\Factories\\": "database/factories"
3940
}
4041
},
4142
"autoload-dev": {
4243
"psr-4": {
43-
"LucasDotDev\\DBQueriesCounter\\Tests\\": "tests"
44+
"LucasDotVin\\DBQueriesCounter\\Tests\\": "tests"
4445
}
4546
},
4647
"scripts": {
@@ -58,7 +59,7 @@
5859
"extra": {
5960
"laravel": {
6061
"providers": [
61-
"LucasDotDev\\DBQueriesCounter\\DBQueriesCounterServiceProvider"
62+
"LucasDotVin\\DBQueriesCounter\\DBQueriesCounterServiceProvider"
6263
],
6364
"aliases": {}
6465
}

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
verbose="true"
2020
>
2121
<testsuites>
22-
<testsuite name="LucasDotDev Test Suite">
22+
<testsuite name="LucasDotVin Test Suite">
2323
<directory>tests</directory>
2424
</testsuite>
2525
</testsuites>

src/DBQueriesCounterServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace LucasDotDev\DBQueriesCounter;
3+
namespace LucasDotVin\DBQueriesCounter;
44

55
use Illuminate\Support\ServiceProvider;
66

src/Traits/CountsQueries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace LucasDotDev\DBQueriesCounter\Traits;
3+
namespace LucasDotVin\DBQueriesCounter\Traits;
44

55
use Illuminate\Support\Facades\DB;
66

tests/Pest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22

3-
use LucasDotDev\DBQueriesCounter\Tests\TestCase;
3+
use LucasDotVin\DBQueriesCounter\Tests\TestCase;
44

55
uses(TestCase::class)->in(__DIR__);

tests/TestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace LucasDotDev\DBQueriesCounter\Tests;
3+
namespace LucasDotVin\DBQueriesCounter\Tests;
44

5-
use LucasDotDev\DBQueriesCounter\DBQueriesCounterServiceProvider;
6-
use LucasDotDev\DBQueriesCounter\Traits\CountsQueries;
5+
use LucasDotVin\DBQueriesCounter\DBQueriesCounterServiceProvider;
6+
use LucasDotVin\DBQueriesCounter\Traits\CountsQueries;
77
use Orchestra\Testbench\TestCase as Orchestra;
88

99
class TestCase extends Orchestra

0 commit comments

Comments
 (0)