File tree Expand file tree Collapse file tree 3 files changed +2
-16
lines changed
Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 1111 exit (1 );
1212}
1313
14- function dd (...$ args )
15- {
16- if (count ($ args ) === 1 ) {
17- return $ args [0 ];
18- }
19-
20- return $ args ;
21- }
22-
2314$ loader = Loader::load ($ arguments [1 ]);
2415
2516if ($ loader === null ) {
Original file line number Diff line number Diff line change @@ -25,10 +25,7 @@ public function init(): void
2525 ]);
2626 $ config ->setVerbosity (Configuration::VERBOSITY_QUIET );
2727 $ config ->setHistoryFile (defined ('PHP_WINDOWS_VERSION_BUILD ' ) ? 'null ' : '/dev/null ' );
28- $ config ->setRawOutput (false );
29- if (getenv ('KUBERNETES_SERVICE_HOST ' ) || defined ('PHP_WINDOWS_VERSION_BUILD ' )) {
30- $ config ->setUsePcntl (false );
31- }
28+ $ config ->setUsePcntl (false );
3229
3330 if (class_exists ('Illuminate\Support\Collection ' ) && class_exists ('Laravel\Tinker\TinkerCaster ' )) {
3431 $ config ->getPresenter ()->addCasters ([
Original file line number Diff line number Diff line change @@ -31,9 +31,7 @@ public function execute(string $phpCode): string
3131
3232 $ this ->shell ->addInput ($ phpCode );
3333
34- if (defined ('PHP_WINDOWS_VERSION_BUILD ' )) {
35- $ this ->shell ->addInput ("\necho('TWEAKPHP_END'); exit(); " );
36- }
34+ $ this ->shell ->addInput ("\necho('TWEAKPHP_END'); exit(); " );
3735
3836 $ closure = new ExecutionLoopClosure ($ this ->shell );
3937
You can’t perform that action at this time.
0 commit comments