As Twitter is removing Tweetdeck and has already removed API access I am no longer going to support Twitter a communication channel.
For latest news you can follow Phpactor on Mastodon: https://t.co/v3N5kwPzJq
Added a diagnostic / code action to automatically add missing `extends` and `implements` generic tags. Can't upload the video here due to issues, but I'm sure you can imagine it!
I think @phpactor is by far one of the most important tools I use on my daily activities. its LSP integration to @sublimehq spots issues on the fly and makes my life a lot easier. kudos to #PHP community <3
@sitedyno hm, it will effectively create a `.phpactor.json` now for every project. Is that an issue? Maybe it the "auto configure" could be disabled in (global) config.
Added a new option `language_server.diagnostic_outsource` which will run diagnostics in a separate process. It's disabled by default for now, if you have performance issues, enable it!
@minompi in anycase, one of the limitations with php-cs-fixer currently is that you can't apply it to a range, which would be possible if implementing a dumbish "default" CS fixer.
@minompi hm possibly, but even then probably you'd want to create a `.php_cs_fixer.php` config file for your project, and by that point you should probably just install it as a dependency.
I can imagine it's useful to have OOTB behavior for more trivial/non-project coding though.
@minompi yeah, well Rust uses Rust fmt, and Go similar. They are external tools but kinda sorta built-in.
We probably could create a basic CS fixer (indentation etc), but not sure where we would define it's limits as I don't want to be the maintainer of a CS fixer really :D
@minompi anything is possible, but it's really a question of what benefit there would be in basically writing another CS fixer.
basically every project should probably have a CS fixer in the pipeline, so it makes sense to use that one rather than anything Phpactor could reinvent?