Skip to content
Permalink
Browse files

Change from phpspec to phpunit.

  • Loading branch information...
Mathew Davies
Mathew Davies committed Nov 4, 2017
1 parent 27b9bbc commit a93ae687952b5e6a63090a5fd0a67505d4c7adc4
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Symfony2PluginSettings">
<option name="pluginEnabled" value="true" />
</component>
</project>
@@ -12,10 +12,10 @@
}
],
"require": {
"php": ">=7.0"
"php": ">=7.0",
"phpunit/phpunit": "^6.4"
},
"require-dev": {
"phpspec/phpspec": "^4.0"
},
"autoload": {
"psr-4": {
@@ -24,7 +24,7 @@
},
"autoload-dev": {
"psr-4": {
"spec\\Thepixeldeveloper\\Sitemap\\": "spec/"
"Tests\\Thepixeldeveloper\\Sitemap\\": "tests/"
}
},
"scripts": {

This file was deleted.

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>

<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>

<logging>
<log type="coverage-clover" target="clover.xml"/>
</logging>
</phpunit>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -9,7 +9,7 @@ abstract class Collection implements VisitorInterface
/**
* @var VisitorInterface[]
*/
private $items;
private $items = [];
public function add(VisitorInterface $value)
{

0 comments on commit a93ae68

Please sign in to comment.
You can’t perform that action at this time.