Jordi Boggiano
7abc8da7d3
Add more types
2 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2 years ago
Alexander Schranz
1321bfca36
Add return types to closures ( #9 )
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
a16ed3d0ed
Add return types to private/internal methods
2 years ago
Jordi Boggiano
bab974575c
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch ( #10474 )
2 years ago
Jordi Boggiano
7e50f37b87
Remove some dead code and deprecate JsonFormatter, JsonFile::JSON_* constants, and TlsHelper
3 years ago
Niels Vanpachtenbeke
1c928466a9
Remove code blocks for php <7.2 compatibility ( #10417 )
3 years ago
Jordi Boggiano
4e6d54b731
Fix all 5.3 $this-in-closure usages
3 years ago
Jordi Boggiano
24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_*
3 years ago
Fabien Villepinte
9fde6ec88b
PHPStan level 6 in src/Composer/Json ( #10172 )
3 years ago
Jordi Boggiano
0761474599
Add type info to many properties/methods
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
a586a753df
Fix all remaining php8.1 test suite deprecations
3 years ago
Jordi Boggiano
1bfec451e2
Make sure the LAX_SCHEMA handling disables required/additionalProperties as it used to do but strict schema requires properties only for the composer schema
3 years ago
adlacruzes
7366b8e362
Fix JsonFile when using custom json schema with no "name" and "description" properties
3 years ago
Guilliam Xavier
2d21dd675a
Invert strict/lax schema validation
3 years ago
Guilliam Xavier
9e2cb30dfb
Revert "Merge remote-tracking branch 'BoShurik/schema'"
...
This reverts commit 89c3045e2b
, reversing
changes made to 991985792d
.
3 years ago
BoShurik
cc55b56dd7
Allow optional name and description fields for project type
3 years ago
Jordi Boggiano
40800df6bd
Fix CS
3 years ago
adlacruzes
2d914524e9
JsonFile: add missing ParsingException throws annotations
3 years ago
Jordi Boggiano
492f8cb350
Add more possessive quantifiers
4 years ago
Jordi Boggiano
b021647e6f
Fix JSON manipulation issue with large files and jit enabled, fixes #9595
4 years ago
Jordi Boggiano
eb9616a82b
Debug info improvements
4 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
c7da7e55c9
Fix various issues with regard to schema conformity when modifying json, fixes #9515
4 years ago
Jordi Boggiano
e5a009ed80
Make sure empty objects are not left behind when removing requires/.. fixes #9462
4 years ago
Jordi Boggiano
f2f3b03fec
Fix config/create-project handling of repositories to prepend them by default as this is most likely the goal, fixes #9371
4 years ago
Simon Berger
974e7ba296
Removed unneccesary elseifs
4 years ago
Simon Berger
002fd39bc6
Removed passing of parameters with default value
4 years ago
Simon Berger
bae227ec2d
Changed all substr calls used to compare fragments of text to strpos
...
Some additional code cleanups in those classes
Reverted change causing issues
4 years ago
Yanick Witschi
bd6f62c535
Consistently reuse the new PlatformRepository::isPlatformPackage() method
4 years ago
Jordi Boggiano
4ce3836f51
Fix creation of a php: dir when running create-project, fixes #8849
4 years ago
Adam Žurek
25cd2382cb
Raise phpstan level to 1 ( #8027 )
4 years ago
Jordi Boggiano
8584d15e8c
Merge branch 'master' into 2.0
4 years ago
Жаков Виталий
a4dc076dc8
fix file load errors
5 years ago
Жаков Виталий
8429a48dac
Change only modified files
5 years ago
Jordi Boggiano
a5b178084c
Merge branch 'master' into 2.0
5 years ago
Adriano Ferreira
607d491921
Implemented way to add packages into suggest through CLI
5 years ago
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
14f2a6dd9a
Fix remove command not working with escaped slashes (e.g. foo\/bar), fixes #8249
5 years ago
Nils Adermann
d2fa1e1319
Merge branch 'master' into 2.0
...
* master: (48 commits)
SVN: hide passwords for debug output
Free $solver asap
fixes #8179
[minor] Fixed a typo in the CHANGELOG.md.
Update deps
Update changelog
Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
Use possessive quantifiers
Update xdebug-handler to 1.3.3
fixes #8159
Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
flag should come before script name
use full command name, not abbreviated/alias
modify text
Document the alternatives to disable the default script timeout
Anchor pattern
Fix URL resolution for Composer repositories
...
5 years ago
Jordi Boggiano
fbb964888d
Merge branch '1.8'
5 years ago
Rob Bast
51753bc08c
fixes #8131
5 years ago
Jordi Boggiano
0b928b2a42
Merge branch 'master' into 2.0
6 years ago
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
6 years ago
Raphaël Aurières
6725d1d244
Fix docblock.
6 years ago
Raphaël Aurières
a8f27bf097
Fix constant usage to be compatible with PHP 5.3
6 years ago
Raphaël Aurières
3c01faf0e2
Use parameter with default value to set schema file path.
6 years ago