Abdul Malik Ikhsan
2b49b712bd
[Code Coverage] Fixes weekly code coverage generation ( #5298 )
...
* [Code Coverage] Fixes weekly code coverage generation Fixes #5297
* rclean up should already handled by GA
2021-01-24 10:07:42 +01:00
Tomas Votruba
0a3dc08d61
drop Sonarcube ( #5215 )
2021-01-17 15:32:01 +00:00
Abdul Malik Ikhsan
a071ae7dff
[CodeCoverage] Fixes weekly code coverage by move COVERALLS_REPO_TOKEN on run ( #5213 )
2021-01-17 14:31:55 +01:00
Tomas Votruba
04db98620a
Refactor composer modifier to ComposerRector ( #5198 )
2021-01-16 13:23:37 +01:00
Abdul Malik Ikhsan
35e83f75c6
[Utils] Add validate-fixture-filename command ( #5199 )
...
* [Utils] Add validate-fixture-filename command
* register command
* fix existing fixture filename with -
* clean up
2021-01-16 13:19:40 +01:00
TomasVotruba
72d01fea03
[ci] move cs and doc check to once a week
2021-01-14 11:10:03 +01:00
Tomas Votruba
d1df8f76cd
drop PHPStanAttributeTypeSyncer, handled by external package ( #5131 )
2021-01-10 14:51:27 +01:00
Abdul Malik Ikhsan
edcfe417a4
Another fix weekly code coverage action ( #5128 )
...
typo fix `secrets.GITHUB_TOKEN` -> `secrets.ACCESS_TOKEN`
2021-01-10 11:55:11 +01:00
Abdul Malik Ikhsan
6da34f9a35
Fix weekly code coverage github action ( #5126 )
...
it got error:
```
The workflow is not valid. .github/workflows/weekly_code_coverage.yaml (Line: 34, Col: 51): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN
```
The `secrets` seems only needed for automatic PR.
2021-01-10 08:54:52 +01:00
Abdul Malik Ikhsan
756f7dd214
Ensure clean up composer.json & build dir after run coverage weekly ( #5099 )
...
* Ensure clean up composer.json after run coverage weekly
as it use require --dev (update composer.json) during run.
* clean build dir as well
2021-01-06 12:08:03 +01:00
Tomáš Fejfar
1281c67510
Fix for #5086 ( #5087 )
2021-01-04 18:38:50 +01:00
Tomáš Fejfar
3611457cb6
Publish all tags as docker images ( #5086 )
...
No tags except latest were published because tags no longer contain leading `v`
2021-01-04 15:13:23 +01:00
Abdul Malik Ikhsan
e1c89d17f6
[fixtures] Enable validate-fixture-skip-naming check ( #5081 )
...
* [fixtures] Enable validate-fixture-skip-naming check
* full path vendor vendor/symplify/easy-testing/bin/easy-testing validate-fixture-skip-naming rules tests
* 21 files
* more fixture
* various fix
* various fix
* more fixtures
* apply to packages rules tests utils
* more fixtures
* more fixtures
* more fixtures
* more fixtures
* more fixtures
* more fixtures
* more fixtures
* fixture fix
* done
* fixture fix
2021-01-04 14:18:27 +01:00
Tomas Votruba
014c019449
[fixtures] require skip prefix on skipped files ( #5079 )
...
* skip unnecesary test case
* namespace corrections, skip prefix corrections
* hide for now
* skip new phpstan cases
2021-01-03 15:54:27 +00:00
Abdul Malik Ikhsan
7192385c49
[CI] Remove fork check in daily and weekly CI ( #5058 )
2020-12-31 14:27:44 +01:00
Abdul Malik Ikhsan
bf9e31b515
[Test] Separate Weekly CI for code coverage generation ( #5044 )
2020-12-29 23:48:07 +01:00
Abdul Malik Ikhsan
81751880b2
[Test] Move Re-generate code coverage to weekly pull request ( #5041 )
2020-12-29 19:08:24 +01:00
Abdul Malik Ikhsan
fba0bac3f8
[Github Action] Move fork check in steps for daily and weekly pull request ( #5036 )
2020-12-29 15:23:12 +01:00
TomasVotruba
f58deedbee
drop debug build
2020-12-28 23:09:30 +01:00
Tomas Votruba
52e604c6dd
[scoper] unprefix string classes to match types ( #5025 )
2020-12-28 23:09:11 +01:00
Abdul Malik Ikhsan
acdc7ee6ee
[PHPUnit] Enable Coverage again ( #5007 )
...
* [PHPUnit] Enable Coverage again
* coverals
* try using pcov
* use code_coverage.yaml
* on pull request
* try with --testsuite main
* try create multiple suites and use phpcov to merge clover
* try create multiple suites and use phpcov to merge clover
* try create multiple suites and use phpcov to merge clover
* chmod +x ./phpcov.phar
* using --coverage-php for generate .cov
* surplus -
* debug
* tempoary disable collect test on utils
* try exclude packages/attribute-aware-php-doc/src/Ast/PhpDoc/AttributeAwareDeprecatedTagValueNode.php
* try exclude packages/attribute-aware-php-doc/src/Ast/PhpDoc/AttributeAwareDeprecatedTagValueNode.php
* try nimut/phpunit-merger
* using ./ for directory
* exclude directories
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* try run phpunit on explicit directory
* try using xdebug
* reverted even on push
2020-12-28 19:46:48 +00:00
Tomas Votruba
520335251d
[scoper] keep phpstan.phar to avoid conflict in install ( #5009 )
...
* fix scoping of Symfony autodiscovery namespace
* scoped: add along phpstan run
* wait longer, the old version is used
* keep phpstan.phar
2020-12-27 21:14:39 +00:00
TomasVotruba
4f66248507
push
2020-12-27 14:29:03 +01:00
TomasVotruba
a2b2a0e053
build on push dev
2020-12-27 14:27:42 +01:00
Tomas Votruba
b37cfab141
[ci] enable ramsey ( #5001 )
2020-12-26 15:10:44 +00:00
Tomas Votruba
ec92bcc95e
[phpstan] enable file lenght rule ( #4999 )
...
* enable file lenght rule
* longer file, just to show ci worked
* [ci] add ValidateFileLengthCommand
* [phpstan] drop PathsAreNotTooLongRule
* [Downgrade] Shorten property promotion rector rule
* [Symfony] Shorten AutoWireWithClassNameSuffixForMethodWithRequiredAnnotationRector name
* shorten fixture name
* rename ChangeControlArrayAccessToAnnotatedControlVariableRector to AnnotateMagicalControlArrayAccessRector
* rename ReplaceMagicEventPropertySubscriberWithEventClassSubscriberRector to ReplaceMagicPropertyWithEventClassRector
* rename GetConfigWithDefaultsArgumentToArrayMergeInCompilerExtensionRector to MergeDefaultsInGetConfigCompilerExtensionRector
* rename ChangeCollectionTypeOptionTypeFromStringToClassReferenceRector to ChangeStringCollectionOptionToConstantRector
* decouple ProjectFilesFinder
2020-12-26 14:53:21 +00:00
Tomas Votruba
d4883d44d9
[Prefixed Rector] Add package-scoper approach ( #4559 )
2020-12-26 00:17:31 +01:00
Tomas Votruba
d256bbd8c0
change rector-ci.php to rector.php ( #4994 )
2020-12-25 19:11:33 +01:00
TomasVotruba
b911612ba3
fix yaml suffix
2020-12-24 23:05:50 +01:00
Tomas Votruba
319d6bfca1
add phpstan-for-rector config path, consolidate return type extensions - re-use from Symplify ( #4973 )
...
* add phpstan-for-rector config path, to separate phpstan and extensions that help Rector with precise types
* move type value object to value object
* moving
* remove KernelGetContainerAfterBootReturnTypeExtension, use one from symplify
* remove ContainerGetDynamicMethodReturnTypeExtension to ContainerGetReturnTypeExtension
* remove nette extension
* add nette-extension
* removed delegated rule
* delegate implmenets + code sample PHPStan rule to symplify
2020-12-24 16:31:24 +00:00
TomasVotruba
01e6554600
[github] update issue template
2020-12-22 23:31:53 +01:00
Abdul Malik Ikhsan
bf4cd08947
[Utils] Run validate-fixture-namespace and validate-fixture-classname for /tests/ directory ( #4901 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-15 19:51:03 +01:00
Tomas Votruba
f3decc4a9c
[CI] drop ignore platform reqs ( #4870 )
2020-12-13 00:18:57 +00:00
Tomas Votruba
c68fd43b65
Bump to Symplify 9 ( #4830 )
...
* composer: bump to Symplify 9
* fix cs
* update InputDetector to StaticInputDetector
* add missign symplify/ packages
* remove already included phpstan configs
* [CI] test lowest deps on PHP 7.3, as minimum for Symplify 9
* bump doctrine/inflector and sebastian/diff
* [CI] symplify PHP 7.3 testing
2020-12-09 15:41:23 +00:00
Markus Staab
f9de09ab3c
dont run jobs on forks, because gh-tokens are not available ( #4813 )
2020-12-06 18:08:19 +07:00
Markus Staab
e734d32e4c
dont run weekly jobs on forks, because gh-tokens are not available ( #4808 )
...
Try to fix a error which I get in GitHub Action every week
2020-12-06 11:47:46 +01:00
Tomas Votruba
f672eace0e
[DX] Add init-recipe command to create recipe config in root ( #4789 )
...
* [DX] Add init-recipe command to initlaize recipe
* update docs
2020-12-05 13:20:13 +00:00
Abdul Malik Ikhsan
1e667b454f
[CI] Add PHP 8.0 to Github actions tests ( #4779 )
2020-12-05 12:10:44 +01:00
Tomas Votruba
5201e949a1
[PHPStanExtensions] Add ForbiddenMethodCallOnTypeRule + move from docComment and Comments to PhpDocInfo ( #4780 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 00:22:12 +01:00
Tomas Votruba
132062acf3
[DeadCode] Fix dead method in property promotion ( #4749 )
...
* [DeadCode] Fix dead method in property promotion
* bump workflows PHP version to 7.2, to respect symplify bump
* allow non-existing attributes in tests
2020-12-02 10:15:39 +00:00
Markus Staab
e5b411d9cd
Add issue labels to issue templates ( #4719 )
2020-11-28 19:05:57 +01:00
Tomas Votruba
377c734975
drop old compiler ( #4716 )
2020-11-27 17:54:14 +01:00
Tomas Votruba
9150af563a
make use symplify/php-doc-parser ( #4703 )
...
* make use Symplify/PhpDocParser
* report line
* remove monorepo-builder, not needed anymore
* use php action 2
* fixup! use php action 2
2020-11-27 12:23:25 +00:00
Tomas Votruba
080e5cbe00
use symplify/skipper ( #4689 )
2020-11-26 23:09:21 +01:00
Tomas Votruba
054baf96d1
[DX] Remove buggy --only option to complete --set removal; use PHP config with reliable autocomplete ( #4701 )
2020-11-26 17:04:11 +00:00
Tomas Votruba
0963b8dca7
Drop --set forgotten leftover ( #4700 )
...
* Drop --set forgotten leftover
* remove package not split anymore
2020-11-26 16:55:33 +00:00
Tomas Votruba
0993088cda
[SymfonyPhpConfig] Use Symplify package instead + simplify set validation ( #4694 )
...
* [SymfonyPhpConfig] Use Symplify package instead
* [SymfonyPhpConfig] Drop forgotten custom-jobs Rectors
* [CI] simplify set validation
* from inline functions to Static class
* cleanup
* decouple rector.php to allow static analysis and coding standards
2020-11-26 16:44:27 +00:00
Tomas Votruba
0456cc088c
[Docs] Improve rule doc generator to generat rules_overview with categories ( #4688 )
...
* numbers
* update ECS config to Symplify 9
* regenerate rules with categorize
* [CI] disable automated rebase, as not working propperly
* update misc
2020-11-25 21:34:34 +00:00
Tomas Votruba
e8553cd647
[CI] Add monorepo validate [ closes #4628 ]
2020-11-25 16:42:46 +00:00
Tomas Votruba
8e7c4bfc96
[CI] do not push to forks
2020-11-24 21:30:17 +00:00