crodas / Haanga

Template compiler for PHP, Django-style (as much as possible). Pretty efficent by avoiding to have anything at run-time.
http://haanga.org/
Other
136 stars 28 forks source link

Warning about duplicated class name when installing from composer (v1.0.7) #29

Closed josepanguera closed 5 years ago

josepanguera commented 8 years ago
$ composer require crodas/Haanga

Using version ^1.0 for crodas/Haanga
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing crodas/haanga (v1.0.7)
    Downloading: 100%         

Writing lock file
Generating autoload files
Warning: Ambiguous class resolution, "Haanga_Extension_Filter_Length" was found in both "/tmp/haanga/vendor/crodas/haanga/lib/Haanga/Extension/Filter/Strlen.php" and "/tmp/haanga/vendor/crodas/haanga/lib/Haanga/Extension/Filter/Length.php", the first will be used.

PHP version

$ php -v

PHP 5.6.22-2 (cli) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
josepanguera commented 7 years ago

Hi Cesar,

it would be really nice if you could publish a new version in packagist with the pull request solving this issue.