137 Commits

Author SHA1 Message Date
Tomas Votruba
7ac228c638
[CI] Add type-declaration set (#4089)
* [CI] Add type-declaration set

* [rector] [CI] Add type-declaration set

* [cs] [CI] Add type-declaration set

* skip nullable void

* add anonymous parent/interface support

* refactor MultiExceptionCatchRector to use Catch_ over integers

* type fixes

* fix unoin array type override

* remove unused test cases

* drop overcomplicated InlineValidationRulesToArrayDefinitionRector

* skip assign on var

* [rector] skip assign on var

* [cs] skip assign on var

* [rector] [cs] skip assign on var

* skip assign on var

* fixes

* [rector] fixes

* [cs] fixes

Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-01 17:56:30 +00:00
Abdul Malik Ikhsan
cf1725fa6f
Typo fix: allowDevDependnecies to allowDevDependencies (#4093)
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2020-09-01 11:37:21 +02:00
TomasVotruba
0d2f79710c fix phar release 2020-08-31 11:35:01 +02:00
Tomas Votruba
26e9163a10
[phpstan] add rule to prevent array with string keys (#4012)
* [phpstan] Add ForbiddenArrayWithStringKeysRule

* [compiler] use SmartFileSystem
2020-08-23 13:39:26 +00:00
Tomas Votruba
6b0249a025
drop slevomat cs to prevent breaking build for last months (#3917) 2020-08-05 22:57:39 +00:00
dobryy
411d76f9a9
[Order] Make OrderPrivateMethodsByUseRector process file in one run u… (#3889)
* [Order] Make OrderPrivateMethodsByUseRector process file in one run using while loop

* [Order] Enable rule in CI

* [rector] [Order] Enable rule in CI

* [cs] [Order] Enable rule in CI

* [Order] Use constant for number of max attempts and throw exception when exceeded.

* [rector] [Order] Use constant for number of max attempts and throw exception when exceeded.

* [cs] [Order] Use constant for number of max attempts and throw exception when exceeded.

Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-05 22:45:36 +02:00
TomasVotruba
c7731e63e3 compiler: remove conflicting dev deps 2020-08-05 16:33:37 +02:00
TomasVotruba
762271333b compiler: allow dev deps 2020-07-30 22:58:29 +02:00
TomasVotruba
830e966312 one more compiler fix 2020-07-30 22:48:06 +02:00
TomasVotruba
0eac909c26 use dev-master phpstan-src for fixed nette/utils dependency 2020-07-30 22:41:11 +02:00
rector-bot
d5cde3eae1 fixup! Enable Order Set with failing rules disabled 2020-07-27 21:48:27 +00:00
TomasVotruba
442aafbf93 scoper: restore original class ignore 2020-07-22 22:27:36 +02:00
TomasVotruba
12185bbd5a scoper: keep whole configurator namespace 2020-07-22 22:16:41 +02:00
TomasVotruba
8630924008 scoper: debug 2020-07-22 22:09:01 +02:00
TomasVotruba
d4f6c497a7 [Nette] Add form dim access to standalone node control 2020-07-22 21:38:34 +02:00
TomasVotruba
2cbec32e6e add PHP tests prefixing to compiler 2020-07-22 12:12:20 +02:00
TomasVotruba
ba574c4d37 improving scoper 2020-07-22 11:56:30 +02:00
TomasVotruba
adc240fa07 fix scoping of bin/rector 2020-07-22 01:58:20 +02:00
TomasVotruba
bf391032c3 scoper: include unprefixing of config files 2020-07-22 01:40:47 +02:00
TomasVotruba
b6dc40dff4 misc 2020-07-22 01:39:53 +02:00
TomasVotruba
e3bd9a6b7e fix cs 2020-07-22 01:23:21 +02:00
TomasVotruba
0ed703a055 phar: exclude prefixing container class 2020-07-22 01:23:13 +02:00
TomasVotruba
0daa9eb695 styling compiler 2020-07-22 00:39:16 +02:00
TomasVotruba
c5d341716f done const 2020-07-21 23:19:38 +02:00
TomasVotruba
6d128831c4 remove composer-json-manipulator from the root 2020-07-21 23:08:52 +02:00
TomasVotruba
d7f9cc0985 add success message to compiler 2020-07-21 22:25:08 +02:00
TomasVotruba
a7984b759c prefix set list 2020-07-21 01:59:31 +02:00
TomasVotruba
0a29fe0c0a fix scoper 2020-07-20 10:34:44 +02:00
TomasVotruba
46b3090e37 move symfony style to root config 2020-07-20 09:40:11 +02:00
TomasVotruba
f7d78436d1 switch YAML to PHP 2020-07-20 02:07:42 +02:00
TomasVotruba
338f0d4378 keep composer.json in phar build 2020-07-09 02:38:38 +02:00
TomasVotruba
83d99606e6 include composer.json 2020-07-09 02:38:38 +02:00
TomasVotruba
3c3c3a9530 remove func call from methods calls 2020-07-06 01:59:41 +02:00
TomasVotruba
cbbb65715a fix cs 2020-07-03 16:44:43 +02:00
TomasVotruba
9ac9809919 decouple methods 2020-07-03 15:05:25 +02:00
TomasVotruba
743171f881 swap file/content 2020-07-03 14:59:29 +02:00
TomasVotruba
0a8bef35f8 remove extra semicolon 2020-07-03 01:50:42 +02:00
TomasVotruba
ea078b8b7e fix extra path 2020-07-03 01:49:27 +02:00
TomasVotruba
2eae52cea6 fix require autoload path 2020-07-03 01:48:43 +02:00
TomasVotruba
715d9c535a fix path 2020-07-03 01:40:05 +02:00
TomasVotruba
912e7f98d6 fix path 2020-07-03 01:38:32 +02:00
TomasVotruba
d7c5a923c1 compiler - add PHP 7.3- support for php-parser src 2020-07-03 01:13:37 +02:00
TomasVotruba
76d8044eb0 spacing 2020-07-02 01:27:04 +02:00
TomasVotruba
ade98bb5fd fix rector.phar build 2020-07-02 01:19:45 +02:00
TomasVotruba
f15019a28b use extact version in phpstan compiler to rector.phar 2020-07-02 00:49:00 +02:00
TomasVotruba
f5365a6dbc [phar] include phpstan dev deps 2020-07-02 00:33:02 +02:00
TomasVotruba
0cb82c2a6f apply new Naming_ 2020-06-30 00:57:38 +02:00
TomasVotruba
233b1d9680 un-prefix Symplify\SmartFileSystem, part of extensible code 2020-06-19 01:10:55 +02:00
TomasVotruba
690e2e9546 [scoper] exclude classes used in public 2020-06-08 01:55:51 +02:00
TomasVotruba
74c010651d event subscriber is part of code 2020-06-08 01:53:25 +02:00