Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Parse error #6

Open
natewlew opened this issue Nov 17, 2015 · 4 comments
Open

PHP Parse error #6

natewlew opened this issue Nov 17, 2015 · 4 comments

Comments

@natewlew
Copy link

I get a php parse error:

php shell/generate-phpstorm-map.php --file .phpstorm.meta.php
PHP Parse error:  syntax error, unexpected '.', expecting ',' or ';' in /vagrant/www/phpstorm-magento-mapper/shell/generate-phpstorm-map.php on line 381

If I remove the static keyword the error goes away. My php version PHP 5.5.9-1ubuntu4.13 and Magento version 1.9.2.2

@maximilianmikus
Copy link

confirmed
(PHP 5.5.9-1ubuntu4.6, magento 1.9.2.2)

@Vinai
Copy link
Owner

Vinai commented Dec 2, 2015

Please feel free to open a PR, I don't actually use this code any more since Magicento came around.

@sreichel
Copy link

sreichel commented Jan 9, 2018

Fixed with #7?

@Vinai
Copy link
Owner

Vinai commented Jan 10, 2018

I don't know.
I'm surprised people still use this script - with Magicento PHPStorm doesn't need the mappings for Magento 1 any more, and it doesn't create mappings for Magento 2.

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

No branches or pull requests

4 participants