Skip to content

Commit

Permalink
Merge pull request #160 from GwynethLlewelyn/devel
Browse files Browse the repository at this point in the history
First attempt to get PHP 8.0 support
  • Loading branch information
ajdonnison authored Nov 3, 2024
2 parents 5da366c + c3d4c8e commit aca232b
Show file tree
Hide file tree
Showing 422 changed files with 67,165 additions and 25,234 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"env": {
"browser": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
}
}
39 changes: 39 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PHP Composer

on:
push:
branches: [ "devel" ]
pull_request:
branches: [ "devel" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

# - name: Run test suite
# run: composer run-script test
59 changes: 46 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,46 @@
.buildpath
.settings
.project
.DS_Store
includes/config.php
files/*
!files/index.html
!files/temp/index.html
lib/ezpdf/fonts/php_*
/nbproject/private/
/nbproject
/dotProject/
!/modules/files/
.buildpath
.settings
.project
includes/config.php
files/*
!files/index.html
!files/temp/index.html
lib/ezpdf/fonts/php_*
/nbproject/private/
/nbproject
/dotProject/
!/modules/files/

# Stupid macOS temporary files

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Stuff from the Nova editor
.nova
.editorconfig
Loading

0 comments on commit aca232b

Please sign in to comment.