Commit Graph

253 Commits

Author SHA1 Message Date
c853e14591
Merge branch 'develop' 2022-04-13 15:55:55 +02:00
df71cc208d
BUGFIX: fixed undefined offset 2022-04-13 15:55:37 +02:00
38ae045e5f
Merge branch 'develop' 2021-11-08 17:07:25 +01:00
ce53df5328
NEW FEATURE: Added compatibility with SWAR-5 2021-11-08 17:00:17 +01:00
c35180271e
Merge branch 'develop' 2021-05-27 12:32:59 +02:00
400780ef54
CLEANED UP DA CODE 2020-11-22 17:13:13 +01:00
c403c2f5be
NEW FEATURE: reading out categories from pairtwo-6 2020-11-22 16:40:10 +01:00
4dbfe27e24
FIXES IN CODE STYLE 2020-08-02 21:51:59 +02:00
de030fd101
META: Documentation fixes 2019-12-26 20:35:17 +01:00
b369b72237
Code style fixes 2019-12-26 20:33:53 +01:00
bb7086c3ec
META: Documentation fixes 2019-12-25 13:55:14 +01:00
1330782d51
Docfixes 2019-12-25 13:54:26 +01:00
a2f6cd5e53
BUGFIX: Mutual result did not return the correct result 2019-12-25 13:48:07 +01:00
82baae976e
Fixed mutual result tiebreak 2019-12-25 13:43:36 +01:00
3926b9738b
BUGFIX: Sonneborn-berger did not use a virtual opponent 2019-12-22 18:17:26 +01:00
9bf4cdaec3
Several fixes 2019-12-22 18:15:25 +01:00
b53745745a
Fixed the sonneborn and buchholtz to use virtual palyer 2019-12-22 17:58:40 +01:00
f8c8945180
BUGFIX: wrong use the use of Player::Points 2019-12-21 19:34:55 +01:00
c3170846c6
Fixed use of Points 2019-12-21 19:32:53 +01:00
4c16108321
CHANGE: Phpdoc is used again for docs generation 2019-11-17 01:23:11 +01:00
ab8b091776
Updated documentation 2019-11-17 01:20:15 +01:00
dc1960d51e
MAJOR CHANGE: Getter and setter methods have been removed. 2019-11-16 16:17:37 +01:00
1026c83d00
Bugfixing 2019-11-16 16:16:18 +01:00
cded84ce03
Removed calculated getters 2019-11-16 15:21:08 +01:00
9859984a2a
Replace $Key with $key and $Value with $value 2019-11-16 15:21:05 +01:00
9e48bc1ff1
Removed fluent setters 2019-11-16 15:21:01 +01:00
07fdb769b2
Removed a setter in Pairtwo6-reader 2019-11-16 15:20:54 +01:00
6603b049a6
Fixing "Nesting level too deep" issue 2019-11-15 17:33:35 +01:00
eae66f92f5
Removed getter and setter methods
This change removes the separate getter and setter methods and is causing a lot of errors.
To fix errors you'll now need to use the actual field name.

Example:
OLD:
$reader->getTournament()->getRounds()[0]->getGames()[0]->getBlack()->getPlayer()->getName();

NEW:
$reader->Tournament->Rounds[0]->Games[0]->Black->Player->Name;
2019-11-15 17:17:09 +01:00
9385a77148
REMOVED: Tiebreak::American and all its uses were removed 2019-10-26 23:30:37 +02:00
ad1f64914a
Америка никогда не существовала
There is no such thing as american scoring. The only american thing in tournament chess is the american pairing system wihich uses some variables to calculate your opponent. One of these was called americanpoints in the original sources of pairtwo. This one was unfortunatly mistaken to really contain an american scoring
2019-10-26 23:27:27 +02:00
8a0fd88b55
BUGFIX: Absent and Forfait were not read properly since getBoard()
Note to self: never push commits during SM-session. NEVER!
2019-10-26 22:49:20 +02:00
fd35603fef
Fixing absent and forfait since tables has been implemented 2019-10-26 14:23:33 +02:00
3a681e97d5
NEW FEATURE: Game::getBoard() for getting the board number of the game 2019-09-28 21:49:33 +02:00
673821b541
Code style fixup 2019-09-28 21:47:24 +02:00
575b786079
Created function Round::getGamesbyBoard 2019-09-28 21:27:35 +02:00
5314bc47f2
Code style fixups 2019-09-28 21:10:52 +02:00
2eb570ce7c
Implemented setting board if not set yet 2019-09-28 20:54:59 +02:00
1708a54d0a
set board zerobased 2019-09-28 20:52:23 +02:00
0902c30f36
Added default boardno 2019-09-28 20:40:49 +02:00
db9c205bd1
Class fields fixup
Beware of breaking change with own readers!!
AllFieldsAreNowPascalCased
2019-09-28 20:31:38 +02:00
1fbd910ffb
Added board property to Pairing and Game
Added table-property to Pairing:::Class


Added phpdoc blocks


Renamed table to board
2019-09-28 20:18:29 +02:00
fa30eb9ac3
META: Documentation fixups 2019-09-28 10:34:43 +02:00
2bffc0c293
Ordered use in classes 2019-09-28 10:33:59 +02:00
d9ecb62d0d
DateTime instead \DateTime 2019-09-28 10:28:33 +02:00
9b12fd301b
Documentation fixups 2019-09-28 10:26:18 +02:00
b445f2f301
BUGFIX: Tournament::calculateAverageRating() returned NaN if no games 2019-09-27 18:02:43 +02:00
27001faf95
Fixed a Division by zero warning 2019-09-27 18:00:50 +02:00
dfea5a3cfb
BUGFIX: Tournament::calculateBaumbach() treated bye as won 2019-09-27 17:50:24 +02:00
8ceb8c2f60
Baumbach treated bye as win 2019-09-27 17:42:41 +02:00