-
Notifications
You must be signed in to change notification settings - Fork 4
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 #11 from sunrise-php/release/v2.0.0
v2.0.0
- Loading branch information
Showing
15 changed files
with
306 additions
and
354 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# PHP CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-php/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
php71: | ||
docker: | ||
- image: circleci/php:7.1-cli-node-browsers | ||
steps: | ||
- checkout | ||
- run: php -v | ||
- run: composer install --no-interaction --prefer-source --no-suggest | ||
- run: php vendor/bin/phpunit --colors=always | ||
php72: | ||
docker: | ||
- image: circleci/php:7.2-cli-node-browsers | ||
steps: | ||
- checkout | ||
- run: php -v | ||
- run: composer install --no-interaction --prefer-source --no-suggest | ||
- run: php vendor/bin/phpunit --colors=always | ||
php73: | ||
docker: | ||
- image: circleci/php:7.3-cli-node-browsers | ||
steps: | ||
- checkout | ||
- run: php -v | ||
- run: composer install --no-interaction --prefer-source --no-suggest | ||
- run: php vendor/bin/phpunit --colors=always | ||
php74: | ||
docker: | ||
- image: circleci/php:7.4-cli-node-browsers | ||
steps: | ||
- checkout | ||
- run: php -v | ||
- run: composer install --no-interaction --prefer-source --no-suggest | ||
- run: php vendor/bin/phpunit --colors=always | ||
php80: | ||
docker: | ||
- image: circleci/php:8.0-cli-node-browsers | ||
steps: | ||
- checkout | ||
- run: php -v | ||
- run: composer install --no-interaction --prefer-source --no-suggest | ||
- run: php vendor/bin/phpunit --colors=always | ||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- php71 | ||
- php72 | ||
- php73 | ||
- php74 | ||
- php80 |
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,7 @@ | ||
.php_cs.cache | ||
.phpunit.result.cache | ||
composer.lock | ||
coverage.xml | ||
phpcs.xml | ||
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
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 |
---|---|---|
@@ -1,20 +1,31 @@ | ||
{ | ||
"name": "sunrise/slugger", | ||
"description": "Simple slugger for PHP 7.1+ based on ICU", | ||
"keywords": ["fenric", "sunrise", "slugger", "translit", "icu"], | ||
"homepage": "https://github.com/sunrise-php/slugger", | ||
"description": "Simple slugger for PHP 7.1+ based on ICU", | ||
"license": "MIT", | ||
"authors": [{ | ||
"name": "Anatoly Fenric", | ||
"email": "[email protected]", | ||
"homepage": "https://anatoly.fenric.ru/" | ||
}], | ||
"keywords": [ | ||
"fenric", | ||
"sunrise", | ||
"slugger", | ||
"translit", | ||
"icu", | ||
"php7", | ||
"php8" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Anatoly Fenric", | ||
"email": "[email protected]", | ||
"homepage": "https://anatoly.fenric.ru/" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.1", | ||
"php": "^7.1|^8.0", | ||
"ext-intl": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "7.5.6" | ||
"phpunit/phpunit": "7.5.20|9.5.0", | ||
"sunrise/coding-standard": "1.0.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
|
@@ -23,7 +34,8 @@ | |
}, | ||
"scripts": { | ||
"test": [ | ||
"phpunit --colors=always --coverage-text" | ||
"phpunit --colors=always --coverage-text", | ||
"phpcs" | ||
] | ||
} | ||
} |
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,7 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Sunrise Coding Standard"> | ||
<rule ref="./vendor/sunrise/coding-standard/ruleset.xml"/> | ||
|
||
<file>src</file> | ||
<file>tests</file> | ||
</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,13 +1,13 @@ | ||
<?xml version="1.0"?> | ||
<phpunit colors="true"> | ||
<phpunit colors="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage> | ||
<include> | ||
<directory>./src</directory> | ||
</include> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="Sunrise Slugger Test Suite"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory>./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
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.