Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
b2b221f
Set working dir for `build` service explicitly
XedinUnknown Jul 2, 2020
6805a78
Add PHPUnit
XedinUnknown Jul 2, 2020
b31e225
Correct name of PHP interpreter
XedinUnknown Jul 2, 2020
0324414
Add `test` service
XedinUnknown Jul 2, 2020
68a82fd
Remove `.env` file from repo
XedinUnknown Jul 2, 2020
b110edd
Add database service and PHPStorm configuration
XedinUnknown Jul 2, 2020
aa5c467
Add xDebug support
XedinUnknown Jul 2, 2020
68a060d
Add WP dep
XedinUnknown Jul 2, 2020
d354ded
Add description of PHPStorm features
XedinUnknown Jul 2, 2020
cc2c4b4
Update PHPStorm config
XedinUnknown Jul 2, 2020
3054915
Add autoload path for test dir
XedinUnknown Jul 2, 2020
4c9abbb
Add autoload path for test dir
XedinUnknown Jul 2, 2020
271ee36
Increase stability of WordPress dev-dependency
XedinUnknown Jul 2, 2020
a09291d
Merge remote-tracking branch 'origin/initial' into initial
XedinUnknown Jul 2, 2020
984f722
Add CI instructions
XedinUnknown Jul 2, 2020
906a833
Fix error in workflow
XedinUnknown Jul 2, 2020
b89fa03
Add Psalm
XedinUnknown Jul 2, 2020
cb3efd6
Add PHPCS
XedinUnknown Jul 2, 2020
4e7b940
Add static code analysis to feature description
XedinUnknown Jul 2, 2020
b9bb166
Add dummy source and autoload mapping
XedinUnknown Jul 2, 2020
d94f02e
Add CI description to features
XedinUnknown Jul 2, 2020
2fc6004
Try to make Psalm faster
XedinUnknown Jul 2, 2020
762bab5
Add changelog
XedinUnknown Jul 2, 2020
378bf2c
Add license file
XedinUnknown Jul 2, 2020
deb59f8
Add deps
XedinUnknown Jul 7, 2020
e5cd2ef
Add `ModularModule`
XedinUnknown Jul 7, 2020
12efa2f
Main file now includes Composer autoload
XedinUnknown Jul 7, 2020
04f2c33
Correct test directive and namespace
XedinUnknown Jul 7, 2020
d786c23
Correct func test folder name
XedinUnknown Jul 7, 2020
a56f66d
New `ROOT_DIR` constant now available in tests
XedinUnknown Jul 7, 2020
88c2e53
Add module declaration
XedinUnknown Jul 7, 2020
bae10ee
Add core local module
XedinUnknown Jul 7, 2020
8a010ed
Add missing return type to `run()`
XedinUnknown Jul 7, 2020
186b7a8
Using value of bootstrap, for ease of understanding
XedinUnknown Jul 9, 2020
172e502
Add basic plugin services
XedinUnknown Jul 9, 2020
9b40255
Correct letter case
XedinUnknown Jul 9, 2020
bd06d58
Fix formatting
XedinUnknown Jul 9, 2020
ebade73
Add doc on adding modules
XedinUnknown Jul 9, 2020
24227dc
Feature banch now aliased to `0.1.x-dev`
XedinUnknown Jul 9, 2020
9d776b3
A PHP 7.4 rule message is now a warning
XedinUnknown Jul 9, 2020
500f832
Update package name
XedinUnknown Jul 9, 2020
24140fb
Correct CLI command in doc
XedinUnknown Jul 9, 2020
bb23393
Merge branch 'develop' into initial
XedinUnknown Jul 9, 2020
1a09de1
Fix bootstrap invocation
XedinUnknown Jul 9, 2020
00de100
Update lockfile
XedinUnknown Jul 10, 2020
773bd8e
Document composer-merge-plugin usage better
XedinUnknown Jul 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .env

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Continuous Integration
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.1', '7.2', '7.3', '7.4']

steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Analysing source code
run: find ./src/ ./inc/ ./tests/ -type f -name '*.php' -print0 | xargs -0 -L 1 -P 4 -- php -l

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

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: PhpUnit
run: ./vendor/bin/phpunit

- name: Psalm
run: ./vendor/bin/psalm --show-info=false --threads=8 --diff --diff-methods

- name: PHPCS
run: ./vendor/bin/phpcs -s --report-source --runtime-set ignore_warnings_on_exit 1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/.idea/codeStyles/
/.idea/inspectionProfiles/
/.idea/misc.xml
/.env
11 changes: 11 additions & 0 deletions .idea/dataSources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/deployment.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/php-test-framework.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

132 changes: 129 additions & 3 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/phpunit.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions .idea/plugin.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/remote-mappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/webServers.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change log
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [[*next-version*]] - YYYY-MM-DD
Initial version.
Loading