Skip to content

fix hashbang - #21

Merged
dantleech merged 1 commit into
phpactor:masterfrom
bendavies:patch-1
Jun 23, 2017
Merged

dantleech merged 1 commit into
phpactor:masterfrom
bendavies:patch-1

Conversation

@bendavies

Copy link
Copy Markdown
Contributor

I have php 7.1 installed, and calling ./bin/phpactor resulted in

Parse error: parse error, expecting `';'' or `'{'' in /....phpactor/vendor/dtl/class-to-file/lib/CompositeTransformer.php on line 16

which confused me for a while!

Fix this by using #!/usr/bin/env php that will use whatever php executable appears first in the user's $PATH

@dantleech
dantleech merged commit 95b3ac1 into phpactor:master Jun 23, 2017
@dantleech

Copy link
Copy Markdown
Collaborator

Ha, I was scratching my head over why the travis build was failing :)

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.

2 participants