Skip to content
Snippets Groups Projects
  • Tim van Dijen's avatar
    Raise PHP functional level to 7.0 (#1242) · 6607b7fb
    Tim van Dijen authored
    * Raise minimum PHP version to 7.0
    
    * Remove tests pre-PHP 7.2
    
    * Upgrade dev dependencies
    
    * Ignore tests for deprecated class
    
    * Add typehints; not touching public API
    
    * Remove none-array replacements-param; old behaviour from pre-1.4 release
    
    * Psalm fixes
    
    * Add upgrade notes
    
    * PSR-12
    Unverified
    6607b7fb
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.appveyor.yml 995 B
build: false
shallow_clone: false
version: '1.19.0.{build}'
platform: 'x64'
clone_folder: C:\projects\simplesamlphp

environment:
  matrix:
    - PHP_VERSION: "7.0"
    - PHP_VERSION: "7.1"
    - PHP_VERSION: "7.2"
    - PHP_VERSION: "7.3"

install:
  - ps: Invoke-WebRequest "https://raw.githubusercontent.com/ChadSikorra/ps-install-php/master/Install-PHP.ps1" -OutFile "Install-PHP.ps1"
  - ps: .\Install-PHP.ps1 -Version $Env:PHP_VERSION -Highest -Arch x64 -Extensions mbstring,intl,openssl,curl,pdo_mysql,pdo_sqlite
  - refreshenv
  - cd C:\projects\simplesamlphp
  - php -r "readfile('https://getcomposer.org/installer');" | php

before_test:
  - cd C:\projects\simplesamlphp
  # For 2.0 (or once the externalized modules are no longer included), remove the --ignore-platform-reqs
  - php composer.phar install --no-interaction --no-progress --optimize-autoloader --prefer-source --no-ansi --ignore-platform-reqs

test_script:
  - cd C:\projects\simplesamlphp
  - vendor\bin\phpunit.bat