Skip to content

Conversation

sivaschenko
Copy link
Member

Version 8 master update

fsw and others added 15 commits August 20, 2021 12:44
…laration has trailing coma.

If a grouped use statement has a trailing coma like this:
```
use Magento\Something{
  Foo,
  Bar,
};
```
`findNext` on line 59 was returning false and next call was starting to search again from line 1 (`$next + 1`) and this function was looping indefinitely through input tokens.
…-coding-standard-223

[Imported] AC-957: Create unit test for Magento2\Html\HtmlDirectiveSniff check
…-coding-standard-224

[Imported] AC-958: create unit test for Magento2\Annotation checks
…-coding-standard-228

[Imported] Moved abstract unit test to autoload-dev
…-coding-standard-220

[Imported] Fix ImportsFromTestNamespace from lock on group use with trailing comma
…-coding-standard-229

[Imported] AC-939: Create unit test for Magento2\Less\AvoidIdSniff check
@sivaschenko
Copy link
Member Author

@magento import pr to magento-commerce/magento-coding-standard

@magento-engcom-team
Copy link
Contributor

@sivaschenko the pull request successfully imported.

magento-devops-reposync-svc pushed a commit that referenced this pull request Jun 7, 2023
[Imported] Remove local copies of PHPCompatibility sniffs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants