Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayIterator committed Nov 16, 2023
0 parents commit 14a72fc
Show file tree
Hide file tree
Showing 26 changed files with 3,007 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "Continuous Integration"

on:
- pull_request
- push

jobs:
continuous-integration-php-82:
name: "Coding Standards"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@master
- name: "Install Php 8.2"
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer:v2
extensions: openssl, json, pdo, pdo_mysql, fileinfo, curl
- name: "Validate composer.json"
run: php $(which composer) validate --strict
- name: "Install dependencies with composer"
run: php $(which composer) install --no-interaction --no-progress --no-suggest
- name: "Run PHP CodeSniffer"
run: php vendor/bin/phpcs --standard=phpcs.xml
continuous-integration-php-83:
name: "Coding Standards"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@master
- name: "Install Php 8.3"
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: composer:v2
extensions: openssl, json, pdo, pdo_mysql, fileinfo, curl
- name: "Validate composer.json"
run: php $(which composer) validate --strict
- name: "Install dependencies with composer"
run: php $(which composer) install --no-interaction --no-progress --no-suggest
- name: "Run PHP CodeSniffer"
run: php vendor/bin/phpcs --standard=phpcs.xml
103 changes: 103 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.DS_Store


# Windows Installer files
*.cab
*.msi
*.msm
*.msp
*.exe

# Windows shortcuts
*.lnk

#
# =================================
# Gitignore For Linux OS
# =================================

# KDE directory preferences
.directory


#
# =================================
# Gitignore For Jetbrain
# =================================

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
*.iml

# Directory-based project format:
#.idea/*.xml
.idea/

# File-based project format:
*.ipr
*.iws

# JIRA plugin
atlassian-ide-plugin.xml

#
# =================================
# Gitignore For Text Editor
# =================================

# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache

# workspace files are user-specific
*.sublime-workspace

# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project

# sftp configuration file
sftp-config.json

# Ignore Sublime .phpintel
.phpintel

# Ignore Visual Studio code
.vscode

#
# =================================
# Gitignore For Composer & Projects
# =================================

# ignore all log file
*.log

# ignore composer lock
composer.lock

# ignore composer phar file
composer.phar

# add exclude vendor
vendor/

# ignore npm lock
package-lock.json

# ignore node modules
node_modules/

# IGNORE ENVIRONMENT
.env
config.php
.config.php
# ignore php ini user
.user.ini
Loading

0 comments on commit 14a72fc

Please sign in to comment.