Skip to content

Commit

Permalink
move packages and packages-tests to core
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Oct 18, 2023
1 parent bb45037 commit 9e0413e
Show file tree
Hide file tree
Showing 25 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
.travis.yml export-
phpunit.xml export-ignore
*.md export-ignore
/packages-tests export-ignore
2 changes: 1 addition & 1 deletion .github/workflows/downgraded_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- run: rector-local/vendor/bin/rector process src packages config --config build/rector-downgrade-php-72.php --ansi

# clear the dev files
- run: rm -rf tests packages-tests rector-local ecs.php phpstan.neon phpunit.xml .editorconfig
- run: rm -rf tests rector-local ecs.php phpstan.neon phpunit.xml .editorconfig

# copy PHP 7.2 composer + workflows
- run: cp -r build/target-repository/. .
Expand Down
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@
},
"autoload-dev": {
"psr-4": {
"Symplify\\PHPStanRules\\Tests\\": [
"tests",
"packages-tests"
]
"Symplify\\PHPStanRules\\Tests\\": "tests"
},
"classmap": [
"stubs"
Expand Down
2 changes: 0 additions & 2 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
__DIR__ . '/ecs.php',
__DIR__ . '/rector.php',
__DIR__ . '/config',
__DIR__ . '/packages',
__DIR__ . '/src',
__DIR__ . '/packages-tests',
__DIR__ . '/tests',
]);

Expand Down
6 changes: 1 addition & 5 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ parameters:
- src
- config
- tests
- packages
- packages-tests

# reportUnmatchedIgnoredErrors: false
reportUnmatchedIgnoredErrors: false

excludePaths:
# parallel
Expand All @@ -22,8 +20,6 @@ parameters:
- '*/tests/**/Source/*'
- '*/tests/**/Fixture/*'
- */stubs/*
- */packages-tests/**/Fixture/*
- */packages-tests/**/Source/*

ignoreErrors:
-
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" cacheDirectory=".phpunit.cache">
<testsuite name="all">
<directory>tests</directory>
<directory>packages-tests</directory>
<exclude>tests/Rules/NoConstructorInTestRule/Fixture</exclude>
<exclude>tests/Rules/ClassNameRespectsParentSuffixRule/Fixture/</exclude>
<exclude>tests/Rules/CheckNotTestsNamespaceOutsideTestsDirectoryRule/Fixture</exclude>
Expand Down
2 changes: 0 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
$rectorConfig->paths([
__DIR__ . '/config',
__DIR__ . '/src',
__DIR__ . '/packages',
__DIR__ . '/packages-tests',
__DIR__ . '/tests',
]);

Expand Down
File renamed without changes.

0 comments on commit 9e0413e

Please sign in to comment.