$this->stderr = fopen( "php://stderr", "wt" );
// Built-in output and filter plugins
- $this->registerOutput( 'file', 'DumpFileOutput' );
- $this->registerOutput( 'gzip', 'DumpGZipOutput' );
- $this->registerOutput( 'bzip2', 'DumpBZip2Output' );
- $this->registerOutput( 'dbzip2', 'DumpDBZip2Output' );
- $this->registerOutput( '7zip', 'Dump7ZipOutput' );
-
- $this->registerFilter( 'latest', 'DumpLatestFilter' );
- $this->registerFilter( 'notalk', 'DumpNotalkFilter' );
- $this->registerFilter( 'namespace', 'DumpNamespaceFilter' );
+ $this->registerOutput( 'file', DumpFileOutput::class );
+ $this->registerOutput( 'gzip', DumpGZipOutput::class );
+ $this->registerOutput( 'bzip2', DumpBZip2Output::class );
+ $this->registerOutput( 'dbzip2', DumpDBZip2Output::class );
+ $this->registerOutput( '7zip', Dump7ZipOutput::class );
+
+ $this->registerFilter( 'latest', DumpLatestFilter::class );
+ $this->registerFilter( 'notalk', DumpNotalkFilter::class );
+ $this->registerFilter( 'namespace', DumpNamespaceFilter::class );
// These three can be specified multiple times
$this->addOption( 'plugin', 'Load a dump plugin class. Specify as <class>[:<file>].',