Fabien Villepinte
1e9210f7b1
Fix TypeError when a JSON file can not be read ( #10818 )
2022-06-04 15:20:58 +02:00
Jordi Boggiano
25542aca70
Update baseline
2022-05-24 21:26:37 +02:00
Jordi Boggiano
1d0fa93495
Fix lock:false still outputting lock file changes
2022-05-11 09:42:13 +02:00
Jordi Boggiano
d64e32c991
Merge remote-tracking branch 'ktomk/patch-validate-no-check-lock' into 2.2
2022-04-13 15:21:36 +02:00
Jordi Boggiano
bb0edce095
Fixed lock file being used when lock:false is in config, refs #10715 ( #10726 )
2022-04-13 14:52:13 +02:00
Tom Klingenberg
939c998baf
validate lock-file if configured ( #10715 , --check-lock)
...
if no lock-file is configured, turn lock file validation errors into
warnings (implicit --no-check-lock) unless those are explicitly promoted
via the new --check-lock option.
- `{"config": {"lock": false}}` is an implicit `--no-check-lock` for
composer validate.
- `--check-lock` overrides an (implicit or explicit) `--no-check-lock`,
always.
issue: #10715
2022-04-12 22:30:41 +02:00
Jordi Boggiano
335c3c9450
Update baseline
2022-02-04 16:25:16 +01:00
Jordi Boggiano
62d5f4f295
Fix phpstan errors
2022-02-02 22:18:00 +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
613980b039
Update baseline
2021-12-22 11:00:06 +01:00
Jordi Boggiano
77fec4dc76
Bump to level 8, enable strict rules, and ignore all existing errors with baseline
2021-12-07 12:50:03 +01:00
Jordi Boggiano
2d92e2119a
Add deprecations checks
2021-12-07 09:33:45 +01:00
Jordi Boggiano
f509c41280
Upgrade PHPStan to 1.0 ( #10253 )
...
Co-authored-by: Martin Herndl <martin@herndl.org>
2021-11-14 20:42:24 +01:00
Jordi Boggiano
cb0293cf30
Finalize phpstan level 6 for tests dir, closes #10159
2021-11-02 14:32:09 +01: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
Ondřej Mirtes
c65890d2d3
DiagnoseCommand - fix PHPDoc ( #9991 )
2021-07-07 21:52:53 +02:00
Jordi Boggiano
c686bbd7e2
Clean up invalid errors in baseline
2021-06-03 11:40:02 +02:00
Jordi Boggiano
f3bc2a3aed
Bump phpstan to level 4 using baseline
2021-06-03 11:36:39 +02:00