Skip to content

Commit

Permalink
Merge pull request #8 from Roave/feature/bump-dependencies-to-stable-…
Browse files Browse the repository at this point in the history
…releases

Bump dependencies to latest (stable) releases
  • Loading branch information
Ocramius authored May 20, 2019
2 parents 6fe0927 + dceebd1 commit f78281d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ script:
- vendor/bin/phpunit --coverage-text --coverage-xml=coverage/coverage-xml --log-junit=coverage/phpunit.junit.xml
- vendor/bin/psalm
- vendor/bin/phpcs
- vendor/bin/infection --min-msi=77 --min-covered-msi=100 --coverage=coverage --log-verbosity=none -s
- vendor/bin/infection --min-msi=84 --min-covered-msi=100 --coverage=coverage --log-verbosity=none -s
- cd example && ./run-example.sh
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"ext-json": "*",
"composer-plugin-api": "^1.0.0",
"ocramius/package-versions": "^1.4.0",
"vimeo/psalm": "dev-master"
"vimeo/psalm": "^3.2.12"
},
"require-dev": {
"composer/composer": "^1.8.5",
"doctrine/coding-standard": "^6.0.0",
"infection/infection": "^0.12.2",
"phpunit/phpunit": "^8.0.0",
"psalm/plugin-phpunit": "^0.5.5",
"infection/infection": "^0.13.0",
"phpunit/phpunit": "^8.1.5",
"psalm/plugin-phpunit": "^0.5.8",
"symfony/process": "^4.2.8"
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions src/Composer/PackageAutoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static function fromAutoloadDefinition(array $autoloadDefinition, string
* @return array<int, string>
*/
static function ($paths) use ($prefixWithCurrentDir) : array {
return array_map($prefixWithCurrentDir, array_map('strval', (array) $paths));
return array_map($prefixWithCurrentDir, (array) $paths);
},
$autoloadDefinition['psr-4'] ?? []
),
Expand All @@ -79,7 +79,7 @@ static function ($paths) use ($prefixWithCurrentDir) : array {
* @return array<int, string>
*/
static function ($paths) use ($prefixWithCurrentDir) : array {
return array_map($prefixWithCurrentDir, array_map('strval', (array) $paths));
return array_map($prefixWithCurrentDir, (array) $paths);
},
$autoloadDefinition['psr-0'] ?? []
),
Expand Down
2 changes: 1 addition & 1 deletion src/Psalm/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class Configuration extends PsalmConfig
/** @var string[] */
private $checkedNamespaces;

protected function __construct(ProjectFileFilter $files, string ...$checkedNamespaces)
private function __construct(ProjectFileFilter $files, string ...$checkedNamespaces)
{
parent::__construct();

Expand Down

0 comments on commit f78281d

Please sign in to comment.