Make WordPress Core

Ticket #46594: 46594.2.diff

File 46594.2.diff, 3.0 KB (added by jorbin, 6 years ago)
  • .travis.yml

     
    2626  - php: 7.0
    2727    env: WP_TEST_REPORTER=true
    2828  - php: 5.6
    29   - php: 5.5
    30   - php: 5.4
    31   - php: 5.3
    32     dist: precise
    33   - php: 5.2
    34     dist: precise
    3529  - php: nightly
    3630  allow_failures:
    37   - php: 5.5
    38   - php: 5.4
    39   - php: 5.3
    40     dist: precise
    41   - php: 5.2
    42     dist: precise
    4331  - php: 7.4snapshot
    4432  - php: nightly
    4533  fast_finish: true
     
    6856  fi
    6957- |
    7058  # 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"; }`
    7561- |
    7662  # Install the specified version of PHPUnit depending on the PHP version:
    7763  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
     
    8470        echo "Using PHPUnit 6.x"
    8571        travis_retry composer global require "phpunit/phpunit:^6"
    8672        ;;
    87       5.6|5.5|5.4|5.3)
     73      5.6)
    8874        echo "Using PHPUnit 4.x"
    8975        travis_retry composer global require "phpunit/phpunit:^4"
    9076        ;;
    91       5.2)
    92         # Do nothing, use default PHPUnit 3.6.x
    93         echo "Using default PHPUnit, hopefully 3.6"
    94         ;;
    9577      *)
    9678        echo "No PHPUnit version handling for PHP version $TRAVIS_PHP_VERSION"
    9779        exit 1
  • src/readme.html

     
    5252
    5353<h2>System Requirements</h2>
    5454<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>
    5656        <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li>
    5757</ul>
    5858
    5959<h3>Recommendations</h3>
    6060<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>
    6262        <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
    6363        <li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
    6464        <li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
  • src/wp-includes/version.php

     
    3434 *
    3535 * @global string $required_php_version
    3636 */
    37 $required_php_version = '5.6.30';
     37$required_php_version = '5.6.20';
    3838
    3939/**
    4040 * Holds the required MySQL version