Maurício Meneghini Fauth
|
9f3b4f04e9
|
Wrap variable variables in curly braces
See: https://www.php.net/manual/en/language.variables.variable.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-27 19:18:48 -03:00 |
|
Maurício Meneghini Fauth
|
f00d70cccb
|
Remove useless whitespaces
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-15 17:05:40 -03:00 |
|
Maurício Meneghini Fauth
|
9f3510d11a
|
Add bool return type where possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-14 20:11:51 -03:00 |
|
Maurício Meneghini Fauth
|
6ae07c96fb
|
Replace strpos !== false with str_contains
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-09 22:30:42 -03:00 |
|
Maurício Meneghini Fauth
|
90778eecf7
|
Upgrade phpmyadmin/coding-standard to 3.0.0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-19 02:20:46 -03:00 |
|
William Desportes
|
676a9cea3d
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-31 13:20:05 +02:00 |
|
William Desportes
|
4c99a7d8f8
|
Split out git common dir detection to handle file_get_contents error cases
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-31 00:01:25 +02:00 |
|
William Desportes
|
84ede575e3
|
Remove dependency on Config class of Git class
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-24 18:29:52 +01:00 |
|
Maurício Meneghini Fauth
|
d83abf63e7
|
Use PSR-12 for control structures spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 15:27:03 -03:00 |
|
Maurício Meneghini Fauth
|
0b8edc5bde
|
Use PSR-12 for namespace use statements
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 14:18:35 -03:00 |
|
William Desportes
|
0ae5216e28
|
Improve Git class by removing switch cases on request responses
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-12-07 15:42:37 +01:00 |
|
William Desportes
|
5abcae9255
|
Fixed some typos in the code base
I used code spell checker and did all the libraries/classes/*.php files one by one.
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-11-01 22:46:01 +01:00 |
|
Maurício Meneghini Fauth
|
f2e49a92c6
|
Fix some type errors detected by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-30 19:23:01 -03:00 |
|
Maurício Meneghini Fauth
|
4821b45ef8
|
Return commit info in Git::checkGitRevision method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-30 03:23:08 -03:00 |
|
Maurício Meneghini Fauth
|
7486e99568
|
Extract HTML from Git::getHtml method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-30 01:33:34 -03:00 |
|
Maurício Meneghini Fauth
|
65c93872f0
|
Remove Display\GitRevision class
Move display method to Git class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-29 22:50:49 -03:00 |
|
Maurício Meneghini Fauth
|
3b285ff17e
|
Use identical operator for non-empty strings
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-10 18:06:29 -03:00 |
|
Maurício Meneghini Fauth
|
f4582e083e
|
Use early exit when possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-27 00:35:24 -03:00 |
|
Maurício Meneghini Fauth
|
bd979dd1ff
|
Remove useless elseif with if
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-26 22:53:44 -03:00 |
|
Maurício Meneghini Fauth
|
82c2964bb8
|
Remove useless elses
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-26 22:27:45 -03:00 |
|
Maurício Meneghini Fauth
|
3baad2eb1c
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-25 22:42:37 -03:00 |
|
Maurício Meneghini Fauth
|
9269d75fb4
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-25 20:22:18 -03:00 |
|
Maurício Meneghini Fauth
|
0b9c35a056
|
Remove uses statements from the same namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-24 13:00:24 -03:00 |
|
William Desportes
|
c12f341bbf
|
Split Git::checkGitRevision into Git::getHashFromHeadRef
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-17 22:21:01 +02:00 |
|
William Desportes
|
31d9f1e603
|
Split Git::unPackGz into Git::readPackFile and Git::getPackOffset
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-17 21:15:24 +02:00 |
|
William Desportes
|
a5788e0df5
|
Split checkGitRevision commit parsing part into extractDataFormTextBody and isRemoteCommit functions
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-16 16:13:51 +02:00 |
|
William Desportes
|
8e56addea7
|
Split checkGitRevision GZ part into unPackGz function
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-16 15:36:50 +02:00 |
|
William Desportes
|
585ae508eb
|
Move out of Config Class all Git methods
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-16 15:18:45 +02:00 |
|