File tree 4 files changed +11
-6
lines changed
4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
- ## [ v1.2.x (Unreleased)] ( https://github.com/onlime/laravel-sql-reporter/compare/v1.2.3 ...main )
3
+ ## [ v1.2.x (Unreleased)] ( https://github.com/onlime/laravel-sql-reporter/compare/v1.2.4 ...main )
4
4
5
- - ...
5
+ ## [ v1.2.4 (2024-10-15)] ( https://github.com/onlime/laravel-sql-reporter/compare/v1.2.3...v1.2.4 )
6
+
7
+ - Upgrade Pest to v3
6
8
7
9
## [ v1.2.3 (2024-09-12)] ( https://github.com/onlime/laravel-sql-reporter/compare/v1.2.2...v1.2.3 )
8
10
15
17
- The ` SqlQuery ` object is now a ` readonly ` class, and all the getter methods have been removed. ** This is a breaking change.**
16
18
- The ` SqlQuery ` object now includes the unprepared query and bindings.
17
19
- Added tests for the reporting mechanism and the ` QueryLogWritten ` event
18
- - Drops support for 8.1
20
+ - Drops support for PHP 8.1
19
21
20
22
## [ v1.2.1 (2024-03-14)] ( https://github.com/onlime/laravel-sql-reporter/compare/v1.2.0...v1.2.1 )
21
23
Original file line number Diff line number Diff line change 20
20
"illuminate/container" : " ^10.15|^11.0"
21
21
},
22
22
"require-dev" : {
23
- "laravel/pint" : " ^1.14 " ,
23
+ "laravel/pint" : " ^1.18 " ,
24
24
"mockery/mockery" : " ^1.0" ,
25
25
"orchestra/testbench" : " ^8.0|^9.0" ,
26
- "pestphp/pest" : " ^2.34 "
26
+ "pestphp/pest" : " ^3.0 "
27
27
},
28
28
"autoload" : {
29
29
"psr-4" : {
Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Console \Events \CommandFinished ;
6
6
use Illuminate \Foundation \Http \Events \RequestHandled ;
7
+ use Illuminate \Support \Facades \App ;
7
8
use Illuminate \Support \Facades \DB ;
8
9
use Illuminate \Support \Facades \Event ;
9
10
use Illuminate \Support \ServiceProvider ;
@@ -19,7 +20,7 @@ class SqlReporterServiceProvider extends ServiceProvider
19
20
*/
20
21
public function register (): void
21
22
{
22
- $ this ->config = $ this -> app -> make (Config::class);
23
+ $ this ->config = App:: make (Config::class);
23
24
24
25
$ this ->mergeConfigFrom ($ this ->configFileLocation (), 'sql-reporter ' );
25
26
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ protected function tearDown(): void
13
13
{
14
14
Mockery::close ();
15
15
Carbon::setTestNow ();
16
+
17
+ parent ::tearDown ();
16
18
}
17
19
18
20
protected function getPackageProviders ($ app )
You can’t perform that action at this time.
0 commit comments