Comments (8)
It's broken in the latest point releases of Symfony 4.4, 5.3, 5.4, and 6.0. You can fix any of them by pinning to one version back.
from tinker.
6.0.3 is the one that has the bug, you/we need to wait the next point release
from tinker.
Seems like this is a breaking change in Symfony Console's v5.4.3 release. It works for me with v5.4.2. Can you post an issue report on their tracker?
from tinker.
done ⬆️ , btw, is symfony/console:^6.0
(introduced here laravel/framework@03fa6a2#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34R34 ) a required dependency? Meaning, can we mitigate the bug by using an alias dependency like "symfony/console": "5.4.2 as 6.0.2"
?
from tinker.
it's a required dependency of Laravel yeah
from tinker.
For people encountering the same issue, pinning symfony/console to 6.0.2 can be used a temporary workaround while a new 6.x release of symfony/console gets published.
from tinker.
It is still broken for me. Even unable to exit
from tinker.
Laravel v9.0.2
php v8.1.2
symfony/console v6.0.3
Everything is on their latest version.
symfony/symfony#45240
The PR was merged 12 days ago, still broken :(
from tinker.
If you explicitly require symfony/console v6.0.2 it will fix it. Otherwise you need to wait for the next release. I believe it'll be in a week or so?
from tinker.
Related Issues (20)
- Alias only models HOT 2
- Tinker lost colors HOT 18
- How is idea of making laravel tinker that detect the updates in code instantly? HOT 3
- Add ability to refresh Tinker session from within Tinker? HOT 3
- Contextual binding doesn't appear to work in tinker HOT 4
- Add migrate:install to white listed commands HOT 1
- assert always returns true HOT 2
- Can't open Tinker because of a bad $options argument to Symfony HOT 2
- Commands inside tinker incorrectly parsed HOT 1
- Issue registering StorageLinkCommand HOT 2
- PHP Error: Call to a member function make() on null HOT 5
- Closures not working when using the --execute argument. HOT 1
- stream_wrapper_register(): Protocol hoa:// is already defined in psy/psysh/src/Readline/Hoa/ProtocolWrapper.php:473 HOT 1
- Recoverable fatal error: Object of class Illuminate\Foundation\Application could not be converted to string in Command line code on line 8 HOT 1
- Parse error: Syntax error, unexpected ':' in vendor\psy\psysh\src\Exception\ParseErrorException.php on line 40. HOT 1
- The destructor is not executed HOT 2
- Loop only returns the last value if the curly brackets start on a new line HOT 5
- Output cleared and missing colors after upgrading to Laravel 9 HOT 4
- First time i open tinker, i have to dispatch a job twice to get it pushed to queue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinker.