10254 Commits (c362d001f104aeece7b764397e21381cd427f57c)
 

Author SHA1 Message Date
Jordi Boggiano 4d2f41a415
Merge pull request #9318 from naderman/validate-provide-replace-requirement
Validate: Warn about providing or replacing packages you require
4 years ago
Jordi Boggiano ed127b6dfd
Merge pull request #9322 from TechnologyClassroom/patch-1
Setting permissions prevents a warning from swapon
4 years ago
Christophe Coevoet 3dd7e829b9 Fix support of provided packages in the why-not command
The version provided by such a rule is defined by the constraint of the
rule, not by the package version.
4 years ago
Michael McMahon d4e818c22f
Setting permissions prevents a warning from swapon
Warning text:
```
/sbin/swapon /var/swap.1
swapon: /var/swap.1: insecure permissions 0644, 0600 suggested.
```
4 years ago
Jordi Boggiano 447416a357
Fix typo 4 years ago
Nils Adermann dacc21e54f
Merge pull request #9158 from infabo/patch-1
Fix symlink check
4 years ago
Jordi Boggiano 5f6c6216e0
Merge pull request #9321 from stof/patch-1
Enhance the doc about provide to reduce mistakes
4 years ago
Jordi Boggiano ccac664da1
Merge pull request #9320 from ruudk/patch-1
Specify unit for `process-timeout` config in docs
4 years ago
Jordi Boggiano 94e7ed4f05
Merge pull request #9305 from TerryKern/patch-1
Improve readability of version info message
4 years ago
Christophe Coevoet 8e9262f129
Enhance the doc about provide to reduce mistakes 4 years ago
Ruud Kamphuis 0234b13817
Specify unit for `process-timeout` config in docs 4 years ago
terry.kern 0466add822 Also use channel string for update message
https://github.com/composer/composer/pull/9305#issuecomment-714381153
4 years ago
TerryKern e68b52697b Improve readability of version info message
Instead of:

> You are already using composer version 1.10.15 (1 channel).

it shows:

> You are already using composer version 1.10.15 (1.x channel).
4 years ago
Nils Adermann 6409ed0fc2 Validate: Warn about providing or replacing packages you require 4 years ago
Jordi Boggiano 492bece6e2
Merge pull request #9317 from naderman/test-provider-satisfy-self
Test: Verify require for package provided or replaced by pkg itself is used
4 years ago
Nils Adermann 1d6c0865ca Test: Verify replacing a package required by the same package satisfies the dep 4 years ago
Jordi Boggiano 50d0e3d3fa
Merge pull request #8733 from naderman/fix-solver-bug-exception-7665
Test for issue resulting in overly long learnt rules and solver bug exception
4 years ago
Nils Adermann 290450214e Test: Verify require for package provided by pkg itself is used 4 years ago
Nils Adermann c0236c5ed2 Move slow integration test to separate fixtures directory and add to slow group 4 years ago
Nils Adermann c37dce0bb3 Remove unnecessary hhvm conflict rules from test 4 years ago
Nils Adermann 2468cd20dd Update test case for github issue 7665 to have correct output 4 years ago
Nils Adermann e11f52c041 Add a test to reproduce github issue #7665 4 years ago
Jordi Boggiano b74afd772b
Merge pull request #9309 from naderman/fix-solver-9290
MultiConflictRule conflict analysis handling on level 1 decisions
4 years ago
Jordi Boggiano 7cfb6dadf0
Merge pull request #9312 from naderman/fix-solver-9012
Solver: Prevent infinite recursion in analyzeUnsolvableRule
4 years ago
Nils Adermann 9338401be7 CS: Typehint array, remove unnecessary docblock, call spl_object_hash once 4 years ago
Nils Adermann 7b4cb9c370 Solver: Prevent infinite recursion in analyzeUnsolvableRule
In complex scenarios reasons for learned rules can themselves be learned
rules caused by other learned rules which had the some of the same
reasons. In this situation iterating over all problem rules requires
keeping track of which rules have previously been analyzed to avoid and
endless loop.

