Skip to content

Commit

Permalink
Try to exclude the bad files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Elendev committed Aug 15, 2024
1 parent 5aed6bd commit c6daec4
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 11 deletions.
25 changes: 25 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
requireCoverageMetadata="true"
beStrictAboutCoverageMetadata="true"
beStrictAboutOutputDuringTests="true"
failOnRisky="true"
failOnWarning="true">
<testsuites>
<testsuite name="default">
<directory>tests</directory>
<exclude>tests/ZipArchiverTest/TypicalArchive</exclude>
<exclude>tests/ZipArchiverTest/ComposerJsonArchive</exclude>
</testsuite>
</testsuites>

<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
<include>
<directory>src</directory>
</include>
</source>
</phpunit>
4 changes: 1 addition & 3 deletions tests/ZipArchiverTest/TypicalArchive/src/myFile.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?php
/**
* Empty test file
*/

class myFile {}
*/
4 changes: 1 addition & 3 deletions tests/ZipArchiverTest/TypicalArchive/src/myOtherFile.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?php
/**
* Empty test file
*/

class myOtherFile {}
*/
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
/**
* Empty file
*/
class myFileTest {}
*/
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?php
/**
* Empty file
*/

class myOtherFileTest {}
*/

0 comments on commit c6daec4

Please sign in to comment.