Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4 #628

Merged
merged 293 commits into from
Sep 10, 2023
Merged

v4 #628

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
293 commits
Select commit Hold shift + click to select a range
a558721
refactor(src) update Generator classes
lucatume Aug 10, 2022
daf3514
fix(src) imported count function
lucatume Aug 10, 2022
b6f6dce
build(Makefile) .env.testing.docker -> .env.docker
lucatume Aug 10, 2022
3131bcf
refactor(src) review and update Events API
lucatume Aug 12, 2022
806ece1
refactor(includes) rename old take on PHPUnit core suite
lucatume Aug 12, 2022
a50aedf
test(functional) update suite configuration file
lucatume Aug 12, 2022
5a87d95
refactor(src) remove WithEvents trait
lucatume Aug 13, 2022
5d889f9
fix(Module/WPDb) correctly fetch the WPFilesystem module
lucatume Aug 13, 2022
8aa6ad8
fix(Utils/Serializer) serialize objects and arrays only
lucatume Aug 13, 2022
9f2326f
test(functional) update suite configuration file
lucatume Aug 13, 2022
7f2311a
build(Makefile) add mysql_cli target
lucatume Aug 13, 2022
4f13bdd
build(Makefile) add .PHONY to phony targets
lucatume Aug 13, 2022
d587c07
build(Makefile) mysql_cli -> ssh_mysql
lucatume Aug 13, 2022
a5a031b
test(functional) remove test for Handlebars syntax
lucatume Aug 13, 2022
779b9c9
doc(CHANGELOG.md) add entry about removal of support of Handlebars sy…
lucatume Aug 13, 2022
902b3d7
doc(version-4-todos.txt) add not about docs update
lucatume Aug 13, 2022
80b327f
build(rector.php) fix syntax issue
lucatume Aug 13, 2022
c42332f
test(init) fix import issue
lucatume Aug 13, 2022
db58664
refactor(Template/WithInjectableHelpers) update code to PHP 8
lucatume Aug 13, 2022
d1035bf
refactor(Template/WPBrowser) udpate init template
lucatume Aug 13, 2022
3ba9b2b
test(isolated) update suite configureation file
lucatume Aug 15, 2022
57f0ba2
fix(Module/WPLoader) update path to Core PHPUnit suite test suite
lucatume Aug 15, 2022
a802ea8
test(wploadermodule) udpate suite configuration file
lucatume Aug 15, 2022
3281d41
refactor(Module/WPQueries) update to PHP 8
lucatume Aug 15, 2022
20b09c1
build(Makefile) build includes Core suite from master branch
lucatume Aug 15, 2022
557aa05
replace previous includes with fresh includes
lucatume Aug 15, 2022
bdb512c
refactor(Utils/Filesystem) realpathish -> realpath
lucatume Aug 15, 2022
ab7bb50
feat(Utils/Password) add salt generation facility
lucatume Aug 15, 2022
10dbb84
refactor(Module/WPLoader) first refactor pass to use Core test suite …
lucatume Aug 15, 2022
ecbeb72
refactor(src) redirect functions to static methods
lucatume Aug 18, 2022
71186ad
refactor(src) deprecate all functions
lucatume Aug 18, 2022
d0219a0
refactor(src) start re-implementation of WPTestCase et al
lucatume Aug 18, 2022
a2e6589
refactor(src) clean up generators, remove unused
lucatume Aug 19, 2022
b3f76ed
refactor(TestCase/WPTestCase) implement Core test case redirection
lucatume Aug 19, 2022
848d333
refactor(src) activate plugins in separated process
lucatume Aug 20, 2022
c66c6f0
refactor(src) activate plugins/theme in process
lucatume Aug 22, 2022
1f8c602
refactor(includes/core-phpunit) extend PHPUnit test case in Yoast stub
lucatume Aug 27, 2022
03144e8
refactor(Module/WPLoader) better capturing of plugin/theme activation…
lucatume Aug 27, 2022
c165da2
test(wploadersuite) pull env from super-global
lucatume Aug 27, 2022
4d5d3ac
build(Makefile) patch abstract-testcase.php after update
lucatume Aug 27, 2022
272cc8b
fix(includes/core-phpunit) open up methods, replace get_called_class(…
lucatume Aug 27, 2022
64aad76
refactor(TestCase/WPTestCase) rewrite Unit + Core
lucatume Aug 27, 2022
03ab8d3
refactor(MonkeyPatch) 1 <> 1 patcher and file relationship
lucatume Aug 27, 2022
0633f28
refactor(src) extract file request functionality
lucatume Aug 29, 2022
4c810da
fix(TestCase/WPTestCase) add queries method
lucatume Aug 29, 2022
0980457
WiP - refactor initialization
lucatume Sep 1, 2022
fb89d4d
refactor(src,tests) clean up more
lucatume Nov 8, 2022
94b1d11
build(Makefile) add missing fast-failure flag
lucatume Nov 8, 2022
c690600
build(_data/dump.sql) update to use twentytwentyone theme
lucatume Nov 8, 2022
29203b3
refactor(WordPress/FileRequest) add preLoadClosure support
lucatume Nov 8, 2022
867e544
build(Makefile) pull WP Core PHPUnit from trunk
lucatume Nov 8, 2022
8b56189
build(includes/core-phpunit) update from trunk
lucatume Nov 8, 2022
dc71ee0
fix(Module/WPCLI) update to use Process
lucatume Nov 11, 2022
5b21e19
fix(Utils/Db) update import function to use Process"
lucatume Nov 11, 2022
3a5b2f9
test(dbunit) update snapshots
lucatume Nov 11, 2022
699ee3a
refactor(Templates/Wpbrowser) clean up, reduce
lucatume Nov 15, 2022
082f0e3
build(Makefile) move skipped test suite to end
lucatume Nov 16, 2022
f74a883
chore(Module/WPLoader) remove todo
lucatume Nov 16, 2022
82faa56
fix(wp-tests-config.php) do not pre-fill WP_MULTISITE const
lucatume Nov 16, 2022
1a9bd89
refactor(WPLoader,FileRequest) support multisite
lucatume Nov 17, 2022
f998202
refactor(tests,src) deprecate Map, move tests
lucatume Nov 19, 2022
aed44c0
refactor(src,tests) remove Map, Data usages, update tests to use uopz
lucatume Nov 22, 2022
4e3fb79
test(unit) complete update to WPFileSystem test case
lucatume Nov 23, 2022
329410b
refactor(Module/WPLoader) start BDD refactoring
lucatume Nov 23, 2022
bfc7c1e
refactor(Module/WPLoader) use WP Installation object
lucatume Nov 24, 2022
55bbd8f
refactor(WordPress/Installation) state pattern
lucatume Nov 25, 2022
11d36fa
chore(includes) update from Core PHPUnit suite
lucatume Jan 16, 2023
fbf547a
refactor(src) remove deprecated import
lucatume Jan 16, 2023
1d16ae9
Static analysis for bug-free development
szepeviktor Jan 16, 2023
792d0af
Merge pull request #595 from szepeviktor/patch-2
lucatume Jan 17, 2023
ff727cf
feat(StreamWrapper) add file contents redirection patcher
lucatume Jan 17, 2023
386a3e2
feat(Utils/Filesystem) add function to get/create tmp subdir
lucatume Jan 17, 2023
fb5bb50
refactor(WPLoader) iterate on tests
lucatume Jan 17, 2023
e4b391c
Merge branch 'version-4/minimum-compat-pass' of github.com:lucatume/w…
lucatume Jan 17, 2023
dbd2933
build(composer.json) remove vfsstream dependency
lucatume Jan 18, 2023
50c0b19
test(unit) update Copier extension tests to use real FS
lucatume Jan 18, 2023
a8332e5
refactor(Module) remove the WordPress module
lucatume Jan 18, 2023
bda58ae
fix(Utils/Filesystem) touch empty files
lucatume Jan 19, 2023
76cd487
test(unit) refactor WPDb test, remove mock, use real db
lucatume Jan 19, 2023
4c3e32a
test(unit) remove unused trait
lucatume Jan 19, 2023
8325214
refactor(Module/WPQueries) remove const abstraction, update tests
lucatume Jan 21, 2023
9e277d5
refactor(Services/Bootstrapper) remove
lucatume Jan 21, 2023
e1bf079
refactor(Symlinker) remove unused statement
lucatume Jan 21, 2023
4029bfd
test(unit) remove unused trait from WPCLITest
lucatume Jan 21, 2023
6c3d238
test(unit) update WP, WPQueries tests
lucatume Jan 22, 2023
027c89c
Add CI running only PHPStan
szepeviktor Jan 22, 2023
414c8ed
Merge pull request #597 from szepeviktor/patch-2
lucatume Jan 23, 2023
62dc889
Fix CI config path
szepeviktor Jan 23, 2023
750daed
Fix unbound package versions
szepeviktor Jan 23, 2023
b7c6e3f
chore(tests) remove unused _containers dir
lucatume Jan 23, 2023
639a213
refactor(Extensions/Symlinker) clean up code and tests
lucatume Jan 23, 2023
d30b667
Merge branch 'version-4/minimum-compat-pass' of github.com:lucatume/w…
lucatume Jan 23, 2023
02bb052
Merge pull request #598 from szepeviktor/patch-2
lucatume Jan 23, 2023
9b85957
Don't run CI twice in a local branch
szepeviktor Jan 23, 2023
07f3dd4
Merge pull request #599 from szepeviktor/patch-2
lucatume Jan 24, 2023
5705ab7
build(Makefile) clean up
lucatume Feb 28, 2023
1820d5e
Merge branch 'version-4/minimum-compat-pass' of github.com:lucatume/w…
lucatume Feb 28, 2023
2aaa1bf
build(bin/gitattributes-update) add to update gitattributes automatic…
lucatume Mar 1, 2023
ef7474e
build(composer.json) remove codeception/util-universalframework as cu…
lucatume Mar 1, 2023
f07f31b
src(Command) add the run:all command to run all the suites, bare mini…
lucatume Mar 1, 2023
d16eb60
build(Makefile) restore update_core_phpunit_target
lucatume Mar 1, 2023
b50fccf
build(Makefile,bin) move Core PHPUnit includes update
lucatume Mar 1, 2023
17fb318
build(includes/core-phpunit) update
lucatume Mar 1, 2023
c7b863c
build(test/.env) use correct admin password
lucatume Mar 2, 2023
48965f1
build(docker-compose.yml) add chrome and wp healthcheck
lucatume Mar 2, 2023
b72daac
build(bin/stack) add up and down commands support
lucatume Mar 2, 2023
8db6276
fix(Events) capture global Codeception instance correctly
lucatume Mar 2, 2023
b8548d4
build(composer.json) track dev v1.0.0 of codeception snapshot assertions
lucatume Mar 3, 2023
40bd8d9
test(_support) add StubFactory, use with uopz_set_mock
lucatume Mar 3, 2023
f49af60
test(unit) add first RunAll command coverage
lucatume Mar 3, 2023
4e9150b
test(unit) clean up of RunAll test and connected facilities
lucatume Mar 4, 2023
32d5674
build(config/containers) enable coverage mode in XDebug
lucatume Mar 5, 2023
031f003
refactor(Commands/RunAll) simpler codecept bin finding
lucatume Mar 5, 2023
72be095
feat(WordPress/Installation) scaffold report support [skip ci]
lucatume Mar 5, 2023
367bad0
refactor(src) remove WPHealthcheck class in favor of installation
lucatume Mar 6, 2023
76fc8d7
refactor(src) remove unused classes
lucatume Mar 6, 2023
8a6c160
refactor(src) remove unused script files
lucatume Mar 6, 2023
c7bc025
refactor(src) remove Stub and Function prophecy classes
lucatume Mar 6, 2023
d7bb671
build(bin) remove .sh extension from bin file
lucatume Mar 6, 2023
61a2baf
refactor(src) cleanup doc blocks, remove stubbed interface method
lucatume Mar 6, 2023
715f908
test(unit) remove unused import
lucatume Mar 6, 2023
33fac5f
move installation tmp dir to tmpfs
lucatume Mar 6, 2023
878bd4f
refactor(src) remove the Utils\Map class
lucatume Mar 6, 2023
38e96e9
test(unit) update snapshots
lucatume Mar 6, 2023
6ce952f
refactor(src) remove unused WP adapter
lucatume Mar 7, 2023
9357c62
build(docker-compose.yml) set mode, uid, gid in tmpfs volume
lucatume Mar 7, 2023
476e3ee
refactor(Module/WPLoader) remove optional WP loading from initialize
lucatume Mar 7, 2023
029e79e
feat(Process) add requireFiles and cwd options support
lucatume Mar 7, 2023
244daaf
feat(Utils/Filesystem) allow per-call tmp root dir
lucatume Mar 7, 2023
5a9d614
test(unit) try out Loop-based execution
lucatume Mar 7, 2023
f29f566
refactor(Loop) suport rethrow option
lucatume Mar 11, 2023
bf7509f
doc(tla) add spec from ork
lucatume Mar 15, 2023
30380db
refactor(src) rewrite the process execution protocol
lucatume Mar 21, 2023
f65c120
fix(Process/Control) hydrate Codeception config before merge
lucatume Mar 22, 2023
c4401b6
build(docker-compose) use RAMdisk on macOS
lucatume Mar 22, 2023
2b92297
fix(Process/Control) set cwd and Codeception root dir correctly
lucatume Mar 22, 2023
7dc5ef8
fix(Process/Control) set Composer paths
lucatume Mar 23, 2023
1160f5b
fix(Process) Compsoer autoload file path and dir
lucatume Mar 23, 2023
337e7c1
refactor(WPLoader) move WP load concern out of module
lucatume Mar 28, 2023
0bbbdc9
build(docker-compose.yml) fix tmpfs for /var/tmp
lucatume Mar 30, 2023
25f6f01
fix(src) multi-line error parsing, more WPLoader tests
lucatume Apr 4, 2023
54044a8
fix(WPLoader) update plugin theme activation logic
lucatume Apr 11, 2023
13c4f67
fix(WPLoader) activate plugins theme in separate process during boots…
lucatume Apr 12, 2023
92d5190
fix(Module/WPLoader) itereate, fix sep. process plugin/theme activation
lucatume Apr 13, 2023
62b0c93
fix installation logic
lucatume Apr 18, 2023
ae09986
build(bin/stack) use seleniarm chrome on arm64
lucatume Apr 22, 2023
022ae41
fix(src) InstallNetworkAction
lucatume Apr 24, 2023
a84674d
fix(Process/Loop) set STDOUT/STDERR correctly in result
lucatume Apr 25, 2023
ef579e9
feat(CodeExecution) add throw and exit action
lucatume Apr 25, 2023
bfc6259
refactor(WordPress/Installation) remove unused imports
lucatume Apr 25, 2023
dbc3dee
test(unit) update action mock logic, update expectations
lucatume Apr 25, 2023
1dddc79
test(unit) update and fix not passing tests
lucatume Apr 27, 2023
f148f3d
test(unit) update snapshots
lucatume Apr 27, 2023
b614c38
refactor(src) remove unused import
lucatume Apr 27, 2023
5376d56
feat(WPLoader) add multiple-dump support
lucatume Apr 29, 2023
5e4aef3
build(.github) update container build paths
lucatume Apr 29, 2023
08ed529
build(bin/stack) skip buildables on -s
lucatume Apr 29, 2023
b89a806
build(.github) debug build
lucatume Apr 29, 2023
1bf1a9c
build(.github,bin/stack) update, cache build layers
lucatume Apr 29, 2023
eef6f0a
fix(Module/WPDb) method call
lucatume Apr 29, 2023
dad20e5
build(.github) restore all PHP versions
lucatume Apr 29, 2023
ff1cb30
refactor(Init) re-do init template
lucatume May 2, 2023
08d547c
feat(WPLoader,WPDb) support dbUrl configuration param
lucatume May 3, 2023
e776dfa
fix(init) test and fix init template
lucatume May 3, 2023
b1fe890
refactor(composer.json) remove unused dependency
lucatume May 3, 2023
915ae84
refactor(src) remove module requirements and guard
lucatume May 4, 2023
9f772e2
refactor(Adpaters) remove PHPUnit assertions adapter
lucatume May 4, 2023
ee95379
refactor(Module/WPCLI) use CliProcess
lucatume May 4, 2023
d87d802
build(bin/stack) remove MacOS ramdisk hack code
lucatume May 8, 2023
3d28431
refactor(src,includes) PHPStan lvl 0 cleanup
lucatume May 9, 2023
6ecf5a6
refactor(src) PHPStan lvl 1 checks
lucatume May 9, 2023
6466141
refactor(src) PHPStan lvl2
lucatume May 9, 2023
976ab3c
refactor(src) PHPStan lvl3 pass
lucatume May 9, 2023
a851b8e
refactor(src) PHPStan lvl4 pass
lucatume May 9, 2023
f814893
refactor(src) PHPStan lvl5 pass
lucatume May 9, 2023
b38d344
build(composer.json) add rector, move config files
lucatume May 9, 2023
e947fdf
refactor(src) PHPStan lvl6 pass
lucatume May 10, 2023
2206a11
refactor(src) PHPStan lvl6 pass
lucatume May 10, 2023
18cd3b5
refactor(src) PHPStan lvl7 pass
lucatume May 11, 2023
5d7a932
refactor(src) PHPStan lvl8 pass
lucatume May 11, 2023
6e6b3c9
refactor(src) PHPStan lvl9 pass
lucatume May 12, 2023
bcf4ed4
build(bin/stack,Makefile) support phpstan command
lucatume May 31, 2023
207f824
build(phpcs) configure and setup to run from bin/stack
lucatume May 31, 2023
7af2101
style(src) fix phpcs issues
lucatume May 31, 2023
b7fcbfc
build(phpstan) update lvl to current max (9)
lucatume May 31, 2023
cd877c5
fix(src) second testing pass
lucatume Jun 1, 2023
a6d1c87
refactor(includes) internalize opis/closure 3.6.3
lucatume Jun 6, 2023
ded3341
refactor(src) tests, pass 3
lucatume Jun 11, 2023
f920f38
build(.github) skip cli test
lucatume Jun 14, 2023
0996420
build(config/containers) rm PHP ext installation bin
lucatume Jun 14, 2023
92eca84
fix(TmpFileCleanup) clean between tests
lucatume Jun 15, 2023
6bdfbad
test(tests) fix snapshots, debug some unit tests
lucatume Jun 15, 2023
fbcb85c
build(composer.json) dev-req codeception snapshot assertions 1.0.0
lucatume Jun 16, 2023
9ca5ad0
Merge pull request #577 from lucatume/version-4/minimum-compat-pass
lucatume Jun 17, 2023
2fd1167
chore(...) remove roleplay campaign file
lucatume Jun 18, 2023
d76b7d2
doc(astro) initial commit
lucatume Jun 23, 2023
6f705ba
doc(docs) fix links
lucatume Jun 23, 2023
dca9ffa
doc(docs) port over v3 docs
lucatume Jun 23, 2023
55036e8
docs(v4) start on setup work
lucatume Jun 26, 2023
1d53e41
refactor(src) fast setup work
lucatume Jun 26, 2023
8f80c38
refactor(src) dev:start and dev:stop commands from wp ns
lucatume Jul 19, 2023
7a0fdd9
refactor(DockerComposeController) use file to avoid check on run
lucatume Jul 19, 2023
687d8df
doc(README.md) change to dev:start, dev:stop
lucatume Jul 19, 2023
7c57e72
feat(Commands) add first version of DevInfo command
lucatume Jul 19, 2023
77123e7
fix(Command) RunAll correctly
lucatume Jul 19, 2023
dc8f0ab
Fix typos
szepeviktor Jul 20, 2023
a03dc8f
Revert false positive
szepeviktor Jul 20, 2023
ee13044
Fix CS
szepeviktor Jul 20, 2023
6eaa7f1
Fix curly brances in strings
szepeviktor Jul 20, 2023
4308c15
Fix mid-line TAB characters
szepeviktor Jul 20, 2023
a698fab
Merge pull request #622 from szepeviktor/fix-typos
lucatume Jul 21, 2023
ad56d2c
fix(Utils/Db) handle sqlite dbUrl
lucatume Jul 19, 2023
2ab6ffa
refactor(setup) finalix Plugin project setup
lucatume Jul 26, 2023
7e9ced3
refactor(setup) finalize plugin setup
lucatume Jul 27, 2023
7c39c11
build(composer.json) require symfony/filesytem explicitly
lucatume Jul 27, 2023
bb268e4
feat(setup) theme project
lucatume Jul 28, 2023
7fd9573
build(Makefile) pull sqlite plugin programmatically
lucatume Jul 28, 2023
a17fc9b
build(includes/core-phpunit) update from source
lucatume Jul 28, 2023
e25eb24
feat(setup) site support
lucatume Aug 3, 2023
00ce9c5
test(unit) cover process and controllers
lucatume Aug 12, 2023
451ae85
fix(src) phpstan pass
lucatume Aug 17, 2023
f840605
Merge remote-tracking branch 'origin/v4' into v4-docs
lucatume Aug 17, 2023
7bfa74a
test(typos) add config file, fix
lucatume Aug 17, 2023
95eabad
style(cs) fix
lucatume Aug 17, 2023
d63160e
test(build) update per extension removal
lucatume Aug 18, 2023
c7e7272
test(unit) cover commands
lucatume Aug 18, 2023
548cfb4
style(src) fix
lucatume Aug 18, 2023
94a28c9
test(unit) correctly track fs-templates/bedrock src files
lucatume Aug 18, 2023
a218fc3
build(composer.json) require chromedriver as dev dependency
lucatume Aug 18, 2023
83cce7f
test(codeception.dist.yml) re-add EventDispatcherBridge extension
lucatume Aug 18, 2023
c0d28d5
fix(Command) add command to download Chromedriver
lucatume Aug 22, 2023
5a4a69f
docs(docs) cleanup 2
lucatume Aug 24, 2023
6bf5c0c
doc(docs) fix typos
lucatume Aug 27, 2023
11e8f5a
fix(WPLoader) pull const information only from configured installations
lucatume Aug 27, 2023
d6d1303
doc(v3) port over v3 documentation
lucatume Aug 27, 2023
cc1ab4e
doc(v4) update headers, some smaller adjustments
lucatume Aug 27, 2023
c852ae3
Merge pull request #623 from lucatume/v4-docs
lucatume Aug 27, 2023
3b12879
doc(README.md) fis typo
lucatume Aug 27, 2023
35f73a1
docs(docs) update, build from MkDocs Material
lucatume Sep 5, 2023
6919bb0
build(config) update typos configuration
lucatume Sep 5, 2023
6ad619c
docs(docs,docs_src) update, move
lucatume Sep 5, 2023
9409b36
build(docs) add doc publishing action
lucatume Sep 5, 2023
c2a8ed7
build(docs) add build workflow
lucatume Sep 5, 2023
94bf8d2
docs(assets) add logo and favicon
lucatume Sep 6, 2023
37392ad
docs(module/WPLoader.md) fix missing link
lucatume Sep 6, 2023
b0934dc
Merge branch 'master' into v4
lucatume Sep 6, 2023
8551291
doc(CHANGELOG.md) clean up changelog entry
lucatume Sep 6, 2023
b964c7e
doc(docs) smaller logo src image
lucatume Sep 6, 2023
e15dcc3
build(*) update to build on metal, simplify stack
lucatume Sep 7, 2023
0c6a0d1
Merge pull request #629 from lucatume/v4-metal-build
lucatume Sep 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 20 additions & 20 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Exclude all build files
/.github export-ignore
/bin export-ignore
/config export-ignore
/containers export-ignore
/docs export-ignore
/tests export-ignore
/.env.testing export-ignore
/.gitattributes export-ignore
/.gitbook.yaml export-ignore
/.gitignore export-ignore
/codeception.dist.yml export-ignore
/composer.codecept-4.json export-ignore
/composer.lock export-ignore
/composer.codecept-4.lock export-ignore
/docker-compose.yml export-ignore
/dynamicReturnTypeMeta.json export-ignore
/Makefile export-ignore
/phpcs.xml export-ignore
/phpstan.neon.dist export-ignore
/.DS_Store export-ignore
/.cache export-ignore
/.git export-ignore
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/.idea export-ignore
/Makefile export-ignore
/bin export-ignore
/codeception.dist.yml export-ignore
/composer.lock export-ignore
/config export-ignore
/docker-compose.yml export-ignore
/docs export-ignore
/dynamicReturnTypeMeta.json export-ignore
/mkdocs.yml export-ignore
/tests export-ignore
/todo.txt export-ignore
/var export-ignore
/vendor export-ignore
5 changes: 0 additions & 5 deletions .gitbook.yaml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: docs
on:
push:
branches:
- v4
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: sudo apt-get install pngquant
- run: pip install git+https://${MKDOCS_GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git pillow
- run: mkdocs gh-deploy --force
env:
MKDOCS_GH_TOKEN: ${{ secrets.MKDOCS_GH_TOKEN }}
31 changes: 31 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow

name: "Spelling"

on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- "master"

permissions:
contents: "read"

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
typos_check:
name: "文A Typos check"
runs-on: "ubuntu-22.04"
timeout-minutes: 1
steps:
-
name: "Checkout repository"
uses: "actions/checkout@v3"
-
name: "Search for misspellings"
uses: "crate-ci/typos@master"
with:
config: ./config/typos.toml
41 changes: 0 additions & 41 deletions .github/workflows/static-analysis.yaml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow

name: "Static Analysis"

on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- "master"

permissions:
contents: "read"

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
static_analysis:
name: "Static Analysis"
runs-on: "ubuntu-22.04"
steps:
-
name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.0"
coverage: "none"
-
name: "Checkout repository"
uses: "actions/checkout@v3"
-
name: "Validate Composer configuration"
run: "composer validate --no-interaction --strict"
-
name: "Install dependencies"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"
-
name: "Check PSR-4 mapping"
run: "composer dump-autoload --no-interaction --optimize --strict-psr"
-
name: "Run PHPHStan"
run: "composer run stan"
-
name: "Run PHP Code Sniffer"
run: "composer run cs"
Loading
Loading