Code Duplication    Length = 8-8 lines in 2 locations

wp-update-php/wp-update-php.php 2 locations

@@ 83-90 (lines=8) @@
80
	 *                        "major.minor.release[extra]" notation.
81
	 * @return bool True if supplied PHP version meets minimum required version.
82
	 */
83
	public function does_it_meet_required_php_version($version = PHP_VERSION) {
84
		if ($this->version_passes_requirement($this->minimum_version, $version)) {
85
			return true;
86
		}
87
88
		$this->load_version_notice(array($this, 'minimum_admin_notice'));
89
		return false;
90
	} // END does_it_meet_required_php_version()
91
92
	/**
93
	 * Check given PHP version against recommended version.
@@ 101-108 (lines=8) @@
98
	 *                        "major.minor.release[extra]" notation.
99
	 * @return bool True if supplied PHP version meets recommended version.
100
	 */
101
	public function does_it_meet_recommended_php_version($version = PHP_VERSION) {
102
		if ($this->version_passes_requirement($this->recommended_version, $version)) {
103
			return true;
104
		}
105
106
		$this->load_version_notice(array($this, 'recommended_admin_notice'));
107
		return false;
108
	} // END does_it_meet_recommended_php_version()
109
110
	/**
111
	 * Check that one PHP version is less than or equal to another.