Skip to content

Commit 1baf800

Browse files
committed
Merge pull request #49 from cordoval/49-cordovals-cleanup
cordovals cleanup
2 parents a1adc33 + afc3d68 commit 1baf800

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ php:
44
- 5.4
55

66
before_script:
7-
- composer self-update
8-
- composer install --dev
9-
- bash tests/bin/travis_jackrabbit.sh
7+
- composer install
8+
- bash tests/bin/travis_jackrabbit.sh
109

1110
script:
1211
- phpunit --coverage-text

src/PHPCR/Shell/Config/Profile.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ protected function validateDomain($domain)
4545
* Set a domain configuration
4646
*
4747
* @param string $domain
48-
* @param array $value
48+
* @param $key
49+
* @param array|null $value
4950
*
50-
* @throws \InvalidArgumentException
5151
*/
5252
public function set($domain, $key, $value = null)
5353
{
@@ -63,7 +63,9 @@ public function set($domain, $key, $value = null)
6363
* Get a domain configuration
6464
*
6565
* @param string $domain
66+
* @param string $key
6667
*
68+
* @throws \InvalidArgumentException
6769
* @return array
6870
*/
6971
public function get($domain, $key = null)

src/PHPCR/Shell/Config/ProfileLoader.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
namespace PHPCR\Shell\Config;
44

5-
use Symfony\Component\Filesystem\Filesystem;
5+
use PHPCR\Shell\Config\Exception\FileExistsException;
66
use PHPCR\Shell\Console\Helper\ConfigHelper;
7+
use Symfony\Component\Filesystem\Filesystem;
78
use Symfony\Component\Finder\Finder;
89
use Symfony\Component\Yaml\Yaml;
9-
use PHPCR\Shell\Config\Exception\FileExistsException;
10+
1011

1112
class ProfileLoader
1213
{

0 commit comments

Comments
 (0)