-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
267 additions
and
251 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,37 +1,38 @@ | ||
{ | ||
"name": "xety/cake3-sluggable", | ||
"type": "cakephp-plugin", | ||
"description": "A simple Cake3 plugin to slug fields and find records by slug.", | ||
"keywords": ["cakephp", "cake3", "plugin", "slug", "sluggable", "fields", "records"], | ||
"homepage": "https://github.com/Xety/Cake3-Sluggable", | ||
"license": "MIT", | ||
"support":{ | ||
"source":"https://github.com/Xety/Cake3-Sluggable", | ||
"issues":"https://github.com/Xety/Cake3-Sluggable/issues" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Xety", | ||
"email": "zoro.fmt@gmail.com", | ||
"homepage": "https://github.com/Xety" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.4.0" | ||
}, | ||
"require-dev": { | ||
"cakephp/cakephp": "3.0.*-dev", | ||
"phpunit/phpunit": "4.1.*" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Xety\\Cake3Sluggable\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Xety\\Cake3Sluggable\\Test\\": "tests" | ||
} | ||
} | ||
"name": "xety/cake3-sluggable", | ||
"type": "cakephp-plugin", | ||
"description": "A simple Cake3 plugin to slug fields and find records by slug.", | ||
"keywords": ["cakephp", "cake3", "plugin", "slug", "sluggable", "fields", "records"], | ||
"homepage": "https://github.com/Xety/Cake3-Sluggable", | ||
"license": "MIT", | ||
"support":{ | ||
"source":"https://github.com/Xety/Cake3-Sluggable", | ||
"issues":"https://github.com/Xety/Cake3-Sluggable/issues" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Xety", | ||
"email": "zoro.fmt@gmail.com", | ||
"homepage": "https://github.com/Xety" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.4.16", | ||
"cakephp/cakephp": "~3.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "4.*", | ||
"cakephp/cakephp-codesniffer": "master-dev" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Xety\\Cake3Sluggable\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Xety\\Cake3Sluggable\\Test\\": "tests" | ||
} | ||
} | ||
|
||
} |
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,31 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><phpunit | ||
colors="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
syntaxCheck="false" | ||
bootstrap="./tests/bootstrap.php" | ||
> | ||
<php> | ||
<ini name="memory_limit" value="-1"/> | ||
<ini name="apc.enable_cli" value="1"/> | ||
</php> | ||
colors="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
syntaxCheck="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="Cake3Sluggable Test Suite"> | ||
<directory>./tests/TestCase</directory> | ||
</testsuite> | ||
</testsuites> | ||
<!-- Add any additional test suites you want to run here --> | ||
<testsuites> | ||
<testsuite name="Cake3Sluggable Test Suite"> | ||
<directory>./tests/TestCase</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<!-- Setup a listener for fixtures --> | ||
<listeners> | ||
<listener | ||
class="\Cake\TestSuite\Fixture\FixtureInjector" | ||
file="./vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureInjector.php"> | ||
<arguments> | ||
<object class="\Cake\TestSuite\Fixture\FixtureManager" /> | ||
</arguments> | ||
</listener> | ||
</listeners> | ||
<!-- Setup a listener for fixtures --> | ||
<listeners> | ||
<listener | ||
class="\Cake\TestSuite\Fixture\FixtureInjector" | ||
file="./vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureInjector.php"> | ||
<arguments> | ||
<object class="\Cake\TestSuite\Fixture\FixtureManager" /> | ||
</arguments> | ||
</listener> | ||
</listeners> | ||
|
||
<!-- Prevent coverage reports from looking in tests, vendors, config folders --> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">./src/</directory> | ||
<directory suffix=".ctp">./src/</directory> | ||
</whitelist> | ||
</filter> | ||
|
||
</phpunit> |
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
Oops, something went wrong.