1
0
Fork 0
Commit Graph

492 Commits (8961c687ee3b429633e68f84d35e8ce2efd7f6ba)

Author SHA1 Message Date
Martin Hasoň 29034ea3e0 Added support for the root package in the array dumper 2012-09-19 23:08:37 +02:00
Jordi Boggiano 8d7e5cdda5 Fix target-dir with multiple slashes too 2012-09-19 11:25:49 +02:00
Jordi Boggiano a9195eb05f Add a couple test cases 2012-09-18 18:32:24 +02:00
Jordi Boggiano f377e9ca87 Fix possible vendor-dir "evasion" via target-dir 2012-09-18 18:30:11 +02:00
Jordi Boggiano ebc9c73008 Merge remote-tracking branch 'TheFootballSocialClub/loader-singleton' 2012-09-18 10:52:03 +02:00
Jordi Boggiano 418e876e8a Use only the locked repository when possible for better performance 2012-09-14 17:42:12 +02:00
Jordi Boggiano 83239aa338 Update lock file to contain the complete package info, fixes #890 2012-09-14 16:43:56 +02:00
Adrien Brault fd58c24a9f ComposerAutoloaderInitXXX::getLoader behaves like a ClassLoader singleton
Calling ComposerAutoloaderInit::getLoader twice when a package requires a .php file containing functions, lead to the functions to be declared twice, and cause an error.

In my case, using behat + symfony2extension + assetic, the error that occured:

PHP Fatal error:  Cannot redeclare assetic_init() (previously declared in vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26

Fatal error: Cannot redeclare assetic_init() (previously declared in /vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26
2012-09-14 11:21:34 +02:00
Jordi Boggiano 056dc5d690 Move config to all VcsDownloaders, enforce array for github-protocols 2012-09-08 00:45:25 +02:00
Jordi Boggiano 5b419c76ca Fix tests 2012-09-08 00:43:51 +02:00
Jordi Boggiano 122f66098e Merge remote-tracking branch 'hason/git_config' 2012-09-07 23:46:46 +02:00
Martin Hasoň 3b6bd761ec Set protocols for github in composer config file 2012-09-07 15:08:34 +02:00
Filip Procházka 9d8db4e148 AutoloadGenerator: respect dependencies, when requiring files 2012-09-06 15:07:07 +02:00
Christophe Coevoet 9e372b1d8b Simplified the code 2012-09-05 22:56:59 +02:00
Christophe Coevoet f181dc84e2 Added tests for the suggestions
The test about replaced packages is failing because of #752.
2012-09-05 20:54:00 +02:00
Jordi Boggiano d5916ce731 Fix test 2012-09-04 20:24:05 +02:00
Jordi Boggiano 0932f65a17 Return 7 chars and not 6 for short git hashes, formatting fixes 2012-09-04 16:27:22 +02:00
Jordi Boggiano 338730b19b Merge remote-tracking branch 'zczapran/issue/1043_wrong_output_for_versions_when_updating' 2012-09-04 16:22:29 +02:00
Jordi Boggiano e01a9c564d Fix parsing of stability for lowercased RC versions 2012-09-04 15:59:44 +02:00
Zbigniew Czapran 730f206cea removed unneccesary PackageMock and trailing whitespaces 2012-08-30 23:44:54 +01:00
Zbigniew Czapran 80c2736021 in VersionParser only truncate the version if hash 2012-08-30 22:01:21 +01:00
Jordi Boggiano 5a247ca9a5 Fix regression in updating dev packages to latest ref, fixes #1030 2012-08-27 12:03:07 +02:00
Christophe Coevoet 66b83a39d2 Removed a PHP notice when dumping the autoloader
This occured when the root package has a target-dir but does not have
configure a PSR-0 autoloader.
Fixes #1028
2012-08-24 23:25:14 +02:00
Jordi Boggiano c97720c607 Fix picking of new dev packages for updates to latest source ref 2012-08-24 12:06:29 +02:00
Jordi Boggiano d6de4a0036 Rename Package interfaces to reduce BC issues 2012-08-24 02:29:31 +02:00
Jordi Boggiano f08c748658 Fix tests, fix handling of branches with slashes in GitDriver, fixes #935 2012-08-24 02:06:25 +02:00
Jordi Boggiano 4b18be75d7 Add test for fancy branch names, refs #935 2012-08-24 00:43:40 +02:00
Nils Adermann de6bb0409b Merge pull request #1008 from mheleniak/master
output info before fetching composer repos
2012-08-19 11:26:34 -07:00
Jordi Boggiano 521bbe6556 CS fixes 2012-08-18 16:22:15 +02:00
Jordi Boggiano 2af2c27168 Add regression test for files autoload in root package, fixes #880 2012-08-18 14:58:55 +02:00
Mateusz Heleniak ac746ee5b0 fixed unit tests 2012-08-17 19:36:46 +03:00
Jordi Boggiano a2171e2ed1 Expose LibraryInstallerTest properties to child classes 2012-08-16 11:22:30 +02:00
Jordi Boggiano 44d7d4a38e Make PSR0 scanning optional 2012-08-14 20:28:49 +02:00
Jordi Boggiano 48c46ce3b6 Automatically generate classmaps for all PSR-0 packages to speed things up, fixes #541, fixes #127 2012-08-14 19:55:30 +02:00
Jordi Boggiano 4f0ad98905 Always include the ClassLoader since autoload_real is included only once, refs #963 2012-08-14 19:13:39 +02:00
Jordi Boggiano 30fdf379aa Minor consistency tweaks 2012-08-14 19:05:34 +02:00
Jordi Boggiano 034b46bdf6 Merge remote-tracking branch 'vicb/autoload_files' 2012-08-14 18:27:39 +02:00
Jordi Boggiano c463216726 Restore test for full hash display in create project 2012-08-14 01:23:43 +02:00
Jordi Boggiano 5818d51af0 Refactor functional tests to fit existing tests better 2012-08-14 01:16:40 +02:00
Jordi Boggiano 5c0e4e5d72 Merge remote-tracking branch 'schmittjoh/functionalTests' 2012-08-13 23:45:37 +02:00
Jordi Boggiano fe15c6a827 Make dev version matches preserve the proper case, fixes #935 2012-08-11 18:34:01 +02:00
Sebastiaan Stok 9270904765 fixed issue #992 - branch name not properly escaped 2012-08-10 11:43:37 +02:00
Victor Berchet d2dc73e361 [Autoload] Set $vendorDir et $baseDir in ComposerAutoloaderInitTargetDir::getLoader() 2012-08-06 11:33:17 +02:00
Victor Berchet 4c82c35dbc [Autoload] Generate the autoloader_real file in the target directory 2012-08-06 10:56:57 +02:00
Pascal Borreli 87bac43b9e [InstallerTest] Fixed return status was always 0 2012-08-05 05:55:54 +00:00
Victor Berchet 2c065416eb [Autoload] generate an autoload_real.php file 2012-08-01 10:12:46 +02:00
Victor Berchet 963fedc9a5 [Autoload] remove closures because of a bug in APC
https://bugs.php.net/bug.php?id=52144
https://bugs.php.net/bug.php?id=61576
2012-07-31 20:17:39 +02:00
Taylor Otwell 8cf43868da update tests for new expectations. 2012-07-27 09:13:39 -05:00
Jordi Boggiano 6fb5d26474 Revert "Add test and some fixes to allow absolute paths, refs #869"
This reverts commit a2a2f4af59.
2012-07-18 18:40:17 +02:00
Jordi Boggiano a2a2f4af59 Add test and some fixes to allow absolute paths, refs #869 2012-07-18 18:31:22 +02:00