php-parallel-lint / PHP-Parallel-Lint

This tool check syntax of PHP files faster than serial check with fancier output.
Other
282 stars 21 forks source link

Creating the phar file isn't working #43

Closed cavo789 closed 3 years ago

cavo789 commented 3 years ago

Hello

I'm trying to build the .phar file version and I'm thus following the guide as described in your README.md file (https://github.com/php-parallel-lint/PHP-Parallel-Lint#create-phar-package)

php box.phar build
Building...

[RuntimeException]
failed to get contents of 'C:\temp\PHP-Parallel-Lint\parallel-lint.php'

build [-c|--configuration="..."]

But, now, running php parallel-lint.phar throw an error:

PHP Fatal error:  Cannot declare class ComposerAutoloaderInit8d3d5124130cbc6652f1aad8a66cf923, because the name is already in use in phar://C:/temp/PHP-Parallel-Lint/parallel-lint.phar/vendor/composer/autoload_real.php on line 5

Can you take a look please ?

Note: I've also tried https://github.com/box-project/box for creating the phar but here too, it doesn't work.

cavo789 commented 3 years ago

Sorry had a 404 error when submitting this issue and by trying again, I've created two post; sorry for this