Skip to content

Commit 13a06cd

Browse files
committed
Revert variable name changes and merge conflict fragments
1 parent cfd87d5 commit 13a06cd

9 files changed

Lines changed: 361 additions & 379 deletions

File tree

Aliases.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// This is a IDE helper to understand class aliasing.
4+
// It should not be included anywhere.
5+
// Actual aliasing happens in the entry point using class_alias.
6+
7+
namespace { throw new Exception( 'This code is not meant to be executed' ); }
8+
9+
namespace Wikibase\DataModel\Claim {
10+
11+
/**
12+
* @deprecated since 3.0.0, use the base class instead.
13+
*/
14+
class Claim extends \Wikibase\DataModel\Statement\Statement {}
15+
16+
}

RELEASE-NOTES.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44

55
* The concept of `Claim` is no longer modelled
66
* The `Claim` class itself has been removed, though `Claim` is now a temporary alias for `Statement`
7+
* `Claim::RANK_TRUTH` have been removed
78
* `Statement` no longer takes a `Claim` in its constructor
89
* `Statement::setClaim` and `Statement::getClaim` have been removed
910
* Removed `ClaimList`
1011
* Removed `ClaimListAccess`
1112

1213
## Version 2.6.0 (dev)
1314

14-
15-
## Version 2.5.0 (dev)
16-
1715
* Empty strings are now detected as invalid in the `SiteLink` constructor
1816
* The `SnakList` constructor now throws an `InvalidArgumentException` when getting a non-iterable input
1917
* The `AliasGroup::equals` and `Term::equals` methods no longer incorrectly return true for fallback objects

WikibaseDataModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@
2020
} );
2121
}
2222

23-
class_alias( 'Wikibase\DataModel\Statement\Statement', 'Wikibase\DataModel\Claim\Claim' );
23+
// Aliases introduced in 3.0.0
24+
class_alias( 'Wikibase\DataModel\Statement\Statement', 'Wikibase\DataModel\Claim\Claim' );

0 commit comments

Comments
 (0)