Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add insecure option #289

Merged

Conversation

dshemin
Copy link
Contributor

@dshemin dshemin commented Sep 18, 2020

I think it will be nice to have the ability to send coverage reports to self-hosted service with self-signed certificates. For instance goveralls have such ability.

*
* @return bool
*/
protected function executeApi(Configuration $config)
protected function executeApi(InputInterface $input, Configuration $config)
Copy link
Member

Choose a reason for hiding this comment

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

this looks like a BC breaker, as this class is not marked with an internal. can you think about way to bring this feature without BC break ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, sure.

Copy link
Contributor Author

@dshemin dshemin Sep 26, 2020

Choose a reason for hiding this comment

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

Could you check this solution, please?

Copy link
Contributor

@sanmai sanmai left a comment

Choose a reason for hiding this comment

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

You need to run php-cs-fixer

@dshemin dshemin force-pushed the feature-allow-insecure-connection branch from a50e95c to f21fa35 Compare October 1, 2020 16:36
@dshemin
Copy link
Contributor Author

dshemin commented Oct 1, 2020

You need to run php-cs-fixer

Thanks! I pushed new changes.

@sanmai
Copy link
Contributor

sanmai commented Oct 1, 2020

There are still some CS irregularities, unfortunately:
https://travis-ci.org/github/php-coveralls/php-coveralls/jobs/732002769#L706-L715

@dshemin dshemin force-pushed the feature-allow-insecure-connection branch 2 times, most recently from 87df3f9 to d3c7dc2 Compare October 2, 2020 14:06
@dshemin
Copy link
Contributor Author

dshemin commented Oct 2, 2020

Can anyone help me with this error, please? I'm really cannot understand what is wrong 'cause locally I didn't see this error.

@sanmai
Copy link
Contributor

sanmai commented Oct 2, 2020

Try “composer update” maybe?

@dshemin dshemin force-pushed the feature-allow-insecure-connection branch from d3c7dc2 to ad46796 Compare October 2, 2020 17:13
@dshemin dshemin force-pushed the feature-allow-insecure-connection branch from ad46796 to 749a466 Compare October 2, 2020 17:39
@dshemin
Copy link
Contributor Author

dshemin commented Oct 2, 2020

Looks like everything is okay. Please take a look again at this pull request.

@keradus
Copy link
Member

keradus commented Oct 5, 2020

thanks @dshemin @sanmai

@keradus keradus merged commit c106696 into php-coveralls:2.3 Oct 5, 2020
reececomo pushed a commit to reececomo/php-coveralls that referenced this pull request Jan 15, 2021
* Update .travis.yml to include PHP 7.4 (php-coveralls#283)

* Fix incorrect version in README (php-coveralls#286)

* Add Guzzle 7 support (php-coveralls#288)

* Add Guzzle 7 support

* Update composer.json

Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>

* DX: Configurator - reduce cyclomatic complexity (php-coveralls#291)

* CI: reduce amount of jobs (php-coveralls#292)

* Allow to specify endpoint in arguments (php-coveralls#290)

* Allow to specify endpoint in arguments

* use new helper

Co-authored-by: Dariusz Ruminski <dariusz.ruminski@gmail.com>

* DX: Allow PHPUnit 7 (php-coveralls#294)

* Added COVERALLS_PARALLEL support and Configured CI_BUILD_NUMBER for Travis CI (php-coveralls#279)

* updated to detect COVERALLS_PARALLEL env var

* added CI_BUILD_NUMBER into Configuration

* updated README

* fixed tests

* Update RequirementsNotSatisfiedException.php

* fix CS

* fix checking of required fields + tests

* add missing class property

Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>

* Prepare v2.3.0

* Add support for PHP 8 + PHPUnit 9 (php-coveralls#295)

* Add support for PHP 8 + PHPUnit 9

* Add PHPUnit 4.8 workarounds

* Do --ignore-platform-reqs on PHP 8

* Skip failing test due to missing get_debug_type()

* Add insecure option (php-coveralls#289)

* Add Github Actions and COVERALLS_FLAG_NAME support (php-coveralls#296)

Co-authored-by: Smolevich <smolevich90@gmail.com>
Co-authored-by: Simon Podlipsky <simon@podlipsky.net>

* DX: .gitignore cache PHPUnit (php-coveralls#297)

* Prepare v2.4.0

* Fix support of branch name with hyphen and "(no branch)" (php-coveralls#298)

* Fix no-branch on CI error

* fix support of dash in branch names

* little tests cleanup

* Prepare v2.4.1

* Correct spelling error in Github (php-coveralls#299)

* Add COVERALLS_REPO_TOKEN to error message when run on Github Action (php-coveralls#302)

* Update README.md (php-coveralls#303)

Version 2.4.0 does not have a phar file, change to v2.4.2

* Add file missing for PHP 8 (php-coveralls#308)

fixes php-coveralls#307

* Prepare v2.4.3

* Update CiEnvVarsCollector.php

Re-arrange methods to avoid merge conflicts with upstream

* Update JsonFileTest.php

Remove duplicate method `shouldSetParallel()`

* Update JsonFile.php

Remove duplicate property `$parallel`

* Update JsonFile.php

Remove duplicate method `setParallel()`

* Update CiEnvVarsCollector.php

Fix code style

* Update JsonFileTest.php

Fix broken test

Co-authored-by: Alexey Kopytko <alexey@kopytko.com>
Co-authored-by: Viktor Szépe <viktor@szepe.net>
Co-authored-by: Dmitry Ivanov <dmitry.g.ivanov@gmail.com>
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
Co-authored-by: Dmitry Shemin <shemindmitry@gmail.com>
Co-authored-by: Yih Yang <yyngo788n88@hotmail.com>
Co-authored-by: Twin Huang <twinhuang@qq.com>
Co-authored-by: Smolevich <smolevich90@gmail.com>
Co-authored-by: Simon Podlipsky <simon@podlipsky.net>
Co-authored-by: Danny van der Sluijs <danny.vandersluijs@icloud.com>
Co-authored-by: Oanh Nguyen <oanhnn.bk@gmail.com>
Co-authored-by: Jimmy Cleuren <jimmy.cleuren@gmail.com>
Co-authored-by: Christian Raue <christian.raue@gmail.com>
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.

None yet

3 participants