Skip to content

Commit 2c8aa8a

Browse files
authored
Remove 2.0 deprecations (simplesamlphp#1281)
* Remove deprecated classes * Remove support for certificate fingerprints * Remove many deprecated methods and pieces of code * Remove SAML1.1/Shib1.3 support * Remove many superfluous annotations * Update unit test to work with new PHPunit Closes simplesamlphp#1268 Closes simplesamlphp#1020 Closes simplesamlphp#431 Closes simplesamlphp#167 Closes simplesamlphp#151
1 parent 318b1c0 commit 2c8aa8a

File tree

202 files changed

+1506
-7436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+1506
-7436
lines changed

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ environment:
88
matrix:
99
- PHP_VERSION: "7.2"
1010
- PHP_VERSION: "7.3"
11+
- PHP_VERSION: "7.4"
1112

1213
install:
1314
- ps: Invoke-WebRequest "https://raw.githubusercontent.com/ChadSikorra/ps-install-php/master/Install-PHP.ps1" -OutFile "Install-PHP.ps1"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/www/assets/js/*.map
88
/www/assets/css/*.css
99
/www/assets/css/*.map
10+
.phpunit.result.cache
1011

1112
!/config/.gitkeep
1213
!/metadata/.gitkeep

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ script:
3232
jobs:
3333
fast_finish: true
3434
allow_failures:
35-
- php: 7.2
35+
- php: 7.3
3636
env: Psalm
37-
- php: 7.2
37+
- php: 7.3
3838
env: Security check (composer install)
39-
- php: 7.2
39+
- php: 7.3
4040
env: Security check (composer update)
41-
- php: 7.2
41+
- php: 7.3
4242
env: PHP Codesniffer
4343

4444
include:
@@ -117,6 +117,7 @@ jobs:
117117
- composer update
118118
script:
119119
- vendor/bin/psalm
120+
- vendor/bin/psalter --issues=UnnecessaryVarAnnotation --dry-run
120121

121122
- stage: quality
122123
php: 7.3

composer.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,28 @@
7575
"simplesamlphp/simplesamlphp-module-statistics": "^0.9",
7676
"simplesamlphp/simplesamlphp-module-sqlauth": "^0.9",
7777
"simplesamlphp/twig-configurable-i18n": "^2.1",
78-
"symfony/cache": "^3.4 || ^4.0",
79-
"symfony/config": "^3.4 || ^4.0",
80-
"symfony/console": "^3.4 || ^4.0",
81-
"symfony/dependency-injection": "^3.4 || ^4.0",
82-
"symfony/finder": "^3.4 || ^4.0",
83-
"symfony/framework-bundle": "^3.4 || ^4.0",
84-
"symfony/http-foundation": "^3.4 || ^4.0",
85-
"symfony/http-kernel": "^3.4 || ^4.0",
86-
"symfony/routing": "^3.4 || ^4.0",
87-
"symfony/yaml": "^3.4 || ^4.0",
88-
"twig/twig": "~1.0 || ~2.0",
89-
"webmozart/assert": "~1.5",
78+
"symfony/cache": "^4.0",
79+
"symfony/config": "^4.0",
80+
"symfony/console": "^4.0",
81+
"symfony/dependency-injection": "^4.0",
82+
"symfony/finder": "^4.0",
83+
"symfony/framework-bundle": "^4.0",
84+
"symfony/http-foundation": "^4.0",
85+
"symfony/http-kernel": "^4.0",
86+
"symfony/routing": "^4.0",
87+
"symfony/yaml": "^4.0",
88+
"twig/twig": "~2.0",
89+
"webmozart/assert": "~1.7",
9090
"whitehat101/apr1-md5": "~1.0"
9191
},
9292
"require-dev": {
9393
"ext-curl": "*",
9494
"mikey179/vfsstream": "~1.6",
95-
"phpunit/phpunit": "~6.3",
95+
"phpunit/phpunit": "~8.5",
9696
"sensiolabs/security-checker": "^5.0.3",
9797
"simplesamlphp/simplesamlphp-test-framework": "^0.1.0",
9898
"squizlabs/php_codesniffer": "^3.5",
99-
"vimeo/psalm": "~3.2"
99+
"vimeo/psalm": "^3.8"
100100
},
101101
"suggest": {
102102
"predis/predis": "Needed if a Redis server is used to store session information",

0 commit comments

Comments
 (0)