-
-
-
src/Lunr/Vortex/FCM/FCMDispatcher.php (Diff revision 1) file_get_contents
can returnFALSE
, even if the file exists.
[Vortex] FCM: Add method to set private key by file
Review Request #1133 — Created April 11, 2024 and submitted
Information | |
---|---|
b.stoop | |
Lunr.Vortex | |
fcm/privatekeyfile | |
bdba7f0... | |
Reviewers | |
lunr | |
Based on release/0.9.x
FCM: Add method to set private key by file
https://github.com/lunr-php/lunr.vortex/pull/7
Testing Done: |
|
||||||
---|---|---|---|---|---|---|---|
Commit: |
|
||||||
Diff: |
Revision 2 (+92) |
-
-
src/Lunr/Vortex/FCM/FCMDispatcher.php (Diff revision 2) "File does not exist is is not readable!"
Also, not really an
InvalidArgument
. Probably aRuntimeException
is best here, and below.
Testing Done: |
|
||||||
---|---|---|---|---|---|---|---|
Commit: |
|
||||||
Diff: |
Revision 3 (+93 -1) |
Testing Done: |
|
||||||
---|---|---|---|---|---|---|---|
Commit: |
|
||||||
Diff: |
Revision 4 (+69 -1) |
-
-
src/Lunr/Vortex/FCM/FCMDispatcher.php (Diff revision 4) I think
set_private_key_from_file()
fits better. What do others think here?
Description: |
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Commit: |
|
||||||||||||
Diff: |
Revision 5 (+70) |