Tomas Votruba
213b14d715
use Symfony 6.0 contracts
2022-05-27 12:52:26 +02:00
Tomas Votruba
e61411e03c
use Symfony 6.0 stable
2022-05-27 12:29:13 +02:00
Alexander Schranz
99840deb9d
Update the branch alias for dev-main ( #2365 )
2022-05-27 08:44:07 +00:00
Abdul Malik Ikhsan
dc9189280f
[PHPStan] Update to PHPStan ^1.7.0 ( #2354 )
...
* [PHPStan] Update to PHPStan ^1.7.0
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* already 1.7.1
* skip pull from PHPStan PhpPropertyReflection
* rename fixture
* debug
* Fixed 🎉
* keep mysqli object use case
Co-authored-by: GitHub Action <action@github.com>
2022-05-24 19:55:12 +07:00
Abdul Malik Ikhsan
f25715b7b3
[Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 ( #2352 )
...
* [Php73] Skip Encapsed on StringifyStrNeedlesRector
* phpstan
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* Fixed 🎉
* eol
* update requirement to PHPStan 1.7.0
* temporary pin to 1.6.9
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: GitHub Action <action@github.com>
2022-05-24 15:29:10 +07:00
Abdul Malik Ikhsan
f0a1b688f3
[DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection ( #2336 )
2022-05-20 12:16:54 +02:00
Tomas Votruba
28dc9cebb2
Prepare NamedToUnnamedArgs for PhpParameterReflection change in PHPStan 1.7 ( #2305 )
2022-05-13 11:21:30 +02:00
Tomas Votruba
3d499125b8
Add Scope refresh for changed or new nodes ( #2292 )
2022-05-12 08:33:27 +02:00
Tomas Votruba
39e552c4c9
Various little improvement ( #2297 )
2022-05-12 08:07:50 +02:00
Tomas Votruba
975fdf113f
[DX] Add StmtsAwareInterface to catch node by type ( #2269 )
...
* add StmtsAwareInterface to catch node by type
* update build-preload
* use StmtsAwareInterface in InlineArrayReturnAssignRector
2022-05-08 20:50:37 +00:00
Tomas Votruba
0052951dd0
Bump Symplify and PHPStan rules version ( #2218 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-05-03 14:53:25 +00:00
Tomas Votruba
19284802ae
Decouple aliased object type specifier + updgrade to PHPStan 1.6 ( #2170 )
...
* make of use array
* shorten instanceof
* update rules tests union order
* fix array index order
* update anonymous class references
* [skip ci] bump phpstan to 1.6 min
2022-04-26 11:42:01 +02:00
Tomas Votruba
eaaecc39d7
Remove PREVIOUS_STATEMENT from StatementNodeVisitor ( #2146 )
2022-04-24 16:19:51 +00:00
Tomas Votruba
40e09ab281
remove nette/neon dependency as not used directly
2022-04-20 21:00:15 +02:00
Tomas Votruba
50da11869e
bump nette/neon to 3.3.3
2022-04-20 21:00:15 +02:00
Tomas Votruba
11fdd74f8a
build docs ( #2090 )
2022-04-17 21:16:39 +02:00
Abdul Malik Ikhsan
91b8573525
[PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags ( #2014 )
...
* [PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags
* update phpstan 1.6.x-dev and conditional tags
* try require phpstan/phpstan:1.6.x-dev in packages_tests workflow
* remove ->tag call as register in PHPStan conditionalTags
* clean up tweak packages-tests
2022-04-16 00:30:56 +07:00
Tomas Votruba
d7590ea66c
Bump PHPStan, ECS and Symplify to 10.2 + make use of brand new ECSConfig ( #2076 )
2022-04-14 23:22:08 +02:00
Tomas Votruba
1fc2825e17
[Transform] Add FileGetContentsAndJsonDecodeToStaticCallRector ( #2059 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-04-11 19:58:59 +02:00
Tomas Votruba
c20f2301fe
Add RectorConfigurator for custom configuration methods and avoid conflicts with Symfony API ( #2019 )
...
Co-authored-by: Grzegorz Korba <grzegorz.korba@codito.pl>
2022-04-08 18:45:24 +00:00
Tomas Votruba
278cd56de5
Bump min to PHP 7.2 ( #1955 )
...
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2022-03-24 22:17:08 +01:00
Grzegorz Korba
90bb8b9868
Enable vendor patching ( #1929 )
2022-03-14 10:03:21 +01:00
Mati Andreas
8d45c29939
running phpstan with dockerc-compose resulted memory exhaustion ( #1927 )
...
Co-authored-by: Mati Andreas <null>
2022-03-13 19:03:19 +01:00
Abdul Malik Ikhsan
888f483102
[Renaming] Apply rename fully qualified namespace docblock on RenameNamespaceRector ( #1917 )
2022-03-10 11:01:23 +01:00
Abdul Malik Ikhsan
55a13c0020
test run in phpstan 1.4.8 ( #1904 )
...
* test run in phpstan 1.4.8
* fix test
2022-03-06 07:36:11 +07:00
Tomas Votruba
00e857f07e
[Transform] Add type matching to MethodCallToPropertyFetchRector ( #1905 )
2022-03-05 10:52:44 +00:00
Tomas Votruba
e2cc867255
[PhpSpecToPHPUnit] Deprecate historical set, mostly for experimental in early days ( #1901 )
2022-03-03 20:51:15 +01:00
Tomas Votruba
aa1fb8fdef
Bump to Sypmlify 10.1 ( #1852 )
2022-02-21 12:13:59 +00:00
Tomas Votruba
2dd05f65da
[ci] trigger packages tests ( #1842 )
2022-02-20 12:17:34 +00:00
Tomas Votruba
25ed79188f
Bump Symplify package - use new location for console differ + value object inliner ( #1841 )
...
* inline ValueObjectInliner
* remove unsed patch
2022-02-20 12:56:50 +01:00
Tomas Votruba
3c7bc95fea
[phpstan] Complete vague callable types ( #1837 )
2022-02-19 19:47:10 +01:00
Tomas Votruba
8027c7fd8c
[DX] Remove MoveInterfacesToContractNamespaceDirectoryRector as breaky, use PHPStan rule instead ( #1835 )
2022-02-18 09:54:00 +00:00
Tomas Votruba
a4eff1e0ad
[DX] Remove MoveServicesBySuffixToDirectoryRector, better handle by PHPStan + PHPStorm refacor ( #1834 )
2022-02-18 10:22:26 +01:00
Tomas Votruba
d670c93519
[DX] Deprecate disabling of import options to keep configuration simpler ( #1817 )
2022-02-15 21:00:07 +00:00
Abdul Malik Ikhsan
c66771929e
[DX] Add bin/clean-phpstan.php to verify cleaned up Ignored error pattern ( #1770 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-02-10 15:26:45 +01:00
Tomas Votruba
9953b6cab1
[console] add rector console output style with CI friendly progress bar redraw ( #1793 )
2022-02-09 18:51:13 +00:00
Tomas Votruba
75c0b27d37
[types] Add HasPropertyTypeMapepr and HasMethodTypeMapper ( #1731 )
...
* Add HasPropertyTypeMapper
* add has Method type mapper
2022-01-26 12:52:30 +01:00
Tomas Votruba
22db8c79c3
[build] Automate tweet about the release ( #1729 )
...
* [CI] add tweet release
* fix description on downgrade repository
* move release tweet to build
2022-01-25 17:56:52 +01:00
Tomas Votruba
caeeb78f6f
Bump Symplify to 10.0.16 + improve complexity ( #1725 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-01-25 11:35:55 +00:00
Tomas Votruba
65c97a9eb9
bump few deps to trigger release
2022-01-17 11:12:07 +01:00
Abdul Malik Ikhsan
f92c52d30a
Update symplify to ^10.0.11 ( #1690 )
2022-01-17 10:00:25 +00:00
Phil E. Taylor
72de31e70f
Ensure autoloader is loaded in globally installed Rector ( #1683 )
...
* ensure autoloader is loaded in globally installed Rector
* change approach to see if unit tests are happier
* [TypeDeclaration] Add symfony route annotation support (#1580 )
* temporary pin symplify/easy-ci to 10.0.9
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2022-01-16 08:31:20 +07:00
Abdul Malik Ikhsan
80882ad175
[TypeDeclaration] Skip Throw_ in construct and as Expr on ReturnNeverTypeRector ( #1679 )
...
* [TypeDeclaration] Skip Throw_ in construct and as Expr on ReturnNeverTypeRector
* move to ParentClassMethodTypeOverrideGuard
* [ci-review] Rector Rectify
* resolve phpstan notice
* final touch: define types for FunctionLike to replace new in params
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* final touch: update phpstan req to ^1.4
Co-authored-by: GitHub Action <action@github.com>
2022-01-15 09:44:55 +01:00
Tomas Votruba
bbe0567317
[DX] Use type safe access with PrivatePropertyAccessor ( #1660 )
...
Co-authored-by: Markus Staab <m.staab@complex-it.de>
2022-01-11 16:41:23 +01:00
Tomas Votruba
4d8eb8af92
make copy of no-parlalel e2e
2022-01-04 17:39:42 +01:00
Abdul Malik Ikhsan
60b4112170
final touch: move psr4 e2e autoload to root composer.json to make demo correctly as expected
2022-01-04 17:37:56 +01:00
Abdul Malik Ikhsan
5181bf9016
Update to PHPStan ^1.3 ( #1589 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-12-30 00:06:56 +01:00
Tomas Votruba
889a682d12
add phpstan php-parser extension ( #1574 )
2021-12-26 18:05:24 +01:00
Tomas Votruba
3417ff434b
[TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules ( #1500 )
2021-12-15 00:30:14 +00:00
Tomas Votruba
5b93ec2aec
Bump to PHP CS Fixer 3.4 that allow Symfony 6 ( #1488 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-12-14 11:25:50 +01:00