original_string: public static function getAssetCompressFiles(): array
      {
          $helper = new FrontendBridgeHelper(new View());
          $dependencies = $helper->compileDependencies();
          $plugins = array_map('\Cake\Utility\Inflector::underscore', Plugin::loaded());
  
          foreach ($dependencies as $n => $dependency) {
              $parts = explode('/', $dependency);
              if (empty($parts[0]) && in_array($parts[1], $plugins)) {
                  $prefix = '/' . $parts[1] . '/';
                  $dependency = preg_replace(
                      '/^' . str_replace('/', '\/', $prefix) . '/',
                      'plugin:' . Inflector::camelize($parts[1]) . ':',
                      $dependency
                  );
              }
              if (substr($dependency, 0, 4) == '/js/') {
                  $dependency = substr($dependency, 4);
              }
              $dependencies[$n] = $dependency;
          }
  
          return $dependencies;
      }
code: public static function getAssetCompressFiles(): array
      {
          $helper = new FrontendBridgeHelper(new View());
          $dependencies = $helper->compileDependencies();
          $plugins = array_map('\Cake\Utility\Inflector::underscore', Plugin::loaded());
  
          foreach ($dependencies as $n => $dependency) {
              $parts = explode('/', $dependency);
              if (empty($parts[0]) && in_array($parts[1], $plugins)) {
                  $prefix = '/' . $parts[1] . '/';
                  $dependency = preg_replace(
                      '/^' . str_replace('/', '\/', $prefix) . '/',
                      'plugin:' . Inflector::camelize($parts[1]) . ':',
                      $dependency
                  );
              }
              if (substr($dependency, 0, 4) == '/js/') {
                  $dependency = substr($dependency, 4);
              }
              $dependencies[$n] = $dependency;
          }
  
          return $dependencies;
      }
code_tokens: public static function getAssetCompressFiles ( ) : array { $ helper = new FrontendBridgeHelper ( new View ( ) ) ; $ dependencies = $ helper -> compileDependencies ( ) ; $ plugins = array_map ( '\Cake\Utility\Inflector::underscore' , Plugin :: loaded ( ) ) ; foreach ( $ dependencies as $ n => $ dependency ) { $ parts = explode ( '/' , $ dependency ) ; if ( empty ( $ parts [ 0 ] ) && in_array ( $ parts [ 1 ] , $ plugins ) ) { $ prefix = '/' . $ parts [ 1 ] . '/' ; $ dependency = preg_replace ( '/^' . str_replace ( '/' , '\/' , $ prefix ) . '/' , 'plugin:' . Inflector :: camelize ( $ parts [ 1 ] ) . ':' , $ dependency ) ; } if ( substr ( $ dependency , 0 , 4 ) == '/js/' ) { $ dependency = substr ( $ dependency , 4 ) ; } $ dependencies [ $ n ] = $ dependency ; } return $ dependencies ; }
docstring: Compiles an AssetCompress-compatible list of assets to be used in asset_compress.ini
  files as a callback method
  
  @return array
docstring_tokens: Compiles an AssetCompress - compatible list of assets to be used in asset_compress . ini files as a callback method