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

add PHP 8 support #4

Closed
3 tasks done
gregor-j opened this issue Oct 10, 2023 · 1 comment
Closed
3 tasks done

add PHP 8 support #4

gregor-j opened this issue Oct 10, 2023 · 1 comment

Comments

@gregor-j
Copy link
Contributor

gregor-j commented Oct 10, 2023

Add PHP 8 support.

  • Change composer requirement PHP >=7.4
  • Switch to PHPUnit 9 and adapt tests and config.
  • require PHP_CodeSniffer
@gregor-j
Copy link
Contributor Author

phpcompatinfo:php-7.2 analyser:run src

Data Source Analysed

Directories                                          1
Files                                                2
Errors                                               0


Extensions Analysis

    Extension Matches REF      EXT min/Max PHP min/Max PHP all 
    Core              Core     5.0.0       5.0.0               
    date              date     5.3.0       5.3.0               
    pcre              pcre     4.0.0       4.0.0               
    standard          standard 4.0.0       4.0.0               
    Total [4]                              5.3.0               

Namespaces Analysis

    Namespace       Matches REF  EXT min/Max PHP min/Max PHP all 
    +global                 Core             5.4.0               
    phpsap\DateTime         user             5.4.0               
    Total [2]                                5.4.0               

No interface found

No trait found

Classes Analysis

    Class                           Matches REF  EXT min/Max PHP min/Max PHP all 
    DateInterval                    1       date 5.3.0       5.3.0               
    DateTime                        1       date 5.2.0       5.2.0               
    parent                          5       Core 5.0.0       5.0.0               
    phpsap\DateTime\SapDateInterval         user             5.4.0               
    phpsap\DateTime\SapDateTime             user             5.2.0               
    static                          1       Core 5.0.0       5.0.0               
    Total [6]                                                5.4.0               

Functions Analysis

    Function   Matches REF      EXT min/Max PHP min/Max  
    preg_match 2       pcre     4.0.0       4.0.0        
    sprintf    2       standard 4.0.0       4.0.0        
    Total [2]                               4.0.0        

Constants Analysis

    Constant  Matches REF  EXT min/Max PHP min/Max  
    false     2       Core 4.0.0       4.0.0        
    null      2       Core 4.0.0       4.0.0        
    Total [2]                          4.0.0        

No condition found

Requires PHP 5.4.0 (min), PHP 5.4.0 (all)

gregor-j added a commit that referenced this issue Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
@gregor-j gregor-j changed the title add PHP 8 add PHP 8 support Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
* Updated composer dependencies along the way.
gregor-j added a commit that referenced this issue Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
gregor-j added a commit that referenced this issue Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant