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

Generating Metadata file - unused $attributes parameter #486

Open
programster opened this issue Aug 27, 2021 · 1 comment
Open

Generating Metadata file - unused $attributes parameter #486

programster opened this issue Aug 27, 2021 · 1 comment

Comments

@programster
Copy link

I've just been getting started with using the package to try and generate my metadata file. I noticed that the builder static method takes a parameter called $attributes, which seems to be unused. Am I, or is the code missing something? Should the parameter just be removed?

Source file: https://github.com/onelogin/php-saml/blob/4.0.0/src/Saml2/Metadata.php

Selection_296

@pitbulk
Copy link
Contributor

pitbulk commented Sep 6, 2021

You are right, that parameter was introduced by error with this commit:
04285d6

But now we can't simpl remove it due compatiblity issues.

We should document in the code that this parameter is deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants