Skip to content

Commit fa440fd

Browse files
Merge remote-tracking branch 'origin/main' into tv/docblock-return-skip-empty-array
# Conflicts: # rules/TypeDeclarationDocblocks/Rector/ClassMethod/DocblockReturnArrayFromDirectArrayInstanceRector.php Co-authored-by: TomasVotruba <924196+TomasVotruba@users.noreply.github.com>
2 parents ba0e859 + a5c7025 commit fa440fd

81 files changed

Lines changed: 1220 additions & 489 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/rector_drupal_rector_dev.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request: null
87

98
env:
109
# see https://github.com/composer/composer/issues/9368#issuecomment-718112361

‎build/target-repository/composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"require": {
1111
"php": "^7.4|^8.0",
12-
"phpstan/phpstan": "^2.2.10"
12+
"phpstan/phpstan": "^2.2.12"
1313
},
1414
"autoload": {
1515
"files": [

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"nikic/php-parser": "^5.8",
2525
"ondram/ci-detector": "^4.2",
2626
"phpstan/phpdoc-parser": "^2.3.3",
27-
"phpstan/phpstan": "^2.2.10",
27+
"phpstan/phpstan": "^2.2.12",
2828
"react/child-process": "^0.6.5",
2929
"react/event-loop": "^1.6",
3030
"react/socket": "^1.17",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace Rector\Tests\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector\Fixture;
4+
5+
class SampleChild extends CancelableHandler
6+
{
7+
public function getMessage()
8+
{
9+
return $this->configFactory->get('');
10+
}
11+
}
12+
13+
class CancelableHandler extends \NotAutoloaded\EmailHandler
14+
{
15+
}

‎rules-tests/CodeQuality/Rector/FunctionLike/SimplifyUselessVariableRector/Fixture/assign_ops.php.inc‎

Lines changed: 0 additions & 47 deletions
This file was deleted.

rules-tests/CodeQuality/Rector/FunctionLike/SimplifyUselessVariableRector/FixtureSkipConcat/skip_assign_ops.php.inc renamed to rules-tests/CodeQuality/Rector/FunctionLike/SimplifyUselessVariableRector/Fixture/skip_assign_ops.php.inc

File renamed without changes.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace Rector\Tests\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector\Fixture;
4+
5+
class SkipCommentedCodeBetween
6+
{
7+
public function run($ch)
8+
{
9+
$pdf = curl_exec($ch);
10+
11+
// $url = "https://example.com" . "?id=" . $id;
12+
// curl_setopt($ch, CURLOPT_URL, $url);
13+
// $pdf = curl_exec($ch);
14+
// curl_close($ch);
15+
16+
return $pdf;
17+
}
18+
}

rules-tests/CodeQuality/Rector/FunctionLike/SimplifyUselessVariableRector/FixtureSkipConcat/skip_multi_concat_string.php.inc renamed to rules-tests/CodeQuality/Rector/FunctionLike/SimplifyUselessVariableRector/Fixture/skip_multi_concat_string.php.inc

File renamed without changes.

‎rules-tests/CodeQuality/Rector/FunctionLike/SimplifyUselessVariableRector/SkipConcatTest.php‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎rules-tests/CodeQuality/Rector/FunctionLike/SimplifyUselessVariableRector/config/skip_concat.php‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)