-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from chialab/2.x.x
Migrate to 2.x.x
- Loading branch information
Showing
29 changed files
with
209 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/.idea | ||
/composer.lock | ||
/phpunit.xml | ||
/vendor | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"version":1,"defects":{"Chialab\\Calendar\\Test\\TestCase\\Controller\\Component\\CalendarComponentTest::testFindGroupByDayWithStart with data set \"test\"":4,"Chialab\\Calendar\\Test\\TestCase\\Controller\\Component\\CalendarComponentTest::testFindGroupedByDayWithRange with data set \"test\"":4,"Chialab\\Calendar\\Test\\TestCase\\View\\Helper\\CalendarHelperTest::testInitialization":2},"times":{"Chialab\\Calendar\\Test\\TestCase\\Controller\\Component\\CalendarComponentTest::testFindGroupByDayWithStart with data set \"test\"":1.766,"Chialab\\Calendar\\Test\\TestCase\\Controller\\Component\\CalendarComponentTest::testFindGroupedByDayWithRange with data set \"test\"":1.424,"Chialab\\Calendar\\Test\\TestCase\\View\\Helper\\CalendarHelperTest::testInitialization":0.005}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="App"> | ||
<file>./src</file> | ||
<file>./tests</file> | ||
|
||
<arg name="colors" /> | ||
<arg value="p" /> | ||
|
||
<config name="installed_paths" value="../../cakephp/cakephp-codesniffer,../../slevomat/coding-standard"/> | ||
|
||
<rule ref="CakePHP" /> | ||
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat"> | ||
<properties> | ||
<property name="shortNullable" type="string" value="no"/> | ||
<property name="nullPosition" type="string" value="last"/> | ||
</properties> | ||
</rule> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit | ||
colors="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
bootstrap="tests/bootstrap.php" | ||
> | ||
<php> | ||
<ini name="memory_limit" value="-1"/> | ||
<ini name="apc.enable_cli" value="1"/> | ||
</php> | ||
|
||
<!-- Add any additional test suites you want to run here --> | ||
<testsuites> | ||
<testsuite name="Chialab/Calendar"> | ||
<directory>tests/TestCase/</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<!-- Setup a listener for fixtures --> | ||
<listeners> | ||
<listener class="Cake\TestSuite\Fixture\FixtureInjector"> | ||
<arguments> | ||
<object class="Cake\TestSuite\Fixture\FixtureManager"/> | ||
</arguments> | ||
</listener> | ||
</listeners> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">src/</directory> | ||
</whitelist> | ||
</filter> | ||
|
||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" processIsolation="false" stopOnFailure="false" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage> | ||
<include> | ||
<directory suffix=".php">src/</directory> | ||
</include> | ||
</coverage> | ||
<php> | ||
<ini name="memory_limit" value="-1"/> | ||
<ini name="apc.enable_cli" value="1"/> | ||
</php> | ||
<!-- Add any additional test suites you want to run here --> | ||
<testsuites> | ||
<testsuite name="Chialab/Calendar"> | ||
<directory>tests/TestCase/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<!-- Setup extension for fixtures --> | ||
<extensions> | ||
<extension class="\Cake\TestSuite\Fixture\PHPUnitExtension"/> | ||
</extensions> | ||
</phpunit> |
Oops, something went wrong.