original_string: public function clean(Composer $composer)
      {
          $rootPkg = $composer->getPackage();
          $extra = $rootPkg->getExtra();
          
          if (! isset($extra['wordpress-install-dir'])) {
              return;
          }
          
          $filesystem = new Filesystem();
          $filesystem->remove($extra['wordpress-install-dir'] . '/wp-content');
      }
code: public function clean(Composer $composer)
      {
          $rootPkg = $composer->getPackage();
          $extra = $rootPkg->getExtra();
          
          if (! isset($extra['wordpress-install-dir'])) {
              return;
          }
          
          $filesystem = new Filesystem();
          $filesystem->remove($extra['wordpress-install-dir'] . '/wp-content');
      }
code_tokens: public function clean ( Composer $ composer ) { $ rootPkg = $ composer -> getPackage ( ) ; $ extra = $ rootPkg -> getExtra ( ) ; if ( ! isset ( $ extra [ 'wordpress-install-dir' ] ) ) { return ; } $ filesystem = new Filesystem ( ) ; $ filesystem -> remove ( $ extra [ 'wordpress-install-dir' ] . '/wp-content' ) ; }
docstring: Clean up the WordPress installation directory.
  
  @param  \Composer\Composer  $composer
  @return void
docstring_tokens: Clean up the WordPress installation directory .