Skip to content

Commit 07a5747

Browse files
committed
phpcs
1 parent 6f7a969 commit 07a5747

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ php:
88

99
before_script:
1010
- phpenv rehash
11-
- composer install --dev
11+
- composer install
1212

1313
script:
1414
- find ./src/ -name "*.php" -exec php -l {} \;
15-
- php scripts/phpcs CodeSniffer.php CodeSniffer --standard=PSR2 --report=full src
15+
- vendor/bin/phpcs --standard=PSR2 --report=full src
1616
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text
17-

src/Doviz.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Doviz
5555
/**
5656
* @param \Doctrine\Common\Cache\CacheProvider $cacheDriver
5757
*/
58-
function __construct($cacheDriver = null)
58+
public function __construct($cacheDriver = null)
5959
{
6060
if (!is_null($cacheDriver) && class_exists('\Doctrine\Common\Cache\CacheProvider')) {
6161
if ($cacheDriver instanceof \Doctrine\Common\Cache\CacheProvider) {

0 commit comments

Comments
 (0)