Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Variables in docblock not highlighted #354

Open
CupOfTea696 opened this issue Feb 11, 2019 · 1 comment
Open

Variables in docblock not highlighted #354

CupOfTea696 opened this issue Feb 11, 2019 · 1 comment
Labels

Comments

@CupOfTea696
Copy link

CupOfTea696 commented Feb 11, 2019

Description

Variables in PHP docblock aren't marked as .syntax--parameter .syntax--variable.

Steps to Reproduce

  1. Open or create a PHP file
  2. Write a docblock for a function or method with parameters

Edit by @rsese, adding snippet for easy copy/paste

<?php

/**
 * hello world
 *
 * @param string $abstract
 * @param \Closure|string|null $concrete
 * @return void
 */
public function singleton($abstract, $concrete = null) {
  return $this->bind($abstract, $concrete, true);
}

Expected behavior: Parameter names are highlighted

Actual behavior: Parameter names are seen as text

Reproduces how often: Always

Screenshots

screenshot 2019-02-11 at 01 30 30

screenshot 2019-02-11 at 01 31 14

@rsese
Copy link

rsese commented Feb 13, 2019

Thanks for the report, reproduced with 1.34.0 on macOS 10.12.6.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants