Skip to content

Commit

Permalink
Merge branch 'feature/issue-7' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelcom committed Mar 7, 2019
2 parents a99ccc0 + c1a8e78 commit d280c19
Show file tree
Hide file tree
Showing 16 changed files with 424 additions and 216 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
vendor/
composer.lock
phpunit.xml
.idea
13 changes: 12 additions & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,24 @@ return PhpCsFixer\Config::create()
->setUsingCache(false)
->setRules(array(
'@PSR2' => true,
'@PhpCsFixer' => true,
'array_syntax' => [
'syntax' => 'short',
],
'binary_operator_spaces' => true,
'no_whitespace_in_blank_line' => true,
'ternary_operator_spaces' => true,
'cast_spaces' => true,
'trailing_comma_in_multiline_array' => true
'trailing_comma_in_multiline_array' => true,
'concat_space' => [
'spacing' => 'one',
],
'blank_line_before_statement' => [
'statements' => [
'return',
'declare',
],
],
'php_unit_test_class_requires_covers' => false,
))
->setFinder($finder);
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ php:
- 7.1
- 7.2

before_install:
- composer self-update

install:
- composer install

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ services:
dockerfile: .docker/Dockerfile
volumes:
- .:/var/www/html:rw
container_name: ws_security
container_name: ws_security
9 changes: 6 additions & 3 deletions src/Created.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
class Created extends Element
{
/**
* Element name
* Element name.
*
* @var string
*/
const NAME = 'Created';

/**
* Constructor for Created element
* @param int $_timestamp the timestamp value
* Constructor for Created element.
*
* @param int $_timestamp the timestamp value
* @param string $_namespace the namespace
*/
public function __construct($_timestamp, $_namespace = self::NS_WSSU)
Expand Down
Loading

0 comments on commit d280c19

Please sign in to comment.