1
0
Fork 0
Commit Graph

11475 Commits (3d04c5638ddadb9bcc6021d5b16ef02d660e523a)

Author SHA1 Message Date
Jordi Boggiano 812094959f
Update deps 2022-02-25 20:49:24 +01:00
Martin Herndl 9715580bc0
Add file agument to archive help (#10574) 2022-02-25 20:47:19 +01:00
Antoine Makdessi 6c0a6e00b3
Fix #10575 (#10576)
Refactor the whole cleanChanges/getLocalChanges code to be more strict with null returns

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-02-25 20:44:10 +01:00
Jordi Boggiano 076925ebef
Merge pull request #10567 from Seldaek/strict_types
Add strict types declares to all files
2022-02-25 14:54:14 +01:00
Jordi Boggiano af995c3038
Merge branch '2.2' into main 2022-02-25 11:13:14 +01:00
Jordi Boggiano fa9a877246
Reverting release version changes 2022-02-25 11:12:28 +01:00
Jordi Boggiano 061d154dfd
Release 2.2.7 2022-02-25 11:12:27 +01:00
Jordi Boggiano 039980a45d
Update changelog 2022-02-25 10:55:04 +01:00
Yanick Witschi 8179d1ea33
Early return when a package was already marked to be kept 2022-02-25 10:43:24 +01:00
Ondřej Mirtes 4fdcfb166f
Better ignore-by-php-version.neon.php 2022-02-24 13:24:37 +01:00
Jordi Boggiano beb575dd00
Fix more issues, update baseline (2203/106) 2022-02-24 13:24:35 +01:00
Jordi Boggiano 6a466a120a
Enable strict types on all files 2022-02-24 13:24:34 +01:00
Jordi Boggiano 3cdca37e85
Fix strict type issues 2022-02-24 13:24:25 +01:00
Jordi Boggiano b85e0eebc1
Allow 3rd parties to use URL_REGEX 2022-02-24 11:17:46 +01:00
Jordi Boggiano 1e914f8afc
Merge pull request #10565 from Seldaek/add_const_visibility
Add visibility to all consts, fixes #10550
2022-02-23 14:43:28 +01:00
Jordi Boggiano a8d687441a
Merge pull request #10562 from 94noni/patch-1
Update README.md
2022-02-23 14:37:10 +01:00
Jordi Boggiano 91a0a4c7d8
Also update requirements in docs 2022-02-23 14:33:14 +01:00
Jordi Boggiano 67a12f4829
Slightly more detailed PHP requirements 2022-02-23 14:28:17 +01:00
Jordi Boggiano 0db443ba5f
Add visibility to all consts, fixes #10550 2022-02-23 14:28:04 +01:00
Jordi Boggiano b6c1afaa47
Merge pull request #10561 from Seldaek/add_param_types
Add more param/return types
2022-02-23 13:28:25 +01:00
Jordi Boggiano 89ce53250e
Final type additions 2022-02-23 12:54:07 +01:00
Jordi Boggiano 14fcfc3ae1
Update baseline (2244 errors) 2022-02-23 11:39:26 +01:00
Jordi Boggiano 7abc8da7d3
Add more types 2022-02-23 11:37:32 +01:00
Antoine Makdessi 2874daf59c
Update README.md 2022-02-22 22:32:58 +01:00
Jordi Boggiano e52071a92c
Revert some return types for symfony/flex compatibility 2022-02-22 20:36:49 +01:00
Jordi Boggiano 225b4d7c27
Add some more return types 2022-02-22 19:29:40 +01:00
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2022-02-22 16:48:53 +01:00
Jordi Boggiano c9baeda95b
Merge pull request #10547 from Seldaek/add_returns
Add native return types where possible
2022-02-21 13:57:32 +01:00
Jordi Boggiano fb854df124
Update phpstan config 2022-02-21 13:49:26 +01:00
Alexander Schranz e9b60580f5
Add return types to tests (#10) 2022-02-21 13:42:28 +01:00
Alexander Schranz 1321bfca36
Add return types to closures (#9) 2022-02-21 13:37:49 +01:00
kenedy akena 61ed47baba
Update 04-schema.md (#10554)
Fix grammar to make the sentence grammatically correct
2022-02-21 13:33:20 +01:00
Jordi Boggiano 868b75d5e8
Fix broken links, refs #10542 2022-02-19 12:52:00 +01:00
Sean McBride 7328f5e5db
Renamed the only file with a quote character to remove it (#10542)
The quote character can be problematic and as this is the only one, just removing it makes the codebase more compatible with other systems that forbid the character as a matter of policy.
2022-02-19 12:49:55 +01:00
Yanick Witschi 32da10dc2c
Improve the pool optimizer logging (#10545) 2022-02-19 12:47:35 +01:00
Jordi Boggiano 7b1fc4b2c8
Remove alias::getAliasOf return type as this is not compatible with PHP 7.2/7.3 2022-02-18 20:53:58 +01:00
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 2022-02-18 14:45:08 +01:00
Jordi Boggiano eda9014bef
Add return types to all code which is not being extended by open source packages 2022-02-18 14:32:38 +01:00
Jordi Boggiano 137ebddc25
Clean up useless mocks 2022-02-18 13:05:12 +01:00
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 2022-02-18 11:22:01 +01:00
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2022-02-18 10:38:54 +01:00
Jordi Boggiano 32852304d0
Make use of some new PHP features 2022-02-18 10:20:20 +01:00
Jordi Boggiano 86fb8d4412
Fix CS 2022-02-18 08:50:11 +01:00
Jordi Boggiano 2e40cdf2dc
Clean up properties that belong in PackageDiscoveryTrait 2022-02-18 08:26:59 +01:00
Jordi Boggiano 40de07569d
Merge branch '2.2' into main 2022-02-16 16:05:05 +01:00
Jordi Boggiano 7ee44e6461
Merge pull request #10541 from Seldaek/init_req_fixes
Fix issues in require/init when dealing with virtual packages which do not exist
2022-02-16 16:00:57 +01:00
Jordi Boggiano 2a2440c2a1
Fix handling of virtual packages when searching for packages or when looking up the preferred version (init & require command), refs #10489 2022-02-16 15:44:43 +01:00
Jordi Boggiano 8b5254688c
Drop early package name validation if a version is provided to require/init command, fixes #10489 2022-02-16 15:13:21 +01:00
Jordi Boggiano acea849c51
Clarify plugin docs slightly wrt pre-operations-exec event 2022-02-16 14:58:24 +01:00
Jordi Boggiano 4376153912
Improve untrusted package install docs 2022-02-16 14:50:38 +01:00