Alvaro

Avatar
  • Total activity 113
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 13
  • Subscriptions 32
  • Created

    Delete or reuse PHP_CodeSniffer Docker containers

    I'm using PHP_CodeSniffer from a Docker image to match the version in our GitLab pipelines, and I've realised that every time a file is checked I get a new entry in Services/ Docker/ Container (the...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    Equivalent of @var annotation for Twig

    I'm passing objects to Twig templates:<img src="{{ branding.getLogoUrl }}">I assumed there's no way to instruct PhpStorm about this (documentation doesn't mention anything as far as I can tell) but...
    • 2 followers
    • 3 comments
    • 1 vote
  • Created

    Damaged file template

    At “Editor/ File and Code Templates”, I have a template for “HTTP Request” that I need to update. For some reason, the template appears twice (with same content) and I cannot apply changes to eithe...
    • 3 followers
    • 8 comments
    • 0 votes
  • Edited

    Code Style bug in 2023.3.6?

    I've upgraded to 2023.3.6 and now when I use Reformat Code PhpStorms adds unwanted spaces in my docblocks:/** * @dataProvider filtersList * @see CommonEntityAccess::generateDataSet() */...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Keyboard short-cut to open classes by name

    When I use the "Navigate/ Class" feature, I often want to open more than one match. Is there a keyboard short-cut to do that?Shift+Click works but splits in new vertical panes (not ideal when openi...
    • 4 followers
    • 5 comments
    • 1 vote
  • Created

    Prevent commit to specific git branches

    Answered
    I make the same mistake in a regular basis: start working in a feature, commit, push, and then realise I forgot to create my feature branch. This creates a little mess, esp. if current sprint branc...
    • 2 followers
    • 1 comment
    • 0 votes
  • Edited

    Keyboard stops working in 2023.3.2 RC

    I'm using PhpStorm 2023.3.2 RC to have the fix for a bug in Http client, and I'm finding that keyboard stops working completely, pretty often (3 times in less than 3 hours). It isn't something enti...
    • 1 follower
    • 1 comment
    • 1 vote
  • Edited

    Known issue with PATCH requests?

    I keep PhpStorm updated with Toolbox and it's been like 3 or 4 days now that some *.http requests get stuck running forever. It tends to happen with PATCH requests. Some times the request completel...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    Ignore files from specific context root

    I like to have my own scripts and utilities for a given git based project, so I have this: Clone project at ~/project Set up a personal git repository and clone in it ~/extras Open ~/project in Php...
    • 1 follower
    • 1 comment
    • 0 votes
  • Created

    Make IDE aware of Carbon macros

    The Carbon library allows creating custom methods:Carbon::macro( 'isDayOff', static fn (WorkingWeek $workingWeek) => $workingWeek->isWeekend(self::this()) );Is there a way to make PhpStorm ...
    • 1 follower
    • 3 comments
    • 0 votes