530 Commits (f9d2feb9cb567a77b3c8b47ce0af114e07d82041)

Author SHA1 Message Date
Hugo Thunnissen f9d2feb9cb Fix 3 sonarqube bugs
continuous-integration/drone/push Build is passing Details
2 years ago
Jordi Boggiano bd6403a6be
Fix newly surfaced errors 2 years ago
Jordi Boggiano 615530f0a1
Merge branch '2.2' into main, update baseline (2085, 104) 2 years ago
Jordi Boggiano 0a8dfe6ef7
Clarify that autoloader-suffix should be a non-empty-string, fixes #10720 (#10725) 2 years ago
Jordi Boggiano e0cce2bfb0
Allow autoload to run on 5.6 still, add early exits when running composer or autoload.php with outdated PHP versions, fixes #10714, refs #10709 2 years ago
Jordi Boggiano dce63fdf4f
Merge branch '2.2' into main 2 years ago
Jordi Boggiano ecec0d00fc
Fix generation of autoload rules in a dir that is missing to ensure it does not break (#10688) 2 years ago
Jordi Boggiano be4b70ce79
Fix phpstan issues 2 years ago
Jordi Boggiano 10287fcea3
Fix type error 2 years ago
Jordi Boggiano 5122bd42fb
Merge branch '2.2' into main 2 years ago
Jordi Boggiano f31700bf19
Sort packages with the same weight alphabetically to have a completely stable sort not dependent on input order, fixes #10614 2 years ago
Jordi Boggiano 18246212db
Upgrade to composer/pcre 2.x 2 years ago
Jordi Boggiano beb575dd00
Fix more issues, update baseline (2203/106) 2 years ago
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 89ce53250e
Final type additions 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 abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano 45218092b4
Merge branch '2.2' into main 2 years ago
Jordi Boggiano f808e4907c
Fix handling for non-lowercased enum keyword, fixes #10521 2 years ago
Jordi Boggiano 3446091027
Merge branch '2.2' into main 2 years ago
Markus Staab 6be6ce7d9f
update composer/pcre to 1.0.1 (#10496) 2 years ago
Jordi Boggiano db8ea45295
Fix enum parsing when the syntax is "enum foo:string {}" without space between name and type, fixes #10498 2 years ago
Jordi Boggiano 06e445ce02
Drop PHP <7.2 and HHVM support from autoload_real, individual autoload files are kept as is for BC 2 years ago
Michael Voříšek 4fdc8b8ee1
dirname(__FILE__) no longer needed 2 years ago
Niels Vanpachtenbeke 1c928466a9
Remove code blocks for php <7.2 compatibility (#10417) 2 years ago
Jordi Boggiano 0b3adc84da
Fix a few phpstan errors and add a php8+ baseline for the rest 2 years ago
Jordi Boggiano e1bf45aa80
Fix issue parsing php files with unterminated comments found inside backticks, fixes #10385 2 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 2 years ago
Wataru Kurashima 10f8edb816
fix typo (#10331) 2 years ago
Helmut Hummel 0b9e1da4fc
Allow recursively call composerRequire (#10312)
Fixes: #10311
Related: #10065
3 years ago
Jordi Boggiano f509c41280
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Nicolas Grekas 0662fa2662
Fix loading files for plugins/scripts (#10279) 3 years ago
Martin Herndl 3013674c92
Refactor ignore platform reqs checks (#10079)
Introduces a `PlatformRequirementFilter` with methods that help to decide if a requirement is ignored or not as discussed in #10045 but without changing behaviour.
3 years ago
Jordi Boggiano ba5b7a5a9f
Add missing docblocks 3 years ago
Nicolas Grekas 8553c6d978
Add loading of files autoload section for plugins and Composer runtime autoloaders (#10065) 3 years ago
Jordi Boggiano 44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS 3 years ago
Jordi Boggiano 87f25e6df6
Specify parseAutoloads more narrowly, refs #10179 3 years ago
immeëmosol be25cf1d7a
Reaching phpstan level 6 in Composer/Autoload (refs #10159) (#10179)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano 9599eb613b
Type annotations 3 years ago
Jordi Boggiano c3c6969cf5
Type annotations 3 years ago
Jordi Boggiano 97fe881af4
Add some docblocks 3 years ago
Jordi Boggiano d1c8a4d1b4
Lots of typing improvements 3 years ago
Jordi Boggiano d64d1adf61
Rewrite php file cleaning step to be less regex intensive and support extreme cases better, fixes #10106 (#10107) 3 years ago
Jordi Boggiano 8cd2d0e541
Fix scanning of classmaps in files containing invalid Unicode, fixes #10102 3 years ago
Jordi Boggiano 0761474599
Add type info to many properties/methods 3 years ago
Jordi Boggiano fc04c86f82
Add type info to Autoload namespace 3 years ago
Jordi Boggiano d8054d1d2f
Add more possessive quantifiers, unicode flag and support for more post-heredoc syntax, fix test file syntax being invalid 3 years ago