18599 Commits

Author SHA1 Message Date
Tomas Votruba
897110e2bf Updated Rector to commit 101bdbfa9bd837daa593ad06f2eee44d259cbcca
101bdbfa9b [Php70] Do not replace if method call if method exists in current class on call same method with parent on Php4ConstructorRector (#6520)
2024-11-28 10:19:50 +00:00
Tomas Votruba
c4a5338933 Updated Rector to commit 0635cd9d519b9f8464e59e968bdfdcfde9b656bb
0635cd9d51 [Php70] Handle parent method call on Php4ConstructorRector (#6519)
2024-11-28 01:43:11 +00:00
Tomas Votruba
75f78c934b Rector 2.0.0-rc1 2.0.0-rc1 2024-11-27 18:01:51 +00:00
Tomas Votruba
1e43f175ed Updated Rector to commit 8d33d50dfc383b2cd794c23596d4cefa65547762
8d33d50dfc Revert "[Printer] Remove AlwaysRememberedExpr check on BetterStandardPrinter …" (#6517)
2024-11-27 14:48:16 +00:00
Tomas Votruba
fe941c9d20 Updated Rector to commit 8d33d50dfc383b2cd794c23596d4cefa65547762
8d33d50dfc Revert "[Printer] Remove AlwaysRememberedExpr check on BetterStandardPrinter …" (#6517)
2024-11-27 10:14:10 +00:00
Tomas Votruba
0e60fef0a2 Updated Rector to commit a456e4e04c2955b292d490af20f2fada7a1cb087
a456e4e04c [Php80] Mirror comments on assign on ChangeSwitchToMatchRector (#6516)
2024-11-27 07:27:32 +00:00
Tomas Votruba
9e165cccd3 Updated Rector to commit eb3f32daa89b22c32eb57e53f8d6e960ee1f2a7e
eb3f32daa8 [TypeDeclaration] Skip with default value and assigned mixed on TypedPropertyFromAssignsRector (#6514)
2024-11-26 12:03:44 +00:00
Tomas Votruba
f0b21a1aa7 Updated Rector to commit 4e03157469647636ad09b2c3e06278f3e0a71395
4e03157469 [Php83] Remove get traits class as ancestors collection on AddOverrideAttributeToOverriddenMethodsRector (#6513)
2024-11-26 06:09:13 +00:00
Tomas Votruba
684724756a Updated Rector to commit 3511ca1879c3065554deb7a8dc638ed9d1df0e0b
3511ca1879 [Php83] Allow indirect override abstract method on Grand Child on AddOverrideAttributeToOverriddenMethodsRector (#6512)
2024-11-26 05:54:59 +00:00
Tomas Votruba
87ea771410 Updated Rector to commit 615913ddaf7b0df3a2c56d50cf6973408aa1a983
615913ddaf Use createFromNode() from PhpDocInfoFactory on RemoveUnusedPrivateMethodRector (#6511)
2024-11-25 15:12:55 +00:00
Tomas Votruba
a6f87828b7 Updated Rector to commit 1d7208b816e8c12d7732a2d633b44d8e8bc0041e
1d7208b816 feat: add Behat annotations to attributes set (#6510)
2024-11-25 14:55:56 +00:00
Tomas Votruba
c5a315e2c4 Updated Rector to commit 12b471059bc5717e3f87cf1e811f05396e3571cf
12b471059b [DeadCode] Skip private dataProvider method on RemoveUnusedPrivateMethodRector (#6509)
2024-11-25 14:22:30 +00:00
Tomas Votruba
3e6e8074c1 Updated Rector to commit 1ec42bcc33f0607533e08d75c47b589d89e7649e
1ec42bcc33 feat: add the option to use the annotation value as an argument to the attribute (#6468)
2024-11-25 08:57:46 +00:00
Tomas Votruba
49f448773b Updated Rector to commit 1ec42bcc33f0607533e08d75c47b589d89e7649e
1ec42bcc33 feat: add the option to use the annotation value as an argument to the attribute (#6468)
2024-11-24 20:16:09 +00:00
Tomas Votruba
a6bbda76df Updated Rector to commit 1ec42bcc33f0607533e08d75c47b589d89e7649e
1ec42bcc33 feat: add the option to use the annotation value as an argument to the attribute (#6468)
2024-11-24 17:26:15 +00:00
Tomas Votruba
2769068789 Updated Rector to commit fb169faf42679c046cd22ad865ae8097ccdb5799
fb169faf42 [Naming] Clean up unnecessary use of NodeTypeResolver on PropertyNaming (#6507)
2024-11-24 16:14:11 +00:00
Tomas Votruba
0ef2aced5a Updated Rector to commit fb169faf42679c046cd22ad865ae8097ccdb5799
fb169faf42 [Naming] Clean up unnecessary use of NodeTypeResolver on PropertyNaming (#6507)
2024-11-24 14:48:26 +00:00
Tomas Votruba
b8ccb7deae Updated Rector to commit 6e655b46c7b7c9e86dc85149667f35822bea6b88
6e655b46c7 [CodeQuality][Renaming] Handle DynamicDocBlockPropertyToNativePropertyRector+RenameClassRector with aliased name (#6506)
2024-11-24 14:33:29 +00:00
Tomas Votruba
cf0793485b Updated Rector to commit 42bfc0fdc01dbb662177e2dae61f51df3c443d07
42bfc0fdc0 [Renaming] Clean up namespaced check on ClassRenamePhpDocNodeVisitor (#6505)
2024-11-24 13:57:55 +00:00
Tomas Votruba
d68ed070fe Updated Rector to commit 8c20a7ed0a2eb3d26a275c0fef16b8f413e02b42
8c20a7ed0a [NodeTypeResolver] Clean up UseImportsResolver check on ClassRenamePhpDocNodeVisitor (#6500)
2024-11-24 13:40:52 +00:00
Tomas Votruba
57ac216872 Updated Rector to commit ed6887072d32d36be5f9dbe8d911316f552da3c5
ed6887072d  [Renaming] Handle rename conflict docblock name on RenameClassRector  (#6504)
2024-11-24 13:06:07 +00:00
Tomas Votruba
ec03b8f2df Updated Rector to commit 24ab53c63097683f95fc0244abd9c61a975163b8
24ab53c630 [PHPStanStaticTypeMapper] Ensure namespaced_name attribute set on Name node when create from ShortenedObjectType or AliasedObjectType (#6503)
2024-11-24 12:00:05 +00:00
Tomas Votruba
9b52481337 Updated Rector to commit 5e7d657f40559d9b3722117293b0100cdb67b553
5e7d657f40 [Renaming] Add test for rename + auto import with target name exist (#6502)
2024-11-24 09:56:22 +00:00
Tomas Votruba
aefdace211 Updated Rector to commit 4cbaec322391ef3ad4f53d8abc4dfc344e7452f3
4cbaec3223 add test for inner namespace rename (#6501)
2024-11-24 09:22:00 +00:00
Tomas Votruba
ba17096f75 Updated Rector to commit 44e82025e67b9bf68736fd732be00c28b3fc49de
44e82025e6 [Renaming] More tests and clean up name check on ClassRenamePhpDocNodeVisitor (#6499)
2024-11-24 08:31:20 +00:00
Tomas Votruba
5dfaeaba68 Updated Rector to commit 2bd06e3dece5edbc85237b8986ff22a4805d5dcb
2bd06e3dec [Renaming] Handle docblock aliased rename on RenameClassRector (#6498)
2024-11-24 08:19:19 +00:00
Tomas Votruba
b4bc1ab851 Updated Rector to commit 3c42539f64f9c5aa44fed13a0072052462e5afde
3c42539f64 [CodeQuality] Fix aliased object type on FlipTypeControlToUseExclusiveTypeRector (#6497)
2024-11-24 07:24:25 +00:00
Tomas Votruba
56dcc4e1d5 Updated Rector to commit 23f8e4a43e0fdf4ecf77fb99fa8c2c81463df683
23f8e4a43e [TypeDeclaration] More tests for native type with sub namespace and aliased on TypedPropertyFromAssignsRector (#6496)
2024-11-24 07:04:41 +00:00
Tomas Votruba
e4be3a4e28 Updated Rector to commit fead5bd3910109e713d6f539c2854f32f57351d6
fead5bd391 [NodeTypeResolver] Clean up unnecessary check AliasedObjectType on getObjectClassReflections() call later (#6495)
2024-11-24 06:55:14 +00:00
Tomas Votruba
959c7ced90 Updated Rector to commit 4e46b2016180d6c6bb52f2dd0a7ef6d9a85f62b0
4e46b20161 [Naming] More fixture tests for skip alias sub name and shot name with sub namesapce (#6494)
2024-11-24 06:47:57 +00:00
Tomas Votruba
3e195ba6aa Updated Rector to commit 9fae3bfccb95738f042fa7b4ebd5d80dafd0b0dc
9fae3bfccb [CodeQuality] Handle aliased object type from docblock on DynamicDocBlockPropertyToNativePropertyRector (#6493)
2024-11-24 06:30:18 +00:00
Tomas Votruba
01be6079e8 Updated Rector to commit 0d1dbd737ce07c60ac5b206a7641a39118610b4c
0d1dbd737c Update developing with docker: Fix php version to 8.2. (#6490)
2024-11-23 18:21:44 +00:00
Tomas Votruba
f65525c861 Updated Rector to commit b98a0e11fb1d037da71155a2a80704f1c2b11483
b98a0e11fb [NodeTypeResolver] Remove no longer FUNC_ARGS_TRAILING_COMMA constant (#6492)
2024-11-23 18:15:48 +00:00
Tomas Votruba
b903b88029 Updated Rector to commit 1effc3f83a718f8b9af85cbaa1a3ce722df43b4a
1effc3f83a [Printer] Remove no longer needed pCommaSeparated() override method (#6491)
2024-11-23 18:08:48 +00:00
Tomas Votruba
1ea1ac45e8 Updated Rector to commit 87f73447976eeea5aa2b1b8fbb5e879ddea2d395
87f7344797 Clean up comment on FileProcessor since printer no longer use ltrim (#6489)
2024-11-23 17:41:14 +00:00
Tomas Votruba
99ed5e5f41 Updated Rector to commit cb408fb98369e308122974ceb52e55b3ede7b31d
cb408fb983 [Printer] Synchronize pParam() method on BetterStandardPrinter with parent Standard (#6488)
2024-11-23 17:04:42 +00:00
Tomas Votruba
6b8c45e698 Updated Rector to commit 0de1b39259f630127d33dd072c1e7e225b78321a
0de1b39259 [Printer] Remove no longer needed pSingleQuotedString method on BetterStandardPrinter (#6487)
2024-11-23 16:53:28 +00:00
Tomas Votruba
168c835540 Updated Rector to commit ef191b00b29ed33a35d83758f3a6a4f728cdc368
ef191b00b2 [Printer] Reuse clean heredoc/nowdoc start indent usage on BetterStandardPrinter (#6486)
2024-11-23 16:44:11 +00:00
Tomas Votruba
faaa1b5c76 Updated Rector to commit a966fc32547f286a7eab86934e503aed8daa4772
a966fc3254 [Printer] Use NewLineSplitter on BetterStandardPrinter for heredoc/nowdoc removal space (#6485)
2024-11-23 16:36:14 +00:00
Tomas Votruba
57831bceaf Updated Rector to commit bd59f6b9e32ad4fce96b3a0d12467719015d8282
bd59f6b9e3 [Printer] Remove AlwaysRememberedExpr check on BetterStandardPrinter (#6484)
2024-11-23 16:12:58 +00:00
Tomas Votruba
a4b775b156 Updated Rector to commit b5b96c8af1570acb09faac2f22cb229c3905208f
b5b96c8af1 [Strict] Using in_array() on CallLike instead of double call on Strict Rules (part 2) (#6483)
2024-11-23 15:40:27 +00:00
Tomas Votruba
0f5e5b911d Updated Rector to commit 5b59337cedccda38caff556b0acfbe2c4a741d2d
5b59337ced Use Type->getIterableKeyType() over ArrayType->getKeyType() (#6480)
2024-11-23 10:35:10 +00:00
Tomas Votruba
678fcaeca2 Updated Rector to commit a83117ba14a73c8915e6f4fb79c2d4a417eeb946
a83117ba14 Trigger CI (#6481)
2024-11-23 09:57:34 +00:00
Tomas Votruba
182b3bf8e9 Updated Rector to commit 8dd4dedcd98224b62848949fd6950767af1a9817
8dd4dedcd9 [Scoper] Remove implements DocumentedRuleInterface on RectorInterface on scoper process (#6477)
2024-11-23 09:34:08 +00:00
Tomas Votruba
f068c3b6a6 Updated Rector to commit 391ba2aed4cb68c59ef4400f76f41e8dd9538e10
391ba2aed4 Use Type->getIterableValueType() over ArrayType-> getItemType() (#6479)
2024-11-23 09:23:11 +00:00
Tomas Votruba
707ad42e13 Updated Rector to commit 2f77705509ab9944375d34c5278e4383285f5096
2f77705509 [DeadCode] Handle crash on valid conditional type on RemoveUselessReturnTagRector (#6475)
2024-11-22 18:45:24 +00:00
Tomas Votruba
b7432c0c56 Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 17:47:43 +00:00
Tomas Votruba
97ae54400b Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 17:39:02 +00:00
Tomas Votruba
1e9b8ef6de Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 17:29:36 +00:00
Tomas Votruba
a381737b0f Updated Rector to commit d49ace3c33ae8e662791fd1bb82e1467a0a48530
d49ace3c33 [CodeQuality] Skip compare nullable object on UseIdenticalOverEqualWithSameTypeRector (#6474)
2024-11-22 17:19:21 +00:00