File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
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 )
44
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
68
79## [ v1.2.3 (2024-09-12)] ( https://github.com/onlime/laravel-sql-reporter/compare/v1.2.2...v1.2.3 )
810
1517- The ` SqlQuery ` object is now a ` readonly ` class, and all the getter methods have been removed. ** This is a breaking change.**
1618- The ` SqlQuery ` object now includes the unprepared query and bindings.
1719- Added tests for the reporting mechanism and the ` QueryLogWritten ` event
18- - Drops support for 8.1
20+ - Drops support for PHP 8.1
1921
2022## [ v1.2.1 (2024-03-14)] ( https://github.com/onlime/laravel-sql-reporter/compare/v1.2.0...v1.2.1 )
2123
Original file line number Diff line number Diff line change 2020 "illuminate/container" : " ^10.15|^11.0"
2121 },
2222 "require-dev" : {
23- "laravel/pint" : " ^1.14 " ,
23+ "laravel/pint" : " ^1.18 " ,
2424 "mockery/mockery" : " ^1.0" ,
2525 "orchestra/testbench" : " ^8.0|^9.0" ,
26- "pestphp/pest" : " ^2.34 "
26+ "pestphp/pest" : " ^3.0 "
2727 },
2828 "autoload" : {
2929 "psr-4" : {
Original file line number Diff line number Diff line change 44
55use Illuminate \Console \Events \CommandFinished ;
66use Illuminate \Foundation \Http \Events \RequestHandled ;
7+ use Illuminate \Support \Facades \App ;
78use Illuminate \Support \Facades \DB ;
89use Illuminate \Support \Facades \Event ;
910use Illuminate \Support \ServiceProvider ;
@@ -19,7 +20,7 @@ class SqlReporterServiceProvider extends ServiceProvider
1920 */
2021 public function register (): void
2122 {
22- $ this ->config = $ this -> app -> make (Config::class);
23+ $ this ->config = App:: make (Config::class);
2324
2425 $ this ->mergeConfigFrom ($ this ->configFileLocation (), 'sql-reporter ' );
2526
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ protected function tearDown(): void
1313 {
1414 Mockery::close ();
1515 Carbon::setTestNow ();
16+
17+ parent ::tearDown ();
1618 }
1719
1820 protected function getPackageProviders ($ app )
You can’t perform that action at this time.
0 commit comments