Side effect is that the sorting of problems including learned rules
changes slightly.
4 years ago
Nils Adermann 6e8e5f6ba6
Merge pull request #9310 from naderman/fix-solver-8903
SolverProblemException: Hide learnt rules on output
4 years ago
Nils Adermann 9641ad6025 SolverProblemException: Hide learnt rules on output
Results in too much error output which is not helpful. Very repetitive
and hard to understand. In issue 8903 even leads to endless recursion
bug.
4 years ago
Nils Adermann 7f41698157 Solver: on analyze, when reaching last decision > l1 skip other multi rule literals 4 years ago
Nils Adermann 853305063d Add test case for github issue 9290 4 years ago
Jordi Boggiano 14ec957e96
Fix composer show -a usage, fixes #9304 4 years ago
Jordi Boggiano 99a5469b5e
More hints 4 years ago
Jordi Boggiano 08ad53f9fb
Merge branch '1.10' 4 years ago
Jordi Boggiano 7fda8433b1
Update schema to use anyOf instead of oneOf, fixes #9295 4 years ago
Jordi Boggiano 4d005a9786
Merge pull request #9296 from mcaskill/bugfix/file-downloader-cache-keys
Fix availability of $urls in FileDownloader
4 years ago
Jordi Boggiano c01e3bd2f0
Make async test more robust 4 years ago
Chauncey McAskill fcc072fdb6 Add test to check processed URL and cache key 4 years ago
Chauncey McAskill 1bb87babe6 Fix availability of $urls in FileDownloader
Fixed:
- Ensure manipulations to the first element of $urls in the $download callback are available in $accept and $reject
4 years ago
Jordi Boggiano c46b75de81
Allow any non-numeric version to be used for flex as we can not establish if they are compatible 4 years ago
Jordi Boggiano 59acf9d4aa
Remove dev hint for 2.0, fixes #8738 4 years ago
Ingo Fabbri 750172dc4c
Fix symlink check
Given you have a symlink in one of your path repositories and mirroring-strategy enabled.

```bash
lrwxrwxrwx 1 inf inf    8 27. Aug 17:41 Create.html -> New.html
-rw-r--r-- 1 inf inf  750 27. Aug 17:24 Edit.html
-rw-r--r-- 1 inf inf    0 27. Aug 17:24 List.html
-rw-r--r-- 1 inf inf 5064 27. Aug 17:24 New.html
-rw-r--r-- 1 inf inf  716 27. Aug 17:24 Show.html
```

`$file->getLinkTarget()` just returns a relative path in this example. It does not return an absolute normalized path.
`$sources` is always a normalized path.

`strpos` can never be `0`.

Use `$file->getRealPath()` to fix the strpos-check.
4 years ago
Jordi Boggiano 2ca2ec3d0a
Allow loading flex main branch 4 years ago
Jordi Boggiano df863f8860
Update repo docs 4 years ago
Jordi Boggiano 7ca3847fa3
Update changelog 4 years ago
Jordi Boggiano 743d551399
Fix using show command to show platform packages, and allow using it to show replacers too by using the replaced name, fixes #7628 4 years ago
Jordi Boggiano 8e888bec78
Merge pull request #9286 from bezpiatovs/refactored-operations
Refactor Operations classes to get rid of explicit strings comparison
4 years ago
Jordi Boggiano 8d0596163c
Rename abstract class back to the previously present SolverOperation, mark it internal, reintroduce some duplication 4 years ago
Bezpiatov 140de5480d Fixed variable usage 4 years ago
Bezpiatov 9a5121ed27 Refactor Operation classes to use constants instead of strings for comparison 4 years ago
Jordi Boggiano e7d99c37b3
Fix show --locked to avoid listing all the things 4 years ago