Skip to content

Commit 461d724

Browse files
committed
Merge branch 'Hikariii-version3Cleanup' into 3.0.0
2 parents 1a4e90b + 7ef11ef commit 461d724

130 files changed

Lines changed: 39 additions & 25682 deletions

File tree

Some content is hidden

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

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ language: php
22

33
php:
44
- 5.6
5-
- 5.5
6-
- 5.4
7-
# - 5.3
85
- 7.0
6+
- 7.1
97

108
env:
119
- TRAVIS=true
@@ -27,7 +25,7 @@ script:
2725
- php vendor/bin/phploc lib/.
2826
- mkdir -p tests/build/dependences
2927
- php vendor/bin/pdepend --summary-xml=tests/build/logs/dependence-summary.xml --jdepend-chart=tests/build/dependences/jdepend.svg --overview-pyramid=tests/build/dependences/pyramid.svg lib/.
30-
- php vendor/bin/phpcs --standard=tests/ZendModStandard lib/Saml2 demo1 demo2 demo-old endpoints tests/src
28+
- php vendor/bin/phpcs --standard=tests/ZendModStandard lib/Saml2 demo1 demo2 endpoints tests/src
3129

3230
after_script:
3331
- export TRAVIS=https://travis-ci.org/onelogin/php-saml

_toolkit_loader.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@
55
// http://php.net/manual/en/language.oop5.autoload.php
66

77
$libDir = dirname(__FILE__) . '/lib/Saml2/';
8-
$extlibDir = dirname(__FILE__) . '/extlib/';
98

109
// Load composer
1110
if (file_exists('vendor/autoload.php')) {
1211
require 'vendor/autoload.php';
1312
}
1413

15-
// Load now external libs
16-
require_once $extlibDir . 'xmlseclibs/xmlseclibs.php';
17-
1814
$folderInfo = scandir($libDir);
1915

2016
foreach ($folderInfo as $element) {

composer.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"keywords": ["saml", "saml2", "onelogin"],
88
"autoload": {
99
"classmap": [
10-
"extlib/xmlseclibs",
11-
"lib/Saml",
1210
"lib/Saml2"
1311
]
1412
},
@@ -18,22 +16,21 @@
1816
"source": "https://github.com/onelogin/php-saml/"
1917
},
2018
"require": {
21-
"php": ">=5.3.2",
19+
"php": ">=5.6",
20+
"robrichards/xmlseclibs": "^3.0.0",
2221
"ext-openssl": "*",
23-
"ext-dom": "*",
24-
"ext-mcrypt": "*"
22+
"ext-dom": "*"
2523
},
2624
"require-dev": {
27-
"phpunit/phpunit": "4.8",
25+
"phpunit/phpunit": "^5.7",
2826
"satooshi/php-coveralls": "1.0.1",
2927
"sebastian/phpcpd": "*",
3028
"phploc/phploc": "*",
3129
"pdepend/pdepend" : "1.1.0",
32-
"squizlabs/php_codesniffer": "*"
30+
"squizlabs/php_codesniffer": "2.*"
3331
},
3432
"suggest": {
3533
"lib-openssl": "Install openssl lib in order to handle with x509 certs (require to support sign and encryption)",
36-
"ext-mcrypt": "Install mcrypt and php5-mcrypt libs in order to support encryption",
3734
"ext-gettext": "Install gettext and php5-gettext libs to handle translations"
3835
}
3936
}

demo-old/Readme.txt

Lines changed: 0 additions & 43 deletions
This file was deleted.

demo-old/consume.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

demo-old/index.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

demo-old/metadata.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

demo-old/settings_example.php

Lines changed: 0 additions & 54 deletions
This file was deleted.

docs/Saml/classes.svg

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)