zendframework / zend-expressive-migration

ZendFramework Expressive Migration Tools
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Early exit before converting actions #4

Closed geerteltink closed 6 years ago

geerteltink commented 6 years ago
Generating autoload files
Updating pipeline... DONE
Updating routes... DONE
Replacing index.php... DONE
Please provide the path to the application sources [src]:
Provided directory is: src
'vendor' is not recognized as an internal or external command,
operable program or batch file.
Please provide the path to the application actions to be converted to request handlers: src/App/Action/
Provided directory is: src/App/Action/
'vendor' is not recognized as an internal or external command,
operable program or batch file.
Running CS auto-fixer
'vendor' is not recognized as an internal or external command,
operable program or batch file.
geerteltink commented 6 years ago

This is a windows specific issue. I've tried several solutions but these work:

php vendor/squizlabs/php_codesniffer/scripts/phpcs
php vendor/zendframework/zend-expressive-tooling/bin/expressive migrate:middleware-to-request-handler ...

or add expressive as a composer script and do this:

composer cs-check
composer expressive -- migrate:middleware-to-request-handler ...