Skip to content

Commit

Permalink
Remove PHPUnit from Composer
Browse files Browse the repository at this point in the history
  • Loading branch information
roman.derlemenko committed Jul 26, 2024
1 parent 26e2b4a commit 422b52d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# PHP, JSON, XML
[*.{php, json, xml}]
indent_style = space
indent_size = 4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.idea

# PHPUnit result cache file
.phpunit.cache
.phpunit.result.cache

# Composer autoload and dependencies
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"ext-curl": "*",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": ">=7.5"
},
"autoload": {
"psr-4": {
"Rooxie\\": "src/"
Expand Down
6 changes: 4 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false" backupStaticAttributes="false" colors="true" failOnRisky="true" failOnWarning="true" stopOnFailure="false">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" colors="true" failOnRisky="true" failOnWarning="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.2/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="OMDb Test Suite">
<directory suffix=".php">./tests/</directory>
<file>./tests/BuildParamsTest.php</file>
<file>./tests/MovieModelTest.php</file>
<file>./tests/ResponseParserTest.php</file>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 422b52d

Please sign in to comment.