<?php
use Psr\Http\Server\{MiddlewareInterface, RequestHandlerInterface};
use Psr\Http\Message\{ServerRequestInterface, ResponseInterface};
class Middleware implements MiddlewareInterface
  
    
      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
    
  
  
    
  | <?php | |
| class Computus | |
| { | |
| public static function gauss(int $year) | |
| { | |
| $a = $year % 19; | |
| $b = $year % 4; | |
| $c = $year % 7; | 
  
    
      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
    
  
  
    
  | <?php | |
| use ArrayAccess; | |
| use ArrayIterator; | |
| use IteratorAggregate; | |
| class Context implements ArrayAccess, IteratorAggregate | |
| { | |
| /** @var array */ | |
| private $data; | 
  
    
      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
    
  
  
    
  | before_script: | |
| # Install dependencies | |
| - sh docker_install.sh > /dev/null | |
| cache: | |
| paths: | |
| - vendor/ | |
| php:7.1: | |
| image: php:7.1-alpine | 
  
    
      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
    
  
  
    
  | <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <script src="vue.js"></script> | |
| <script> | |
| const data = [ | |
| { | |
| "id": "739d8b36-e80f-4c04-9188-757a5bd64e70", | |
| "headline": "Liverpool initiative for renewing housing stock to benefit local contractors" | |
| }, | 
  
    
      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
    
  
  
    
  | <?php | |
| abstract class Factory | |
| { | |
| /** @var \Illuminate\Database\ConnectionInterface */ | |
| private $database; | |
| /** @var \Faker\Generator */ | |
| protected $faker; | |
| protected $attributes = []; | 
  
    
      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
    
  
  
    
  | server { | |
| listen 80; | |
| location / { | |
| root /usr/share/nginx/html; | |
| index index.php index.html index.htm; | |
| try_files $uri $uri/ /index.php?$query_string; | |
| } | 
  
    
      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
    
  
  
    
  | server { | |
| listen 80; | |
| root /usr/share/nginx/html; | |
| index index.html index.htm index.php; | |
| charset utf-8; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| set -ue | |
| git fetch | |
| git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d | 
  
    
      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
    
  
  
    
  | #!/bin/sh | |
| # An example hook script to verify what is about to be pushed to master. Called | |
| # by "git push" after it has checked the remote status, but before anything has | |
| # been pushed. If this script exits with a non-zero status nothing will be | |
| # pushed. | |
| # | |
| # This hook is called with the following parameters: | |
| # | |
| # $1 -- Name of the remote to which the push is being done |