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

improve handling missing credentials by fixing missed configuration vali... #12

Merged
merged 4 commits into from
Sep 5, 2014

Conversation

Mahmoudz
Copy link
Contributor

@Mahmoudz Mahmoudz commented Sep 5, 2014

Also on issue #10 this branch fix the handling of missed credentials and missed configuration

removed the configuration checking code from the parse function of the
provider class AwsS3Provider to the helper class CdnHelper
and update the validator to check for any required configuration if missed
and throw an exception

Issue: #10

…alidator checker

removed the configuration checking code from the parse function of the
provider class AwsS3Provider to the helper class CdnHelper
and update the validator to check for any required configuration if missed
and throw an exception

Issue: #10
@Mulkave
Copy link
Member

Mulkave commented Sep 5, 2014

It's a good idea to have the $required_configurations (usually $rules) in the concrete provider.

mahmoud added 3 commits September 5, 2014 17:07
- remove configuration validate from helper class and create a configuration validator class
to validate the configurations
- rename $required_configurations to $rules in the amazon provider class

Fix #12
- fix the small styling problem
- add link to packagist
Mulkave added a commit that referenced this pull request Sep 5, 2014
improve handling missing credentials by fixing missed configuration vali...
@Mulkave Mulkave merged commit 9575d26 into develop Sep 5, 2014
@Mulkave Mulkave deleted the fix/upload-with-missing-credentials branch September 5, 2014 14:39
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.

2 participants