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

PSR 2 Adoption #2358

Merged
merged 185 commits into from
Oct 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
994e9d4
added php code sniffer config
splitbrain Apr 27, 2018
ffa824e
removed obsolete CS setup
splitbrain Apr 27, 2018
b4f2363
remove DOKU_INC checks
splitbrain Apr 27, 2018
4b3d170
do not check for namespace use, yet
splitbrain Apr 27, 2018
99c1e5d
disable some sniffs on things we can not change
splitbrain Apr 27, 2018
09d57d5
adldap is a 3rd party lib
splitbrain Apr 27, 2018
64159a6
line lengths shortened
splitbrain Apr 27, 2018
aba86f3
visibility fixes
splitbrain Apr 27, 2018
3dc2d50
visibility declarations in plugins
splitbrain Apr 27, 2018
42c2870
plugin prototype adjustments
splitbrain Apr 27, 2018
a087da7
fixed broken tests
splitbrain Apr 27, 2018
d2778ca
correctly autoload the parser stuff
splitbrain Apr 27, 2018
de36992
visibility definition for the renderers
splitbrain Apr 28, 2018
36dc94b
split out parser modes into their own files
splitbrain Apr 28, 2018
e6686e8
fixed wrong quoting
splitbrain Apr 28, 2018
5c2aad1
split handler.php into multiple files
splitbrain Apr 30, 2018
ffc2cc4
Merge branch 'master' into psr2
splitbrain Apr 30, 2018
47f73ec
adjusted Doku_Parser for PSR-2
splitbrain May 4, 2018
de22611
adjusted the Lexer for PSR-2
splitbrain May 4, 2018
836f6ef
add methods to test interal properties
splitbrain May 4, 2018
8b1b81b
cleaned up Doku_Handler for PSR-2
splitbrain May 4, 2018
e9eace7
rename invokeParser to invokeHandler
splitbrain May 4, 2018
be906b5
moved all parsing related namespaces to their own
splitbrain May 4, 2018
d4d8fb1
moved Parser to Parsing namespace
splitbrain May 4, 2018
23f4cc4
do not use DOKU_PARSER_EOL outside of testing
splitbrain May 7, 2018
e1cdd96
some more visibility declarations
splitbrain May 7, 2018
dd87735
PSR-2 compatibility for the remote API libs
splitbrain May 7, 2018
4cdb684
started a dedicated file for deprecated stuff
splitbrain May 7, 2018
272a98e
Merge branch 'master' into psr2
splitbrain May 7, 2018
1cdd009
moved XMLRPC server class from lib/exe to inc/Remote
splitbrain May 7, 2018
29fc53c
PSR-2 for popularity plugin
splitbrain May 8, 2018
957f36a
PSR-2 compatibility for info plugin
splitbrain May 8, 2018
3213bf4
PSR-2 for authpdo plugin
splitbrain May 8, 2018
d0a7b19
fixed class name
splitbrain May 8, 2018
18b1e90
PSR-2 for extension plugin
splitbrain May 8, 2018
e79ce39
adjusted phpcs config for plugins
splitbrain May 8, 2018
82f7cb0
adjust remote plugin handling in code check
splitbrain May 11, 2018
71a75f0
PSR2 for styling plugin
splitbrain May 11, 2018
a433732
PSR-2 for authad plugin
splitbrain May 11, 2018
661d78e
PSR-2 for safefnrecode plugin
splitbrain May 11, 2018
5aa905e
PSR-2 for authplain plugin
splitbrain May 11, 2018
fdf613b
fixed auth plain test
splitbrain May 11, 2018
a4e3d55
PSR-2 for ACL plugin
splitbrain May 11, 2018
d17fc5d
PSR-2 for authldap plugin
splitbrain May 11, 2018
3a97d93
PSR-2 for usermanager plugin
splitbrain May 11, 2018
2a7fef4
PSR-2 for revert plugin
splitbrain May 11, 2018
a390de9
Merge branch 'master' into psr2
splitbrain May 11, 2018
c6639e6
start of refactoring the config plugin
splitbrain May 11, 2018
e063bab
moved php parser to it's own file
splitbrain May 11, 2018
6850fd4
created a configuration Loader class
splitbrain May 11, 2018
8ea5685
moved the whole settings class mechanism to it's own class
splitbrain May 11, 2018
5a38a12
added Writer class for saving the config back to file
splitbrain May 11, 2018
077c27b
adjusted basic loading saving in admin
splitbrain May 11, 2018
5675a07
moved language loading to the loader
splitbrain May 12, 2018
a017dff
introduce getType for Settings
splitbrain May 12, 2018
5c17d2d
first go over the settings classes for PSR-2
splitbrain May 12, 2018
a1ef8b4
PSR2 adjustments for admin class
splitbrain May 12, 2018
edba97f
fixed the minimal tests we have
splitbrain May 12, 2018
ced9623
corectly disable sniff for one file
splitbrain May 14, 2018
d9d27cd
Merge branch 'master' into psr2
splitbrain May 17, 2018
de33cda
Merge branch 'psr2' into psr2-config
splitbrain May 18, 2018
be1cc9a
replaced ptln() with echo
splitbrain May 18, 2018
0a5b05e
Moved settings to their own namespace
splitbrain May 18, 2018
70b28bc
check for opcache function before using it
splitbrain May 18, 2018
d7e6f39
Merge branch 'testinit' into psr2-config
splitbrain May 18, 2018
eb1b595
basic test for the Writer class
splitbrain May 18, 2018
e98b5e4
sucess is green
splitbrain May 18, 2018
5d703e3
Also allow test files ending in Test.php
splitbrain May 20, 2018
f00299d
extract save checking into own method
splitbrain May 20, 2018
af40dea
proper defaults for initialize
splitbrain May 20, 2018
98a151b
Some first Setting class tests
splitbrain May 20, 2018
c73b800
some more tests on the output mechanism
splitbrain May 20, 2018
661c1dd
Make lexer/state stack more understandable
Chris--S May 23, 2018
91109d5
Fixed some bugs in the Loader and added tests
splitbrain May 25, 2018
8eb28c6
Merge branch 'master' into psr2
splitbrain May 25, 2018
303ffdf
Merge branch 'psr2' into psr2-config
splitbrain May 25, 2018
d6fc72e
fix language and TOC handling
splitbrain May 25, 2018
6dd8fd8
some more testing
splitbrain May 25, 2018
28cc4f4
make the onoff setting more boolean
splitbrain May 25, 2018
d6987bd
fixed updateSettings iteration
splitbrain May 25, 2018
e901cf7
make abstract test abstract again
splitbrain May 25, 2018
8356fe6
improve update() comments
Chris--S May 25, 2018
5f43ccc
Merge pull request #2404 from splitbrain/psr2-config-update-comments
splitbrain May 25, 2018
f37fd93
fix numericopt setting
splitbrain May 25, 2018
53f3816
do not drop undefined settings when saving the configuration
splitbrain May 25, 2018
80302b1
readd PLUGIN_CONFIG_PLUGINLIST event
splitbrain May 25, 2018
3b223df
pass correct array in event
splitbrain May 26, 2018
13b5250
removed constructor parameters we never use
splitbrain May 26, 2018
4667676
clean settings data
splitbrain Jun 1, 2018
fbe5f61
removed fixme that had been fixed
splitbrain Jun 1, 2018
e729604
make undefined settings output work again
splitbrain Jun 1, 2018
7a0ee53
show other errors in undefined settings again
splitbrain Jun 1, 2018
b71f246
an empty class is valid, only truly no class is bad
splitbrain Jun 1, 2018
f74addc
remove support for _cautionList
splitbrain Jun 1, 2018
a6e1db4
fallback classes for plugins inheriting from old settings classes
splitbrain Jun 1, 2018
f8dcd5b
do not initialize the configuration in constructor
splitbrain Jun 1, 2018
c68e269
Merge pull request #2382 from splitbrain/psr2-config
splitbrain Jun 15, 2018
2b2d0ba
PSR2 adjustments for bin scripts
splitbrain Jun 1, 2018
1a953a5
ignore side effects in a few more files
splitbrain Jun 1, 2018
9ddafce
Merge branch 'master' into psr2
splitbrain Jun 15, 2018
1696f72
remove debugging stuff from detail.php
splitbrain Jun 15, 2018
432adb3
split sitemapping into its own namespace
splitbrain Jun 15, 2018
0c3a570
split changelog classes into their own namespace
splitbrain Jun 15, 2018
b78f68b
some small fixes for PSR2
splitbrain Jun 15, 2018
4da1351
change marquee headline to building for the future
Chris--S Jun 21, 2018
91a976f
Revert previous commit (made in error)
Chris--S Jun 21, 2018
3409ba7
fixed popularity plugin
splitbrain Jul 21, 2018
277113f
Merge branch 'master' into psr2
splitbrain Jul 27, 2018
d443762
deprecated JSON class
splitbrain Jul 27, 2018
3aa984a
metadata.php: applied PSR2 Coding Style Guide
lpaulsen93 Jan 4, 2019
33361a1
Merge pull request #2653 from LarsGit223/psr2
splitbrain Jan 9, 2019
0db5771
Refactor cache.php into different files
micgro42 Feb 2, 2019
42c00b4
Rename methods to conform with PSR 2
micgro42 Feb 2, 2019
72c2bae
Fix typo and rename method in comments too
micgro42 Feb 4, 2019
43ff105
Adjust comment to better reflect method
micgro42 Feb 4, 2019
d2f1d7a
Rename fields and add deprecated __get/__set
micgro42 Feb 14, 2019
fec08cc
Use DokuWiki's own deprecation reporters
micgro42 Feb 14, 2019
923e149
Merge branch 'master' into psr2
micgro42 Feb 15, 2019
1f4834b
Merge pull request #2697 from splitbrain/master2psr2
splitbrain Feb 19, 2019
b196d8d
don't apply any memory limits when running code sniffer
splitbrain Feb 19, 2019
ccc4c71
adjusted the Input clases for PSR2
splitbrain Feb 19, 2019
2140e75
Merge branch 'master' into psr2
splitbrain Feb 19, 2019
2ed72d0
rename Ajax Callbacks for PSR2
splitbrain Feb 19, 2019
b4b0b31
Use deprecation helper
micgro42 Feb 22, 2019
963c693
PSR2 adjustments for SafeFN
splitbrain Feb 24, 2019
dd8af03
ignore more files in code sniffer configuration
splitbrain Feb 24, 2019
c472ace
PSR2 cleanup for the feedparser override
splitbrain Feb 24, 2019
e24a74c
PSR2 style fixes
splitbrain Feb 24, 2019
dc7da77
Use setter instead of deprecate public property
micgro42 Feb 24, 2019
0c5eb5e
Refactor deprecation logging into its own class
micgro42 Feb 25, 2019
27cff89
Remove PHP user deprecation errors
micgro42 Feb 25, 2019
d8b4928
Merge pull request #2689 from splitbrain/refactorCachePSR2
splitbrain Feb 27, 2019
c3cc6e0
PSR2 adjustments for the PassHash class
splitbrain Mar 6, 2019
e9f4a0f
Merge branch 'master' into psr2
splitbrain Mar 6, 2019
198564a
Refactor HTTPClient into different files
micgro42 Mar 17, 2019
60b9af7
Move deprecated HTTPClient classes to deprecated.php
micgro42 Mar 17, 2019
0efa8d1
Rename protected methods for PSR2
micgro42 Mar 17, 2019
5a8d6e4
Rename HTTPClient namespace to HTTP
micgro42 Mar 26, 2019
5f3a457
Merge pull request #2725 from splitbrain/refctorHTTPCLient
splitbrain Mar 30, 2019
abc9c0d
Merge branch 'master' into psr2
splitbrain Mar 30, 2019
2402e44
avoide codesniff warnings on deliberate switch fallthrough
splitbrain Mar 30, 2019
749c002
some PSR-2 fixes for the Mailer class
splitbrain Apr 20, 2019
e1d9dcc
First go at moving the plugin classes into their own namespace
splitbrain Jun 15, 2018
cbb44ea
deprecated trigger_event() in favor of a static method on Event
splitbrain Jun 15, 2018
c630f65
removed deleted file from autoloader
splitbrain Jun 15, 2018
3a7140a
moved plugin controller to Extension namespace
splitbrain Jun 15, 2018
2a93a6a
fix type hints
splitbrain Jun 16, 2018
f219f38
removed get_directory() method from PluginController
splitbrain Jul 20, 2018
fbccc3e
isEnabled instead of isDisabled
splitbrain Jul 20, 2018
89614c8
Avoid processing events before the Event System is intiialized
splitbrain Jul 20, 2018
fdf261b
Avoid accessing the evet system before it's intialized
splitbrain Apr 20, 2019
479c05b
♻️ Extract subscription classes for PSR 2
micgro42 Apr 20, 2019
47de339
✅ Fix Subscriptions tests
micgro42 Apr 20, 2019
9c22b77
Automatic code style fixes for subscription classes
micgro42 Apr 20, 2019
75d6649
♻️ Don't use deprecated subscription methods
micgro42 Apr 20, 2019
1935a89
Move list of plugin types to plugin controller constant
splitbrain Apr 21, 2019
42f12f7
snake to camel case fixes in EventHandler
splitbrain Apr 22, 2019
7c9b63b
minor code simplification
splitbrain Apr 22, 2019
091ad7b
Fix snake->camel case, doc blocks
splitbrain Apr 22, 2019
c904b9f
Snake to Camel case fixes inn PluginController
splitbrain Apr 22, 2019
c47e666
Minor optimizations in PluginController
splitbrain Apr 22, 2019
704a815
♻️ Split up ChangesSubscriptionSender into multiple classes
micgro42 Apr 22, 2019
451969a
🚚 Move Subscription class to deprecated.php
micgro42 Apr 22, 2019
b8c09b6
Merge pull request #2759 from splitbrain/refactorSubscriptions
splitbrain May 19, 2019
820934d
Merge branch 'psr2-pluginredux' into psr2
splitbrain May 19, 2019
1dce047
adjust phpcs exclude patterns for new plugin classes
splitbrain May 19, 2019
0aace2b
Remove obsolete include
splitbrain May 20, 2019
68f88d3
Use type safe comparisons in loader
splitbrain May 20, 2019
f425155
Ignore mixed concerns in loader
splitbrain May 20, 2019
1306777
Create separate table files for UTF-8 handling
splitbrain May 19, 2019
f41bbe4
Moved all utf8 methods to their own namespaced classes
splitbrain May 19, 2019
0da4ba1
Some cleanup for the UTF-8 stuff
splitbrain May 20, 2019
27f63a2
some more PSR2 cleanup
splitbrain May 21, 2019
0a8df03
mark old utf8 functions deprecated
splitbrain Jun 9, 2019
ffdb593
formatting cleanup
splitbrain Jun 9, 2019
8cbc5ee
replaced deprecated utf8 functions
splitbrain Jun 10, 2019
2b9c4a0
Merge branch 'master' into psr2
splitbrain Jul 14, 2019
9eeeb77
fix PSR2 error in switch statement
splitbrain Jul 14, 2019
f600e75
ignore PSR2 in the old form class
splitbrain Jul 14, 2019
b47790f
Merge branch 'utf8refactor' into psr2
splitbrain Jul 14, 2019
6ce3e5f
fixed some line length errors
splitbrain Jul 14, 2019
8a9a2e3
ignore snake_case error of substr_replace
splitbrain Jul 14, 2019
dbc189b
Moved parts of the Asian word handling to its own class
splitbrain Jul 14, 2019
42c62e5
fixed merge error
splitbrain Jul 14, 2019
c0c77cd
Merge branch 'master' into psr2
splitbrain Oct 10, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 0 additions & 81 deletions _cs/DokuWiki/Sniffs/Functions/OpeningFunctionBraceSniff.php

This file was deleted.

85 changes: 0 additions & 85 deletions _cs/DokuWiki/Sniffs/NamingConventions/ConstructorNameSniff.php

This file was deleted.

62 changes: 0 additions & 62 deletions _cs/DokuWiki/Sniffs/PHP/DeprecatedFunctionsSniff.php

This file was deleted.

54 changes: 0 additions & 54 deletions _cs/DokuWiki/Sniffs/PHP/DiscouragedFunctionsSniff.php

This file was deleted.