Passed
Push — master ( 80887c...685312 )
by Aimeos
03:23
created
controller/jobs/tests/Controller/Jobs/Catalog/Import/Csv/FactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Subscription/Process/Renew/Factory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,13 +64,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Product/Export/Sitemap/Factory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,13 +64,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
jobs/tests/Controller/Jobs/Catalog/Export/Sitemap/StandardTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Attribute/Import/Xml/Factory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,13 +64,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Customer/Import/Xml/Factory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,13 +64,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
controller/jobs/tests/Controller/Jobs/Attribute/Import/Xml/FactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
controller/jobs/tests/Controller/Jobs/Customer/Import/Xml/FactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
controller/jobs/tests/Controller/Jobs/Supplier/Import/Xml/FactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.