Ticket #46594: 46594.2.diff
File 46594.2.diff, 3.0 KB (added by , 6 years ago) |
---|
-
.travis.yml
26 26 - php: 7.0 27 27 env: WP_TEST_REPORTER=true 28 28 - php: 5.6 29 - php: 5.530 - php: 5.431 - php: 5.332 dist: precise33 - php: 5.234 dist: precise35 29 - php: nightly 36 30 allow_failures: 37 - php: 5.538 - php: 5.439 - php: 5.340 dist: precise41 - php: 5.242 dist: precise43 31 - php: 7.4snapshot 44 32 - php: nightly 45 33 fast_finish: true … … 68 56 fi 69 57 - | 70 58 # Export Composer's global bin dir to PATH, but not on PHP 5.2: 71 if [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then 72 composer config --list --global 73 export PATH=`composer config --list --global | grep '\[home\]' | { read a; echo "${a#* }/vendor/bin:$PATH"; }` 74 fi 59 composer config --list --global 60 export PATH=`composer config --list --global | grep '\[home\]' | { read a; echo "${a#* }/vendor/bin:$PATH"; }` 75 61 - | 76 62 # Install the specified version of PHPUnit depending on the PHP version: 77 63 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then … … 84 70 echo "Using PHPUnit 6.x" 85 71 travis_retry composer global require "phpunit/phpunit:^6" 86 72 ;; 87 5.6 |5.5|5.4|5.3)73 5.6) 88 74 echo "Using PHPUnit 4.x" 89 75 travis_retry composer global require "phpunit/phpunit:^4" 90 76 ;; 91 5.2)92 # Do nothing, use default PHPUnit 3.6.x93 echo "Using default PHPUnit, hopefully 3.6"94 ;;95 77 *) 96 78 echo "No PHPUnit version handling for PHP version $TRAVIS_PHP_VERSION" 97 79 exit 1 -
src/readme.html
52 52 53 53 <h2>System Requirements</h2> 54 54 <ul> 55 <li><a href="https://secure.php.net/">PHP</a> version <strong>5.6. 30</strong> or higher.</li>55 <li><a href="https://secure.php.net/">PHP</a> version <strong>5.6.20</strong> or higher.</li> 56 56 <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li> 57 57 </ul> 58 58 59 59 <h3>Recommendations</h3> 60 60 <ul> 61 <li><a href="https://secure.php.net/">PHP</a> version <strong>7. 2</strong> or higher.</li>61 <li><a href="https://secure.php.net/">PHP</a> version <strong>7.3</strong> or higher.</li> 62 62 <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li> 63 63 <li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li> 64 64 <li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li> -
src/wp-includes/version.php
34 34 * 35 35 * @global string $required_php_version 36 36 */ 37 $required_php_version = '5.6. 30';37 $required_php_version = '5.6.20'; 38 38 39 39 /** 40 40 * Holds the required MySQL version