Skip to content
Merged
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: 0 additions & 2 deletions composer-dependency-analyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
->addPathToScan('bin', false)
// prepared test tooling
->ignoreErrorsOnPackage('phpunit/phpunit', [ErrorType::DEV_DEPENDENCY_IN_PROD])
// pinned v3.x version
->ignoreErrorsOnPackage('react/promise', [ErrorType::UNUSED_DEPENDENCY])
// ensure use version ^3.2.0
->ignoreErrorsOnPackage('composer/pcre', [ErrorType::UNUSED_DEPENDENCY])

Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"phpstan/phpstan": "^2.2.6",
"react/child-process": "^0.6.5",
"react/event-loop": "^1.6",
"react/promise": "^3.3",
"react/socket": "^1.17",
"rector/extension-installer": "^0.11.2",
"rector/rector-doctrine": "dev-main",
Expand All @@ -38,12 +37,12 @@
"symfony/console": "^6.4.24",
"symfony/filesystem": "^8.1",
"symfony/finder": "^8.1",
"symfony/process": "^8.1",
"symplify/rule-doc-generator-contracts": "^11.2",
"webmozart/assert": "^2.4"
},
"require-dev": {
"nette/robot-loader": "^4.1",
"symfony/process": "^8.1",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan-deprecation-rules": "^2.0",
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ includes:

rules:
- Rector\Utils\PHPStan\Rule\CheaperGuardFirstRule
- Rector\Utils\PHPStan\Rule\SingleServiceRegistrationRule
- Rector\Utils\PHPStan\Rule\RegisterRelatedPolyfillRectorRule

parameters:
Expand Down
3 changes: 2 additions & 1 deletion src/Parallel/CpuCoreCountProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ final class CpuCoreCountProvider
public function provide(): int
{
try {
return new CpuCoreCounter()->getCount();
return new CpuCoreCounter()
->getCount();
} catch (NumberOfCpuCoreNotFound) {
return self::DEFAULT_CORE_COUNT;
}
Expand Down
4 changes: 2 additions & 2 deletions src/VendorLocker/ParentClassMethodTypeOverrideGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

namespace Rector\VendorLocker;

use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\Interface_;
use PhpParser\Node;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassMethod;
use PhpParser\Node\Stmt\Interface_;
use PHPStan\Reflection\ClassReflection;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Type\Type;
Expand Down
222 changes: 0 additions & 222 deletions utils/phpstan/src/Rule/SingleServiceRegistrationRule.php

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading