Stan Lemon
d6c46f2091
Allow the autoloader suffix to be configured from a project's composer.json
2013-12-22 22:01:42 -05:00
Andreas Hennings
0a4b18ce86
More interesting generator tests for PSR-4.
2013-12-22 19:58:27 +01:00
Andreas Hennings
bda2bcac13
Fix indentation of assignment in AutoloadGeneratorTest
2013-12-22 19:39:09 +01:00
Andreas Hennings
8966376f40
Verify generation of autoload_psr4.php even if empty.
2013-12-22 19:38:11 +01:00
Andreas Hennings
8e11a7684f
phar compiler should also compile autoload_psr4.php
2013-12-22 19:24:58 +01:00
Andreas Hennings
e4bbd83f13
expected message in ValidatingArrayLoaderTest should also contain psr-4 as allowed key.
2013-12-22 19:03:23 +01:00
chr0n1x
d26355ef65
SelfUpdateCommand: removed unneeded return
2013-12-22 00:59:02 -05:00
chr0n1x
0c76bba8bb
SelfUpdateCommand: do not delete old snapshots, allow user to clean them
2013-12-22 00:36:24 -05:00
chr0n1x
bc5ce1ce04
SelfUpdateCommand: only use 1 rollback snapshot at a time
2013-12-22 00:22:27 -05:00
chr0n1x
2760221767
SelfUpdateCommand: initial groundwork for --rollback
2013-12-21 03:06:10 -05:00
Carsten Brandt
cf676880c1
Docs: Added Note about tags vs. version constraint
...
I made this mistake myself a few days ago, so I think it will be useful to note that here.
2013-12-20 13:41:08 +01:00
Jordi Boggiano
fb72d26def
Merge pull request #2517 from glennpratt/hhvm-travis
...
Test HHVM on Travis-CI, allowing failures.
2013-12-20 02:53:52 -08:00
Glenn Pratt
120f8d92fd
Test HHVM on Travis-CI, allowing failures.
2013-12-19 16:44:46 -06:00
Max Gfeller
067a8e764f
Added a new method to check if an event has any listeners registered.
2013-12-19 08:48:41 +01:00
Max Gfeller
a12ed492ef
Don't throw exception in the doDispatch method.
2013-12-19 08:47:55 +01:00
Max Gfeller
421b09dc44
Check if a given event has registered any listeners. If not the script
...
is not defined in the composer.json file
2013-12-19 08:46:36 +01:00
Max Gfeller
f1c1ba27b4
Throw an exception if no listeners have been found for given event.
2013-12-19 07:58:58 +01:00
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.
2013-12-19 07:54:16 +01:00
James Titcumb
7799c27df0
Removed sneaky typo
2013-12-18 21:59:10 +00:00
James Titcumb
8bdffd75ce
Add information on how to run scripts manually
2013-12-18 21:58:20 +00:00
Adán Lobato
f9f144862e
Fixed minor typo on 'require' property
2013-12-17 09:33:46 +01:00
Jordi Boggiano
0e9a9a3875
Merge pull request #2509 from glenjamin/opcache-ext
...
Ensure detected extensions have valid package names
2013-12-16 13:58:46 -08:00
Nils Adermann
95bafebc75
Merge pull request #2510 from simensen/plugin-load-repository-made-public
...
Make PluginManager::loadRepository public
2013-12-16 07:22:45 -08:00
Beau Simensen
5caee06c44
Make PluginManager::loadRepository public
2013-12-16 09:21:00 -06:00
Nils Adermann
b63634396b
Merge pull request #2508 from simensen/plugin-manager-skips-alias-packages
...
Skip aliases packages when looking for plugins.
2013-12-16 06:34:19 -08:00
Glen Mailer
3620796b7d
Ensure detected extensions have valid package names
2013-12-16 08:51:19 +00:00
Beau Simensen
9ca884944c
Skip aliases packages when looking for plugins.
2013-12-15 23:14:58 -06:00
Andreas Hennings
c0aad84d8b
Validation to make the combination of target-dir with psr-4 illegal.
2013-12-14 16:33:59 +01:00
Andreas Hennings
39c09d5192
Add psr-4 stuff in a few more places.
2013-12-14 16:28:27 +01:00
Pierre du Plessis
5267622bba
Add remove command to remove a package from the list of current installed packages
2013-12-12 21:07:27 +02:00
Morgan Brunot
a300e1d45b
Fix error on check exclude from download composer.json
2013-12-10 21:14:50 +01:00
Jordi Boggiano
80499bb024
Detect ~> misuse and suggest fix, fixes #2476
2013-12-06 13:32:19 +01:00
Jordi Boggiano
45c8d5c817
Merge pull request #2483 from JakubOnderka/patch-2
...
Check exception code only if class ZipArchive exists
2013-12-06 04:27:25 -08:00
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".
2013-12-05 21:26:02 +01:00
Jordi Boggiano
43fde9177e
Merge pull request #2482 from oziks/fix-composer-archive-property
...
Check exclude from downloaded composer.json
2013-12-05 07:29:59 -08:00
Morgan BRUNOT
ca7cb68dd5
Check exclude from downloaded composer.json
2013-12-05 16:03:48 +01:00
Jordi Boggiano
f346274f9a
Merge pull request #2472 from vuhl/master
...
Added some error handling and error messages for common errors using Perforce driver
2013-12-02 12:31:02 -08:00
mwhittom
dde9c309fd
incorporated change to Perforce: Capture output, stopping errors showing up if p4 is not available
2013-12-02 13:34:48 -06:00
mwhittom
a8084e46ff
Added error handling and error messages around missing perforce driver, invalid username/password
2013-12-02 13:34:47 -06:00
Jordi Boggiano
ae3b7ad5c0
Merge pull request #2467 from kimlai/bugfix_githubdriver
...
fix bug in GitHubDriver
2013-11-29 01:28:48 -08:00
Kim Laï Trinh
691f784f92
fix bug introduced in https://github.com/composer/composer/pull/2375
2013-11-28 17:53:05 +01:00
Jordi Boggiano
b7a4d5b239
Merge pull request #2465 from hostnet/feature/linked-events
...
Added reference to script events in plugins.md
2013-11-27 05:55:18 -08:00
Nico Schoenmaker
14b463da1c
Added reference to script events in plugins.md
2013-11-27 12:55:12 +01:00
Andreas Hennings
b62fa2bc1c
run system-wide composer install and THEN run bin/composer install
2013-11-26 22:57:40 +01:00
Andreas Hennings
a9321f3101
Travis CI should use bin/composer and not system-wide Composer.
2013-11-26 19:19:02 +01:00
Andreas Hennings
bbf6278905
AutoloadGenerator to support PSR-4. Tests included.
2013-11-26 02:53:44 +01:00
Andreas Hennings
2c98813431
Add unit tests for ClassLoader, covering PSR-0 and PSR-4.
2013-11-25 23:22:31 +01:00
Andreas Hennings
b08179e399
PSR-4 ClassLoader: Bug fix: PEAR-like path needs ".php" appended.
2013-11-25 23:22:31 +01:00
Andreas Hennings
5dd3c12d3d
Further improve comments.
2013-11-25 23:22:31 +01:00
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.
2013-11-25 23:22:30 +01:00