-
Notifications
You must be signed in to change notification settings - Fork 1
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 #1 from publicwhip/rb-0.3.1
Mainly adding missing data for milestone 0.3.1
- Loading branch information
Showing
13 changed files
with
219 additions
and
84 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,60 @@ | ||
# PHP CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-php/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# Specify the version you desire here | ||
- image: circleci/php:7.3.3 | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# Using the RAM variation mitigates I/O contention | ||
# for database intensive operations. | ||
# - image: circleci/mysql:5.7-ram | ||
# | ||
# - image: redis:2.8.19 | ||
|
||
steps: | ||
- checkout | ||
|
||
- run: sudo apt update | ||
- run: sudo docker-php-ext-install pdo_mysql | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "composer.lock" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: | ||
name: Display PHP information | ||
command: | | ||
php -v | ||
composer --version | ||
- run: | ||
name: Install project dependencies | ||
command: | | ||
composer install -n --prefer-dist | ||
- save_cache: | ||
key: v1-dependencies-{{ checksum "composer.lock" }} | ||
paths: | ||
- ./vendor | ||
|
||
# prepare the database | ||
#- run: touch storage/testing.sqlite | ||
#- run: php artisan migrate --env=testing --database=sqlite_testing --force | ||
|
||
# run tests | ||
- run: | ||
name: Run Unit tests | ||
command: ./vendor/bin/phpunit -c ./qaTools/phpunit.xml | ||
- run: | ||
name: Run Grumphp | ||
command: ./vendor/bin/grumphp run |
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,10 @@ | ||
# .gitattributes | ||
tests/ export-ignore | ||
docker/ export-ignore | ||
qa/ export-ignore | ||
qaTools/ export-ignore | ||
docs/ export-ignore | ||
database/ export-ignore | ||
|
||
# Auto detect text files and perform LF normalization | ||
* text=auto |
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,62 +1,68 @@ | ||
{ | ||
"name": "bairwell/publicwhip", | ||
"description": "Publicwhip v2 website", | ||
"type": "project", | ||
"homepage": "https://www.publicwhip.org.uk/", | ||
"require": { | ||
"php": ">=7.2", | ||
"ext-pdo": "*", | ||
"slim/slim": "^3", | ||
"psr/log": "^1", | ||
"twig/twig": "^2", | ||
"slim/twig-view": "^2", | ||
"monolog/monolog": "^1.24", | ||
"php-di/php-di": "^6.0", | ||
"php-di/slim-bridge": "^2.0", | ||
"psr/http-message": "^1.0", | ||
"psr/container": "^1", | ||
"slim/csrf": "^0.5", | ||
"slim/flash": "^0.1", | ||
"maximebf/debugbar": "^1.15", | ||
"swiftmailer/swiftmailer": "^5.4", | ||
"illuminate/database": "^5.1", | ||
"illuminate/events": "^5.1", | ||
"illuminate/container": "^5.8", | ||
"illuminate/support": "^5.8", | ||
"illuminate/contracts": "^5.8", | ||
"slim/http-cache": "^0.4.0", | ||
"erusev/parsedown": "^1.7" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8", | ||
"roave/security-advisories": "dev-master", | ||
"phpstan/phpstan-strict-rules": "^0.11", | ||
"phpmd/phpmd": "^2", | ||
"maglnet/composer-require-checker": "^1", | ||
"phpro/grumphp": "^0.15", | ||
"phpstan/phpstan": "^0.11", | ||
"sensiolabs/security-checker": "^5", | ||
"squizlabs/php_codesniffer": "^3", | ||
"infection/infection": "^0.12", | ||
"sebastian/phpcpd": "^4", | ||
"jakub-onderka/php-parallel-lint": "^1.0" | ||
}, | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Richard Bairwell", | ||
"email": "team@publicwhip.org.uk" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/publicwhip/publicwhipv2/issues", | ||
"docs": "https://github.com/publicwhip/publicwhip/tree/master/docs", | ||
"name": "bairwell/publicwhip", | ||
"description": "Publicwhip v2 website", | ||
"type": "project", | ||
"homepage": "https://www.publicwhip.org.uk/", | ||
"require": { | ||
"php": ">=7.2", | ||
"ext-pdo": "*", | ||
"slim/slim": "^3", | ||
"psr/log": "^1", | ||
"twig/twig": "^2", | ||
"slim/twig-view": "^2", | ||
"monolog/monolog": "^1.24", | ||
"php-di/php-di": "^6.0", | ||
"php-di/slim-bridge": "^2.0", | ||
"psr/http-message": "^1.0", | ||
"psr/container": "^1", | ||
"slim/csrf": "^0.5", | ||
"slim/flash": "^0.1", | ||
"maximebf/debugbar": "^1.15", | ||
"swiftmailer/swiftmailer": "^5.4", | ||
"illuminate/database": "^5.1", | ||
"illuminate/events": "^5.1", | ||
"illuminate/container": "^5.8", | ||
"illuminate/support": "^5.8", | ||
"illuminate/contracts": "^5.8", | ||
"slim/http-cache": "^0.4.0", | ||
"erusev/parsedown": "^1.7" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8", | ||
"roave/security-advisories": "dev-master", | ||
"phpstan/phpstan-strict-rules": "^0.11", | ||
"phpmd/phpmd": "^2", | ||
"maglnet/composer-require-checker": "^1", | ||
"phpro/grumphp": "^0.15", | ||
"phpstan/phpstan": "^0.11", | ||
"sensiolabs/security-checker": "^5", | ||
"squizlabs/php_codesniffer": "^3", | ||
"infection/infection": "^0.12", | ||
"sebastian/phpcpd": "^4", | ||
"jakub-onderka/php-parallel-lint": "^1.0" | ||
}, | ||
"scripts": { | ||
"style": "phpcs --standard=./qaTools/phpcs.xml", | ||
"test": "phpunit", | ||
"format-code": "php-cs-fixer fix --allow-risky=yes", | ||
"phpstan": "phpstan analyse -l 6 -c qaTools/phpstan.neon src" | ||
}, | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Richard Bairwell", | ||
"email": "team@publicwhip.org.uk" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"PublicWhip\\": "src/" | ||
} | ||
}, | ||
"minimum-stability": "stable" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/publicwhip/publicwhipv2/issues", | ||
"docs": "https://github.com/publicwhip/publicwhip/tree/master/docs", | ||
"email": "team@publicwhip.org.uk" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"PublicWhip\\": "src/" | ||
} | ||
}, | ||
"minimum-stability": "stable" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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