Skip to content

Commit

Permalink
Move SSP to dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jul 22, 2024
1 parent 3345105 commit bf85d07
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ jobs:
run: |
composer-unused \
--excludePackage=slevomat/coding-standard \
--excludePackage=symfony/phpunit-bridge
--excludePackage=symfony/phpunit-bridge \
--excludePackages=phpstan/phpstan \
--excludePackages=phpstan/phpstan-mockery
- name: PHP Code Sniffer
run: phpcs
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@
"phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^10.0 || ^11.0",
"psr/log": "^2.0 || ^3.0",
"simplesamlphp/simplesamlphp": "^2",
"slevomat/coding-standard": "^8.15",
"symfony/phpunit-bridge": "^6.4 || ^7.0"
},
"require-dev": {
"simplesamlphp/simplesamlphp": "^2"
},
"support": {
"issues": "https://github.com/simplesamlphp/simplesamlphp-test-framework/issues",
"source": "https://github.com/simplesamlphp/simplesamlphp-test-framework"
Expand All @@ -41,7 +43,8 @@
"allow-plugins": {
"composer/package-versions-deprecated": true,
"simplesamlphp/composer-module-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}
9 changes: 9 additions & 0 deletions tools/composer-require-checker.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
{
"symbol-whitelist": [
"SimpleSAML\\Configuration",
"SimpleSAML\\Error\\ConfigurationError",
"SimpleSAML\\Logger\\LoggingHandlerInterface",
"SimpleSAML\\Metadata\\MetaDataStorageHandler",
"SimpleSAML\\Session",
"SimpleSAML\\Store\\StoreFactory",
"SimpleSAML\\Store\\StoreInterface",
"SimpleSAML\\Utils\\ClearableState",
"SimpleSAML\\Utils\\System"
]
}

0 comments on commit bf85d07

Please sign in to comment.