Roboroads / laravel-tinker

Adds a way to write php and run it directly in Laravels' Artisan Tinker.
Apache License 2.0
204 stars 15 forks source link

[Bug]: Errors not being parsed #342

Closed rubikovakocka closed 3 months ago

rubikovakocka commented 3 months ago

Short bug description

When I run code with errors, it doesn't show them

Extended bug description

Tried changing the PHP interpreter, didn't help. I use shortcut ALT + T (Smart action) However, when I run with Play button (Run on 3v4l.org), it shows the errrors.

Your project is not the problem

How to reproduce?

  1. Type some code with errors.
  2. Run the Tinker.
  3. No output.

Expected behavior

Should print error.

Screenshots

image

IDE & Version

PhpStorm 2024.1.1

PHP Version

7.4.33

OS and version

Linux Ubuntu 22.04.4 LTS (Jammy Jellyfish)

Laravel Tinker plugin version

2.7.0

Interpreter type

Local

Laravel Version

v8.63.0

Tinker version

v2.6.1

Psysh version

v0.10.8

Additional Context

It used to work before, I had this issue for over a month.

Any help here would be appreciated, thank you!

Roboroads commented 3 months ago

Hi! I'm aware of the issue - I'm trying to contact JetBrains to help me figure this out - without much response yet.

Since this is a duplicate of https://github.com/Roboroads/laravel-tinker/issues/320 I will close this one.

rubikovakocka commented 3 months ago

Fingers crossed my friend :crossed_fingers: