thomasbachem / php-short-array-syntax-converter

Command-line script to convert PHP's array() syntax to PHP 5.4's short array syntax []

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Composer install is throwing a 404

tersmitten opened this issue · comments

homasbachem/php-short-array-syntax-converter from dist: The "https://api.github.com/repos/a-vasyliev/php-short-array-syntax-converter/zipball/59fde6c9a45543a39f2ce4787c5c1d83c9f50899" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing thomasbachem/php-short-array-syntax-converter (dev-master 59fde6c): Cloning 59fde6c9a4

                                                                                                                     
  [RuntimeException]                                                                                                 
  Failed to clone https://github.com/a-vasyliev/php-short-array-syntax-converter.git via https, ssh protocols, abor  
  ting.                                                                                                              
                                                                                                                     
  - https://github.com/a-vasyliev/php-short-array-syntax-converter.git                                               
    Cloning into '/home/mtersmitten/Documents/checkouts/Oefenweb/vagrants/app-x/www/oefenweb.dev-app/app/Vendor/tho  
  masbachem/php-short-array-syntax-converter'...                                                                     
    remote: Invalid username or password.                                                                            
    fatal: Authentication failed for 'https://github.com/a-vasyliev/php-short-array-syntax-converter.git/'           
                                                                                                                     
  - git@github.com:a-vasyliev/php-short-array-syntax-converter.git                                                   
    Cloning into '/home/mtersmitten/Documents/checkouts/Oefenweb/vagrants/app-x/www/oefenweb.dev-app/app/Vendor/tho  
  masbachem/php-short-array-syntax-converter'...                                                                     
    ERROR: Repository not found.                                                                                     
    fatal: Could not read from remote repository.                                                                    
                                                                                                                     
    Please make sure you have the correct access rights                                                              
    and the repository exists.                                                                                       

The maintainer and details also look a bit odd

Screenshot from 2019-05-20 11-03-50

This fork added a composer.json, and it works: phpbsb/php-short-array-syntax-converter

The main branch doesn't have a composer configuration. @tersmitten

It's much easier to use PHPCBF. Just use that instead. Use the Generic.Arrays.DisallowLongArraySyntax sniff.

@mbomb007 I'm referring to the issue reported bu @tersmitten

I know. I'm just saying that PHPCBF is a viable alternative to using this project.