Passed
Push — master ( 562012...5bee03 )
by Alexey
12:08 queued 12s
created
src/Scraper/AppInfoScraper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
      */
263 263
     private function extractDeveloper(array $scriptDataInfo): Developer
264 264
     {
265
-        $developerPage = GPlayApps::GOOGLE_PLAY_URL . $scriptDataInfo[0][12][5][5][4][2];
265
+        $developerPage = GPlayApps::GOOGLE_PLAY_URL.$scriptDataInfo[0][12][5][5][4][2];
266 266
         $developerId = Query::parse(parse_url($developerPage, \PHP_URL_QUERY))[GPlayApps::REQ_PARAM_ID];
267 267
         $developerName = $scriptDataInfo[0][12][5][1];
268 268
         $developerEmail = $scriptDataInfo[0][12][5][2][0] ?? null;
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
     private function extractScreenshots(array $scriptDataInfo): array
359 359
     {
360 360
         return !empty($scriptDataInfo[0][12][0]) ? array_map(
361
-            static function (array $v) {
361
+            static function(array $v) {
362 362
                 return new GoogleImage($v[3][2]);
363 363
             },
364 364
             $scriptDataInfo[0][12][0]
Please login to merge, or discard this patch.
src/Scraper/FindSimilarAppsUrlScraper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,9 +51,9 @@
 block discarded – undo
51 51
 
52 52
         foreach ($scriptData as $scriptValue) {
53 53
             if (isset($scriptValue[1][1][0][0][3][4][2])) {
54
-                return GPlayApps::GOOGLE_PLAY_URL . $scriptValue[1][1][0][0][3][4][2]
55
-                    . '&' . GPlayApps::REQ_PARAM_LOCALE . '=' . urlencode($this->appId->getLocale())
56
-                    . '&' . GPlayApps::REQ_PARAM_COUNTRY . '=' . urlencode($this->appId->getCountry());
54
+                return GPlayApps::GOOGLE_PLAY_URL.$scriptValue[1][1][0][0][3][4][2]
55
+                    . '&'.GPlayApps::REQ_PARAM_LOCALE.'='.urlencode($this->appId->getLocale())
56
+                    . '&'.GPlayApps::REQ_PARAM_COUNTRY.'='.urlencode($this->appId->getCountry());
57 57
             }
58 58
         }
59 59
 
Please login to merge, or discard this patch.
src/Scraper/PlayStoreUiRequest.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -63,11 +63,11 @@  discard block
 block discarded – undo
63 63
             'soc-platform' => 1,
64 64
             'soc-device' => 1,
65 65
         ];
66
-        $url = GPlayApps::GOOGLE_PLAY_URL . '/_/PlayStoreUi/data/batchexecute?' . http_build_query($queryParams);
66
+        $url = GPlayApps::GOOGLE_PLAY_URL.'/_/PlayStoreUi/data/batchexecute?'.http_build_query($queryParams);
67 67
         $formParams = [
68
-            'f.req' => '[[["' . self::RPC_ID_REVIEWS . '","[null,null,[2,' . $sort->value(
69
-                ) . ',[' . $limit . ',null,' . ($token === null ? 'null' : '\\"' . $token . '\\"')
70
-                . ']],[\\"' . $requestApp->getId() . '\\",7]]",null,"generic"]]]',
68
+            'f.req' => '[[["'.self::RPC_ID_REVIEWS.'","[null,null,[2,'.$sort->value(
69
+                ).',['.$limit.',null,'.($token === null ? 'null' : '\\"'.$token.'\\"')
70
+                . ']],[\\"'.$requestApp->getId().'\\",7]]",null,"generic"]]]',
71 71
         ];
72 72
         $headers = [
73 73
             'Content-Type' => 'application/x-www-form-urlencoded;charset=utf-8',
@@ -96,9 +96,9 @@  discard block
 block discarded – undo
96 96
             'soc-platform' => 1,
97 97
             'soc-device' => 1,
98 98
         ];
99
-        $url = GPlayApps::GOOGLE_PLAY_URL . '/_/PlayStoreUi/data/batchexecute?' . http_build_query($queryParams);
99
+        $url = GPlayApps::GOOGLE_PLAY_URL.'/_/PlayStoreUi/data/batchexecute?'.http_build_query($queryParams);
100 100
         $formParams = [
101
-            'f.req' => '[[["' . self::RPC_ID_APPS . '","[[null,[[10,[10,' . $limit . ']],true,null,[1]],null,\\"' . $token . '\\"]]",null,"generic"]]]',
101
+            'f.req' => '[[["'.self::RPC_ID_APPS.'","[[null,[[10,[10,'.$limit.']],true,null,[1]],null,\\"'.$token.'\\"]]",null,"generic"]]]',
102 102
         ];
103 103
         $headers = [
104 104
             'Content-Type' => 'application/x-www-form-urlencoded;charset=utf-8',
@@ -125,10 +125,10 @@  discard block
 block discarded – undo
125 125
             'soc-platform' => 1,
126 126
             'soc-device' => 1,
127 127
         ];
128
-        $url = GPlayApps::GOOGLE_PLAY_URL . '/_/PlayStoreUi/data/batchexecute?' . http_build_query($queryParams);
128
+        $url = GPlayApps::GOOGLE_PLAY_URL.'/_/PlayStoreUi/data/batchexecute?'.http_build_query($queryParams);
129 129
         $formParams = [
130
-            'f.req' => '[[["' . self::RPC_ID_PERMISSIONS . '","[[null,[\"'
131
-                . $requestApp->getId() . '\",7],[]]]",null,"1"]]]',
130
+            'f.req' => '[[["'.self::RPC_ID_PERMISSIONS.'","[[null,[\"'
131
+                . $requestApp->getId().'\",7],[]]]",null,"1"]]]',
132 132
         ];
133 133
         $headers = [
134 134
             'Content-Type' => 'application/x-www-form-urlencoded;charset=utf-8',
@@ -162,9 +162,9 @@  discard block
 block discarded – undo
162 162
             'soc-platform' => 1,
163 163
             'soc-device' => 1,
164 164
         ];
165
-        $url = GPlayApps::GOOGLE_PLAY_URL . '/_/PlayStoreUi/data/batchexecute?' . http_build_query($queryParams);
165
+        $url = GPlayApps::GOOGLE_PLAY_URL.'/_/PlayStoreUi/data/batchexecute?'.http_build_query($queryParams);
166 166
         $formParams = [
167
-            'f.req' => '[[["' . self::RPC_ID_SUGGEST . '","[[null,[\"'
167
+            'f.req' => '[[["'.self::RPC_ID_SUGGEST.'","[[null,[\"'
168 168
                 . str_replace('"', '\\\\\\"', $query)
169 169
                 . '\"],[10],[2],4]]",null,"generic"]]]',
170 170
         ];
@@ -195,9 +195,9 @@  discard block
 block discarded – undo
195 195
             'soc-platform' => 1,
196 196
             'soc-device' => 1,
197 197
         ];
198
-        $url = GPlayApps::GOOGLE_PLAY_URL . '/_/PlayStoreUi/data/batchexecute?' . http_build_query($queryParams);
198
+        $url = GPlayApps::GOOGLE_PLAY_URL.'/_/PlayStoreUi/data/batchexecute?'.http_build_query($queryParams);
199 199
         $formParams = [
200
-            'f.req' => '[[["' . self::RPC_ID_PAGE . '","[[null,2,null,null,[[10,[10,50],null,\"' . $token . '\"],true,null,[96,27,8,57,30,110,11,16,1,9,31,12,104,55,56,145,51,34,10],[null,null,[[[true],null,[[[]]],null,null,null,null,[null,2],null,null,null,null,null,null,[1],null,null,null,null,null,null,null,[1]],[null,[[[]]]],[null,[[[]]],null,[true]],[null,[[[]]]],null,null,null,null,[[[[]]]],[[[[]]]]],[[[[7,1],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,31],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,104],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,9],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,8],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,27],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,12],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,65],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,110],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,88],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,11],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,56],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,55],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,96],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,10],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,122],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,72],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,71],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,64],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,113],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,139],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,150],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,169],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,165],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,151],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,163],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,32],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,16],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,108],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,100],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[9,1],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,31],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,104],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,9],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,8],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,27],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,12],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,65],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,110],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,88],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,11],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,56],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,55],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,96],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,10],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,122],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,72],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,71],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,64],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,113],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,139],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,150],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,169],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,165],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,151],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,163],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,32],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,16],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,108],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,100],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[17,1],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,31],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,104],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,9],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,8],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,27],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,12],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,65],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,110],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,88],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,11],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,56],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,55],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,96],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,10],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,122],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,72],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,71],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,64],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,113],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,139],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,150],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,169],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,165],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,151],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,163],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,32],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,16],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,108],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,100],[[1,7,9,25,13,31,5,27,8,14,10]]],[[10,1],[[1,7,6,9]]],[[10,31],[[1,7,6,9]]],[[10,104],[[1,7,6,9]]],[[10,9],[[1,7,6,9]]],[[10,8],[[1,7,6,9]]],[[10,27],[[1,7,6,9]]],[[10,12],[[1,7,6,9]]],[[10,65],[[1,7,6,9]]],[[10,110],[[1,7,6,9]]],[[10,88],[[1,7,6,9]]],[[10,11],[[1,7,6,9]]],[[10,56],[[1,7,6,9]]],[[10,55],[[1,7,6,9]]],[[10,96],[[1,7,6,9]]],[[10,10],[[1,7,6,9]]],[[10,122],[[1,7,6,9]]],[[10,72],[[1,7,6,9]]],[[10,71],[[1,7,6,9]]],[[10,64],[[1,7,6,9]]],[[10,113],[[1,7,6,9]]],[[10,139],[[1,7,6,9]]],[[10,150],[[1,7,6,9]]],[[10,169],[[1,7,6,9]]],[[10,165],[[1,7,6,9]]],[[10,151],[[1,7,6,9]]],[[10,163],[[1,7,6,9]]],[[10,32],[[1,7,6,9]]],[[10,16],[[1,7,6,9]]],[[10,108],[[1,7,6,9]]],[[10,100],[[1,7,6,9]]],[[1,1],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,31],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,104],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,9],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,8],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,27],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,12],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,65],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,110],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,88],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,11],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,56],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,55],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,96],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,10],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,122],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,72],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,71],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,64],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,113],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,139],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,150],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,169],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,165],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,151],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,163],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,32],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,16],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,108],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,100],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[4,1],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,31],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,104],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,9],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,8],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,27],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,12],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,65],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,110],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,88],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,11],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,56],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,55],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,96],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,10],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,122],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,72],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,71],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,64],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,113],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,139],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,150],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,169],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,165],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,151],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,163],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,32],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,16],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,108],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,100],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[3,1],[[1,5,14,4,10,17]]],[[3,31],[[1,5,14,4,10,17]]],[[3,104],[[1,5,14,4,10,17]]],[[3,9],[[1,5,14,4,10,17]]],[[3,8],[[1,5,14,4,10,17]]],[[3,27],[[1,5,14,4,10,17]]],[[3,12],[[1,5,14,4,10,17]]],[[3,65],[[1,5,14,4,10,17]]],[[3,110],[[1,5,14,4,10,17]]],[[3,88],[[1,5,14,4,10,17]]],[[3,11],[[1,5,14,4,10,17]]],[[3,56],[[1,5,14,4,10,17]]],[[3,55],[[1,5,14,4,10,17]]],[[3,96],[[1,5,14,4,10,17]]],[[3,10],[[1,5,14,4,10,17]]],[[3,122],[[1,5,14,4,10,17]]],[[3,72],[[1,5,14,4,10,17]]],[[3,71],[[1,5,14,4,10,17]]],[[3,64],[[1,5,14,4,10,17]]],[[3,113],[[1,5,14,4,10,17]]],[[3,139],[[1,5,14,4,10,17]]],[[3,150],[[1,5,14,4,10,17]]],[[3,169],[[1,5,14,4,10,17]]],[[3,165],[[1,5,14,4,10,17]]],[[3,151],[[1,5,14,4,10,17]]],[[3,163],[[1,5,14,4,10,17]]],[[3,32],[[1,5,14,4,10,17]]],[[3,16],[[1,5,14,4,10,17]]],[[3,108],[[1,5,14,4,10,17]]],[[3,100],[[1,5,14,4,10,17]]],[[2,1],[[1,5,7,18,4,13,16,12]]],[[2,31],[[1,5,7,18,4,13,16,12]]],[[2,104],[[1,5,7,18,4,13,16,12]]],[[2,9],[[1,5,7,18,4,13,16,12]]],[[2,8],[[1,5,7,18,4,13,16,12]]],[[2,27],[[1,5,7,18,4,13,16,12]]],[[2,12],[[1,5,7,18,4,13,16,12]]],[[2,65],[[1,5,7,18,4,13,16,12]]],[[2,110],[[1,5,7,18,4,13,16,12]]],[[2,88],[[1,5,7,18,4,13,16,12]]],[[2,11],[[1,5,7,18,4,13,16,12]]],[[2,56],[[1,5,7,18,4,13,16,12]]],[[2,55],[[1,5,7,18,4,13,16,12]]],[[2,96],[[1,5,7,18,4,13,16,12]]],[[2,10],[[1,5,7,18,4,13,16,12]]],[[2,122],[[1,5,7,18,4,13,16,12]]],[[2,72],[[1,5,7,18,4,13,16,12]]],[[2,71],[[1,5,7,18,4,13,16,12]]],[[2,64],[[1,5,7,18,4,13,16,12]]],[[2,113],[[1,5,7,18,4,13,16,12]]],[[2,139],[[1,5,7,18,4,13,16,12]]],[[2,150],[[1,5,7,18,4,13,16,12]]],[[2,169],[[1,5,7,18,4,13,16,12]]],[[2,165],[[1,5,7,18,4,13,16,12]]],[[2,151],[[1,5,7,18,4,13,16,12]]],[[2,163],[[1,5,7,18,4,13,16,12]]],[[2,32],[[1,5,7,18,4,13,16,12]]],[[2,16],[[1,5,7,18,4,13,16,12]]],[[2,108],[[1,5,7,18,4,13,16,12]]],[[2,100],[[1,5,7,18,4,13,16,12]]]]]]],null,2],[true]]",null,"generic"]]]',
200
+            'f.req' => '[[["'.self::RPC_ID_PAGE.'","[[null,2,null,null,[[10,[10,50],null,\"'.$token.'\"],true,null,[96,27,8,57,30,110,11,16,1,9,31,12,104,55,56,145,51,34,10],[null,null,[[[true],null,[[[]]],null,null,null,null,[null,2],null,null,null,null,null,null,[1],null,null,null,null,null,null,null,[1]],[null,[[[]]]],[null,[[[]]],null,[true]],[null,[[[]]]],null,null,null,null,[[[[]]]],[[[[]]]]],[[[[7,1],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,31],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,104],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,9],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,8],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,27],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,12],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,65],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,110],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,88],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,11],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,56],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,55],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,96],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,10],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,122],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,72],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,71],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,64],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,113],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,139],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,150],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,169],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,165],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,151],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,163],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,32],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,16],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,108],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[7,100],[[1,73,96,103,97,58,50,92,52,112,69,19,31,101,123,74,49,80,20,10,14,79,43,42,139]]],[[9,1],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,31],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,104],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,9],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,8],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,27],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,12],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,65],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,110],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,88],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,11],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,56],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,55],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,96],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,10],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,122],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,72],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,71],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,64],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,113],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,139],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,150],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,169],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,165],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,151],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,163],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,32],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,16],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,108],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[9,100],[[1,7,9,24,12,31,5,15,27,8,13,10]]],[[17,1],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,31],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,104],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,9],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,8],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,27],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,12],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,65],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,110],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,88],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,11],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,56],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,55],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,96],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,10],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,122],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,72],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,71],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,64],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,113],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,139],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,150],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,169],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,165],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,151],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,163],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,32],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,16],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,108],[[1,7,9,25,13,31,5,27,8,14,10]]],[[17,100],[[1,7,9,25,13,31,5,27,8,14,10]]],[[10,1],[[1,7,6,9]]],[[10,31],[[1,7,6,9]]],[[10,104],[[1,7,6,9]]],[[10,9],[[1,7,6,9]]],[[10,8],[[1,7,6,9]]],[[10,27],[[1,7,6,9]]],[[10,12],[[1,7,6,9]]],[[10,65],[[1,7,6,9]]],[[10,110],[[1,7,6,9]]],[[10,88],[[1,7,6,9]]],[[10,11],[[1,7,6,9]]],[[10,56],[[1,7,6,9]]],[[10,55],[[1,7,6,9]]],[[10,96],[[1,7,6,9]]],[[10,10],[[1,7,6,9]]],[[10,122],[[1,7,6,9]]],[[10,72],[[1,7,6,9]]],[[10,71],[[1,7,6,9]]],[[10,64],[[1,7,6,9]]],[[10,113],[[1,7,6,9]]],[[10,139],[[1,7,6,9]]],[[10,150],[[1,7,6,9]]],[[10,169],[[1,7,6,9]]],[[10,165],[[1,7,6,9]]],[[10,151],[[1,7,6,9]]],[[10,163],[[1,7,6,9]]],[[10,32],[[1,7,6,9]]],[[10,16],[[1,7,6,9]]],[[10,108],[[1,7,6,9]]],[[10,100],[[1,7,6,9]]],[[1,1],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,31],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,104],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,9],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,8],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,27],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,12],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,65],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,110],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,88],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,11],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,56],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,55],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,96],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,10],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,122],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,72],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,71],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,64],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,113],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,139],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,150],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,169],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,165],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,151],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,163],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,32],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,16],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,108],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[1,100],[[1,5,14,38,19,29,7,34,4,12,11,6,30,43,40,42,16,10]]],[[4,1],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,31],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,104],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,9],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,8],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,27],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,12],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,65],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,110],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,88],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,11],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,56],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,55],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,96],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,10],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,122],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,72],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,71],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,64],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,113],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,139],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,150],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,169],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,165],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,151],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,163],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,32],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,16],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,108],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[4,100],[[1,3,5,4,7,6,11,19,21,17,15,12,16,20]]],[[3,1],[[1,5,14,4,10,17]]],[[3,31],[[1,5,14,4,10,17]]],[[3,104],[[1,5,14,4,10,17]]],[[3,9],[[1,5,14,4,10,17]]],[[3,8],[[1,5,14,4,10,17]]],[[3,27],[[1,5,14,4,10,17]]],[[3,12],[[1,5,14,4,10,17]]],[[3,65],[[1,5,14,4,10,17]]],[[3,110],[[1,5,14,4,10,17]]],[[3,88],[[1,5,14,4,10,17]]],[[3,11],[[1,5,14,4,10,17]]],[[3,56],[[1,5,14,4,10,17]]],[[3,55],[[1,5,14,4,10,17]]],[[3,96],[[1,5,14,4,10,17]]],[[3,10],[[1,5,14,4,10,17]]],[[3,122],[[1,5,14,4,10,17]]],[[3,72],[[1,5,14,4,10,17]]],[[3,71],[[1,5,14,4,10,17]]],[[3,64],[[1,5,14,4,10,17]]],[[3,113],[[1,5,14,4,10,17]]],[[3,139],[[1,5,14,4,10,17]]],[[3,150],[[1,5,14,4,10,17]]],[[3,169],[[1,5,14,4,10,17]]],[[3,165],[[1,5,14,4,10,17]]],[[3,151],[[1,5,14,4,10,17]]],[[3,163],[[1,5,14,4,10,17]]],[[3,32],[[1,5,14,4,10,17]]],[[3,16],[[1,5,14,4,10,17]]],[[3,108],[[1,5,14,4,10,17]]],[[3,100],[[1,5,14,4,10,17]]],[[2,1],[[1,5,7,18,4,13,16,12]]],[[2,31],[[1,5,7,18,4,13,16,12]]],[[2,104],[[1,5,7,18,4,13,16,12]]],[[2,9],[[1,5,7,18,4,13,16,12]]],[[2,8],[[1,5,7,18,4,13,16,12]]],[[2,27],[[1,5,7,18,4,13,16,12]]],[[2,12],[[1,5,7,18,4,13,16,12]]],[[2,65],[[1,5,7,18,4,13,16,12]]],[[2,110],[[1,5,7,18,4,13,16,12]]],[[2,88],[[1,5,7,18,4,13,16,12]]],[[2,11],[[1,5,7,18,4,13,16,12]]],[[2,56],[[1,5,7,18,4,13,16,12]]],[[2,55],[[1,5,7,18,4,13,16,12]]],[[2,96],[[1,5,7,18,4,13,16,12]]],[[2,10],[[1,5,7,18,4,13,16,12]]],[[2,122],[[1,5,7,18,4,13,16,12]]],[[2,72],[[1,5,7,18,4,13,16,12]]],[[2,71],[[1,5,7,18,4,13,16,12]]],[[2,64],[[1,5,7,18,4,13,16,12]]],[[2,113],[[1,5,7,18,4,13,16,12]]],[[2,139],[[1,5,7,18,4,13,16,12]]],[[2,150],[[1,5,7,18,4,13,16,12]]],[[2,169],[[1,5,7,18,4,13,16,12]]],[[2,165],[[1,5,7,18,4,13,16,12]]],[[2,151],[[1,5,7,18,4,13,16,12]]],[[2,163],[[1,5,7,18,4,13,16,12]]],[[2,32],[[1,5,7,18,4,13,16,12]]],[[2,16],[[1,5,7,18,4,13,16,12]]],[[2,108],[[1,5,7,18,4,13,16,12]]],[[2,100],[[1,5,7,18,4,13,16,12]]]]]]],null,2],[true]]",null,"generic"]]]',
201 201
         ];
202 202
         $headers = [
203 203
             'Content-Type' => 'application/x-www-form-urlencoded;charset=utf-8',
Please login to merge, or discard this patch.
src/Scraper/Extractor/AppsExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     private static function extractDeveloper(array $data): Developer
65 65
     {
66 66
         $developerName = $data[4][0][0][0];
67
-        $developerPage = GPlayApps::GOOGLE_PLAY_URL . $data[4][0][0][1][4][2];
67
+        $developerPage = GPlayApps::GOOGLE_PLAY_URL.$data[4][0][0][1][4][2];
68 68
         $developerId = Query::parse(parse_url($developerPage, \PHP_URL_QUERY))[GPlayApps::REQ_PARAM_ID];
69 69
 
70 70
         return new Developer(
Please login to merge, or discard this patch.
src/Scraper/CategoriesScraper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,10 +55,10 @@
 block discarded – undo
55 55
             ;
56 56
         }
57 57
 
58
-        $parseCategories = static function (array $items) use (&$parseCategories): array {
58
+        $parseCategories = static function(array $items) use (&$parseCategories): array {
59 59
             return array_reduce(
60 60
                 $items,
61
-                static function ($results, $item) use (&$parseCategories) {
61
+                static function($results, $item) use (&$parseCategories) {
62 62
                     if (\is_array($item)) {
63 63
                         if (
64 64
                             \count($item) === 6
Please login to merge, or discard this patch.
src/Util/DateStringFormatter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1221,8 +1221,8 @@  discard block
 block discarded – undo
1221 1221
             if (isset($datePatternObj['months'])) {
1222 1222
                 if (!isset($datePatternObj['months'][$month])) {
1223 1223
                     throw new \RuntimeException(
1224
-                        'Error convert date. Locale ' . $locale . '. Date: ' . $dateText
1225
-                        . '. Matches: ' . var_export($match, true)
1224
+                        'Error convert date. Locale '.$locale.'. Date: '.$dateText
1225
+                        . '. Matches: '.var_export($match, true)
1226 1226
                     );
1227 1227
                 }
1228 1228
                 $month = $datePatternObj['months'][$month];
@@ -1234,7 +1234,7 @@  discard block
 block discarded – undo
1234 1234
 
1235 1235
             $dateTime = \DateTimeImmutable::createFromFormat(
1236 1236
                 'Y.m.d H:i:s',
1237
-                $year . '.' . $month . '.' . $day . ' 00:00:00',
1237
+                $year.'.'.$month.'.'.$day.' 00:00:00',
1238 1238
                 new \DateTimeZone('UTC')
1239 1239
             );
1240 1240
 
Please login to merge, or discard this patch.
src/Util/ScraperUtil.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         if (preg_match_all('/>AF_initDataCallback\((.*?)\);<\/script/s', $html, $matches)) {
31 31
             $scripts = array_reduce(
32 32
                 $matches[0],
33
-                static function ($carry, $item) {
33
+                static function($carry, $item) {
34 34
                     if (
35 35
                         preg_match("/(ds:.*?)'/", $item, $keyMatch)
36 36
                         && preg_match('/data:([\s\S]*?)(, }\);<\/|, sideChannel:)/', $item, $valueMatch)
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
         $doc = new \DOMDocument();
58 58
         $internalErrors = libxml_use_internal_errors(true);
59 59
 
60
-        if (!$doc->loadHTML('<?xml encoding="utf-8"?>' . $html)) {
60
+        if (!$doc->loadHTML('<?xml encoding="utf-8"?>'.$html)) {
61 61
             throw new \RuntimeException(
62
-                'error load html: ' . $html
62
+                'error load html: '.$html
63 63
             );
64 64
         }
65 65
         libxml_use_internal_errors($internalErrors);
@@ -109,11 +109,11 @@  discard block
 block discarded – undo
109 109
                 case 'p':
110 110
                 case 'ul':
111 111
                 case 'div':
112
-                    $text = "\n\n" . $text . "\n\n";
112
+                    $text = "\n\n".$text."\n\n";
113 113
                     break;
114 114
 
115 115
                 case 'li':
116
-                    $text = '- ' . $text . "\n";
116
+                    $text = '- '.$text."\n";
117 117
                     break;
118 118
 
119 119
                 case 'br':
Please login to merge, or discard this patch.
src/HttpClient/HttpClient.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             $stack->push(Middleware::log(new ConsoleLog(), new MessageFormatter($logTemplate)), 'logger');
64 64
             $stack->push(
65 65
                 Middleware::retry(
66
-                    static function (
66
+                    static function(
67 67
                         int $retries,
68 68
                         RequestInterface $request,
69 69
                         ?ResponseInterface $response = null,
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
                                 )
78 78
                         );
79 79
                     },
80
-                    static function (int $retries) {
80
+                    static function(int $retries) {
81 81
                         return 2 ** $retries * 1000;
82 82
                     }
83 83
                 ),
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     {
119 119
         $promise = $this->getRequestPromise($request);
120 120
         $promise->otherwise(
121
-            $onRejected ?? static function (\Throwable $throwable) {
121
+            $onRejected ?? static function(\Throwable $throwable) {
122 122
                 return $throwable;
123 123
             }
124 124
         );
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 
162 162
         return $this->client
163 163
             ->sendAsync($request->getPsrRequest(), $request->getOptions())
164
-            ->then(function (ResponseInterface $response) use ($request, $cacheKey, $options) {
164
+            ->then(function(ResponseInterface $response) use ($request, $cacheKey, $options) {
165 165
                 $parseResult = $request->getParseHandler()($request->getPsrRequest(), $response, $options);
166 166
                 if ($cacheKey !== null && $parseResult !== null) {
167 167
                     $this->cache->set($cacheKey, $parseResult, $options['cache_ttl']);
@@ -180,9 +180,9 @@  discard block
 block discarded – undo
180 180
      */
181 181
     public function requestPool(array $requests, ?\Closure $onRejected = null): array
182 182
     {
183
-        $makeRequests = function () use ($requests): \Generator {
183
+        $makeRequests = function() use ($requests) : \Generator {
184 184
             foreach ($requests as $key => $request) {
185
-                yield $key => function () use ($request): PromiseInterface {
185
+                yield $key => function() use ($request): PromiseInterface {
186 186
                     return $this->getRequestPromise($request);
187 187
                 };
188 188
             }
@@ -191,10 +191,10 @@  discard block
 block discarded – undo
191 191
         $results = [];
192 192
         $pool = new Pool($this->client, $makeRequests(), [
193 193
             'concurrency' => $options['concurrency'] ?? self::DEFAULT_CONCURRENCY,
194
-            'fulfilled' => static function ($result, $key) use (&$results): void {
194
+            'fulfilled' => static function($result, $key) use (&$results): void {
195 195
                 $results[$key] = $result;
196 196
             },
197
-            'rejected' => $onRejected ?? static function (\Throwable $throwable, $key): void {
197
+            'rejected' => $onRejected ?? static function(\Throwable $throwable, $key): void {
198 198
                 throw $throwable;
199 199
             },
200 200
         ]);
Please login to merge, or discard this patch.
src/GPlayApps.php 1 patch
Spacing   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public const GOOGLE_PLAY_URL = 'https://play.google.com';
41 41
 
42 42
     /** @var string Google Play apps url. */
43
-    public const GOOGLE_PLAY_APPS_URL = self::GOOGLE_PLAY_URL . '/store/apps';
43
+    public const GOOGLE_PLAY_APPS_URL = self::GOOGLE_PLAY_URL.'/store/apps';
44 44
 
45 45
     /** @var int Unlimit results. */
46 46
     public const UNLIMIT = -1;
@@ -287,18 +287,18 @@  discard block
 block discarded – undo
287 287
          */
288 288
         $list = array_filter(
289 289
             $list,
290
-            static function (Model\AppInfo $app) {
290
+            static function(Model\AppInfo $app) {
291 291
                 return !$app->isAutoTranslatedDescription();
292 292
             }
293 293
         );
294 294
 
295 295
         if (!isset($list[$preferredLocale])) {
296
-            throw new \RuntimeException('No key ' . $preferredLocale);
296
+            throw new \RuntimeException('No key '.$preferredLocale);
297 297
         }
298 298
         $preferredApp = $list[$preferredLocale];
299 299
         $list = array_filter(
300 300
             $list,
301
-            static function (Model\AppInfo $app, string $locale) use ($preferredApp, $list) {
301
+            static function(Model\AppInfo $app, string $locale) use ($preferredApp, $list) {
302 302
                 // deletes locales in which there is no translation added, but automatic translation by Google Translate is used.
303 303
                 if ($preferredApp->getLocale() === $locale || !$preferredApp->equals($app)) {
304 304
                     if (($pos = strpos($locale, '_')) !== false) {
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
         // sorting array keys; the first key is the preferred locale
328 328
         uksort(
329 329
             $list,
330
-            static function (
330
+            static function(
331 331
                 /** @noinspection PhpUnusedParameterInspection */
332 332
                 string $a,
333 333
                 string $b
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
         }
390 390
 
391 391
         $parseHandler = new Scraper\ExistsAppScraper();
392
-        $requests = array_map(function ($appId) use ($parseHandler) {
392
+        $requests = array_map(function($appId) use ($parseHandler) {
393 393
             $fullUrl = Util\Caster::castToAppId($appId, $this->defaultLocale, $this->defaultCountry)->getFullUrl();
394 394
             $psrRequest = new PsrRequest('HEAD', $fullUrl);
395 395
 
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
                 'reviewId' => $reviewId,
489 489
             ]);
490 490
 
491
-            $detailUrl = self::GOOGLE_PLAY_APPS_URL . '/details?' . $queryString;
491
+            $detailUrl = self::GOOGLE_PLAY_APPS_URL.'/details?'.$queryString;
492 492
 
493 493
             $request = new Request(
494 494
                 new PsrRequest('GET', $detailUrl),
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
      */
545 545
     public function getCategories(): array
546 546
     {
547
-        $url = self::GOOGLE_PLAY_APPS_URL . '?' . http_build_query(
547
+        $url = self::GOOGLE_PLAY_APPS_URL.'?'.http_build_query(
548 548
             [
549 549
                 self::REQ_PARAM_LOCALE => $this->defaultLocale,
550 550
             ]
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
         $requests = [];
591 591
 
592 592
         foreach ($locales as $locale) {
593
-            $requestUrl = $url . '?' . http_build_query([self::REQ_PARAM_LOCALE => $locale]);
593
+            $requestUrl = $url.'?'.http_build_query([self::REQ_PARAM_LOCALE => $locale]);
594 594
             $requests[$locale] = new Request(
595 595
                 new PsrRequest('GET', $requestUrl),
596 596
                 [],
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
             );
650 650
         }
651 651
 
652
-        $url = self::GOOGLE_PLAY_APPS_URL . '/dev?' . http_build_query([
652
+        $url = self::GOOGLE_PLAY_APPS_URL.'/dev?'.http_build_query([
653 653
             self::REQ_PARAM_ID => $developerId,
654 654
             self::REQ_PARAM_LOCALE => $this->defaultLocale,
655 655
         ]);
@@ -705,11 +705,11 @@  discard block
 block discarded – undo
705 705
         }
706 706
 
707 707
         $requests = [];
708
-        $url = self::GOOGLE_PLAY_APPS_URL . '/dev';
708
+        $url = self::GOOGLE_PLAY_APPS_URL.'/dev';
709 709
         $parseHandler = new Scraper\DeveloperInfoScraper();
710 710
 
711 711
         foreach ($locales as $locale) {
712
-            $requestUrl = $url . '?' . http_build_query(
712
+            $requestUrl = $url.'?'.http_build_query(
713 713
                 [
714 714
                     self::REQ_PARAM_ID => $id,
715 715
                     self::REQ_PARAM_LOCALE => $locale,
@@ -753,7 +753,7 @@  discard block
 block discarded – undo
753 753
         ];
754 754
 
755 755
         if (is_numeric($developerId)) {
756
-            $developerUrl = self::GOOGLE_PLAY_APPS_URL . '/dev?' . http_build_query($query);
756
+            $developerUrl = self::GOOGLE_PLAY_APPS_URL.'/dev?'.http_build_query($query);
757 757
 
758 758
             try {
759 759
                 /**
@@ -771,13 +771,13 @@  discard block
 block discarded – undo
771 771
                     return [];
772 772
                 }
773 773
 
774
-                $developerUrl .= '&' . self::REQ_PARAM_LOCALE . '=' . urlencode($this->defaultLocale)
775
-                    . '&' . self::REQ_PARAM_COUNTRY . '=' . urlencode($this->defaultCountry);
774
+                $developerUrl .= '&'.self::REQ_PARAM_LOCALE.'='.urlencode($this->defaultLocale)
775
+                    . '&'.self::REQ_PARAM_COUNTRY.'='.urlencode($this->defaultCountry);
776 776
             } catch (\Throwable $e) {
777 777
                 throw new Exception\GooglePlayException($e->getMessage(), 1, $e);
778 778
             }
779 779
         } else {
780
-            $developerUrl = self::GOOGLE_PLAY_APPS_URL . '/developer?' . http_build_query($query);
780
+            $developerUrl = self::GOOGLE_PLAY_APPS_URL.'/developer?'.http_build_query($query);
781 781
         }
782 782
 
783 783
         return $this->fetchAppsFromClusterPage(
@@ -946,13 +946,13 @@  discard block
 block discarded – undo
946 946
         $url = self::GOOGLE_PLAY_APPS_URL;
947 947
 
948 948
         if ($path !== null) {
949
-            $url .= '/' . $path;
949
+            $url .= '/'.$path;
950 950
         }
951 951
 
952 952
         if ($category !== null) {
953
-            $url .= '/category/' . Util\Caster::castToCategoryId($category);
953
+            $url .= '/category/'.Util\Caster::castToCategoryId($category);
954 954
         }
955
-        $url .= '?' . http_build_query($queryParams);
955
+        $url .= '?'.http_build_query($queryParams);
956 956
 
957 957
         ['results' => $results, 'token' => $token] = $this->getHttpClient()->request(
958 958
             new Request(
@@ -1064,7 +1064,7 @@  discard block
 block discarded – undo
1064 1064
             self::REQ_PARAM_COUNTRY => $this->defaultCountry,
1065 1065
             'price' => $price->value(),
1066 1066
         ];
1067
-        $clusterPageUrl = self::GOOGLE_PLAY_URL . '/store/search?' . http_build_query($params);
1067
+        $clusterPageUrl = self::GOOGLE_PLAY_URL.'/store/search?'.http_build_query($params);
1068 1068
 
1069 1069
         return $this->fetchAppsFromClusterPage(
1070 1070
             $clusterPageUrl,
@@ -1218,7 +1218,7 @@  discard block
 block discarded – undo
1218 1218
         foreach ($images as $image) {
1219 1219
             if (!$image instanceof Model\GoogleImage) {
1220 1220
                 throw new \InvalidArgumentException(
1221
-                    'An array of ' . Model\GoogleImage::class . ' objects is expected.'
1221
+                    'An array of '.Model\GoogleImage::class.' objects is expected.'
1222 1222
                 );
1223 1223
             }
1224 1224
             $destPath = $destPathCallback($image);
@@ -1227,7 +1227,7 @@  discard block
 block discarded – undo
1227 1227
         }
1228 1228
 
1229 1229
         $httpClient = $this->getHttpClient();
1230
-        $promises = (static function () use ($mapping, $overwrite, $httpClient) {
1230
+        $promises = (static function() use ($mapping, $overwrite, $httpClient) {
1231 1231
             foreach ($mapping as $url => $stream) {
1232 1232
                 $destPath = $stream->getFilename();
1233 1233
                 $dynamicPath = strpos($destPath, '{url}') !== false;
@@ -1243,7 +1243,7 @@  discard block
 block discarded – undo
1243 1243
                                 RequestOptions::COOKIES => null,
1244 1244
                                 RequestOptions::SINK => $stream,
1245 1245
                                 RequestOptions::HTTP_ERRORS => true,
1246
-                                RequestOptions::ON_HEADERS => static function (ResponseInterface $response) use (
1246
+                                RequestOptions::ON_HEADERS => static function(ResponseInterface $response) use (
1247 1247
                                     $url,
1248 1248
                                     $stream
1249 1249
                                 ): void {
@@ -1252,7 +1252,7 @@  discard block
 block discarded – undo
1252 1252
                             ]
1253 1253
                         )
1254 1254
                         ->then(
1255
-                            static function (
1255
+                            static function(
1256 1256
                                 /** @noinspection PhpUnusedParameterInspection */
1257 1257
                                 ResponseInterface $response
1258 1258
                             ) use ($url) {
@@ -1272,10 +1272,10 @@  discard block
 block discarded – undo
1272 1272
             $promises,
1273 1273
             [
1274 1274
                 'concurrency' => $this->getHttpClient()->getConcurrency(),
1275
-                'fulfilled' => static function (string $url) use (&$imageInfoList, $mapping): void {
1275
+                'fulfilled' => static function(string $url) use (&$imageInfoList, $mapping): void {
1276 1276
                     $imageInfoList[] = new Model\ImageInfo($url, $mapping[$url]->getFilename());
1277 1277
                 },
1278
-                'rejected' => static function (\Throwable $reason, string $exceptionUrl) use ($mapping): void {
1278
+                'rejected' => static function(\Throwable $reason, string $exceptionUrl) use ($mapping): void {
1279 1279
                     foreach ($mapping as $destPath => $url) {
1280 1280
                         if (is_file($destPath)) {
1281 1281
                             unlink($destPath);
Please login to merge, or discard this patch.