1
0
Fork 0
Commit Graph

4620 Commits (859c8f5bb3b8998e351c1dd52aab8d46e81cb222)

Author SHA1 Message Date
Nils Adermann 859c8f5bb3 Use the repositories configured in composer.json for the require command 2014-12-04 16:14:32 +01:00
Jordi Boggiano 37ec0bde9d Merge pull request #3502 from acoulton/patch-1
Prevent APC causing random fatal errors [fixes #264]
2014-12-03 15:33:35 +00:00
Andrew Coulton 9ca99762f9 Prevent APC causing random fatal errors [fixes #264]
Update the phar stub to prevent APC attempting to run the composer classes through
the opcode cache on supported APC versions to avoid the random fatal "duplicate
class" errors at runtime as reported in #264.

Prior to APC version 3.0.12 this was a PHP_INI_SYSTEM directive, so output a
warning instead.
2014-12-03 15:11:51 +00:00
Jordi Boggiano 7fcd9752b4 Merge pull request #3498 from shieldo/patch-1
fix typo
2014-12-03 14:08:45 +00:00
Douglas Greenshields fac3e135e3 fix typo 2014-12-03 13:25:25 +00:00
Jordi Boggiano 2b7b605839 Skip empty time values 2014-12-03 13:06:46 +00:00
Jordi Boggiano 13d368e061 Merge pull request #3494 from GrahamCampbell/phpunit4
Upgraded phpunit
2014-12-02 21:19:39 +00:00
Graham Campbell c57f761675 Upgraded phpunit 2014-12-02 19:18:44 +00:00
Jordi Boggiano bb556a080c Merge pull request #3492 from espadrine/patch-1
Readme: Use an SVG badge.
2014-12-02 16:54:12 +00:00
Thaddee Tyl a63495415a Readme: Use an SVG badge.
They look better on retina screens and when zoomed in.
2014-12-02 16:34:50 +01:00
Jordi Boggiano 9950802466 Merge pull request #3489 from stof/patch-1
Skip the phar building on HHVM
2014-12-02 14:22:23 +00:00
Jordi Boggiano 9799c2eb0a Merge remote-tracking branch 'anonrig/master' 2014-12-02 14:21:25 +00:00
Yagiz Nizipli bf210a340b Free up memory before disabling gc. 2014-12-02 16:02:20 +02:00
Christophe Coevoet 68bcba3a03 Disallow failures on HHVM on Travis 2014-12-02 14:32:37 +01:00
Christophe Coevoet ea44412476 Skip the phar building on HHVM
Building a phar does not work on HHVM. It looks like it tries to read the phar file which does not exist yet.
2014-12-02 14:31:37 +01:00
Jordi Boggiano c0e6656429 Merge pull request #3486 from stof/patch-1
Fix the Travis configuration
2014-12-02 11:43:30 +00:00
Christophe Coevoet 557381f49f Fix the Travis configuration
exit should not be used in script commands, because it exits the whole build script.
Thus, turning a failure exit code into another failure exit code is not needed.
2014-12-02 11:39:01 +01:00
Jordi Boggiano 947c1fbabb Merge pull request #3484 from stof/fix_rule
Fix the display of rules
2014-12-02 10:28:03 +00:00
Jordi Boggiano ac676f47f7 Disable GC when computing deps, refs #3482 2014-12-02 10:23:21 +00:00
Christophe Coevoet 7fd9341464 Fix the display of rules
Close #3483
2014-12-01 22:56:59 +01:00
Nils Adermann 91dd999eb6 Merge pull request #3383 from mpoiriert/patch-1
change preProcess from private to public
2014-12-01 20:19:35 +01:00
Nils Adermann b2d5bb7583 Merge pull request #3389 from andrerom/undefied_getio_fn
Fix use of non existing ->getIO() function
2014-12-01 20:17:30 +01:00
Jordi Boggiano 7464ea8b89 Merge pull request #3482 from naderman/reduce-conflict-rules
Avoid generating duplicate conflict rules
2014-12-01 19:13:09 +00:00
Nils Adermann 4a945da55b Avoid generating duplicate conflict rules
For each version of each package we create a conflict rule with each
other version. These are then added to the rule set and skipped if
duplicate so instead we can just generate them only once to begin with
and avoid unnecessary memory allocation and duplication lookups.
2014-12-01 20:10:05 +01:00
Jordi Boggiano f291bf6f5c Merge pull request #3481 from naderman/optimize-solver
Solver optimizations
2014-12-01 19:05:42 +00:00
Nils Adermann 6f41e99fe2 Add back ruleById function for BC 2014-12-01 19:11:02 +01:00
Nils Adermann 2c43a3bcd0 Improve docblocks of public properties 2014-12-01 19:07:26 +01:00
Nils Adermann 107a736440 Recreate getLiterals method for BC 2014-12-01 19:05:01 +01:00
Nils Adermann 26598c4a9a Remove unnecessary pool reference from rules 2014-12-01 19:02:50 +01:00
Nils Adermann d77400ade2 Make ruleById lookup table in rule set public
Saves about 500k function calls on a packagist update
2014-12-01 18:28:45 +01:00
Nils Adermann 5c0efdcaa2 Move public properties to top and document them 2014-12-01 18:25:22 +01:00
Nils Adermann c6af09b1da Make project id public
Reduction of rougly 1.3 million function calls on packagist update
2014-12-01 18:18:02 +01:00
Nils Adermann ef41f136f8 Literals on rule are now public
This causes a reduction of ~500k function calls for packagist composer
update (~14 million total).
2014-12-01 18:08:56 +01:00
Nils Adermann b23a3cd368 Merge pull request #3423 from Michael-Gusev/patch-1
Issue #3422
2014-11-21 18:59:11 +01:00
Nils Adermann 96955dd23b Merge pull request #3264 from duncan3dc/remove-self-update-warning
Don't display the dev warning time when running self-update
2014-11-21 18:51:14 +01:00
Nils Adermann b21f2be651 Merge pull request #3448 from cs278/config-env-test
Fix config tests when environment variables are set
2014-11-21 15:57:16 +01:00
Nils Adermann 5333017aea Remove unused selectNewestPackages method in DefaultPolicy
Unused as of 1b6f57e651
2014-11-21 15:26:09 +01:00
Chris Smith c819bd7e70 Update config tests to not use environment variables 2014-11-21 10:15:17 +00:00
Chris Smith 86b5938cdb Allow reading of COMPOSER_ environment variables to be disabled 2014-11-21 10:14:40 +00:00
Chris Smith 5a56ebd545 Revert "Backup/restore Composer environment variables"
This reverts commit 725a4fd638.
2014-11-21 10:09:21 +00:00
Chris Smith 725a4fd638 Backup/restore Composer environment variables
The tests could fail if an environment variable replaces an expected
value.
2014-11-21 10:07:56 +00:00
Craig Duncan 647625ddc5 Added some tests for the dev version warning 2014-11-20 18:27:58 +00:00
Craig Duncan b84c3f0268 Don't display the dev warning time when running self-update
Use the Application::find() method to resolve the command name, as Application::getCommandName() only returns whatever was entered as the first argument.
If the user only entered enough of the command to be unambiguous (eg self-up) then the warning would still show
By calling Application::find() we ensure that if we are going to run the self-update command then we will not show the warning, no matter what the user entered
2014-11-20 18:21:14 +00:00
Nils Adermann edd4b2f984 Merge pull request #3446 from cs278/issue-3444
Failing test case for #3444
2014-11-20 18:12:22 +01:00
Nils Adermann b8aead09ed Merge pull request #3447 from naderman/remove-streamable-repository
This entirely removes StreamableRepositories and minimal package arrays
2014-11-20 18:12:10 +01:00
Chris Smith 0f9128a7d2 Add comment 2014-11-20 16:54:39 +00:00
Chris Smith 2e40f5f586 Add failing test case 2014-11-20 16:54:38 +00:00
Nils Adermann dccb728e10 Remove further unnecessary checks for packages being arrays 2014-11-20 17:42:05 +01:00
Nils Adermann 89bd9be295 This entirely removes StreamableRepositories and minimal package arrays 2014-11-20 17:23:51 +01:00
Nils Adermann 5edc0925cf Merge pull request #3442 from SamMousa/master
Fixed issue #3441
2014-11-20 15:11:09 +01:00