Skip to content

Conversation

@sasezaki
Copy link
Contributor

copy & pasted from
https://github.com/doctrine/orm/blob/2.9.x/bin/doctrine.php

  • currently, bin/sql-formatter could not be executable when installed via composer.
$ composer require --dev doctrine/sql-formatter
$ echo 'SELECT 1 FROM dual' | ./vendor/bin/sql-formatter
PHP Warning:  require_once(/mnt/d/dev/tmp/sql-formatter/vendor/doctrine/sql-formatter/bin/../vendor/autoload.php): Failed to open stream: No such file or directory in /mnt/d/dev/tmp/sql-formatter/vendor/doctrine/sql-formatter/bin/sql-formatter on line 18

@goetas goetas closed this Jun 30, 2021
@goetas goetas reopened this Jun 30, 2021
@goetas goetas merged commit a2bf571 into doctrine:1.1.x Jun 30, 2021
@goetas
Copy link
Member

goetas commented Jun 30, 2021

thanks @sasezaki

@goetas goetas added this to the 1.1.2 milestone Jun 30, 2021
@sasezaki sasezaki deleted the bin_autoload branch June 30, 2021 13:30
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.

3 participants