Skip to content

Commit ce1a4cf

Browse files
author
Dennis Coorn
committed
Fixed broken code sniffer at Travis CI
* 'php-cs-fixer.phar' is now being downloaded from FriendsOfPHP instead of SensioLabs * Applied code sniffer fixes
1 parent 0583369 commit ce1a4cf

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ before_install:
2020
- echo "session.gc_probability = 0" >> $INI_FILE
2121
- composer self-update
2222
- composer --version
23-
- wget http://get.sensiolabs.org/php-cs-fixer.phar -O php-cs-fixer.phar
23+
- wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v1.12.3/php-cs-fixer.phar -O php-cs-fixer.phar
2424

2525
install:
2626
- COMPOSER_ROOT_VERSION=dev-master composer update --prefer-source $COMPOSER_FLAGS

src/LightSaml/SpBundle/Security/User/SimpleAttributeMapper.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the LightSAML SP-Bundle package.
5+
*
6+
* (c) Milos Tomic <tmilos@lightsaml.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
11+
312
namespace LightSaml\SpBundle\Security\User;
413

514
use LightSaml\Model\Assertion\Assertion;
@@ -23,7 +32,7 @@ public function getAttributes(SamlSpResponseToken $token)
2332
}
2433

2534
/**
26-
* @param array $attributes
35+
* @param array $attributes
2736
* @param Assertion $assertion
2837
*
2938
* @return array
@@ -36,7 +45,7 @@ private function resolveAttributesFromAssertion(array $attributes, Assertion $as
3645
}
3746

3847
/**
39-
* @param array $attributes
48+
* @param array $attributes
4049
* @param AttributeStatement $attributeStatement
4150
*
4251
* @return array
@@ -49,7 +58,7 @@ private function resolveAttributesFromAttributeStatement(array $attributes, Attr
4958
}
5059

5160
/**
52-
* @param array $attributes
61+
* @param array $attributes
5362
* @param Attribute $attribute
5463
*
5564
* @return array

0 commit comments

Comments
 (0)