Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@xaav
Copy link
Contributor

@xaav xaav commented Jun 9, 2011

Changed errors to exceptions, because:

  • This will probably used in a symfony environment (I'm guessing)
  • Errors are difficult to handle.

@stof
Copy link
Contributor

stof commented Jun 10, 2011

@xaav As I said in your previous PR, you are only setting an error handler for the testsuite, which is totally useless as this is already done by PHPUnit when you configure it to do it (and it let the user change it through its PHPUnit config). So this change is just useless

@Seldaek
Copy link
Member

Seldaek commented Jun 10, 2011

@Seldaek Seldaek closed this Jun 10, 2011
naderman referenced this pull request in naderman/composer Sep 25, 2011
naderman added a commit that referenced this pull request Apr 29, 2012
Seldaek added a commit that referenced this pull request May 28, 2012
@cevou cevou mentioned this pull request Sep 20, 2012
digitalkaoz pushed a commit to digitalkaoz/composer that referenced this pull request Nov 22, 2013
digitalkaoz pushed a commit to digitalkaoz/composer that referenced this pull request Nov 22, 2013
digitalkaoz pushed a commit to digitalkaoz/composer that referenced this pull request Nov 22, 2013
@romeox6x66 romeox6x66 mentioned this pull request Jun 7, 2015
glaubinix added a commit to glaubinix/composer that referenced this pull request Feb 9, 2022
glaubinix added a commit to glaubinix/composer that referenced this pull request Feb 9, 2022
Seldaek pushed a commit that referenced this pull request Feb 9, 2022
glaubinix added a commit to glaubinix/composer that referenced this pull request Jun 24, 2022
glaubinix added a commit to glaubinix/composer that referenced this pull request Jun 24, 2022
glaubinix added a commit to glaubinix/composer that referenced this pull request Jun 24, 2022
Seldaek pushed a commit that referenced this pull request Jun 24, 2022
ktomk referenced this pull request in ktomk/composer Jun 30, 2022
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
Seldaek pushed a commit that referenced this pull request Jul 1, 2022
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
Seldaek pushed a commit that referenced this pull request Jul 1, 2022
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
Seldaek pushed a commit that referenced this pull request Jul 1, 2022
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
Seldaek pushed a commit that referenced this pull request Jul 5, 2022
Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/bin/composer/src/Composer/Util/GitHub.php:103
emahorvat52 referenced this pull request in emahorvat52/composer Feb 3, 2023
emahorvat52 referenced this pull request in emahorvat52/composer Feb 3, 2023
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
emahorvat52 referenced this pull request in emahorvat52/composer Feb 3, 2023
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
Seldaek pushed a commit that referenced this pull request Feb 10, 2023
Deprecation Notice: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in composer/src/Composer/DependencyResolver/SolverProblemsException.php:80
Copy link

@Ripididip Ripididip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W

Seldaek pushed a commit that referenced this pull request May 13, 2025
…_AUTH env (#12372)

* Add support to authorize with Custom Headers in auth.json or COMPOSER_AUTH env (#1)

* Add support to authorize with Custom Headers in auth.json or COMPOSER_AUTH env

* Fix phpstan analysis

* Update naming convention and add validation

* Fix PHPStan analysis

* Update error message naming convention

* Header validation regex fix

* Docu example naming convention fix

* Add custom-headers property to JSON schema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants