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

Fixed default short array value syntax error #72

Merged
merged 5 commits into from
May 15, 2015
Merged

Fixed default short array value syntax error #72

merged 5 commits into from
May 15, 2015

Conversation

frozzare
Copy link
Contributor

This pull request will fix #64

@frozzare
Copy link
Contributor Author

Updated the type array short value and added tests for both array $value = array() and array $value = [].

@frozzare frozzare closed this May 14, 2015
Fixed so namespaces syntax works on same lime as <?php
@kevinsawicki
Copy link
Contributor

Looks like this pull request no longer merges cleanly, would you mind updating the conflicts via merging/rebasing master and then push up the changes? Thanks!

@frozzare
Copy link
Contributor Author

Fixed.

'name': 'variable.other.php'
'4':
'name': 'punctuation.definition.variable.php'
'5':
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this capture group just not be included (or make it a non-capturing group)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should not be included, since short array don't have array before [] I just leave it empty. It can be changed to (?:) but when removing the fifth row the = get the array type color. Should i change it to (?:)?

kevinsawicki added a commit that referenced this pull request May 15, 2015
Fixed default short array value syntax error
@kevinsawicki kevinsawicki merged commit f8b4f9a into atom:master May 15, 2015
@kevinsawicki
Copy link
Contributor

Thanks for fixing this 🌴

@vinkla
Copy link

vinkla commented May 15, 2015

👍

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

Successfully merging this pull request may close these issues.

Default array value syntax error
4 participants