Michal

Avatar
  • 活动总数 34
  • 最后的活动
  • 成员加入日期
  • 关注 0 名用户
  • 关注者数 0 名用户
  • 投票数 0
  • 订阅数 10
  • 创建于

    Unchecked exceptions settings - how to turn off propagation to inherited exceptions?

    In the settings PHP > Analysis I can choose which exceptions are going to be unchecked, like so:In the above example I added the \Exception class to the list but the problem is that now all excepti...
    • 2 个关注者
    • 1 条评论
    • 0 票
  • 创建于

    How to get changes between two git commits and upload them?

    已回答
    In PhpStorm, when I have uncommitted git changes in my project I can see them in the commit tab like this:I can right click on the ‘Changes’ title, select ‘Deployment’ and upload all the changes to...
    • 2 个关注者
    • 7 条评论
    • 0 票
  • 创建于

    Structural replace - how to rename method call?

    I'm trying to replace all occurrences of a method call (which is deprecated) with a another method. Current usages look like this:$product = $this->db->fetchAssoc("SELECT id, name FROM products...
    • 2 个关注者
    • 4 条评论
    • 0 票
  • 创建于

    How to type hint list of arrays?

    I don't know if I'm missing something - I want to type hint an array of structured arrays just like I can do so with array of objects. For example:/** * @return array<array{id: int, name: string}> ...
    • 2 个关注者
    • 2 条评论
    • 0 票
  • 创建于

    How to find class instantiations?

    I want to find all places where a class is instantiated with the 'new' keyword. How can I do it? I've found that when a class has a constructor I can use 'Find Usages' on it and all instantiations ...
    • 2 个关注者
    • 1 条评论
    • 0 票
  • 创建于

    Check for updates doesn't work from Help menu but works from Settings

    I have PhPStorm 2022.2.4 on Windows 10 and when I check for updates with the menu in Help > Check for Updates I get notification "You already have the latest version of PhpStorm and plugins install...
    • 2 个关注者
    • 2 条评论
    • 0 票
  • 创建于

    Object properties randomly coloured as unused

    I've noticed this problem in many cases in PHP files - PhpStorm sometimes uses some weird algorithm for detecting and marking unused object properties and the results become meaningless. For exampl...
    • 4 个关注者
    • 5 条评论
    • 0 票
  • 已编辑于

    How to clone project and keep its settings separate from original project?

    I cloned my project, that is I checked out a different git branch of the project to a different folder and copied over the .idea folder to have the same PHPStorm settings in the clone. I just need ...
    • 3 个关注者
    • 4 条评论
    • 1 票
  • 创建于

    Can I upoload files outside my project to (S)FTP?

    Sometimes I use the Remote Host panel to load and edit files on the remote server - usually for quick testing purposes and therefore these are files which are not under my project root folder and n...
    • 2 个关注者
    • 1 条评论
    • 1 票
  • 创建于

    Toolbar button for opening file explorer

    已回答
    I'm looking for a way to place a button on the toolbar that would allow me to open the system file explorer with a single click of the mouse. I tried the options for customizing menus and toolbars ...
    • 2 个关注者
    • 6 条评论
    • 0 票