Glenn Pratt
120f8d92fd
Test HHVM on Travis-CI, allowing failures.
11 years ago
Max Gfeller
067a8e764f
Added a new method to check if an event has any listeners registered.
11 years ago
Max Gfeller
a12ed492ef
Don't throw exception in the doDispatch method.
11 years ago
Max Gfeller
421b09dc44
Check if a given event has registered any listeners. If not the script
...
is not defined in the composer.json file
11 years ago
Max Gfeller
f1c1ba27b4
Throw an exception if no listeners have been found for given event.
11 years ago
Max Gfeller
040bbaca51
Don't throw an exception if the called script is not one of the
...
event-scripts. This makes it possible for one to define their own
scripts like "make-release" etc.
11 years ago
James Titcumb
7799c27df0
Removed sneaky typo
11 years ago
James Titcumb
8bdffd75ce
Add information on how to run scripts manually
11 years ago
Adán Lobato
f9f144862e
Fixed minor typo on 'require' property
11 years ago
Jordi Boggiano
0e9a9a3875
Merge pull request #2509 from glenjamin/opcache-ext
...
Ensure detected extensions have valid package names
11 years ago
Nils Adermann
95bafebc75
Merge pull request #2510 from simensen/plugin-load-repository-made-public
...
Make PluginManager::loadRepository public
11 years ago
Beau Simensen
5caee06c44
Make PluginManager::loadRepository public
11 years ago
Nils Adermann
b63634396b
Merge pull request #2508 from simensen/plugin-manager-skips-alias-packages
...
Skip aliases packages when looking for plugins.
11 years ago
Glen Mailer
3620796b7d
Ensure detected extensions have valid package names
11 years ago
Beau Simensen
9ca884944c
Skip aliases packages when looking for plugins.
11 years ago
Andreas Hennings
c0aad84d8b
Validation to make the combination of target-dir with psr-4 illegal.
11 years ago
Andreas Hennings
39c09d5192
Add psr-4 stuff in a few more places.
11 years ago
Pierre du Plessis
5267622bba
Add remove command to remove a package from the list of current installed packages
11 years ago
Morgan Brunot
a300e1d45b
Fix error on check exclude from download composer.json
11 years ago
Jordi Boggiano
80499bb024
Detect ~> misuse and suggest fix, fixes #2476
11 years ago
Jordi Boggiano
45c8d5c817
Merge pull request #2483 from JakubOnderka/patch-2
...
Check exception code only if class ZipArchive exists
11 years ago
Jakub Onderka
afc9069771
Check exception code only if class ZipArchive exists
...
If is for example exception throwed when downloading tar archive on system without installed zip extension, PHP hangs on fatal error " Class 'ZipArchive' not found".
11 years ago
Jordi Boggiano
43fde9177e
Merge pull request #2482 from oziks/fix-composer-archive-property
...
Check exclude from downloaded composer.json
11 years ago
Morgan BRUNOT
ca7cb68dd5
Check exclude from downloaded composer.json
11 years ago
Jordi Boggiano
f346274f9a
Merge pull request #2472 from vuhl/master
...
Added some error handling and error messages for common errors using Perforce driver
11 years ago
mwhittom
dde9c309fd
incorporated change to Perforce: Capture output, stopping errors showing up if p4 is not available
11 years ago
mwhittom
a8084e46ff
Added error handling and error messages around missing perforce driver, invalid username/password
11 years ago
Jordi Boggiano
ae3b7ad5c0
Merge pull request #2467 from kimlai/bugfix_githubdriver
...
fix bug in GitHubDriver
11 years ago
Kim Laï Trinh
691f784f92
fix bug introduced in https://github.com/composer/composer/pull/2375
11 years ago
Jordi Boggiano
b7a4d5b239
Merge pull request #2465 from hostnet/feature/linked-events
...
Added reference to script events in plugins.md
11 years ago
Nico Schoenmaker
14b463da1c
Added reference to script events in plugins.md
11 years ago
Andreas Hennings
b62fa2bc1c
run system-wide composer install and THEN run bin/composer install
11 years ago
Andreas Hennings
a9321f3101
Travis CI should use bin/composer and not system-wide Composer.
11 years ago
Andreas Hennings
bbf6278905
AutoloadGenerator to support PSR-4. Tests included.
11 years ago
Andreas Hennings
2c98813431
Add unit tests for ClassLoader, covering PSR-0 and PSR-4.
11 years ago
Andreas Hennings
b08179e399
PSR-4 ClassLoader: Bug fix: PEAR-like path needs ".php" appended.
11 years ago
Andreas Hennings
5dd3c12d3d
Further improve comments.
11 years ago
Andreas Hennings
2e80d148f8
PSR-4 loader: Fix comments: PSR-0 related methods should have comments refering to PSR-0 and prefixes. PSR-4 related methods should have comments refering to PSR-4 and namespaces.
11 years ago
Andreas Hennings
c49a651d81
PSR-4 class loader: Add getters for PSR-4 prefixes. Rename PSR-0 related attributes by appending *Psr0. Add more comments.
11 years ago
Andreas Hennings
8142126b16
Add PSR-4 class loader. (tests needed)
11 years ago
Jordi Boggiano
10f8e564bb
Add warnings for xdebug, fixes #2425
11 years ago
Jordi Boggiano
dea246186d
Merge pull request #2453 from mirkobeine/#2441-V2
...
Use 'cache-files-ttl' for cache gc, fixes #2441
11 years ago
user
a956ce9bb1
Use 'cache-files-ttl' for cache gc, fixes #2441
...
The configuration option 'cache-ttl' was used instead of 'cache-files-ttl' to determine
whether or not a cache gc should be performed.
* changed 'cache-ttl' to 'cache-files-ttl' to determine if a gc should be performed
* refactored FileDownloader to allow for easier testing
* added test to ensure that the gc is called with the proper config option
11 years ago
Jordi Boggiano
e126c92525
Fix exit codes, cc @tyrael
11 years ago
Jordi Boggiano
99e260adf0
Update deps
11 years ago
Jordi Boggiano
5b48abe833
Fix previous commit
11 years ago
Jordi Boggiano
8173b42a8a
Force unresolvable hosts through proxies, fixes #2449
11 years ago
Jordi Boggiano
730dcbb80a
Detect failed gethostbyname, refs #2449
11 years ago
Jordi Boggiano
5156a60216
Add test for RepositoryManager repo creation
11 years ago
Jordi Boggiano
78edca3ad6
Only replace version in Composer.php, fix user agent
11 years ago