This file contains hidden or 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
name: Psalm Static Analysis | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
actions: read |
This file contains hidden or 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
Chase Pierce | |
:flag-ua: 12:38 PM | |
<?php declare(strict_types=1); | |
use PHPUnit\Framework\TestCase; | |
final class TechByteTest extends TestCase | |
{ | |
public function testTodaysPresentation(): void | |
{ |
This file contains hidden or 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
FROM node:18 AS development | |
RUN apt-get update && apt-get install -y openssl | |
WORKDIR /usr/src/app | |
COPY --chown=node:node package.json package-lock.json ./ | |
RUN npm ci |
This file contains hidden or 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
FROM php:7.4 | |
RUN apt-get update && apt-get install -y git unzip | |
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer | |
WORKDIR /app |
This file contains hidden or 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
openapi: 3.0.1 | |
info: | |
title: Users & Organizations API | |
version: 1.0.0 | |
servers: | |
- url: https://api.entrata.io/users/v1 | |
- url: http://api.entrata.io/users/v1 | |
tags: | |
- name: organizations | |
- name: user |
This file contains hidden or 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
<VirtualHost *:80> | |
ServerName $APP_SERVER_NAME | |
ServerAlias www.$APP_SERVER_NAME | |
ServerAdmin [email protected] | |
DocumentRoot /var/www/ | |
</VirtualHost> |
This file contains hidden or 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
# ---------------------------------------------------------------------- | |
# | File access | | |
# ---------------------------------------------------------------------- | |
# Block access to directories without a default document. | |
# | |
# You should leave the following uncommented, as you shouldn't allow anyone to | |
# surf through every directory on your server (which may include rather | |
# private places such as the CMS's directories). |
This file contains hidden or 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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- 'v*.*.*' | |
pull_request: | |
branches: |
This file contains hidden or 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
FROM php:7.3-fpm | |
ENV TZ=America/Denver | |
RUN rm /etc/localtime && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
RUN add-apt-repository ppa:libreoffice/ppa | |
RUN apt-get update && apt-get install -y \ | |
libreoffice \ | |
libpq-dev \ |