Skip to content

Support Request Initiator metadata extension - #232

Merged
tvdijen merged 6 commits into
masterfrom
request-init
Jul 2, 2020
Merged

tvdijen merged 6 commits into
masterfrom
request-init

Conversation

@tvdijen

@tvdijen tvdijen commented Jun 9, 2020

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Jun 9, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #232 into master will increase coverage by 1.43%.
The diff coverage is 95.45%.

@@             Coverage Diff              @@
##             master     #232      +/-   ##
============================================
+ Coverage     88.71%   90.15%   +1.43%     
- Complexity     2377     3561    +1184     
============================================
  Files           161      166       +5     
  Lines          5780     8526    +2746     
============================================
+ Hits           5128     7687    +2559     
- Misses          652      839     +187     

@tvdijen
tvdijen requested a review from jaimeperez June 10, 2020 06:40
@tvdijen
tvdijen force-pushed the master branch 2 times, most recently from 2ad5606 to 5a03b3b Compare June 13, 2020 20:12
Comment thread src/SAML2/XML/init/RequestInitiator.php
Comment thread src/SAML2/XML/init/RequestInitiator.php
Comment thread src/SAML2/XML/md/Extensions.php Outdated
Comment thread src/SAML2/XML/init/RequestInitiator.php Outdated
* @param string $binding
* @throws \InvalidArgumentException if the Binding is empty
*/
protected function setBinding(string $binding): void

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Considering the binding is fixed, does it make sense having a setBinding() method?

@tvdijen tvdijen Jul 1, 2020 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I thought it would make sense to keep the constructor the same as for other AbstractEndpoints.
The alternative is overriding the constructor.. But that would mean also overriding the fromXML-method

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
@tvdijen
tvdijen requested a review from jaimeperez July 1, 2020 21:48
@tvdijen
tvdijen merged commit 83f663e into master Jul 2, 2020
@tvdijen
tvdijen deleted the request-init branch July 2, 2020 07:10
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants