66 Commits (6a466a120a404d1c5d492e5ca715841c491517fc)

Author SHA1 Message Date
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 0db443ba5f
Add visibility to all consts, fixes #10550 2 years ago
Jordi Boggiano 84f0f19112
Split Composer into PartialComposer & Composer classes to avoid nullable properties on Composer for non-fully-loaded instances, add types to Composer\Factory 2 years ago
Jordi Boggiano eda9014bef
Add return types to all code which is not being extended by open source packages 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano d2ede370be
Bump target version, bump PHP and dependency requirements to PHP 7.2+ 2 years ago
Jordi Boggiano d965c26c5c
Reverting release version changes 2 years ago
Jordi Boggiano 3c92ba5cdc
Release 2.2.3 2 years ago
Jordi Boggiano 0a85c3fb01
Reverting release version changes 2 years ago
Jordi Boggiano 2c1887d4f2
Release 2.2.2 2 years ago
Jordi Boggiano a8ed352b31
Add docs for the new bin-dir access and bump runtime-api, refs #10402 2 years ago
Jordi Boggiano 406075891d
Reverting release version changes 2 years ago
Jordi Boggiano bbc265e165
Release 2.2.1 2 years ago
Jordi Boggiano 25835bb5cd
Reverting release version changes 2 years ago
Jordi Boggiano e174a4c432
Release 2.2.0 2 years ago
Jordi Boggiano 0dbc736eb7
Reverting release version changes 2 years ago
Jordi Boggiano 35bba53ebb
Release 2.2.0-RC1 2 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 2 years ago
Helmut Hummel f12a5b8214
Expose path to autoload in a global var for binaries (#10137)
Always create proxy files for package binaries,
to avoid not working binaries in case the package
was installed from a path repository and is itself linked

If the binary is a PHP script, a global variable is now exposed,
which holds the path to the vendor/autoload.php file.
This variable can the be used in the binaries to include this file
without guessing where the path to the vendor folder might be.

Additionally it is now checked on binary creation whether
the reference binary has a shebang and if not, generates
a much simple proxy code, because the stream wrapper code,
that is required for PHP <8 to omit the shebang from the output,
can be skipped.

Fixes: #10119

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano 9e762a4f9a
Bump target to 2.2-dev 3 years ago
Martin Herndl 3645d3042c
Add types to root namespace (#10213) 3 years ago
Jordi Boggiano e137046558
Type annotations 3 years ago
Jordi Boggiano d3c176ec69
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5

* Update seld/phar-utils to latest

* Add phpstan-setup / phpstan scripts
3 years ago
Jordi Boggiano 9a32bf9709
Bump source version to 2.1.999 3 years ago
Jordi Boggiano 284ec95712
Document new methods and update the composer-runtime-api version to 2.1 3 years ago
Jordi Boggiano 45f7036745
Make sure the SOURCE_VERSION works with version_compare against 2.0.0 4 years ago
Jordi Boggiano 4d75d524f1
Fix class name case, refs #8939 4 years ago
Jordi Boggiano 557fb873ee
Add a way to retrieve the Loop instance from Composer to be able to wait on promises to integrate things 4 years ago
Jordi Boggiano 0ab48a1773
Add composer-runtime-api platform package 4 years ago
Jordi Boggiano 5f988a34a6
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 60f198c17d
Update target version 5 years ago
Jordi Boggiano 4271167495
Improve version reporting 5 years ago
Jordi Boggiano fd11cf3618 Port/extract most behavior of RemoteFilesystem to CurlDownloader 5 years ago
Jordi Boggiano ff61ecd484 Allow accessing the ArchiveManager via the Composer object, fixes #6411 7 years ago
Javier Spagnoletti e36f2ea618 Added branch-alias for dev-master to --version|-V output when current version is actually a revision (a non release/git tag).
This replies the work done in #3352 respecting other uses of ```Composer::VERSION``` constant.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| Doc PR        | none
10 years ago
Sandy Pleyte 2618e9a4f1 Fixed some docblocks 10 years ago
Jordi Boggiano 5b96caf8ce Add version release date to -V output, fixes #2267 11 years ago
Nils Adermann f0b45099c1 Correct authorship info for files I edited 11 years ago
Nils Adermann 3960edd64e Turn EventDispatcher into generic solution handling plugins as well 11 years ago
Nils Adermann 2f43e9aefb Load installed plugins at appropriate time and adapt tests accordingly 11 years ago
Nils Adermann eb966d347f Implement a plugin manager and interface, update installer plugin tests 11 years ago
Ronny López e5cbf83185 Added post-autoload-dump script event. 12 years ago
Jordi Boggiano d6de4a0036 Rename Package interfaces to reduce BC issues 12 years ago
Jordi Boggiano 66e9dcddf4 CS fixes 12 years ago
Jordi Boggiano b566ba77ac Fix behavior broken by #665 12 years ago
Paul Seiffert c438120c69 Added comments to Composer class in order to make it IDE friendlier. Also added missing property 'config'. 12 years ago
Jordi Boggiano e638182397 Add Config class and system-wide config management, fixes #513 12 years ago
Igor Wiedler b15ec17a06 implement a self-update command (closes #83) 13 years ago
everzet 96122aada8 refactored install command to use new Locker 13 years ago
Jordi Boggiano b9114e16be Fix typos, short var names etc 13 years ago