dgoosens, to php
@dgoosens@phpc.social avatar

Remember you can make @Xdebug breakpoints conditional in

saves a lot of time...
and avoids leaving dirty if statements in your code

dandb, to php
@dandb@mas.to avatar

I can't use the "it's compiling" excuse but I sure can use the "PhpStorm is indexing" excuse

dgoosens, (edited ) to php
@dgoosens@phpc.social avatar

saw a colleague of mine coding #PHP on VsCode today

so yeah, once you have spent a couple of hours searching and installing plugins (hardest part being to find the good one) it works, kinda...

but it remains a shiny text editor IMHO
definitely missing the power of a real IDE and there is like NO BLOODY WAY I'm leaving #PhpStorm for that

granted, launching a project or building an index takes a little time
but it is by far compensated by the productivity it offers

dgoosens, to random
@dgoosens@phpc.social avatar
Crell, to php
@Crell@phpc.social avatar

Proposal for a conference talk: How to configure and all its tooling extensions (xdebug, phpstan, php-cs-fixer, etc.) to use a docker container consistently.

That could easily fill a tutorial...

svenluijten, to php

I've published a new blog post (on a new website!) about enabling IntelliSense in for non-standard extensions:

https://svenluijten.com/posts/enable-intellisense-for-php-extensions-in-phpstorm

joschuba, to Laravel

2023.2 is here. And it comes with so many really nice new features. Used the preview version of it. You now have native support for Pint, an Assistant whose integration is nice, many little UI improvements and so much more. Time to update – or to try it out. Read more about all the new features here: https://blog.jetbrains.com/phpstorm/2023/08/phpstorm-2023-2-is-now-available/

dgoosens, to php
@dgoosens@phpc.social avatar
Crell, to ai
@Crell@phpc.social avatar

I reached out to #JetBrains about their #AI #LLM code assistant.

They verified:

  1. They use #OpenAI, which means my GitHub OSS has almost certainly been used in training data.
  2. They rely on OpenAI's promise to not ingest any code that is used for "context".
  3. They specifically do not disclaim that their tool could result in me violating someone else's copyright, and they could suggest the same code to someone else, too.

Uninstall this crap, now. It's dangerous and irresponsible

#PHPStorm

michabbb, to php German
@michabbb@vivaldi.net avatar

#PhpStorm 2023.3.4 is now available

it´s a minor update and it includes a host of bug fixes and quality-of-life improvements.

Here are the most notable changes and bug fixes in this build:

Fix: Setting Sync sync failed. couldn't get settings from server: Authentication required [IDEA-343073]
Fix: Redshift: Unable to see external Datashare databases in Database Explorer [DBE-18822]
The full list of changes in PhpStorm 2023.3.4 is available in the release notes.

https://youtrack.jetbrains.com/articles/WI-A-231736100

#php

davidbisset, to wordpress
@davidbisset@phpc.social avatar
michabbb, to random German
@michabbb@vivaldi.net avatar

not from me, but i agree:

templates are so powerful and can speed up coding.
https://jetbrains.com/help/phpstorm/using-file-and-code-templates.html
Good job phpstorm
🚀

awoodsnet, to random
@awoodsnet@phpc.social avatar

feature request for PhpStorm: when the break points are muted, please change the background color of the dubug console, and display a message “break points are muted” above the debug console.

I just lost 30 minutes because i couldn’t figure out why Step Debugging wasn’t working. I’m certain that’ll happen again. Please JevBrains - you’re my only hope


ramsey, to php
@ramsey@phpc.social avatar

Is there an annotation I can add to a class stub that will tell that a readonly property is most certainly set in the constructor, so that PhpStorm quits complaining that “Typed property ‘foobar’ might be uninitialized?”

ramsey, to random
@ramsey@phpc.social avatar

needs to add little “play” buttons next to each of the TestWith attributes.

Along these same lines, when I have a base test case that uses a data provider defined in child test classes, PhpStorm should be able to figure out that the method in the child is a data provider and add “play” buttons there, as well.

theseer, to random
@theseer@phpc.social avatar

Is it just me or is #phpstorm getting worse by the day?

I'm runnig 2024.1 (Build #PS-241.14494.237, built on March 27, 2024) but have to constantly restart the IDE to fix bizarre errors like PHPStorm claiming a property or parameter isn't used while highlighting the very use a line later, inconsistently resolving asserts with instanceof checks - e.g. claiming a method doesn't exist in the class referenced in a different assert and not seeing a parameter that is clearly there... #fail #ensh11n

PHPStorm claiming a parameter is missing that is clearly there..

blindcoder, to php
@blindcoder@toot.berlin avatar

Just spent TWO HOURS debugging PHP code because I relied on my IDE and github Copilot which both didn't catch the bug in the code below:

<?php
if (array_key_exists("error", $response){
$return_value = [];
}
?>

Error message was: PHP Parse error: syntax error, unexpected token ";" in <file> on line 3

Yes, it's on me, but I'm supposed to test this tech for my employer and results are not looking favorably.

Edit: added proper line number for my example

#PHP #IDE #SoftwareDevelopment #Copilot

Sdfendor,

@blindcoder If you cut out the code and paste it in again, does anything change? I have problems with myself with the more recent versions, sometimes their (code highlighting, error reporting, warnings, refactorings etc.) seems to get stuck in a certain state, false positives or false negatives are the consequence. So I fix a problem which is underlined red and afterwards the underline stays in.
I as well tinker around with the plugin.

Schrank, to random
@Schrank@phpc.social avatar

If you are running and there is an awesome plugin: https://github.com/php-perfect/ddev-intellij-plugin use it and throw a few Coins at Nico!

https://github.com/sponsors/nico-loeber

denniskoch, to til German
@denniskoch@phpc.social avatar

#til

When working with PestPHP I was always annoyed that PhpStorm didn't simplify the imported namespace and didn't offer to simplify the FQN of Facades.

First one is a setting:
Editor > General > Auto Import > PHP > Enable auto-import in file scope

Second one can be fixed, by disabling all aliases in a Laravel app by setting 'aliases' =&gt; [] in config/app.php.

#laravel #pestphp #phpstorm

oliklee, to php German
@oliklee@chaos.social avatar

Die -Beispielextension zum mit und die -Live-Templates von meiner Session auf dem sind hier zu finden: https://github.com/FriendsOfTYPO3/tea/ https://github.com/oliverklee/tdd-reader/tree/main/Resources/PhpStorm

mobileatom, to php
@mobileatom@flipboard.com avatar
mobileatom, to Symfony
@mobileatom@flipboard.com avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • khanakhh
  • GTA5RPClips
  • osvaldo12
  • magazineikmin
  • mdbf
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • everett
  • Durango
  • JUstTest
  • ngwrru68w68
  • modclub
  • tester
  • tacticalgear
  • cubers
  • thenastyranch
  • cisconetworking
  • ethstaker
  • Leos
  • provamag3
  • normalnudes
  • anitta
  • lostlight
  • All magazines