Jordi Boggiano
5aff184fbc
Merge pull request #8617 from Yohann76/patch-1
...
Update 02-libraries.md
2020-02-18 09:19:16 +01:00
Yohann Durand
36a83869ed
Update 02-libraries.md
2020-02-16 23:02:38 +01:00
arai
1f08138379
Delete variable
2020-02-16 13:34:08 +09:00
Volker Killesreiter
e532e70b22
Revert "Chore: Use consistent directory path"
...
This reverts commit 43e0321ee7
.
2020-02-14 19:54:18 +01:00
Jordi Boggiano
4f59162827
Fix class name of caught exception
2020-02-14 17:03:22 +01:00
Jordi Boggiano
ee2252c6ac
Add lint check after phar is built
...
The initial 1.10.0-RC build (593b8dfb29
)
had what looks like a bit flip of one > into a :, causing a parse error as $foo->bar became $foo-:bar in some class.
This is quite unpleasant and easy to miss as it requires including the file in question before the error is spotted.
It was quite lucky I ran a composer install with the new phar right after to do something else and spotted the error.
Linting all files covers this problem mostly, at least for the PHP files.
2020-02-14 16:36:14 +01:00
Jordi Boggiano
c49a81cf17
Update deps
2020-02-14 15:11:21 +01:00
Jordi Boggiano
fce60aadd1
Update changelog for 1.10 RC
2020-02-14 15:06:17 +01:00
Jordi Boggiano
055a179cc5
Merge pull request #8453 from naderman/funding
...
Add funding field to composer.json and composer fund command
2020-02-14 14:27:12 +01:00
Jordi Boggiano
8dc055bec7
Fix 5.3 syntax
2020-02-14 14:18:26 +01:00
Jordi Boggiano
653e62f201
Merge pull request #8605 from guilliamxavier/fix-validate-strict-warnings
...
Fix validate strict warnings
2020-02-14 14:14:21 +01:00
Jordi Boggiano
4ebc318510
Fix 5.3/5.4 builds
2020-02-14 14:10:42 +01:00
Jordi Boggiano
77a477fb57
Add FundCommand
2020-02-14 14:08:38 +01:00
Jordi Boggiano
f171d1fd89
Avoid requiring auth for the funding API access
2020-02-14 11:50:56 +01:00
Guilliam Xavier
a17e7e9bd3
ValidateCommand: fix array syntax for PHP 5.3
2020-02-14 10:57:19 +01:00
Jordi Boggiano
b033a2ae81
Retrieve funding info from github into composer.json if not declared there
2020-02-14 10:55:22 +01:00
Jordi Boggiano
ff8bf0ab82
Clarify code
...
Co-Authored-By: Guilliam Xavier <guilliamxavier@users.noreply.github.com>
2020-02-14 10:45:35 +01:00
Guilliam Xavier
a222ec5b36
ValidateCommand: remove actually unused code
2020-02-14 10:19:27 +01:00
Nils Adermann
538f070a29
JSON Syntax fix for schema doc
...
Co-Authored-By: Andreas Möller <am@localheinz.com>
2020-02-14 10:08:37 +01:00
Nils Adermann
d665ea7ea9
After update and install commands display how many packages want funding
2020-02-14 10:08:36 +01:00
Nils Adermann
5c4f524d6a
Add funding field to composer.json
...
You can specify a list of funding options each with a type and URL. The
type is used to specify the kind of funding or the platform through
which funding is possible.
2020-02-14 10:08:35 +01:00
Jordi Boggiano
8fd70d2dc4
Target ClassMapGenerator ignoring of invalid PSR classes for 2.0
2020-02-14 10:07:51 +01:00
Jordi Boggiano
fe5b4fa4cc
Merge pull request #8597 from glaubinix/t/log-git-sync-mirror-error
...
Git: log error for sync mirror with existing local copy
2020-02-14 09:58:28 +01:00
Jordi Boggiano
850bfcddfa
Fix json manipulation fallback handling of empty objects, fixes #8600
2020-02-14 09:33:53 +01:00
Jordi Boggiano
881d743ac0
Merge pull request #8607 from DurandSacha/patch-1
...
Update 00-intro.md
2020-02-14 08:43:24 +01:00
Jordi Boggiano
8fcb507d59
Update 00-intro.md
2020-02-14 08:43:03 +01:00
Sacha Durand
389a98a806
Update 00-intro.md
2020-02-14 03:11:33 +01:00
Jordi Boggiano
f26c6d9773
Merge pull request #8604 from abdounikarim/patch-1
...
Update 01-basic-usage.md
2020-02-13 22:01:40 +01:00
Guilliam Xavier
35562dcd49
ValidateCommand: add a comment that we didn't forget $lockErrors
2020-02-13 15:48:36 +01:00
Abdouni Abdelkarim
9c5f1f2748
Update 01-basic-usage.md
...
Hello,
I just updated the link 😉 .
2020-02-13 15:06:09 +01:00
Guilliam Xavier
2f4bd85219
ValidateCommand: de-invert if-elseif-else to reduce code duplication
2020-02-13 14:57:38 +01:00
Guilliam Xavier
901d177179
ValidateCommand: factorize $printSchemaUrl code
2020-02-13 14:46:50 +01:00
Guilliam Xavier
b5e41d6792
ValidateCommand: always display all warnings, independently of --strict
2020-02-13 14:43:26 +01:00
Guilliam Xavier
7e2679ffc1
ValidateCommand: pass $isStrict to outputResult() of with-dependencies too
2020-02-13 14:37:08 +01:00
Stephan Vock
243ee9b1e4
Git: log error for sync mirror with existing local copy
2020-02-12 10:17:21 +00:00
Jordi Boggiano
4d74f5ba95
Fix exclude-from-classmap handling to avoid foo matching foo* directories, fixes #8563 , refs #8575
2020-02-12 10:23:03 +01:00
Jordi Boggiano
c7ba751319
Merge commit 'refs/pull/8575/head' of github.com:composer/composer
2020-02-12 10:11:58 +01:00
Jordi Boggiano
02433c3659
Merge pull request #8565 from glaubinix/t/create-project-add-repository
...
Create project: add option to add the repository to the composer.json
2020-02-11 13:47:34 +01:00
Jordi Boggiano
31068b7bed
Merge pull request #8594 from IonBazan/downgrading-dry-run
...
Distinguish between updates and downgrades in dry-run
2020-02-11 10:49:09 +01:00
Jordi Boggiano
0cc04f0fde
Merge pull request #8595 from IonBazan/risky-test
...
Fix risky test
2020-02-11 10:32:04 +01:00
Ion Bazan
11ae757e99
fix risky tests
2020-02-11 17:27:56 +08:00
Jordi Boggiano
1848af32ab
Merge pull request #8593 from sualko/patch-1
...
rename signature to checksum
2020-02-11 10:20:54 +01:00
Ion Bazan
a180f48921
Distinguish between updates and downgrades in dry-run
2020-02-11 16:35:35 +08:00
Klaus
9940271c6e
rename signature to checksum
2020-02-11 09:11:45 +01:00
Stephan Vock
2a564a9f36
Create project: add option to add the repository to the composer.json
2020-02-10 16:46:28 +00:00
Jordi Boggiano
5843a282bc
Merge pull request #8562 from adrianosferreira/fix-archive-format-cli
...
Uses config data from Composer object whenever possible on ArchiveCommand
2020-02-10 17:26:26 +01:00
Adriano Ferreira
97d077c43b
Uses config data from Composer object whenever possible on ArchiveCommand
...
It was previously blindly getting a new instance from the factory thus ignoring what is on Composer object config data.
2020-02-10 13:15:58 -02:00
Jordi Boggiano
ac40fc86e3
Merge pull request #8590 from bocharsky-bw/patch-1
...
Wrap version constaints that contain * with quotes
2020-02-09 21:11:22 +01:00
Victor Bocharsky
3934877efe
Wrap version constaints that contain * with double quotes
...
Some shells like ZSH require wrapping * with quotes, otherwise, it shows an error like:
> zsh: no matches found: 2.2.*
But single quotes may cause issues on Windows CMD
2020-02-08 10:16:59 +02:00
Jordi Boggiano
c56886ac36
Avoid checking for .dockerenv if open_basedir is set, fixes #8585
2020-02-07 22:33:39 +01:00