Skip to content

Commit

Permalink
Merge pull request #273 from koriym/no_compiler
Browse files Browse the repository at this point in the history
Remove Ray.Compiler
  • Loading branch information
koriym committed Mar 19, 2022
2 parents df0f6f5 + 44f2554 commit 81aad1f
Show file tree
Hide file tree
Showing 102 changed files with 199 additions and 5,830 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/coding-standards.yml
Expand Up @@ -34,8 +34,5 @@ jobs:
- name: Install dependencies
run: composer install --no-interaction --no-progress --prefer-dist

- name: Validate composer.json
run: composer validate --strict

- name: Run PHP_CodeSniffer
run: ./vendor/bin/phpcs -q --no-colors --report=checkstyle src tests | cs2pr
11 changes: 4 additions & 7 deletions composer.json
Expand Up @@ -18,7 +18,8 @@
"koriym/param-reader": "^1.0",
"koriym/printo": "^1.0",
"nikic/php-parser": "^4.13",
"ray/aop": "^2.10"
"ray/aop": "^2.10",
"ray/compiler": "^1.6"
},
"require-dev": {
"ext-pdo": "*",
Expand All @@ -33,14 +34,12 @@
},
"autoload": {
"psr-4": {
"Ray\\Di\\": ["src/di", "src-deprecated/di"],
"Ray\\Compiler\\": ["src/compiler"]
"Ray\\Di\\": ["src/di", "src-deprecated/di"]
}
},
"autoload-dev": {
"psr-4": {
"Ray\\Di\\": ["tests/di", "tests/di/Fake/"],
"Ray\\Compiler\\": ["tests/compiler", "tests/compiler/Fake"]
"Ray\\Di\\": ["tests/di", "tests/di/Fake/"]
},
"files": ["tests/deleteFiles.php"]
},
Expand All @@ -54,8 +53,6 @@
"cs": ["./vendor/bin/phpcs --standard=./phpcs.xml src tests"],
"cs-fix": ["./vendor/bin/phpcbf src tests"],
"clean": ["./vendor/bin/phpstan clear-result-cache", "./vendor/bin/psalm --clear-cache", "rm -rf tests/tmp/*.php"],
"sa": ["@sa-di", "@sa-compiler"],
"sa-di": ["./vendor/bin/psalm --monochrome --show-info=true","./vendor/bin/phpstan analyse -c phpstan.neon"],
"sa-compiler": ["./vendor/bin/psalm -c psalm.compiler.xml --show-info=true"],
"metrics": ["@test", "./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception --log-junit=build/junit.xml --junit=build/junit.xml src"],
"phpmd": ["./vendor/bin/phpmd src/di text ./phpmd.xml"],
Expand Down
4 changes: 0 additions & 4 deletions phpstan.neon
Expand Up @@ -2,16 +2,12 @@ parameters:
level: max
paths:
- src/di
- src/compiler
- tests/di
- tests/compiler
- tests/type
excludePaths:
- tests/tmp/*
- tests/di/tmp/*
- tests/Di/tmp/*
- tests/di/Fake/*
- tests/compiler/tmp/*
- tests/compiler/Fake/*
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
3 changes: 0 additions & 3 deletions phpunit.xml.dist
Expand Up @@ -11,9 +11,6 @@
<directory phpVersion="8.0.0" phpVersionOperator=">=">tests-php8</directory>
<directory>tests/di</directory>
</testsuite>
<testsuite name="Ray.Compiler Test Suite">
<directory>tests/compiler/</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="-1"/>
Expand Down
15 changes: 0 additions & 15 deletions psalm.compiler.xml

This file was deleted.

14 changes: 0 additions & 14 deletions src/compiler/Annotation/Compile.php

This file was deleted.

93 changes: 0 additions & 93 deletions src/compiler/AopCode.php

This file was deleted.

62 changes: 0 additions & 62 deletions src/compiler/CachedInjectorFactory.php

This file was deleted.

34 changes: 0 additions & 34 deletions src/compiler/Code.php

This file was deleted.

0 comments on commit 81aad1f

Please sign in to comment.