Skip to content

Commit

Permalink
Moved tests to tests/phpunit.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Mar 8, 2024
1 parent b5c19a7 commit 48d9999
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ jobs:

- name: Test PHAR
run: ./.build/git-artifact --help || exit 1
#;> PHP_PHAR

# Demonstration of deployment in 'force-push' mode.
deploy-force-push:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"autoload-dev": {
"psr-4": {
"DrevOps\\GitArtifact\\Tests\\": "tests"
"DrevOps\\GitArtifact\\Tests\\": "tests/phpunit"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@see https://github.com/squizlabs/PHP_CodeSniffer/issues/2916
-->
<file>src</file>
<file>tests</file>
<file>tests/phpunit</file>

<rule ref="Symfony.Commenting.License.Warning">
<exclude-pattern>*.*</exclude-pattern>
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parameters:

paths:
- src
- tests
- tests/phpunit

excludePaths:
- vendor/*
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
>
<testsuites>
<testsuite name="default">
<directory>tests</directory>
<directory>tests/phpunit</directory>
</testsuite>
</testsuites>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace DrevOps\GitArtifact\Tests\Traits;

use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\MockObject\Stub\Stub;

/**
* Trait MockTrait.
*
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 48d9999

Please sign in to comment.