Jordi Boggiano
|
bd6a5019b3
|
Update to composer/pcre 2.1 (#11189)
|
2022-11-17 11:34:54 +01:00 |
Jordi Boggiano
|
6c85b875f2
|
Update to PHPStan 1.9
|
2022-11-03 21:53:42 +01:00 |
Jordi Boggiano
|
855473148a
|
Fix regression in loading Composer on SMB/network shares, refs #8231 #11077
|
2022-10-25 15:05:35 +02:00 |
Jordi Boggiano
|
80907cd75d
|
Ensure files are readable before reading in JsonFile, fixes #11077
|
2022-10-13 14:07:09 +02:00 |
Jordi Boggiano
|
c10854d3f3
|
Remove extra lines
|
2022-08-31 12:42:26 +02:00 |
Jordi Boggiano
|
131da999ac
|
Fix CS (#11003)
|
2022-08-17 14:20:07 +02:00 |
Jordi Boggiano
|
1812862d5e
|
Update phpstan to latest, update baseline (1909, 103)
|
2022-06-30 17:07:18 +02:00 |
Mathias Reker ⚡️
|
4131f7cf4c
|
Static lambda (#10854)
Lambdas not (indirect) referencing $this must be declared static.
|
2022-06-22 14:19:18 +02:00 |
Jordi Boggiano
|
367012513d
|
Merge branch '2.3' into main
|
2022-06-06 16:49:52 +02:00 |
Jordi Boggiano
|
cb76394800
|
Merge branch '2.2' into 2.3
|
2022-06-06 16:34:34 +02:00 |
Fabien Villepinte
|
1e9210f7b1
|
Fix TypeError when a JSON file can not be read (#10818)
|
2022-06-04 15:20:58 +02:00 |
Subhan Shamsoddini
|
b2006fbe9c
|
replace 'for' loop with 'str_repeat' function (#10788)
|
2022-05-24 21:12:10 +02:00 |
Jordi Boggiano
|
be4b70ce79
|
Fix phpstan issues
|
2022-04-01 16:42:23 +02:00 |
Jordi Boggiano
|
8e93566c18
|
Validate config schema before loading it, fixes #10685
|
2022-04-01 11:23:59 +02:00 |
Jordi Boggiano
|
18246212db
|
Upgrade to composer/pcre 2.x
|
2022-02-26 14:02:11 +01:00 |
Jordi Boggiano
|
6a466a120a
|
Enable strict types on all files
|
2022-02-24 13:24:34 +01:00 |
Jordi Boggiano
|
0db443ba5f
|
Add visibility to all consts, fixes #10550
|
2022-02-23 14:28:04 +01:00 |
Jordi Boggiano
|
7abc8da7d3
|
Add more types
|
2022-02-23 11:37:32 +01:00 |
Jordi Boggiano
|
6da38f83a0
|
Add parameter types to all the things
|
2022-02-22 16:48:53 +01:00 |
Alexander Schranz
|
1321bfca36
|
Add return types to closures (#9)
|
2022-02-21 13:37:49 +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
|
a16ed3d0ed
|
Add return types to private/internal methods
|
2022-02-18 11:22:01 +01:00 |
Jordi Boggiano
|
bab974575c
|
Merge branch '2.2' into main
|
2022-01-21 16:00:50 +01:00 |
Jordi Boggiano
|
e3d99cac59
|
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch (#10474)
|
2022-01-21 12:48:16 +01:00 |
Jordi Boggiano
|
7e50f37b87
|
Remove some dead code and deprecate JsonFormatter, JsonFile::JSON_* constants, and TlsHelper
|
2022-01-04 11:15:33 +01:00 |
Niels Vanpachtenbeke
|
1c928466a9
|
Remove code blocks for php <7.2 compatibility (#10417)
|
2022-01-03 17:35:32 +01:00 |
Jordi Boggiano
|
4e6d54b731
|
Fix all 5.3 $this-in-closure usages
|
2022-01-03 16:32:39 +01:00 |
Jordi Boggiano
|
24ce1eddbd
|
Add composer/pcre dependency and use it everywhere instead of preg_*
|
2021-12-07 12:37:19 +01:00 |
Fabien Villepinte
|
9fde6ec88b
|
PHPStan level 6 in src/Composer/Json (#10172)
|
2021-10-16 22:42:32 +02:00 |
Jordi Boggiano
|
0761474599
|
Add type info to many properties/methods
|
2021-08-30 14:46:49 +02:00 |
Jordi Boggiano
|
d3c176ec69
|
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5
* Update seld/phar-utils to latest
* Add phpstan-setup / phpstan scripts
|
2021-08-21 17:41:52 +02:00 |
Jordi Boggiano
|
a586a753df
|
Fix all remaining php8.1 test suite deprecations
|
2021-08-19 13:00:30 +02:00 |
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
|
2021-06-04 08:05:42 +02:00 |
adlacruzes
|
7366b8e362
|
Fix JsonFile when using custom json schema with no "name" and "description" properties
|
2021-06-03 20:15:35 +02:00 |
Guilliam Xavier
|
2d21dd675a
|
Invert strict/lax schema validation
|
2021-05-24 11:51:04 +02:00 |
Guilliam Xavier
|
9e2cb30dfb
|
Revert "Merge remote-tracking branch 'BoShurik/schema'"
This reverts commit 89c3045e2b , reversing
changes made to 991985792d .
|
2021-05-24 11:46:08 +02:00 |
BoShurik
|
cc55b56dd7
|
Allow optional name and description fields for project type
|
2021-03-30 16:51:03 +03:00 |
Jordi Boggiano
|
40800df6bd
|
Fix CS
|
2021-02-25 13:46:52 +01:00 |
adlacruzes
|
2d914524e9
|
JsonFile: add missing ParsingException throws annotations
|
2021-02-05 17:32:25 +01:00 |
Jordi Boggiano
|
492f8cb350
|
Add more possessive quantifiers
|
2021-01-12 14:05:55 +01:00 |
Jordi Boggiano
|
b021647e6f
|
Fix JSON manipulation issue with large files and jit enabled, fixes #9595
|
2021-01-12 11:02:43 +01:00 |
Jordi Boggiano
|
eb9616a82b
|
Debug info improvements
|
2020-12-15 14:55:44 +01:00 |
Jordi Boggiano
|
b7d770659b
|
CS fixes
|
2020-11-22 14:52:39 +01:00 |
Jordi Boggiano
|
c7da7e55c9
|
Fix various issues with regard to schema conformity when modifying json, fixes #9515
|
2020-11-22 14:26:18 +01:00 |
Jordi Boggiano
|
e5a009ed80
|
Make sure empty objects are not left behind when removing requires/.. fixes #9462
|
2020-11-12 11:09:15 +01:00 |
Jordi Boggiano
|
f2f3b03fec
|
Fix config/create-project handling of repositories to prepend them by default as this is most likely the goal, fixes #9371
|
2020-10-30 14:16:40 +01:00 |
Simon Berger
|
974e7ba296
|
Removed unneccesary elseifs
|
2020-09-20 02:16:28 +02:00 |
Simon Berger
|
002fd39bc6
|
Removed passing of parameters with default value
|
2020-09-20 02:16:28 +02:00 |
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
|
2020-09-07 21:08:34 +02:00 |
Yanick Witschi
|
bd6f62c535
|
Consistently reuse the new PlatformRepository::isPlatformPackage() method
|
2020-09-01 17:19:19 +02:00 |