| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | $aimeos = \TestHelperJobs::getAimeos(); | 
| 18 | 18 | |
| 19 | 19 | $obj = \Aimeos\Controller\Jobs\Catalog\Import\Csv\Factory::create( $context, $aimeos ); | 
| 20 | - $this->assertInstanceOf( '\\Aimeos\\Controller\\Jobs\\Iface', $obj); | |
| 20 | + $this->assertInstanceOf( '\\Aimeos\\Controller\\Jobs\\Iface', $obj ); | |
| 21 | 21 | } | 
| 22 | 22 | |
| 23 | 23 | |
| @@ -64,13 +64,13 @@ | ||
| 64 | 64 | * @since 2018.04 | 
| 65 | 65 | * @category Developer | 
| 66 | 66 | */ | 
| 67 | -		if ( $name === null ) { | |
| 68 | -			$name = $context->getConfig()->get('controller/jobs/subscription/process/renew/name', 'Standard'); | |
| 67 | +		if( $name === null ) { | |
| 68 | + $name = $context->getConfig()->get( 'controller/jobs/subscription/process/renew/name', 'Standard' ); | |
| 69 | 69 | } | 
| 70 | 70 | |
| 71 | - if ( ctype_alnum($name) === false ) | |
| 71 | + if( ctype_alnum( $name ) === false ) | |
| 72 | 72 |  		{ | 
| 73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Process\\Renew\\' . $name : '<not a string>'; | |
| 73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Process\\Renew\\' . $name : '<not a string>'; | |
| 74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); | 
| 75 | 75 | } | 
| 76 | 76 | |
| @@ -64,13 +64,13 @@ | ||
| 64 | 64 | * @since 2015.01 | 
| 65 | 65 | * @category Developer | 
| 66 | 66 | */ | 
| 67 | -		if ( $name === null ) { | |
| 68 | -			$name = $context->getConfig()->get('controller/jobs/product/export/sitemap/name', 'Standard'); | |
| 67 | +		if( $name === null ) { | |
| 68 | + $name = $context->getConfig()->get( 'controller/jobs/product/export/sitemap/name', 'Standard' ); | |
| 69 | 69 | } | 
| 70 | 70 | |
| 71 | - if ( ctype_alnum($name) === false ) | |
| 71 | + if( ctype_alnum( $name ) === false ) | |
| 72 | 72 |  		{ | 
| 73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Product\\Export\\Sitemap\\' . $name : '<not a string>'; | |
| 73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Product\\Export\\Sitemap\\' . $name : '<not a string>'; | |
| 74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); | 
| 75 | 75 | } | 
| 76 | 76 | |
| @@ -77,7 +77,7 @@ discard block | ||
| 77 | 77 |  	{ | 
| 78 | 78 | $this->context->getConfig()->set( 'controller/jobs/catalog/export/sitemap/location', '' ); | 
| 79 | 79 | |
| 80 | -		$this->setExpectedException('\\Aimeos\\Controller\\Jobs\\Exception'); | |
| 80 | + $this->setExpectedException( '\\Aimeos\\Controller\\Jobs\\Exception' ); | |
| 81 | 81 | |
| 82 | 82 | $this->object->run(); | 
| 83 | 83 | } | 
| @@ -86,7 +86,7 @@ discard block | ||
| 86 | 86 |  	{ | 
| 87 | 87 | $this->context->getConfig()->set( 'controller/jobs/catalog/export/sitemap/location', null ); | 
| 88 | 88 | |
| 89 | -		$this->setExpectedException('\\Aimeos\\Controller\\Jobs\\Exception'); | |
| 89 | + $this->setExpectedException( '\\Aimeos\\Controller\\Jobs\\Exception' ); | |
| 90 | 90 | |
| 91 | 91 | $this->object->run(); | 
| 92 | 92 | } | 
| @@ -64,13 +64,13 @@ | ||
| 64 | 64 | * @since 2019.04 | 
| 65 | 65 | * @category Developer | 
| 66 | 66 | */ | 
| 67 | -		if ( $name === null ) { | |
| 68 | -			$name = $context->getConfig()->get('controller/jobs/attribute/import/xml/name', 'Standard'); | |
| 67 | +		if( $name === null ) { | |
| 68 | + $name = $context->getConfig()->get( 'controller/jobs/attribute/import/xml/name', 'Standard' ); | |
| 69 | 69 | } | 
| 70 | 70 | |
| 71 | - if ( ctype_alnum($name) === false ) | |
| 71 | + if( ctype_alnum( $name ) === false ) | |
| 72 | 72 |  		{ | 
| 73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Attribute\\Import\\Xml\\' . $name : '<not a string>'; | |
| 73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Attribute\\Import\\Xml\\' . $name : '<not a string>'; | |
| 74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); | 
| 75 | 75 | } | 
| 76 | 76 | |
| @@ -64,13 +64,13 @@ | ||
| 64 | 64 | * @since 2019.04 | 
| 65 | 65 | * @category Developer | 
| 66 | 66 | */ | 
| 67 | -		if ( $name === null ) { | |
| 68 | -			$name = $context->getConfig()->get('controller/jobs/customer/import/xml/name', 'Standard'); | |
| 67 | +		if( $name === null ) { | |
| 68 | + $name = $context->getConfig()->get( 'controller/jobs/customer/import/xml/name', 'Standard' ); | |
| 69 | 69 | } | 
| 70 | 70 | |
| 71 | - if ( ctype_alnum($name) === false ) | |
| 71 | + if( ctype_alnum( $name ) === false ) | |
| 72 | 72 |  		{ | 
| 73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Customer\\Import\\Xml\\' . $name : '<not a string>'; | |
| 73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Customer\\Import\\Xml\\' . $name : '<not a string>'; | |
| 74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); | 
| 75 | 75 | } | 
| 76 | 76 | |
| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | $aimeos = \TestHelperJobs::getAimeos(); | 
| 18 | 18 | |
| 19 | 19 | $obj = \Aimeos\Controller\Jobs\Attribute\Import\Xml\Factory::create( $context, $aimeos ); | 
| 20 | - $this->assertInstanceOf( '\\Aimeos\\Controller\\Jobs\\Iface', $obj); | |
| 20 | + $this->assertInstanceOf( '\\Aimeos\\Controller\\Jobs\\Iface', $obj ); | |
| 21 | 21 | } | 
| 22 | 22 | |
| 23 | 23 | |
| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | $aimeos = \TestHelperJobs::getAimeos(); | 
| 18 | 18 | |
| 19 | 19 | $obj = \Aimeos\Controller\Jobs\Customer\Import\Xml\Factory::create( $context, $aimeos ); | 
| 20 | - $this->assertInstanceOf( '\\Aimeos\\Controller\\Jobs\\Iface', $obj); | |
| 20 | + $this->assertInstanceOf( '\\Aimeos\\Controller\\Jobs\\Iface', $obj ); | |
| 21 | 21 | } | 
| 22 | 22 | |
| 23 | 23 | |
| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | $aimeos = \TestHelperJobs::getAimeos(); | 
| 18 | 18 | |
| 19 | 19 | $obj = \Aimeos\Controller\Jobs\Supplier\Import\Xml\Factory::create( $context, $aimeos ); | 
| 20 | - $this->assertInstanceOf( '\\Aimeos\\Controller\\Jobs\\Iface', $obj); | |
| 20 | + $this->assertInstanceOf( '\\Aimeos\\Controller\\Jobs\\Iface', $obj ); | |
| 21 | 21 | } | 
| 22 | 22 | |
| 23 | 23 | |