Skip to content

Commit 3c2235f

Browse files
committed
CI improvements and CHANGELOG updates
1 parent 2ec5ff2 commit 3c2235f

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
/.phplint-cache
1212
/.phplint.cache
1313

14+
# Ignore PHPStan files.
15+
/phpstan.neon
16+
1417
# Ignore Docker files
1518
/Dockerfile
1619
/Dockerfile.tpl

.github/workflows/syntax_checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818

1919
- name: Run Syntax Checks
2020
run: |
21+
set -ex
2122
if [[ ${{ matrix.php }} == '7.0' ]] || [[ ${{ matrix.php }} == '7.3' ]] ; then
2223
docker run -q --rm -v "$(pwd)/src:/data" -i cytopia/phplint:${{ matrix.php }}
2324
else

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
/.phplint-cache
1919
/.phplint.cache
2020

21+
# Ignore PHPStan files.
22+
/phpstan.neon
23+
2124
# Ignore Composer files
2225
/composer.lock
2326
/composer.phar

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 1.0.2 (2023-12-12)
2+
3+
## Changed
4+
- Throw unique exceptions instead of general ones. ( PR #1 by @daniel-glu )
5+
16
# 1.0.1 (2019-01-14)
27

38
## Added

Dockerfile.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM php:%%PHP_VERSION%%-fpm
22

33
COPY . /var/www/html
4+
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/
45

56
RUN \
67
apt-get update && \
@@ -10,5 +11,4 @@ RUN \
1011
docker-php-ext-install zip && \
1112
yes '' | pecl install apcu && \
1213
docker-php-ext-enable apcu && \
13-
curl -sfL http://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
1414
composer update -nq --no-progress

0 commit comments

Comments
 (0)