44 Commits (04e372fe2ffcaccbc474b789f413dc5926d56eba)

Author SHA1 Message Date
Hugo Thunnissen 04e372fe2f Use regexp to check install command output
continuous-integration/drone/push Build is failing Details
2 years ago
Hugo Thunnissen cee774155d Remove newlines from command display
continuous-integration/drone/push Build is failing Details
2 years ago
Hugo Thunnissen 12d595757c Add tests for InstallCommand (user story 5) 2 years ago
Hugo Thunnissen c1b59ae465 Add some bounds tests to RequireCommandTest 2 years ago
Hugo Thunnissen 127df8060c Test RequireCommand 2 years ago
Michael Babker 58e135181d
Restore the ability to list the scripts in the 'run-script' command without providing a script (#10710) 2 years ago
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 0db443ba5f
Add visibility to all consts, fixes #10550 2 years ago
Jordi Boggiano 7abc8da7d3
Add more types 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Alexander Schranz e9b60580f5
Add return types to tests (#10) 2 years ago
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano 63b5f2737b
Merge branch '2.2' into main 2 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
2 years ago
Jordi Boggiano 28ec4fa7b0
Fix handling of invalid emails 2 years ago
Jordi Boggiano 96486d81cb
Fix many PHPStan issues and update baseline 2 years ago
Jordi Boggiano 6ed3aeb343
Remove setExpectedException wrapper 2 years ago
Christian 4071125172
Added return type docs (#10221) 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
Jordi Boggiano 4c9e75c6e5
Fix CS 3 years ago
Andreas Scheibel bb1bb022e4
"composer init --autoload" - Interactive generates PSR-4 autoloader in composer.json (#9829)
- Generates PSR-4 autoload entry in composer.json.
- Run dump-autoload, if no dependencies are set
3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Jordi Boggiano fc5682ed9f
Fix build 4 years ago
Jordi Boggiano be8dd528b8
Merge remote-tracking branch 'origin/master' into 2.0 4 years ago
Ion Bazan 11ae757e99 fix risky tests 4 years ago
Adriano Ferreira 97d077c43b Uses config data from Composer object whenever possible on ArchiveCommand
It was previously blindly getting a new instance from the factory thus ignoring what is on Composer object config data.
4 years ago
Jordi Boggiano 21ab2f85bb
Fix 7.4 build 4 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano 066351c5b9 Remove use of deprecated getMock method 6 years ago
Jose Miguel Pérez Ruiz b2f62bc06c Fix Init Command to accept author names with Unicode combining diacritical marks 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Den Girnyk 41eb297248 Add tests 8 years ago
Matthew "Juniper" Barlett ac41bb0615 Fix for issue #5631
- Add " ( and ) as valid characters in author name
- Add relavent unit tests
8 years ago
Rob Bast b99d9465c1 Added testcase 9 years ago
Jordi Boggiano 38917c2047 Add parallel build to travis script 11 years ago
Przemysław Piechota 95cbb177dd Init command - diacritical marks in author name 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Jordi Boggiano 1dd8bffce5 CS fixes 11 years ago
Francesc Rosàs 7c273d1ee4 Test parseAuthorString() actual result 11 years ago
Francesc Rosàs 991b4fe208 Fix namespace 11 years ago
Francesc Rosàs 9aa0aba77c Extract email validation into a method 11 years ago
Francesc Rosàs e3b9dd10c2 Test InitCommand::parseAuthorString() 11 years ago