1
0
Fork 0
Commit Graph

8211 Commits (dc6027a0adb87820bc6ed5bb8155d2d244e56098)

Author SHA1 Message Date
Jordi Boggiano ff59bbdab0 CS fixer 2018-07-24 14:32:52 +02:00
Jordi Boggiano 02d56da414 Update deps 2018-07-24 13:45:41 +02:00
Jordi Boggiano 3f9e85a4c3 Merge remote-tracking branch 'unglud/feature/show-tree-json' 2018-07-24 10:51:43 +02:00
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 2018-07-24 09:30:06 +02:00
Jordi Boggiano 2f69739c1a Merge remote-tracking branch 'origin/1.6' 2018-07-23 19:41:08 +02:00
Jordi Boggiano fd25474660
Merge pull request #7483 from TomasVotruba/patch-2
[docs] basic usage - promote safe version range
2018-07-23 19:32:42 +02:00
Tomáš Votruba 10f707e316
basic usage - promote safe version range
I'm aware this just an example, but it [leads readers to see it a best practise](40642df5ec (r29802440)).

Having code with `"php": ">=5.4.0"` is pretty dangerous and will probably break with next major version.

```json
{
    "require": {
        "php": "^5.4"
    }
}
```

```json
{
    "require": {
        "php": "^7.1"
    }
}
```

is much more safer. Promoting best and proven practise should from *Basic usage* helps people to use composer the best way they can.

What do you think?
2018-07-23 18:49:39 +02:00
Rob Bast 0db48b4f2e
addendum to #7428 2018-07-23 07:53:12 +02:00
Jordi Boggiano 00fdb5555c Update lock file 2018-07-20 13:48:39 +02:00
Jordi Boggiano d5a9d86ee4 Undo reformatting from #7441 2018-07-20 12:03:08 +02:00
Jordi Boggiano 1983a450b4 Use rawurldecode instead of urldecode, fixes #7407 2018-07-20 12:03:08 +02:00
Jordi Boggiano 28fdc842ee
Merge pull request #7423 from localheinz/feature/normalize
Enhancement: Normalize composer.json
2018-07-20 11:57:58 +02:00
Jordi Boggiano 145db9ff52
Merge pull request #7478 from staabm/patch-1
prevent preg_replace() calls when cache is not enabled
2018-07-20 11:47:09 +02:00
Jordi Boggiano 16af52be8a Merge remote-tracking branch 'origin/1.6' 2018-07-20 11:39:44 +02:00
Jordi Boggiano 945adcf172 Fix doc ambiguity, fixes #7471 2018-07-20 11:38:58 +02:00
Jordi Boggiano 0d92c8df63
Merge pull request #7480 from staabm/patch-3
Simplify Rule->getJob()
2018-07-20 11:25:33 +02:00
Jordi Boggiano 71d25851df
Merge pull request #7479 from staabm/patch-2
Removed unused variables
2018-07-20 11:21:17 +02:00
Jordi Boggiano 6f56ce062c
Merge pull request #7464 from rellect/composer_i
Add `composer i` shorthand for `composer install`
2018-07-20 07:48:22 +02:00
refael iliaguyev 2f347e1347 add alias `u` to the update command 2018-07-19 11:38:43 +03:00
Jordi Boggiano d64f95b70c
Merge pull request #7475 from Elendev/mercurial-auth-json
Add support for authentication with mercurial repositories.
2018-07-19 09:02:40 +02:00
Markus Staab 05499099a0
Simplify Rule->getJob() 2018-07-18 20:50:46 +02:00
Markus Staab f7a1c34c92
Removed unused variables 2018-07-18 20:21:04 +02:00
Markus Staab 3b647f8686
prevent preg_replace() calls when cache is not enabled 2018-07-18 18:24:11 +02:00
Rob b44c9acae6
Merge pull request #7477 from staabm/patch-1
GLOB_BRACE is not defined on all platforms
2018-07-18 17:01:29 +02:00
Markus Staab 70a1a6e510
Throw a RuntimeException when glob braces are used but not supported by the OS 2018-07-18 16:38:44 +02:00
Markus Staab e89d16c47d
GLOB_BRACE is not defined on all platforms 2018-07-18 16:00:32 +02:00
Elendev ea5644281a Display the error output in the thrown exception 2018-07-17 20:03:07 +02:00
Elendev 5c2b34a1af Encode the username correctly (fix typo) 2018-07-17 19:46:25 +02:00
Jordi Boggiano b3d6a17518
Merge pull request #7444 from inaling/add_repositories_path_glob
Add repositories path glob
2018-07-17 17:53:23 +02:00
Jordi Boggiano 3d2b0deb6a
Merge pull request #7402 from m-jch/master
composer show options -t and -l do not work together, fixes #7210
2018-07-17 17:33:56 +02:00
Jordi Boggiano 81326fadc8
Merge pull request #7470 from kalessil/master
[minor] SCA
2018-07-17 17:07:00 +02:00
Jonas Renaudot 1a725d5e1f Add support for authentication with mercurial repositories. 2018-07-17 12:04:27 +02:00
Vladimir Reznichenko 6f6d59426d New finding by Static Code Analysis: revert uniqid() to comply long path requirements 2018-07-16 22:40:48 +02:00
Vladimir Reznichenko cd39efc72c New finding by Static Code Analysis 2018-07-14 20:55:26 +02:00
Rob 006c921abd
Merge pull request #7467 from staabm/less-count
Use variable to call count() less often
2018-07-12 22:08:52 +02:00
Markus Staab 50565cb0c8 Use variable to call count() less often 2018-07-12 20:44:24 +02:00
Rob 68d468d683
Merge pull request #7450 from staabm/simpler-hash
Use a simpler hashing for the Rule2Literal case
2018-07-12 10:05:24 +02:00
Rob 1e9136f086
Merge pull request #7456 from staabm/simpler-equals
Specialize Rule2Literal->equals(Rule2Literal) for speedup
2018-07-12 10:02:36 +02:00
Rob 7079cdb70d
Merge pull request #7458 from staabm/patch-3
Define variable only when actually used
2018-07-12 10:01:19 +02:00
Rob b350c09c7e
Merge pull request #7457 from staabm/patch-2
Remove unnecessary abs() calls
2018-07-12 09:58:38 +02:00
Rob e0eaca21f7
Merge pull request #7451 from staabm/patch-1
Temporary save the package-name into a variable
2018-07-12 09:57:18 +02:00
refael iliaguyev b63e2de819 add alias `i` to the install command 2018-07-11 20:37:34 +03:00
Markus Staab 86d5de2965
Define variable only when actually used 2018-07-10 21:01:52 +02:00
Markus Staab 42516901f1
Removed another unnecessary abs() call 2018-07-10 20:59:39 +02:00
Markus Staab 0e16dbabde
Removed another unnecessary abs() call 2018-07-10 20:55:14 +02:00
Markus Staab e3a23f4ae6
Remove unnecessary abs() calls
Literal cannot be negative at this point
2018-07-10 20:49:24 +02:00
Markus Staab 7a4937bbcc Specialize Rule2Literal->equals(Rule2Literal) for speedup 2018-07-10 18:24:06 +02:00
Markus Staab 07383552b3
Temporary save the package-name into a variable
this reduces number of unnecessary function calls in the hot path of "composer update"
2018-07-09 14:09:46 +02:00
Markus Staab 0aa7ec2d2c Use a simpler hashing for the Rule2Literal case
this speeds up "composer update" by ~18%
2018-07-09 14:01:57 +02:00
Kazuhiro Inari 354eec76ae Add repositories path glob 2018-07-07 00:47:27 +09:00