Skip to content

Commit

Permalink
Rebrand
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 28, 2024
1 parent 7881e7d commit 8c46011
Show file tree
Hide file tree
Showing 745 changed files with 758 additions and 826 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ jobs:
with:
# Should be the higest supported version, so we can use the newest tools
php-version: '8.3'
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
# optional performance gain for psalm: opcache
extensions: ctype, date, dom, filter, opcache, pcre, soap, spl, xml
tools: composer, composer-require-checker, composer-unused, phpcs, phpstan
extensions: ctype, date, dom, filter, pcre, soap, spl, xml
coverage: none

- name: Setup problem matchers for PHP
Expand Down Expand Up @@ -82,26 +81,13 @@ jobs:
- name: PHP Code Sniffer
run: phpcs

- name: Psalm
run: |
psalm -c psalm.xml \
--show-info=true \
--shepherd \
--php-version=${{ steps.setup-php.outputs.php-version }}
- name: Psalm (testsuite)
- name: PHPStan
run: |
psalm -c psalm-dev.xml \
--show-info=true \
--shepherd \
--php-version=${{ steps.setup-php.outputs.php-version }}
phpstan analyze -c phpstan.neon
- name: Psalter
- name: PHPStan (testsuite)
run: |
psalm --alter \
--issues=UnnecessaryVarAnnotation \
--dry-run \
--php-version=${{ steps.setup-php.outputs.php-version }}
phpstan analyze -c phpstan-dev.neon
security:
name: Security checks
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# WS-Security PHP library

![CI](https://github.com/tvdijen/ws-security/workflows/CI/badge.svg?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/tvdijen/ws-security/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/tvdijen/ws-security/?branch=master)
[![Coverage Status](https://codecov.io/gh/tvdijen/ws-security/branch/master/graph/badge.svg)](https://codecov.io/gh/tvdijen/ws-security)
[![Type coverage](https://shepherd.dev/github/tvdijen/ws-security/coverage.svg)](https://shepherd.dev/github/tvdijen/ws-security)
[![Psalm Level](https://shepherd.dev/github/tvdijen/ws-security/level.svg)](https://shepherd.dev/github/tvdijen/ws-security)
![CI](https://github.com/simplesamlphp/ws-security/workflows/CI/badge.svg?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/simplesamlphp/ws-security/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/simplesamlphp/ws-security/?branch=master)
[![Coverage Status](https://codecov.io/gh/simplesamlphp/ws-security/branch/master/graph/badge.svg)](https://codecov.io/gh/simplesamlphp/ws-security)
[![PHPStan Enabled](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat)](https://github.com/simplesamlphp/ws-security)

A PHP library for WS-Security related functionality.

Expand All @@ -23,5 +22,5 @@ to connect your application using WS-Security, you should probably use
run the following command in your project:

```bash
composer require tvdijen/ws-security:dev-master
composer require simplesamlphp/ws-security:dev-master
```
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tvdijen/ws-security",
"name": "simplesamlphp/ws-security",
"description": "WS-Security PHP library",
"license": "LGPL-2.1-or-later",
"authors": [
Expand Down
4 changes: 4 additions & 0 deletions phpstan-dev.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
parameters:
level: 9
paths:
- tests
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
parameters:
level: 6
paths:
- src
27 changes: 0 additions & 27 deletions psalm-dev.xml

This file was deleted.

34 changes: 0 additions & 34 deletions psalm.xml

This file was deleted.

2 changes: 1 addition & 1 deletion src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class holding constants relevant for WS-Security.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/

class Constants extends \SimpleSAML\SAML2\Constants
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/ProtocolViolationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* This exception may be raised when a violation of the WS specification is detected
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
class ProtocolViolationException extends RuntimeException
{
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/XPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* Compilation of utilities for XPath.
*
* @package tvdijen/wssecurity
* @package simplesamlphp/wssecurity
*/
class XPath extends \SimpleSAML\XMLSecurity\Utils\XPath
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/ReferenceIdentifierTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use SimpleSAML\XML\Exception\SchemaViolationException;

/**
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
trait ReferenceIdentifierTrait
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractAuthElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Abstract class to be implemented by all the classes in this namespace
*
* @see http://docs.oasis-open.org/wsfed/federation/v1.2/os/ws-federation-1.2-spec-os.pdf
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractAuthElement extends AbstractElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractClaimType.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Class defining the ClaimType element
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractClaimType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractConstrainedManyValueType.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* Class representing WS-authorization ConstrainedManyValueType.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractConstrainedManyValueType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractConstrainedSingleValueType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Class representing WS-authorization ConstrainedSingleValueType.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractConstrainedSingleValueType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractConstrainedValueType.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Class defining the ConstrainedValueType element
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractConstrainedValueType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractDescriptionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Class representing WS-authorization DescriptionType.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractDescriptionType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractDisplayNameType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Class representing WS-authorization DisplayNameType.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractDisplayNameType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractDisplayValueType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Class representing WS-authorization DisplayValueType.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractDisplayValueType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractEncryptedValueType.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Class representing WS-authorization EncryptedValueType.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractEncryptedValueType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractStructuredValueType.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Class defining the StructuredValueType element
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractStructuredValueType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/AbstractValueInRangeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* Class defining the ValueInRangeType element
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
abstract class AbstractValueInRangeType extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/ClaimType.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization ClaimType.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class ClaimType extends AbstractClaimType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/ConstrainedValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization ConstrainedValue.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class ConstrainedValue extends AbstractConstrainedValueType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/Description.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization Description.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class Description extends AbstractDescriptionType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/DisplayName.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization DisplayName.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class DisplayName extends AbstractDisplayNameType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/DisplayValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization DisplayValue.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class DisplayValue extends AbstractDisplayValueType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/EncryptedValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization EncryptedValue.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class EncryptedValue extends AbstractEncryptedValueType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/StructuredValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization StructuredValue.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class StructuredValue extends AbstractStructuredValueType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/Value.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Class representing WS-authorization Value.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class Value extends AbstractAuthElement
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/ValueGreaterThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization ValueGreaterThan.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class ValueGreaterThan extends AbstractConstrainedSingleValueType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/ValueGreaterThanOrEqual.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization ValueGreaterThanOrEqual.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class ValueGreaterThanOrEqual extends AbstractConstrainedSingleValueType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/ValueInRangen.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization ValueInRangen.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class ValueInRangen extends AbstractValueInRangeType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/ValueLessThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization ValueLessThan.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class ValueLessThan extends AbstractConstrainedSingleValueType
{
Expand Down
2 changes: 1 addition & 1 deletion src/XML/auth/ValueLessThanOrEqual.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Class representing WS-authorization ValueLessThanOrEqual.
*
* @package tvdijen/ws-security
* @package simplesamlphp/ws-security
*/
final class ValueLessThanOrEqual extends AbstractConstrainedSingleValueType
{
Expand Down
Loading

0 comments on commit 8c46011

Please sign in to comment.