-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha release? #181
Comments
I just tried the same with my codebase from work, and for me #112 seems to be an issue at several places (can't quite tell yet if that is the only problem). I'd suggest not doing a formal release before we've verified that we don't have breaking AST changes for a couple of larger codebases (might be interesting to try some larger open source projects). Of course I'm always in favor of encouraging people to try prettier for php on their projects and report back issues 😄 We just have to careful not to give the impression that the plugin is ready to be used, because then people might loose trust when we break their code (prettier/prettier#3521 (comment)). |
In end of month i think we can release alpha 👍 |
I think we will be the first of the official plugins 🥇 |
I'm guessing that if I run I'm very happy to help with testing on the reasonably large PHP codebase that I have at work. Sadly I got stuck on my first file (see #29, #252, #253, #254) but I'm really exited by this. |
I believe all of the high priority issues mentioned above have now been fixed |
We have big problem with mixed contents, we should fix it and we can alpha release. Try to run plugin on any WordPress theme repo |
@evilebottnawi do we already have an open issue for that? Currently the only open issue we have labeled as high priority is #267 |
@evilebottnawi You mean PHP embedded in HTML? To me, something that only works on |
As I mentioned before, I’m happy to give this a go on more code before an alpha if you’d like over the next 3 days (completely up to you obviously, I don’t want to delay you unnecessarily). So far I’ve only tested Prettier on a single PHP file and all the issues I’ve reported were from that (which I’m unsure what that says about my PHP code). |
The other thing you could consider if finding a couple of big open source PHP code bases and running Prettier over them. That worked well for the JavaScript version IIRC. |
@aboyton Testing and reporting issues is always appreciated and will speed us up instead of slowing us down! 😉 |
@vjeux @azz I think we're getting close to fixing the last of any breaking issues. When we get to the point that we think this is good to move out the development release (hopefully within a week?), what work do you guys think would be involved in releasing this as an alpha/beta? Just bumping the npm version? I think @azz is the owner of the module and might have to do that |
Let me know what your npm names are and I can add you to @prettier/prettier-php. I'm not really sure why prettier-php has been deprecated (and I don't have access). I think that publishing a new version is what is needed technically. I would recommend making a blog post / release notes about it so that we can tweet about it from the prettier account to get visibility. |
Hi guys, congrats for the amazing job done ! As the final 3.0 is not ready yet, I could also make a pre-release of php-parser (3.0.0-pre1) that includes major bug fixes - do you see any blocking issue that I could prioritize ? |
I agree we should be |
|
@mgrip I'll post a draft on GitHub as soon as I have something 😄 |
Okay, I have no idea how I can add you in the scoped module :x Trying to add you from here https://www.npmjs.com/package/@prettier/plugin-php/access gives me this error message: Trying from the command line gives me a similar error: npm team ls @prettier/plugin-php
npm ERR! code E404
npm ERR! 404 Not Found : -/org/%40prettier%2Fplugin-php/team @azz do you know what's going on? |
Looks like it's working - thanks @azz! |
For the blog post I'd really like to include some instructions on how to get this to run in an editor. I've looked both at prettier-vscode (prettier/prettier-vscode#395) and at vim prettier (prettier/vim-prettier#119), but both don't seem to work with plugins yet. Has anyone of you had success with an editor already? @mgrip @evilebottnawi |
@czosel i use |
@evilebottnawi does the PHP plugin work in IntelliJ already? |
@czosel yes, just install prettier and plugin-php and all works fine |
Thank you for all the hard works <3 |
@evilebottnawi Wow, pretty cool! About the peer dependency: Is it really important that this lands before releasing? I don't really see why. |
@czosel have two version prettier is very bad, also if you don't use > npm@4 your can got error because peer deps can be on top in node_modules, also it is increase node_modules size, because prettier have pinned deps and our version prettier have other pinned deps. |
@evilebottnawi Alright - please see my comment in #156. Edit: Oops, you did already 😄 |
Deployed! |
#174 (comment)
Wanted to start a discussion on where people think the quality of this plugin is currently, and plans for rolling out more widely.
For myself I've been running
--debug-check
on a codebase of ~1000 php files, and as of this morning am not getting any breaking errors 🎉Do people think its time to start publishing this as an alpha/beta release to encourage more people to start using and finding edge cases? I'm guessing that would mostly just entail bumping our package version to
0.1.0
and updating our README.md + documentationThe text was updated successfully, but these errors were encountered: