Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency wyrihaximus/phpstan-rules-wrapper to ^5.0.1 - autoclosed #890

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"thecodingmachine/safe": "^2.5.0",
"vimeo/psalm": "^5.23.1",
"wyrihaximus/coding-standard": "^2.14.0",
"wyrihaximus/phpstan-rules-wrapper": "^5.0.0"
"wyrihaximus/phpstan-rules-wrapper": "^5.0.1"
},
"conflict": {
"composer/compoer": "<2.6.0",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions etc/qa/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<directory suffix=".php">../../src/</directory>
</include>
</source>
<extensions>
<bootstrap class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>
</extensions>
<extensions>
<bootstrap class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>
</extensions>
</phpunit>

3 changes: 3 additions & 0 deletions src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
use Safe\Exceptions\FilesystemException;
use SplFileInfo;

use function assert;
Expand Down Expand Up @@ -65,7 +66,7 @@
return;
}

$this->rmdir($this->baseTmpDir);

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with lowest dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with locked dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with highest dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with highest dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with locked dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with lowest dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with highest dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with locked dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with lowest dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with highest dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with locked dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation

Check failure on line 69 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with lowest dependency preference

Missing @throws Safe\Exceptions\FilesystemException annotation
}

/** @return array<int, array<int, bool>> */
Expand All @@ -86,9 +87,10 @@
return sys_get_temp_dir();
}

/** @throws FilesystemException */
final protected function rmdir(string $dir): void
{
$directory = new FilesystemIterator($dir);

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with lowest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with locked dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with highest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with highest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with locked dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with lowest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with highest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with locked dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with lowest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with highest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with locked dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 93 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with lowest dependency preference

Missing @throws UnexpectedValueException annotation

foreach ($directory as $node) {
assert($node instanceof SplFileInfo);
Expand All @@ -107,6 +109,7 @@
rmdir($dir);
}

/** @throws FilesystemException */
final protected function getTmpDir(): string
{
if (! file_exists($this->tmpDir)) {
Expand All @@ -127,7 +130,7 @@
$files = [];

/** @var iterable<SplFileInfo> $directory */
$directory = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path));

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with lowest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with locked dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (nts) with highest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with highest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with locked dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.2 (zts) with lowest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with highest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with locked dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (nts) with lowest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with highest dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with locked dependency preference

Missing @throws UnexpectedValueException annotation

Check failure on line 133 in src/TestCase.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.3 (zts) with lowest dependency preference

Missing @throws UnexpectedValueException annotation

foreach ($directory as $node) {
if (! is_file($node->getPathname())) {
Expand Down
Loading