-
Notifications
You must be signed in to change notification settings - Fork 105
Update PHPDocs #24
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
base: master
Are you sure you want to change the base?
Update PHPDocs #24
Conversation
amirkhiz
commented
Dec 24, 2019
- Add methods PHPDocs
- Add ext-ctype package in composer.json
add new card networks
- Add ext-ctype package in composer.json
| /build | ||
| /vendor | ||
|
|
||
| /.idea/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a new line following this
| "require": { | ||
| "php": ">=5.3.0", | ||
| "lib-pcre": ">=7.3" | ||
| "php": ">=5.6.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a potentially breaking change, should we do this?
+ Update namespace
ghost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to be formatting and renaming namespace/packages only (to the wrong name). Suggest rejecting PR, however, this repo seems to be unmaintained so not an issue.
| ```json | ||
| "require": { | ||
| "inacho/php-credit-card-validator": "1.*" | ||
| "habil/php-credit-card-validator": "1.*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably stay inacho since it's referring to this repo.
| @@ -1,5 +1,5 @@ | |||
| { | |||
| "name": "inacho/php-credit-card-validator", | |||
| "name": "habil/php-credit-card-validator", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should stay "inacho".
| "autoload": { | ||
| "psr-4": { | ||
| "Inacho\\": "src/" | ||
| "Sivax\\": "src/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should stay "Inacho".
| */ | ||
|
|
||
| namespace Inacho; | ||
| namespace Sivax; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong namespace
| /** | ||
| * Class CreditCard | ||
| * @package Inacho | ||
| * @package Sivax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong package name