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

Removed availability annotation on init method #53

Merged
merged 3 commits into from May 4, 2021
Merged

Conversation

ahmed-paystack
Copy link
Contributor

Fixes #50

Context

From Xcode 12.5 Release Notes:

Clang now infers the availability of +new from availability annotations on -init methods.

Problem identified

The availability annotation on the init method in PSTCKTransaction is throwing a semantic issue because it has been marked unavailable.

Changes made by this pull request

  • Removed availability annotation on init method in PSTCKTransaction

@github-actions
Copy link

github-actions bot commented May 3, 2021

Warnings
⚠️ The source files were changed, but the tests remain unmodified. Consider updating or adding to the tests to match the source changes.

Generated by 🚫 Danger Swift against f96a167

@sonarcloud
Copy link

sonarcloud bot commented May 4, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ahmed-paystack ahmed-paystack merged commit ccadf3c into master May 4, 2021
@ahmed-paystack ahmed-paystack deleted the issue/50 branch May 4, 2021 09:55
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.

'new' is unavailable: You cannot directly instantiate an PSTCKTransaction...
4 participants