Jordi Boggiano
fb854df124
Update phpstan config
3 years ago
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
3 years ago
Jordi Boggiano
48758c0207
Update deps & baseline
3 years ago
Jordi Boggiano
4b67a97a25
Update baseline
3 years ago
Jordi Boggiano
3446091027
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
335c3c9450
Update baseline
3 years ago
Jordi Boggiano
62d5f4f295
Fix phpstan errors
3 years ago
Jordi Boggiano
31429ce099
Update baselines
3 years ago
Jordi Boggiano
bab974575c
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch ( #10474 )
3 years ago
Ondřej Mirtes
a943aacd10
Update to PHPStan 1.4.1 ( #10466 )
3 years ago
Ondřej Mirtes
cd34886e9d
Update to PHPStan 1.4 ( #10459 )
3 years ago
Jordi Boggiano
5e4a8a882d
Allow ProcessExecutor to receive commands as arrays, refs #6552 ( #10435 )
3 years ago
Jordi Boggiano
4e6d54b731
Fix all 5.3 $this-in-closure usages
3 years ago
Jordi Boggiano
5805a68645
Fix some todos dropping support for older Symfony releases
3 years ago
Jordi Boggiano
0b3adc84da
Fix a few phpstan errors and add a php8+ baseline for the rest
3 years ago
Jordi Boggiano
22fed0d445
Get rid of prophecy usage
3 years ago
Jordi Boggiano
96486d81cb
Fix many PHPStan issues and update baseline
3 years ago
Jordi Boggiano
ffd62795bc
Get rid of all the ->at() mock invocations
3 years ago
Jordi Boggiano
59603a357a
Remove PHPUnit direct require again
3 years ago
Jordi Boggiano
613980b039
Update baseline
3 years ago
Jordi Boggiano
77fec4dc76
Bump to level 8, enable strict rules, and ignore all existing errors with baseline
3 years ago
Jordi Boggiano
2d92e2119a
Add deprecations checks
3 years ago
Jordi Boggiano
f509c41280
Upgrade PHPStan to 1.0 ( #10253 )
...
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Jordi Boggiano
cb0293cf30
Finalize phpstan level 6 for tests dir, closes #10159
3 years ago
Jordi Boggiano
3d9e9ba66f
Fix exclusion of fooProvider errors
3 years ago
Jordi Boggiano
f19d01ef92
Ignore less things in tests
3 years ago
Jordi Boggiano
81ad4e7e58
Fix deprecated phpstan config
3 years ago
Jordi Boggiano
6d37c1f8ab
Ignore unmatched errors
3 years ago
Jordi Boggiano
0b8089fe80
Ignore some irrelevant PHPStan errors in test files
3 years ago
Jordi Boggiano
0761474599
Add type info to many properties/methods
3 years ago
Jordi Boggiano
024f0eda53
Add a bunch of type info to Util namespace
3 years ago
Jordi Boggiano
d3c176ec69
PHPStan Level 5 ( #10070 )
...
* Bump PHPStan to level 5
* Update seld/phar-utils to latest
* Add phpstan-setup / phpstan scripts
3 years ago
Ondřej Mirtes
c65890d2d3
DiagnoseCommand - fix PHPDoc ( #9991 )
3 years ago
Jordi Boggiano
c686bbd7e2
Clean up invalid errors in baseline
3 years ago
Jordi Boggiano
f3bc2a3aed
Bump phpstan to level 4 using baseline
3 years ago
Jordi Boggiano
4940009f83
Bump phpstan to level 3 ( #9734 )
...
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
4 years ago
Jordi Boggiano
980eef5b68
Fix InstalledVersions issues in PHPStan by including the local file first
4 years ago
Andrés De la Cruz
480a6439fd
Fix phpstan phpdocs issues ( #9478 )
4 years ago
Jordi Boggiano
c2317d59bb
Bump phpstan and deps
4 years ago
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
4 years ago
Jordi Boggiano
ae44a5963d
ZipArchive issues fixed in phpstan it seems
4 years ago
Ayesh Karunaratne
d906ff12c9
PHPStan fixes: `autoload_files`, and `ignoreErrors` ( #8974 )
...
* PHPStan: Remove autoload_files directive as it is not necessary anymore
* PHPStan: Add error exclusions for sapi_windows_set_ctrl_handler function
* PHPStan: Add error exclusions for ZipArchive::LIBZIP_VERSION
* PHPStan: Require phpstan ^0.12.26
* Ensure zip ext is available on gh actions
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Jordi Boggiano
c9571f90b4
Run phpstan with regular output and then run again to cs2pr if there was an error, to keep usable output in CI logs
4 years ago
Jordi Boggiano
e9a2f922d5
Fix phpstan config
4 years ago
Jordi Boggiano
00ad18b742
Fix last phpstan errors
4 years ago
Jordi Boggiano
b166ef4b58
Fix more phpstan errors
4 years ago
Jordi Boggiano
80505e745e
Fix phpstan issues
4 years ago
Adam Žurek
25cd2382cb
Raise phpstan level to 1 ( #8027 )
4 years ago
Jordi Boggiano
12a6375548
Ignore phpstan error
5 years ago