Comments (4)
Hmm, that looks interesting. I'm not familiar with ddev
aside from knowing it's a docker based dev environment. It sounds like it's using either an outdated || "too new" version of nikic/php-parser
.
I'm not able to reproduce this locally on a fresh symfony --webapp
against PHP 8.3. Can you create a https://gist.github.com/ containing your composer.lock
file and the require
&& require-dev
sections of your composer.json
After creating the gist of your composer.lock
&& composer.json
try the following:
- run
composer outdated
and show the output here. - run
composer upgrade -W
to make sure you're on the latest and greatest versions - run
composer dump-autoload
&&bin/console cache:clear
and see if you're getting the same error with the make:entity
from maker-bundle.
Awesome! Glad to hear that..
For anyone else that stumbles onto this problem - this was a cache issue. Composer already had the latest version (as of 4/19/24) of nikic/php-parser
(5.0.2
per composer.lock
) && symfony/maker-bundle
(1.58.0
per composer.lock
)
Clear the cache by running: composer dump-autoload
then bin/console cache:clear
from maker-bundle.
Thank you, for the fast response and help.
The suggested steps from you, resolved the issue for me.
After creating the gist of your composer.lock && composer.json try the following:
run composer outdated and show the output here.
run composer upgrade -W to make sure you're on the latest and greatest versions
run composer dump-autoload && bin/console cache:clear and see if you're getting the same error with the make:entity
Here is the gist (which I created before I run the steps you suggested): https://gist.github.com/brianvarskonst/8fdcf710f7c2d03357d706930942a442
Also a screenshot from the suggested steps:
from maker-bundle.
Solved
from maker-bundle.
Related Issues (20)
- [make:entity] addGetter on boolean field that starts with "is" HOT 1
- [make:entity] `generate()` call to `is_string()` appears to always evaluate to `false`
- Missing ? in symfony console make:entity? HOT 9
- [make:entity] Exception in DoctrineHelper.php HOT 2
- Why is the registration confirmation link (verify-email-bundle) not working in Symfony 6 ? HOT 8
- [make:auth] V1.59 - Deprecated classes causes deprecated message on each page HOT 1
- [make:entity] no more autocompletion on repository methods HOT 1
- Use final classes
- Deprecation : symfony/maker-bundle v1.59.0 HOT 1
- PHPStan - User::getPassword()
- PHPStan - ResetPasswordRequest::getUser()
- [make:crud] Add support for dynamic CSRF id with Expression in `#[IsCsrfTokenValid]`
- [make:crud] Allow `EntityValueResolver` to return a list of entities
- [make:registration-form] Add `hash_property_path` option to `PasswordType` HOT 1
- [make:reset-password] Add `hash_property_path` option to `PasswordType` HOT 1
- [make:entity] Entity Names Should Be Allowed to Have Digits (i.e. v1) HOT 1
- [make:entity] default value
- [make:entity] Maker modifies vendor files if FQCN covers up local alias HOT 2
- Feature Request: Allow custom Generator class in MakerInterface
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 maker-bundle.