92 Commits (96486d81cb0243368415059bc1cb8b66269cefc4)

Author SHA1 Message Date
Jordi Boggiano 96486d81cb
Fix many PHPStan issues and update baseline 3 years ago
Jordi Boggiano 32dcb93f24
Update extra files for latest polyfill lib 3 years ago
Jordi Boggiano 095c36ecf8
Fix some PHPStan errors/.. 3 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 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 0868245589
Rename master branch to main 3 years ago
Jordi Boggiano d1c8a4d1b4
Lots of typing improvements 3 years ago
Jordi Boggiano 8657f80ddd
Fix error output to be clearer when running composer.phar without phar extension, fixes #10097 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 e49f24e355
Switch phar signatures to sha512 3 years ago
Jordi Boggiano aeb2c8d6e3
Make sure InstalledVersions ships to project with docblocks 3 years ago
John Stevenson dfc69140fe
Fix compiler on Windows (#9730) 4 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Jordi Boggiano 35b403b266
Make sure a version not found issue is reported as such for clarity, fixes #9500 4 years ago
Jordi Boggiano 3ffdd67e81
Fix running compiler in CI env 4 years ago
Jordi Boggiano 22fef8c51a
Make sure no files are missing from the phar, fixes #9421 4 years ago
Jordi Boggiano 9bfddadf3d
Make sure no unknown files get excluded from the phar, fixes #9331 4 years ago
Jordi Boggiano b4f0f4ddd2
Fix php8 file being missing from phar, refs #9331 4 years ago
Simon Berger 80d71ccb3f Merged isset, unset and str_replace calls 4 years ago
Jordi Boggiano 0d1922dc27
Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 4 years ago
Jordi Boggiano 2c8a4a1b93
Add platform-check config option to disable platform_check.php generation, and disable it for Composer 5 years ago
Jordi Boggiano c41bb909ff
Add platform check file in phars, fixes #8813 5 years ago
Jordi Boggiano 2e82e34fe0
Merge branch 'master' into 2.0 5 years ago
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.
5 years ago
Jordi Boggiano 5f988a34a6
Merge branch 'master' into 2.0 6 years ago
Jordi Boggiano 4271167495
Improve version reporting 6 years ago
Jordi Boggiano f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 6 years ago
François-Xavier de Guillebon 114217c6e3
Fix ini_get() for boolean values 6 years ago
Helmut Hummel b99798068d Use symfony/console for hidden questions
Fixes: #7337
6 years ago
johnstevenson ed97c2116c Use external XdebugHandler library 7 years ago
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Fedir Kryvytskyi dc509b236f Fixed error, when composer.phar was broken, if it compiled inside folder, that has /composer in path 7 years ago
Jordi Boggiano d20d856aa8 Merge remote-tracking branch 'nicolas-grekas/php7-static' 9 years ago
Nicolas Grekas fd2f51cea8 Speedup autoloading on PHP 5.6 & 7.0+ using static arrays 9 years ago
Jordi Boggiano 1a5441f944 Add ca-bundle to build 9 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 9 years ago
Jordi Boggiano c9501a4cc1 Update dependencies, fixes #4706 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Rob Bast 0adcab7a19 compile phar with semver included 9 years ago
Rob Bast 56f0d82207 get resources dir from spdxlicenses 9 years ago
Rob Bast 1f006a499e updated compiler class to include spdx sources 9 years ago
Jordi Boggiano b7c827c2e5 Use external lib for hidden cli prompting 10 years ago
Jordi Boggiano 2a48b0faa0 Make autoloader suffix a reproducible value as well, refs #3927 10 years ago
Jordi Boggiano facdd8a503 Add phar-utils package to update timestamps after the build is done, refs #3927 10 years ago
Jordi Boggiano ebffb3c179 Move improvements towards reproducible builds, refs #3927 10 years ago
Jordi Boggiano 92785ac677 Make builds more reproducible, refs #3927 10 years ago
Jordi Boggiano c573ae5781 Add missing LICENSE files from dependencies, fixes #3776 10 years ago
Padraic Brady 19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
10 years ago
Jordi Boggiano 2131c8b480 Simplify tag probe 10 years ago