File tree Expand file tree Collapse file tree 8 files changed +24
-19
lines changed
Expand file tree Collapse file tree 8 files changed +24
-19
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
66language : php
77
88php :
9- - 7.2
9+ - 7.3
1010
1111cache :
1212 directories :
@@ -15,13 +15,13 @@ cache:
1515before_install :
1616 - cd $TRAVIS_BUILD_DIR/backend
1717 - composer validate
18- - mysql -e 'CREATE DATABASE thread'
18+ - mysql -e 'CREATE DATABASE thread'
1919
2020install :
2121 - composer install --no-interaction --prefer-source
2222
2323before_script :
24- - cp .env.travis .env
24+ - cp .env.travis .env
2525 - php artisan migrate --force
2626
2727script :
@@ -30,4 +30,4 @@ script:
3030after_success :
3131 - bash <(curl -s https://codecov.io/bash)
3232
33-
33+
Original file line number Diff line number Diff line change 88 ],
99 "license" : " MIT" ,
1010 "require" : {
11- "php" : " ^7.1.3 " ,
11+ "php" : " ^7.3.17 " ,
1212 "ext-bcmath" : " *" ,
1313 "ext-mbstring" : " *" ,
1414 "barryvdh/laravel-cors" : " ^0.11.3" ,
Original file line number Diff line number Diff line change 1- FROM php:7.2 -fpm-stretch
1+ FROM php:7.3 -fpm-stretch
22
33# Fix debconf warnings upon build
44ARG DEBIAN_FRONTEND=noninteractive
@@ -26,7 +26,7 @@ RUN apt-get update \
2626
2727RUN pecl channel-update pecl.php.net \
2828 && pecl install redis-4.3.0 \
29- && pecl install xdebug-2.6.1 \
29+ && pecl install xdebug \
3030 && docker-php-ext-enable redis xdebug
3131
3232COPY --from=composer /usr/bin/composer /usr/bin/composer
Original file line number Diff line number Diff line change 22
33## Technologies
44
5- * PHP 7.2 || 7. 3
5+ * PHP 7.3
66* [ Laravel 5.8] ( https://laravel.com )
77* [ Docker] ( https://www.docker.com/ )
88* [ Docker-compose] ( https://docs.docker.com/compose/ )
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace Tests \Feature \Api ;
5+ namespace Tests \Feature \Api \ V1 ;
66
77use App \Entity \Comment ;
88use App \Entity \Tweet ;
9+ use Tests \Feature \Api \ApiTestCase ;
910
1011final class CommentApiTest extends ApiTestCase
1112{
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace Tests \Feature \Api ;
5+ namespace Tests \Feature \Api \ V1 ;
66
77use App \Entity \Tweet ;
88use App \Entity \User ;
9+ use Tests \Feature \Api \ApiTestCase ;
910
1011final class TweetApiTest extends ApiTestCase
1112{
Original file line number Diff line number Diff line change 99
1010Backend:
1111
12- * PHP 7.2 || 7. 3
12+ * PHP 7.3
1313* [ Laravel 5.8] ( https://laravel.com )
1414* [ Docker] ( https://www.docker.com/ )
1515* [ Docker-compose] ( https://docs.docker.com/compose/ )
You can’t perform that action at this time.
0 commit comments