picqer / php-barcode-generator

Barcode generator in PHP that is easy to use, non-bloated and framework independent.
GNU Lesser General Public License v3.0
1.65k stars 400 forks source link

phar error: invalid path, contains star #94

Closed MakG10 closed 4 years ago

MakG10 commented 4 years ago

I'm using Satis to host a private package registry, there seems to be an issue with packaging recent version into PHAR archive because of a filename with *:

Dumping package 'picqer/php-barcode-generator' in version 'dev-master'.
  - Installing picqer/php-barcode-generator (dev-master fd18d04): Cloning fd18d04d64 from cache

  [BadMethodCallException]                                                     
  Entry tests/verified-files/C128-1234567890abcABC-283*33.svg cannot be creat  
  ed: phar error: invalid path "tests/verified-files/C128-1234567890abcABC-28  
  3*33.svg" contains star                                                      
Niksac commented 4 years ago

The stars are causing issues in other places too. On windows, composer is unable to install this because filenames cannot contain *

casperbakker commented 4 years ago

Sorry about that, will fix this in the next version.

Niksac commented 4 years ago

Thank you :)

casperbakker commented 4 years ago

Thanks for the patience. I just released v2.0.1 with a bugfix.