1
0
Fork 0
Commit Graph

84 Commits (928e19e63720947dc4189d587f6b20a47ac64a00)

Author SHA1 Message Date
Jordi Boggiano f8eed28347
Update baseline (2030, 104) 2022-04-29 11:25:23 +02:00
Jordi Boggiano d5a8d2be22
Enable phpstan bleedingEdge 2022-04-29 11:10:21 +02:00
Jordi Boggiano 474d0dc82d
Extract phpstan extension config into its own file 2022-04-29 09:04:02 +02:00
Markus Staab 532166a892
ws 2022-04-28 13:23:05 +02:00
Markus Staab 0cd02f6257
added phpstan ConfigReturnTypeExtension 2022-04-28 13:22:56 +02:00
Jordi Boggiano f435618cb3
Update phpstan baseline (2086, 104) 2022-04-27 21:54:54 +02:00
Jordi Boggiano 615530f0a1
Merge branch '2.2' into main, update baseline (2085, 104) 2022-04-13 16:18:25 +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 0a8dfe6ef7
Clarify that autoloader-suffix should be a non-empty-string, fixes #10720 (#10725) 2022-04-13 15:17:07 +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 499fc29e79
Update baseline (2086, 104) 2022-04-07 16:12:25 +02:00
Michael Babker 58e135181d
Restore the ability to list the scripts in the 'run-script' command without providing a script (#10710) 2022-04-07 13:17:28 +02:00
Jordi Boggiano 2ef9e14c2f
Update baseline (2086, 104) 2022-04-06 21:48:30 +02:00
Jordi Boggiano a71985ce01
Update baseline (2150, 103) 2022-03-30 16:25:38 +02:00
Jordi Boggiano 6bd75d5738
Update phpstan & baseline (2158, 104) 2022-03-29 14:03:05 +02:00
Jordi Boggiano 166542f981
Fix param nullability 2022-03-21 14:05:56 +01:00
Jordi Boggiano bbf2e94579
Fix a few type errors, update baseline (2170, 104) 2022-03-18 10:14:38 +01:00
Jordi Boggiano 8d446bef67
Update baseline (2182+104) 2022-03-16 10:14:17 +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 0db443ba5f
Add visibility to all consts, fixes #10550 2022-02-23 14:28:04 +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 fb854df124
Update phpstan config 2022-02-21 13:49:26 +01:00
Jordi Boggiano 5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors (#10476)
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2022-02-16 13:24:57 +01:00
Jordi Boggiano 48758c0207
Update deps & baseline 2022-02-15 17:05:01 +01:00
Jordi Boggiano 4b67a97a25
Update baseline 2022-02-04 16:50:01 +01:00
Jordi Boggiano 3446091027
Merge branch '2.2' into main 2022-02-04 16:31:14 +01: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 31429ce099
Update baselines 2022-01-21 16:11:22 +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
Ondřej Mirtes a943aacd10
Update to PHPStan 1.4.1 (#10466) 2022-01-21 10:21:09 +01:00
Ondřej Mirtes cd34886e9d
Update to PHPStan 1.4 (#10459) 2022-01-17 15:18:33 +01:00
Jordi Boggiano 5e4a8a882d
Allow ProcessExecutor to receive commands as arrays, refs #6552 (#10435) 2022-01-06 13:56:12 +01:00
Jordi Boggiano 4e6d54b731
Fix all 5.3 $this-in-closure usages 2022-01-03 16:32:39 +01:00
Jordi Boggiano 5805a68645
Fix some todos dropping support for older Symfony releases 2022-01-03 14:51:41 +01:00
Jordi Boggiano 0b3adc84da
Fix a few phpstan errors and add a php8+ baseline for the rest 2022-01-01 14:54:24 +01:00
Jordi Boggiano 22fed0d445
Get rid of prophecy usage 2022-01-01 14:54:22 +01:00
Jordi Boggiano 96486d81cb
Fix many PHPStan issues and update baseline 2022-01-01 14:54:21 +01:00
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 2022-01-01 14:54:20 +01:00
Jordi Boggiano 59603a357a
Remove PHPUnit direct require again 2022-01-01 14:54:19 +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 3d9e9ba66f
Fix exclusion of fooProvider errors 2021-10-27 15:10:18 +02:00