mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 02:02:29 +01:00 
			
		
		
		
	Remove rector.
This commit is contained in:
		@@ -7,7 +7,6 @@
 | 
			
		||||
  },
 | 
			
		||||
  "require-dev": {
 | 
			
		||||
    "phpunit/phpunit": "^10",
 | 
			
		||||
    "rector/rector": "^0.17",
 | 
			
		||||
    "phpstan/phpstan": "^1",
 | 
			
		||||
    "laravel/pint": "^1",
 | 
			
		||||
    "squizlabs/php_codesniffer": "*",
 | 
			
		||||
@@ -28,11 +27,11 @@
 | 
			
		||||
    "test-coverage":  "vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage --coverage-text --path-coverage --testdox-html output/test.html  --log-junit output/test.xml ", 
 | 
			
		||||
    "analyze": [
 | 
			
		||||
        "@analyze-phpstan",
 | 
			
		||||
        "@analyze-phpcs",
 | 
			
		||||
        "@analyze-psalm"
 | 
			
		||||
        "@analyze-psalm",
 | 
			
		||||
        "@analyze-phpcs"
 | 
			
		||||
    ],
 | 
			
		||||
    "analyze-phpstan":"vendor/bin/phpstan analyze --error-format=raw",
 | 
			
		||||
    "analyze-phpcs":  "vendor/bin/phpcs --report=emacs  --standard=PSR12 --exclude=Generic.Files.LineLength src tests",
 | 
			
		||||
    "analyze-psalm":  "vendor/bin/psalm"
 | 
			
		||||
    "analyze-psalm":  "vendor/bin/psalm --no-cache",
 | 
			
		||||
    "analyze-phpcs":  "vendor/bin/phpcs --report=emacs  --standard=PSR12 --exclude=Generic.Files.LineLength src tests"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										105
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										105
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
 | 
			
		||||
        "This file is @generated automatically"
 | 
			
		||||
    ],
 | 
			
		||||
    "content-hash": "534f3e4c1275ca74e9ebe6dfc010d00c",
 | 
			
		||||
    "content-hash": "085ab396d73220eb11e38aa5bc71e6b9",
 | 
			
		||||
    "packages": [],
 | 
			
		||||
    "packages-dev": [
 | 
			
		||||
        {
 | 
			
		||||
@@ -1150,16 +1150,16 @@
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "phpstan/phpdoc-parser",
 | 
			
		||||
            "version": "1.23.0",
 | 
			
		||||
            "version": "1.23.1",
 | 
			
		||||
            "source": {
 | 
			
		||||
                "type": "git",
 | 
			
		||||
                "url": "https://github.com/phpstan/phpdoc-parser.git",
 | 
			
		||||
                "reference": "a2b24135c35852b348894320d47b3902a94bc494"
 | 
			
		||||
                "reference": "846ae76eef31c6d7790fac9bc399ecee45160b26"
 | 
			
		||||
            },
 | 
			
		||||
            "dist": {
 | 
			
		||||
                "type": "zip",
 | 
			
		||||
                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/a2b24135c35852b348894320d47b3902a94bc494",
 | 
			
		||||
                "reference": "a2b24135c35852b348894320d47b3902a94bc494",
 | 
			
		||||
                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/846ae76eef31c6d7790fac9bc399ecee45160b26",
 | 
			
		||||
                "reference": "846ae76eef31c6d7790fac9bc399ecee45160b26",
 | 
			
		||||
                "shasum": ""
 | 
			
		||||
            },
 | 
			
		||||
            "require": {
 | 
			
		||||
@@ -1191,9 +1191,9 @@
 | 
			
		||||
            "description": "PHPDoc parser with support for nullable, intersection and generic types",
 | 
			
		||||
            "support": {
 | 
			
		||||
                "issues": "https://github.com/phpstan/phpdoc-parser/issues",
 | 
			
		||||
                "source": "https://github.com/phpstan/phpdoc-parser/tree/1.23.0"
 | 
			
		||||
                "source": "https://github.com/phpstan/phpdoc-parser/tree/1.23.1"
 | 
			
		||||
            },
 | 
			
		||||
            "time": "2023-07-23T22:17:56+00:00"
 | 
			
		||||
            "time": "2023-08-03T16:32:59+00:00"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "phpstan/phpstan",
 | 
			
		||||
@@ -1259,16 +1259,16 @@
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "phpunit/php-code-coverage",
 | 
			
		||||
            "version": "10.1.2",
 | 
			
		||||
            "version": "10.1.3",
 | 
			
		||||
            "source": {
 | 
			
		||||
                "type": "git",
 | 
			
		||||
                "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
 | 
			
		||||
                "reference": "db1497ec8dd382e82c962f7abbe0320e4882ee4e"
 | 
			
		||||
                "reference": "be1fe461fdc917de2a29a452ccf2657d325b443d"
 | 
			
		||||
            },
 | 
			
		||||
            "dist": {
 | 
			
		||||
                "type": "zip",
 | 
			
		||||
                "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/db1497ec8dd382e82c962f7abbe0320e4882ee4e",
 | 
			
		||||
                "reference": "db1497ec8dd382e82c962f7abbe0320e4882ee4e",
 | 
			
		||||
                "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/be1fe461fdc917de2a29a452ccf2657d325b443d",
 | 
			
		||||
                "reference": "be1fe461fdc917de2a29a452ccf2657d325b443d",
 | 
			
		||||
                "shasum": ""
 | 
			
		||||
            },
 | 
			
		||||
            "require": {
 | 
			
		||||
@@ -1325,7 +1325,7 @@
 | 
			
		||||
            "support": {
 | 
			
		||||
                "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
 | 
			
		||||
                "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
 | 
			
		||||
                "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.2"
 | 
			
		||||
                "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.3"
 | 
			
		||||
            },
 | 
			
		||||
            "funding": [
 | 
			
		||||
                {
 | 
			
		||||
@@ -1333,7 +1333,7 @@
 | 
			
		||||
                    "type": "github"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "time": "2023-05-22T09:04:27+00:00"
 | 
			
		||||
            "time": "2023-07-26T13:45:28+00:00"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "phpunit/php-file-iterator",
 | 
			
		||||
@@ -1579,16 +1579,16 @@
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "phpunit/phpunit",
 | 
			
		||||
            "version": "10.2.6",
 | 
			
		||||
            "version": "10.3.1",
 | 
			
		||||
            "source": {
 | 
			
		||||
                "type": "git",
 | 
			
		||||
                "url": "https://github.com/sebastianbergmann/phpunit.git",
 | 
			
		||||
                "reference": "1c17815c129f133f3019cc18e8d0c8622e6d9bcd"
 | 
			
		||||
                "reference": "d442ce7c4104d5683c12e67e4dcb5058159e9804"
 | 
			
		||||
            },
 | 
			
		||||
            "dist": {
 | 
			
		||||
                "type": "zip",
 | 
			
		||||
                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1c17815c129f133f3019cc18e8d0c8622e6d9bcd",
 | 
			
		||||
                "reference": "1c17815c129f133f3019cc18e8d0c8622e6d9bcd",
 | 
			
		||||
                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d442ce7c4104d5683c12e67e4dcb5058159e9804",
 | 
			
		||||
                "reference": "d442ce7c4104d5683c12e67e4dcb5058159e9804",
 | 
			
		||||
                "shasum": ""
 | 
			
		||||
            },
 | 
			
		||||
            "require": {
 | 
			
		||||
@@ -1613,7 +1613,7 @@
 | 
			
		||||
                "sebastian/diff": "^5.0",
 | 
			
		||||
                "sebastian/environment": "^6.0",
 | 
			
		||||
                "sebastian/exporter": "^5.0",
 | 
			
		||||
                "sebastian/global-state": "^6.0",
 | 
			
		||||
                "sebastian/global-state": "^6.0.1",
 | 
			
		||||
                "sebastian/object-enumerator": "^5.0",
 | 
			
		||||
                "sebastian/recursion-context": "^5.0",
 | 
			
		||||
                "sebastian/type": "^4.0",
 | 
			
		||||
@@ -1628,7 +1628,7 @@
 | 
			
		||||
            "type": "library",
 | 
			
		||||
            "extra": {
 | 
			
		||||
                "branch-alias": {
 | 
			
		||||
                    "dev-main": "10.2-dev"
 | 
			
		||||
                    "dev-main": "10.3-dev"
 | 
			
		||||
                }
 | 
			
		||||
            },
 | 
			
		||||
            "autoload": {
 | 
			
		||||
@@ -1660,7 +1660,7 @@
 | 
			
		||||
            "support": {
 | 
			
		||||
                "issues": "https://github.com/sebastianbergmann/phpunit/issues",
 | 
			
		||||
                "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
 | 
			
		||||
                "source": "https://github.com/sebastianbergmann/phpunit/tree/10.2.6"
 | 
			
		||||
                "source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.1"
 | 
			
		||||
            },
 | 
			
		||||
            "funding": [
 | 
			
		||||
                {
 | 
			
		||||
@@ -1676,7 +1676,7 @@
 | 
			
		||||
                    "type": "tidelift"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "time": "2023-07-17T12:08:28+00:00"
 | 
			
		||||
            "time": "2023-08-04T06:48:08+00:00"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "psr/container",
 | 
			
		||||
@@ -1781,67 +1781,6 @@
 | 
			
		||||
            },
 | 
			
		||||
            "time": "2021-07-14T16:46:02+00:00"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "rector/rector",
 | 
			
		||||
            "version": "0.17.7",
 | 
			
		||||
            "source": {
 | 
			
		||||
                "type": "git",
 | 
			
		||||
                "url": "https://github.com/rectorphp/rector.git",
 | 
			
		||||
                "reference": "0e76101aa329911b7fec43106aac5843a978b209"
 | 
			
		||||
            },
 | 
			
		||||
            "dist": {
 | 
			
		||||
                "type": "zip",
 | 
			
		||||
                "url": "https://api.github.com/repos/rectorphp/rector/zipball/0e76101aa329911b7fec43106aac5843a978b209",
 | 
			
		||||
                "reference": "0e76101aa329911b7fec43106aac5843a978b209",
 | 
			
		||||
                "shasum": ""
 | 
			
		||||
            },
 | 
			
		||||
            "require": {
 | 
			
		||||
                "php": "^7.2|^8.0",
 | 
			
		||||
                "phpstan/phpstan": "^1.10.26"
 | 
			
		||||
            },
 | 
			
		||||
            "conflict": {
 | 
			
		||||
                "rector/rector-doctrine": "*",
 | 
			
		||||
                "rector/rector-downgrade-php": "*",
 | 
			
		||||
                "rector/rector-phpunit": "*",
 | 
			
		||||
                "rector/rector-symfony": "*"
 | 
			
		||||
            },
 | 
			
		||||
            "bin": [
 | 
			
		||||
                "bin/rector"
 | 
			
		||||
            ],
 | 
			
		||||
            "type": "library",
 | 
			
		||||
            "extra": {
 | 
			
		||||
                "branch-alias": {
 | 
			
		||||
                    "dev-main": "0.15-dev"
 | 
			
		||||
                }
 | 
			
		||||
            },
 | 
			
		||||
            "autoload": {
 | 
			
		||||
                "files": [
 | 
			
		||||
                    "bootstrap.php"
 | 
			
		||||
                ]
 | 
			
		||||
            },
 | 
			
		||||
            "notification-url": "https://packagist.org/downloads/",
 | 
			
		||||
            "license": [
 | 
			
		||||
                "MIT"
 | 
			
		||||
            ],
 | 
			
		||||
            "description": "Instant Upgrade and Automated Refactoring of any PHP code",
 | 
			
		||||
            "keywords": [
 | 
			
		||||
                "automation",
 | 
			
		||||
                "dev",
 | 
			
		||||
                "migration",
 | 
			
		||||
                "refactoring"
 | 
			
		||||
            ],
 | 
			
		||||
            "support": {
 | 
			
		||||
                "issues": "https://github.com/rectorphp/rector/issues",
 | 
			
		||||
                "source": "https://github.com/rectorphp/rector/tree/0.17.7"
 | 
			
		||||
            },
 | 
			
		||||
            "funding": [
 | 
			
		||||
                {
 | 
			
		||||
                    "url": "https://github.com/tomasvotruba",
 | 
			
		||||
                    "type": "github"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "time": "2023-07-23T20:44:23+00:00"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "sebastian/cli-parser",
 | 
			
		||||
            "version": "2.0.0",
 | 
			
		||||
@@ -3812,7 +3751,7 @@
 | 
			
		||||
    "prefer-stable": false,
 | 
			
		||||
    "prefer-lowest": false,
 | 
			
		||||
    "platform": {
 | 
			
		||||
        "php": "^8.1"
 | 
			
		||||
        "php": "^8.2"
 | 
			
		||||
    },
 | 
			
		||||
    "platform-dev": [],
 | 
			
		||||
    "plugin-api-version": "2.3.0"
 | 
			
		||||
 
 | 
			
		||||
@@ -10,6 +10,7 @@
 | 
			
		||||
>
 | 
			
		||||
    <projectFiles>
 | 
			
		||||
        <directory name="src" />
 | 
			
		||||
        <directory name="tests" />
 | 
			
		||||
        <ignoreFiles>
 | 
			
		||||
            <directory name="vendor" />
 | 
			
		||||
        </ignoreFiles>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										24
									
								
								rector.php
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								rector.php
									
									
									
									
									
								
							@@ -1,24 +0,0 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
declare(strict_types=1);
 | 
			
		||||
 | 
			
		||||
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
 | 
			
		||||
use Rector\Config\RectorConfig;
 | 
			
		||||
use Rector\Set\ValueObject\LevelSetList;
 | 
			
		||||
use Rector\Set\ValueObject\SetList;
 | 
			
		||||
 | 
			
		||||
return static function (RectorConfig $rectorConfig): void {
 | 
			
		||||
    $rectorConfig->paths([
 | 
			
		||||
        __DIR__.'/src',
 | 
			
		||||
    ]);
 | 
			
		||||
 | 
			
		||||
    // register a single rule
 | 
			
		||||
    $rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class);
 | 
			
		||||
 | 
			
		||||
    // define sets of rules
 | 
			
		||||
    $rectorConfig->sets([
 | 
			
		||||
        LevelSetList::UP_TO_PHP_81,
 | 
			
		||||
        SetList::CODE_QUALITY,
 | 
			
		||||
        SetList::DEAD_CODE,
 | 
			
		||||
    ]);
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user