From bdd789f3d1074699bae7b943893baf35f9313fe8 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Mon, 24 Dec 2018 14:37:51 +0100 Subject: [PATCH] Bumped api-clients/cs-fixer-config to 1.1.1 --- composer.json | 2 +- composer.lock | 14 +++++++------- src/TestCase.php | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/composer.json b/composer.json index 62b6e9c..1e147e7 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "php": "^7.2", - "api-clients/cs-fixer-config": "^1.0", + "api-clients/cs-fixer-config": "^1.1.1", "clue/block-react": "^1.1", "friendsofphp/php-cs-fixer": "^2.5", "infection/infection": "^0.11.4", diff --git a/composer.lock b/composer.lock index 6b92c11..4f1828d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "7b528b4b86f159003aae660501ba72b0", + "content-hash": "a51e4a7c298f6ef8323005b9089d70d7", "packages": [ { "name": "api-clients/cs-fixer-config", - "version": "1.1.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/php-api-clients/cs-fixer-config.git", - "reference": "9d7a6ecd40f32220f8f10d5383596022a8cc9a16" + "reference": "91df959c3d8ab7e1797d03e1fc47e2f48377cf6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-api-clients/cs-fixer-config/zipball/9d7a6ecd40f32220f8f10d5383596022a8cc9a16", - "reference": "9d7a6ecd40f32220f8f10d5383596022a8cc9a16", + "url": "https://api.github.com/repos/php-api-clients/cs-fixer-config/zipball/91df959c3d8ab7e1797d03e1fc47e2f48377cf6a", + "reference": "91df959c3d8ab7e1797d03e1fc47e2f48377cf6a", "shasum": "" }, "require": { @@ -25,7 +25,7 @@ "php": "^7.2" }, "require-dev": { - "api-clients/test-utilities": "^4.3" + "api-clients/test-utilities": "^5.1" }, "type": "library", "autoload": { @@ -44,7 +44,7 @@ } ], "description": "friendsofphp/php-cs-fixer config", - "time": "2018-11-21T22:05:53+00:00" + "time": "2018-12-24T13:32:35+00:00" }, { "name": "clue/block-react", diff --git a/src/TestCase.php b/src/TestCase.php index 41ddd4b..dc9a1ee 100644 --- a/src/TestCase.php +++ b/src/TestCase.php @@ -37,13 +37,13 @@ protected function setUp(): void parent::setUp(); $this->baseTmpDir = $this->getSysTempDir() . - DIRECTORY_SEPARATOR . + \DIRECTORY_SEPARATOR . 'p-a-c-t-' . \uniqid() . - DIRECTORY_SEPARATOR; + \DIRECTORY_SEPARATOR; $this->tmpDir = $this->baseTmpDir . \uniqid() . - DIRECTORY_SEPARATOR; + \DIRECTORY_SEPARATOR; ; $this->tmpNamespace = \uniqid('PACTN'); @@ -78,7 +78,7 @@ public function provideTrueFalse(): array */ protected function getSysTempDir(): string { - if (\strtoupper(\substr(PHP_OS, 0, 3)) === 'WIN') { + if (\strtoupper(\substr(\PHP_OS, 0, 3)) === 'WIN') { return 'C:\\t\\'; }