Jordi Boggiano
1a7f734bc7
Fix test
2013-06-04 15:39:55 +02:00
Jordi Boggiano
22c7d4119f
install and create-project now default to dev mode (use --no-dev for production installs)
2013-06-04 15:22:19 +02:00
Jordi Boggiano
7b72ce1b51
Merge pull request #1962 from schmunk42/master
...
event cleanup
2013-06-03 08:26:00 -07:00
Tobias Munk
c1cae8d838
updated events to use composer from Factory
...
PSR-0 autoloading is now handled correctly
2013-06-03 17:20:16 +02:00
Jordi Boggiano
57f60fd538
Merge pull request #1957 from schmunk42/master
...
fixes autoload problem with commands for just installed packages
2013-06-03 07:27:09 -07:00
Tobias Munk
27b3f338e9
added TODO
2013-06-03 16:22:59 +02:00
Jordi Boggiano
b4ddfabd73
Clarify language
2013-06-03 14:14:07 +02:00
Tobias Munk
60f96d5135
fixed post-create-project-cmd event
...
event occurs after autoloader is generated and refreshed
2013-06-02 23:21:36 +02:00
Jordi Boggiano
f0327caaa1
Cleanups
2013-06-01 13:36:32 +02:00
Jordi Boggiano
4b22d7582a
Merge remote-tracking branch 'schmunk42/feature-create-project-events'
2013-06-01 13:32:07 +02:00
Tobias Munk
dac2f03847
added script events to schema
2013-05-31 11:47:31 +02:00
Tobias Munk
5586fa717b
added author
2013-05-31 11:40:38 +02:00
Tobias Munk
f28f3c2d96
updated docs with new create project command information
2013-05-31 11:39:14 +02:00
Tobias Munk
337f817ba3
adjusted script event name
2013-05-31 11:38:41 +02:00
Tobias Munk
c0280256bf
code refactoring
2013-05-31 10:49:27 +02:00
Jordi Boggiano
93d37833dc
Fix tests
2013-05-30 15:28:38 +02:00
Jordi Boggiano
1debe22412
Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946 , fixes #1839
2013-05-30 14:59:02 +02:00
Jordi Boggiano
c0679232e2
Merge pull request #1950 from rovangju/master
...
Added realpath to VcsDriver constructor to address issues with relative file paths...
2013-05-30 02:09:03 -07:00
Jordi Boggiano
f6b7f0e29a
Add --lock argument to the update command to make this hack explicit and official
2013-05-30 10:08:34 +02:00
Justin Rovang
60e95aed76
Added realpath to VcsDriver constructor
...
See https://github.com/composer/composer/pull/1828
2013-05-29 17:53:18 -05:00
Tobias Munk
0ac5165f04
updated script events
...
added new POST_ROOT_PACKGE_INSTALL and POST_CREATE_PROjECT event, triggered only in create-project
changed create-package parameter 'package' to be optional, command now looks in working directory for composer project if no param is given
2013-05-29 00:30:18 +02:00
Jordi Boggiano
5d360ab43b
Abort if a script fails to execute, and exit with the exit code of the process, fixes #1943
2013-05-28 19:15:22 +02:00
Jordi Boggiano
7449162aa4
Report ICU failures as the intl extension being missing, refs #1939
2013-05-28 18:15:04 +02:00
Jordi Boggiano
b38db73611
Clean up rogue git env vars in case this is running in a git hook, refs #1832
2013-05-27 19:54:46 +02:00
Jordi Boggiano
1dd8bffce5
CS fixes
2013-05-27 10:41:50 +02:00
Jordi Boggiano
d0aa51fc52
Merge remote-tracking branch 'frosas/test-author-string'
2013-05-27 10:38:43 +02:00
Francesc Rosàs
7c273d1ee4
Test parseAuthorString() actual result
2013-05-26 15:10:17 +01:00
Francesc Rosàs
991b4fe208
Fix namespace
2013-05-26 12:44:26 +01:00
Francesc Rosàs
9aa0aba77c
Extract email validation into a method
2013-05-25 17:01:14 +01:00
Francesc Rosàs
e3b9dd10c2
Test InitCommand::parseAuthorString()
2013-05-25 16:56:02 +01:00
Jordi Boggiano
e4b48d39d0
Merge pull request #1922 from Seldaek/matchbranches
...
Only compare branches as versions in the policy to sort packages, but not in the solver, fixes #1817
2013-05-24 00:55:04 -07:00
Jordi Boggiano
921e03c62a
Merge pull request #1927 from Adduc/patch-2
...
Remove unused variable $valid from ConfigValidator::validate
2013-05-24 00:44:34 -07:00
Jordi Boggiano
9171c9d503
Merge pull request #1929 from Adduc/patch-4
...
Add class property Compiler::$version
2013-05-24 00:44:10 -07:00
Jordi Boggiano
6efca49bdd
Merge pull request #1928 from Adduc/patch-3
...
Remove unused variable $dialog from RequireCommand::configure
2013-05-24 00:43:05 -07:00
Jordi Boggiano
8f51fb8653
Merge pull request #1926 from Adduc/patch-1
...
Remove unused variable $version from RootPackageLoad::load
2013-05-24 00:41:34 -07:00
John Long
908b71b7e5
Add class property Compiler::$version
...
Compiler::$version is referenced within compile, addFile, and getStub
2013-05-23 23:36:48 -05:00
John Long
4d6910ece6
Remove unused variable $dialog from RequireCommand::configure
...
I traced the get and getHelperSet to Symfony's Console\Command and Console\Helper\HelperSet, and there was only stored variables being retrieved (no actions being done that'd require these functions to be called).
2013-05-23 23:28:41 -05:00
John Long
8eda0aa8c9
Remove unused variable $valid from ConfigValidator::validate
2013-05-23 23:15:22 -05:00
John Long
159a041775
Remove unused variable $version from RootPackageLoad::load
...
$version is not referenced anywhere past the removed declaration.
2013-05-23 23:13:13 -05:00
Jordi Boggiano
59bda2bb9b
Skip pear tests when repos are unreachable
2013-05-23 21:51:17 +02:00
Jordi Boggiano
e848c76cbc
Only compare branches as versions in the policy to sort packages, but not in the solver, fixes #1817
2013-05-23 18:12:54 +02:00
Jordi Boggiano
950fc7e66e
Add debug output to cache class
2013-05-22 11:25:53 +02:00
Jordi Boggiano
978ba292a6
Merge pull request #1919 from DavidMikeSimon/master
...
Bugfix: Classmap parsing of PHP source with weird escape-like pattern
2013-05-22 02:24:50 -07:00
David Simon
2acb02cda9
Fixed bug parsing multiline strings with 'escaped' newlines
2013-05-21 16:29:25 -04:00
David Simon
2665c60b2f
Test for bug parsing multiline strings with 'escaped' newlines
2013-05-21 16:29:11 -04:00
Beau Simensen
215556df7c
Use --tags to get non-annotated tags as well.
2013-05-21 09:59:41 -05:00
Beau Simensen
f9fe39e624
Fixed the existing test and added a new one for git tag version guessing.
2013-05-21 06:14:34 -05:00
Beau Simensen
c0a20c3d30
Detect version based on tag if HEAD points to a tag.
2013-05-20 12:47:52 -05:00
Sam Minnee
324ef0f9bb
Fixed upper bound of wildcard matches.
...
Follow-on from 95b4348afa
2013-05-20 19:10:04 +12:00
Sam Minnee
95b4348afa
Fixed lower bound of tilde and wildcard matches.
...
The lower bound of ~1.2 and 1.2.* style version requirements now uses >= 1.2.0.0-dev instead of
> 1.1.9999999.9999999. This is more straightforward to read, and behaves equivalently.
2013-05-20 19:03:21 +12:00