@@ -52,7 +52,7 @@ |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * @return float time at which the subscription will expire, seconds |
|
| 55 | + * @return integer time at which the subscription will expire, seconds |
|
| 56 | 56 | */ |
| 57 | 57 | public function getExpiryTime() { |
| 58 | 58 | return $this->getExpiryTimeMillis() / 1000; |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | expired at: %s |
| 110 | 110 | kind: %s |
| 111 | 111 | auto-renewing: %s |
| 112 | -EOD; |
|
| 112 | +eod; |
|
| 113 | 113 | return sprintf($format |
| 114 | 114 | , date('Y-m-d H:i:s', $this->getStartTimeMillis() / 1000) |
| 115 | 115 | , date('Y-m-d H:i:s', $this->getExpiryTimeMillis() / 1000) |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Script for GCM notification sending |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Script for GCM notification sending |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../vendor/autoload.php'; |
| 22 | 22 | |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | success: %s |
| 71 | 71 | failure: %s |
| 72 | 72 | |
| 73 | -EOD |
|
| 73 | +eod |
|
| 74 | 74 | , $Response->getSuccessCount() |
| 75 | 75 | , $Response->getFailureCount()); |
| 76 | 76 | } catch (RequiredOptionException $Ex) { |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Script for Google API authorization |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Script for Google API authorization |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Script for Google API authorization |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Script for Google API authorization |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Script for Google API access token refreshing |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Script for Google API access token refreshing |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Script for Google API access token refreshing |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Script for Google API access token refreshing |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Script for Google API authorization |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Script for Google API authorization |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Script for Google API authorization |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Script for Google API authorization |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../vendor/autoload.php'; |
| 22 | 22 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | - * |
|
| 5 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | - * you may not use this file except in compliance with the License. |
|
| 7 | - * You may obtain a copy of the License at |
|
| 8 | - * |
|
| 9 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | - * |
|
| 11 | - * Unless required by applicable law or agreed to in writing, software |
|
| 12 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | - * See the License for the specific language governing permissions and |
|
| 15 | - * limitations under the License. |
|
| 16 | - * |
|
| 17 | - * Script for Google API authorization |
|
| 18 | - * @author alxmsl |
|
| 19 | - */ |
|
| 3 | + * Copyright 2015 Alexey Maslov <[email protected]> |
|
| 4 | + * |
|
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 6 | + * you may not use this file except in compliance with the License. |
|
| 7 | + * You may obtain a copy of the License at |
|
| 8 | + * |
|
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 | + * |
|
| 11 | + * Unless required by applicable law or agreed to in writing, software |
|
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 14 | + * See the License for the specific language governing permissions and |
|
| 15 | + * limitations under the License. |
|
| 16 | + * |
|
| 17 | + * Script for Google API authorization |
|
| 18 | + * @author alxmsl |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | include __DIR__ . '/../vendor/autoload.php'; |
| 22 | 22 | |