From 3a26fd79c0f1f1cba79ca13b231cd14431d4c2aa Mon Sep 17 00:00:00 2001 From: Hafiq Date: Tue, 10 Nov 2020 23:23:54 +0800 Subject: [PATCH] Update --- .gitignore | 3 + .idea/codeStyles/codeStyleConfig.xml | 5 + .idea/huawei-push.iml | 63 + .idea/modules.xml | 8 + .idea/php.xml | 64 + .idea/vcs.xml | 6 + .idea/workspace.xml | 212 ++ README.md | 7 + composer.json | 25 + composer.lock | 3037 ++++++++++++++++++++++++ phpunit.xml | 16 + src/Constant/Endpoint.php | 11 + src/Exception/HuaweiException.php | 15 + src/HuaweiPushKit.php | 61 + src/Structure/Android/Config.php | 195 ++ src/Structure/Android/Notification.php | 737 ++++++ src/Structure/Common/Badge.php | 94 + src/Structure/Common/Button.php | 136 ++ src/Structure/Common/ClickAction.php | 109 + src/Structure/Common/LightSetting.php | 91 + src/Structure/Message.php | 143 ++ src/Structure/Notification.php | 83 + src/Structure/NotificationPayload.php | 54 + src/Structure/Validation/Extras.php | 18 + travis.yml | 12 + 25 files changed, 5205 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/huawei-push.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/php.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 README.md create mode 100644 composer.json create mode 100644 composer.lock create mode 100644 phpunit.xml create mode 100644 src/Constant/Endpoint.php create mode 100644 src/Exception/HuaweiException.php create mode 100644 src/HuaweiPushKit.php create mode 100644 src/Structure/Android/Config.php create mode 100644 src/Structure/Android/Notification.php create mode 100644 src/Structure/Common/Badge.php create mode 100644 src/Structure/Common/Button.php create mode 100644 src/Structure/Common/ClickAction.php create mode 100644 src/Structure/Common/LightSetting.php create mode 100644 src/Structure/Message.php create mode 100644 src/Structure/Notification.php create mode 100644 src/Structure/NotificationPayload.php create mode 100644 src/Structure/Validation/Extras.php create mode 100644 travis.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..03b8458 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.env +/vendor/ +/example/ \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/huawei-push.iml b/.idea/huawei-push.iml new file mode 100644 index 0000000..91339e9 --- /dev/null +++ b/.idea/huawei-push.iml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..ac153aa --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..c5c3abe --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..5e3eb29 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,212 @@ + + + + + + + + + + + +