Code Duplication    Length = 6-6 lines in 2 locations

tests/ElasticsearchFunctionalTestBase.php 1 location

@@ 68-73 (lines=6) @@
65
			// load fixtures
66
			$orig_fixture_file = static::$fixture_file;
67
68
			foreach (static::$ignoreFixtureFileFor as $testPattern) {
69
				$pattern = '/'.$testPattern.'/';
70
				if (preg_match($pattern, $this->getName())) {
71
					static::$fixture_file = null;
72
				}
73
			}
74
		} catch (Exception $e) {
75
			error_log('**** T1 EXCEPTION ' . $e->getMessage());
76
			$elasticaException = true;

tests/ElasticsearchTestBase.php 1 location

@@ 76-81 (lines=6) @@
73
			$orig_fixture_file = static::$fixture_file;
74
			error_log('++++ EL BASE SET UP T5');
75
76
			foreach (static::$ignoreFixtureFileFor as $testPattern) {
77
				$pattern = '/'.$testPattern.'/';
78
				if (preg_match($pattern, $this->getName())) {
79
					static::$fixture_file = null;
80
				}
81
			}
82
83
			error_log('++++ EL BASE SET UP T6');
84
		} catch (Exception $e) {