Skip to content

Commit

Permalink
Updated Travis configuration & code-style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed Sep 30, 2014
1 parent f2d0eb4 commit 730951b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
@@ -1,14 +1,14 @@
language: php

php: ["5.3", "5.4", "5.5", "5.6", "hhvm"]
php: ["5.3", "5.4", "5.5", "5.6", "hhvm", "hhvm-nightly"]

matrix:
allow_failures: [{"php": "5.6"}, {"php": "hhvm"}]
allow_failures: [{"php": "hhvm"}, {"php": "hhvm-nightly"}]
fast_finish: true

env:
global:
- ARCHER_PUBLISH_VERSION=5.5
- ARCHER_PUBLISH_VERSION=5.6
- secure: "KRjuT6U+eusU41VaQebmoh4vvjTPVCmi8y/KPYwK61H9pTvfPcLA06zsxsICGZLloB+M397IQ1OATN2qUWLMdR45wV8juGeYwTQN/bd3aCQZITkzNiHh8YJujQ2RWxT6OkygvAVnwYRY9OU1FNoZCKRrWrWwhJ/24dOvtB5q34c="

install:
Expand Down
2 changes: 1 addition & 1 deletion src/PasswordGenerator.php
Expand Up @@ -12,7 +12,7 @@ class PasswordGenerator implements PasswordGeneratorInterface
public function __construct(Random $rng = null)
{
if (null === $rng) {
$rng = new Random;
$rng = new Random();
}

$this->rng = $rng;
Expand Down
2 changes: 1 addition & 1 deletion test/suite/PasswordGeneratorTest.php
Expand Up @@ -179,7 +179,7 @@ public function testGenerateWithCustomLength()

public function testGenerateFunctional()
{
$generator = new PasswordGenerator;
$generator = new PasswordGenerator();
$characterSet = $generator->characterSet();
$pattern = '/^[' . preg_quote($characterSet, '/') . ']{8,12}$/';

Expand Down

0 comments on commit 730951b

Please sign in to comment.