generated from api-platform/api-platform
-
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.
Merge pull request #158 from ConductionNL/dev-bundleRunner-2021062313…
…5352 Readme update (badges + description)
- Loading branch information
Showing
47 changed files
with
3,307 additions
and
1,888 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
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,25 @@ | ||
component_depth: 3 | ||
languages: | ||
- php | ||
exclude: | ||
- /nlx-setup/.* | ||
- /resources/.* | ||
- /api/bin/.* | ||
- /api/config/.* | ||
- /api/docker/.* | ||
- /api/docs/.* | ||
- /api/helm/.* | ||
- /api/migrations/.* | ||
- /api/nlx-setup/.* | ||
- /api/public/.* | ||
- /api/templates/.* | ||
- /api/translations/.* | ||
- /api/var/.* | ||
- /api/vendor/.* | ||
- /api/src/Entity/.* | ||
- /api/src/DataFixtures/.* | ||
- /api/src/Repository/.* | ||
- /api/src/Kernel.php | ||
test: | ||
include: | ||
- /api/tests/TrouwServiceTest.php |
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,13 @@ | ||
############################# | ||
# "nginx" stage # | ||
############################# | ||
# depends on the "php" stage above, and with an litle bit of help from https://github.com/shiphp/nginx-env | ||
FROM nginx:latest AS api_platform_nginx | ||
|
||
# Due to our config we need a copy of the public folder for serving static content | ||
COPY docker/nginx/conf.d/default.conf.template /etc/nginx/templates/default.conf.template | ||
WORKDIR /srv/api | ||
COPY public public/ | ||
|
||
RUN apt update; \ | ||
apt upgrade -y |
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,19 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
if (!ini_get('date.timezone')) { | ||
ini_set('date.timezone', 'UTC'); | ||
} | ||
|
||
if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) { | ||
define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php'); | ||
require PHPUNIT_COMPOSER_INSTALL; | ||
PHPUnit\TextUI\Command::main(); | ||
} else { | ||
if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) { | ||
echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n"; | ||
exit(1); | ||
} | ||
|
||
require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php'; | ||
} |
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.