Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise minimum PHP version to 7.4 #1425

Merged
merged 8 commits into from
Apr 3, 2023
Merged

Raise minimum PHP version to 7.4 #1425

merged 8 commits into from
Apr 3, 2023

Commits on Apr 1, 2023

  1. docs: Fix minimum PHP version

    This was accidentally raised in 2.19:
    d6e9bc8
    jtojnar committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    40cf650 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    834a738 View commit details
    Browse the repository at this point in the history
  3. Fix function argument alignment

    This will be enforced once we upgrade php-cs-fixer
    jtojnar committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    0898189 View commit details
    Browse the repository at this point in the history
  4. Raise minimum PHP version to 7.4

    This will allow us to use typed properties, arrow functions,
    having json_decode throw an exception, and flexible heredoc syntax.
    
    https://www.php.net/releases/7_4_0.php
    https://www.php.net/releases/7_3_0.php
    
    And while Debian 10 Buster supports PHP 7.3 until June 2024,
    continuing to support it is just too painful.
    https://www.debian.org/releases/
    https://wiki.debian.org/PHP
    jtojnar committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    97157ad View commit details
    Browse the repository at this point in the history
  5. Use flexible heredoc syntax

    Also switch to HTML/XML as delimiter so that editors can apply correct syntax highlighting.
    jtojnar committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    83bc832 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bd321cb View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Add property type hints

    jtojnar committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    2e2d838 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    107c1b8 View commit details
    Browse the repository at this point in the history