Skip to content

Commit

Permalink
upgrade phpunit config
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed May 14, 2024
1 parent 02722a0 commit f206a89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":{"Spatie\\Robots\\Tests\\RobotsHeadersTest::it_can_read_response_headers_from_a_server":1,"Spatie\\Robots\\Tests\\RobotsHeadersTest::it_can_read_response_headers_from_a_server_for_a_user_agent":1,"Spatie\\Robots\\Tests\\RobotsTest::it_can_discover_default_robots_file":1},"times":{"Spatie\\Robots\\Tests\\RobotsHeadersTest::it_can_parse_headers":0.002,"Spatie\\Robots\\Tests\\RobotsHeadersTest::it_can_parse_headers_with_none":0,"Spatie\\Robots\\Tests\\RobotsHeadersTest::it_throws_exception_on_reading_source":0.002,"Spatie\\Robots\\Tests\\RobotsHeadersTest::it_can_read_response_headers_from_a_server":0.002,"Spatie\\Robots\\Tests\\RobotsHeadersTest::it_can_read_response_headers_from_a_server_for_a_user_agent":0.001,"Spatie\\Robots\\Tests\\RobotsMetaTest::test_noindex":0,"Spatie\\Robots\\Tests\\RobotsMetaTest::it_throws_exception_on_reading_from_source":0,"Spatie\\Robots\\Tests\\RobotsMetaTest::it_can_create_new_from_source_string":0,"Spatie\\Robots\\Tests\\RobotsMetaTest::test_nofollow":0,"Spatie\\Robots\\Tests\\RobotsTest::test":0,"Spatie\\Robots\\Tests\\RobotsTest::it_can_be_created_with_a_robots_txt_object":0,"Spatie\\Robots\\Tests\\RobotsTest::it_return_true_on_source_string":0.597,"Spatie\\Robots\\Tests\\RobotsTest::with_custom_user_agent_in_construct":0,"Spatie\\Robots\\Tests\\RobotsTest::with_custom_user_agent_in_method_call":0,"Spatie\\Robots\\Tests\\RobotsTest::test_may_follow":0,"Spatie\\Robots\\Tests\\RobotsTest::it_can_discover_default_robots_file":0.001,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_parse_content":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_parse_content_from_a_source":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::test_allowed_link_for_default_user_agent":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::test_disallow_keyword_in_url_is_correctly_disallowed":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::test_disallowed_link_for_default_user_agent":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::test_allowed_link_for_custom_user_agent":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::test_disallowed_link_for_custom_user_agent":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_an_invalid_robots_txt":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_an_empty_robots_txt":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_star_in_pattern":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_dollar_in_pattern":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_query_strings":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::the_allows_user_agent_check_is_case_insensitive":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::the_disallows_user_agent_check_is_case_insensitive":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_multiple_user_agent_query_strings":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_multiple_user_agent_root_path":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_multiple_user_agent_first_in_list":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_multiple_user_agent_last_in_list":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_multiple_user_agent_first_in_list_with_empty_and_comment_lines":0,"Spatie\\Robots\\Tests\\RobotsTxtTest::it_can_handle_multiple_user_agent_last_in_list_with_empty_and_comment_line":0}}
24 changes: 6 additions & 18 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Spatie Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src/</directory>
</include>
</source>
</phpunit>

0 comments on commit f206a89

Please sign in to comment.