File tree Expand file tree Collapse file tree 4 files changed +21
-28
lines changed Expand file tree Collapse file tree 4 files changed +21
-28
lines changed Original file line number Diff line number Diff line change 1616 }
1717 ],
1818 "require" : {
19- "php" : " ^7.3 || ^8.0"
19+ "php" : " ^8.2" ,
20+ "illuminate/support" : " ^12.0" ,
21+ "illuminate/database" : " ^12.0" ,
22+ "illuminate/contracts" : " ^12.0" ,
23+ "nesbot/carbon" : " ^3.0"
2024 },
2125 "require-dev" : {
22- "symfony/var-dumper" : " ^4.3 || ^5.1 || ^6.0" ,
23- "phpunit/phpunit" : " ^8.2 || ^9.3"
26+ "orchestra/testbench" : " ^10.0" ,
27+ "phpunit/phpunit" : " ^11.0" ,
28+ "symfony/var-dumper" : " ^7.0"
2429 },
2530 "autoload" : {
2631 "psr-4" : {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
44use Illuminate\Database\Schema\Blueprint;
55use Illuminate\Support\Facades\Schema;
66
7- class CreateWalletPlusTables extends Migration
7+ return new class extends Migration
88{
99 /**
1010 * Run the migrations.
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit bootstrap =" vendor/autoload.php"
3- backupGlobals =" false"
4- backupStaticAttributes =" false"
5- colors =" true"
6- verbose =" true"
7- convertErrorsToExceptions =" true"
8- convertNoticesToExceptions =" true"
9- convertWarningsToExceptions =" true"
10- processIsolation =" false"
11- stopOnFailure =" false" >
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
4+ bootstrap =" vendor/autoload.php"
5+ colors =" true"
6+ >
127 <testsuites >
13- <testsuite name =" CoreProc Test Suite" >
8+ <testsuite name =" Package Test Suite" >
149 <directory >tests</directory >
1510 </testsuite >
1611 </testsuites >
17- <filter >
18- <whitelist >
12+ <source >
13+ <include >
1914 <directory suffix =" .php" >src/</directory >
20- </whitelist >
21- </filter >
22- <logging >
23- <log type =" tap" target =" build/report.tap" />
24- <log type =" junit" target =" build/report.junit.xml" />
25- <log type =" coverage-html" target =" build/coverage" />
26- <log type =" coverage-text" target =" build/coverage.txt" />
27- <log type =" coverage-clover" target =" build/logs/clover.xml" />
28- </logging >
15+ </include >
16+ </source >
2917</phpunit >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class WalletPlusServiceProvider extends ServiceProvider
1111 /**
1212 * Bootstrap the application services.
1313 */
14- public function boot (Filesystem $ filesystem )
14+ public function boot (Filesystem $ filesystem ): void
1515 {
1616 $ this ->publishes ([
1717 __DIR__ . '/../database/migrations/create_wallet_plus_tables.php.stub ' =>
@@ -22,7 +22,7 @@ public function boot(Filesystem $filesystem)
2222 /**
2323 * Register the application services.
2424 */
25- public function register ()
25+ public function register (): void
2626 {
2727 // $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'wallet-plus');
2828 }
You can’t perform that action at this time.
0 commit comments